- 积分
- 181
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 20
- 听众
- 收听
助理工程师
 
|
发表于 2018-6-14 11:44:11
|
显示全部楼层
我現在重新試了, 謝謝。那應該可以了吧?
2 O# V3 o# x0 d" l [9 x兩邊也用了相同設定SW A & B r* B( D$ L: X) ?9 t3 @3 x# Q
interface FastEthernet0/3
5 p( Y- W# f. y. u5 ?. q, q switchport trunk native vlan 99* r$ p( `8 Q6 R5 a
switchport trunk allowed vlan 1,21-23
% `' C1 o8 Y( B) y% Z4 u* i/ \ channel-protocol lacp
0 M0 m2 U, ]; f+ I) [+ c channel-group 1 mode active, w K3 F1 A4 {. }
switchport mode trunk, s/ n1 E" a* `6 c* R
!
+ h4 N4 N( `, L* dinterface FastEthernet0/4
7 i0 n1 d. W# I- ~; v4 j switchport trunk native vlan 99
% R4 f% o- }. A switchport trunk allowed vlan 1,21-23: x$ [* l! o5 L B* j* i( ~
channel-protocol lacp2 ~( g( V+ X2 _2 Y
channel-group 1 mode active
" T/ \0 V" F( N9 q# W switchport mode trunk
2 P0 i8 Q: E; h( s: ?~~- U" n$ l a2 s* v
interface Port-channel 1
( r A) ? R, Z+ K2 M switchport trunk native vlan 993 U; J1 Q1 p: [) k0 F' P; ~
switchport trunk allowed vlan 1,21-23
* Q$ P) m' N/ X" D& N switchport mode trunk
4 F9 N6 n l; D% q3 W: y!; b# Q* q. a) w; n* g1 t4 w
3 Q% ~4 K) ]9 M& j9 t' n
5 N: I' L- p, `7 |- ]; Jsh int tr
& b0 ^& ^4 \ D- h, sPort Mode Encapsulation Status Native vlan! {3 K! r$ N# H; r# E \: t. T
Po1 on 802.1q trunking 99
3 c: S4 R% }9 l4 i) y" E
- `& w+ ]5 V' I' pPort Vlans allowed on trunk! C7 C+ J& A1 E- _' W/ V
Po1 1,21-231 L+ f5 H2 A0 [/ _! Z
7 U8 c; C. e, T8 a( h# d$ x
Port Vlans allowed and active in management domain* a) Y% t* Y5 T1 f7 {, v- k
Po1 1,21,22,23
+ w4 N8 p1 a5 l. P
: g5 W7 D& k- e: K& i; I3 ?Port Vlans in spanning tree forwarding state and not pruned# ?1 [* U5 G; |7 H( K2 ?" P* @' R
Po1 1,21,22,23
' }1 j n$ M: Q9 {& F3 C/ H& S% W* d
?4 A+ r6 d$ O2 Z8 i: K
, T( m4 o0 z' {: u( a
% Y* X& x1 j, l$ ySw_A#sh etherchannel port-channel / p1 l2 R# O/ V
Channel-group listing:
L" w/ Z" p9 \ ----------------------
Z) q( |* K5 w. s6 Z
# o: C5 [& Y- M/ [2 sGroup: 1
) z5 J+ q% _# O4 N----------
6 m+ V8 w' V) C8 h Port-channels in the group:
! v* s4 Q+ T v. X0 F! P ---------------------------( H8 l" c8 P" w. O
7 C2 p( j" Z4 _/ ^0 E7 A6 u) R
Port-channel: Po1 (Primary Aggregator)
( O. Y* a2 j& r$ f+ ], i' z------------
) {- i3 A. ^# o: W/ Y. a: F4 o( m& z6 T2 h0 V' K: T" t2 q
Age of the Port-channel = 00d:00h:41m:56s
; H+ m/ g8 A$ oLogical slot/port = 2/1 Number of ports = 2* B1 Y+ z* x9 E& R: O
GC = 0x00000000 HotStandBy port = null. K$ z0 M1 N7 `* Y$ [( E. ?
Port state = Port-channel
; i+ s7 d, A5 h$ k4 |Protocol = LACP
+ X. f1 d+ E8 M ePort Security = Disabled4 N# D9 c7 v3 Q; M6 Z5 d
3 _0 U' Z9 |5 S
Ports in the Port-channel:* Z; L6 o8 k; [1 D+ b: Q
; D) T: b1 d: c! o! vIndex Load Port EC state No of bits1 p5 F1 C- T6 p& t
------+------+------+------------------+-----------
6 ?. B9 ?2 I/ ~; k$ ?) C; ]# q 0 00 Fa0/4 Active 0
U0 X" f) R1 h: Z4 T 0 00 Fa0/3 Active 0
$ z: I; \, G7 DTime since last port bundled: 00d:00h:03m:42s Fa0/3
( q& H0 |% E" W' d8 z~~~~% a6 G- k0 M6 g: |* C
, n S8 {$ E' _0 @! ]Sw_A#sh vtp status 1 P$ W' r' V8 r! L+ t. {, G
VTP Version : 2
7 J: u9 _/ Z* c6 b7 ZConfiguration Revision : 0) ~- ^/ {% @! O3 R! K" `6 M
Maximum VLANs supported locally : 255* ?6 \% A/ \% o2 r& r
Number of existing VLANs : 12/ ]6 }# D: |1 c3 m; [ O, R7 b% S! w
VTP Operating Mode : Transparent7 p- Y0 K% H1 n# u
VTP Domain Name :
" c' `( A I4 C' |& E" i: p6 V) k% pVTP Pruning Mode : Disabled+ s8 N/ p8 X% M4 A
VTP V2 Mode : Disabled3 Z. { o+ H$ |; ]
VTP Traps Generation : Disabled
; ?3 K+ N: I* |( ^MD5 digest : 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A 0 m* K0 ~& K2 E
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:006 ^9 y5 v4 Y1 T6 a8 R5 E
1 V; s+ _( z$ y" u( @0 s$ ^5 Z- J |
|