1 頁 (共 1 頁)

Cisco X3750 - PortChannel + Trunk設定

文章發表於 : 2015年 3月 27日, 15:04
kaku
PortChannel + Trunk設定:
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
speed nonegotiate
!
interface GigabitEthernet1/1/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
speed nonegotiate
channel-group 1 mode active
!
interface GigabitEthernet1/1/2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
speed nonegotiate
channel-group 1 mode active
!

show interface port-channel 1
Port-channel1 is up, line protocol is up (connected)
Hardware is EtherChannel, address is a89d.21a4.6bb2 (bia a89d.21a4.6bb2)
MTU 1500 bytes, BW 2000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, link type is force-up, media type is unknown
input flow-control is off, output flow-control is unsupported
Members in this channel: Gi1/1/1 Gi1/1/2

show etherchannel 1 summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 2
Number of aggregators: 2
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------
1 Po1(SU) LACP Gi1/1/1(P) Gi1/1/2(P)

show interface trunk
Port Mode Encapsulation Status Native vlan
Po1 on 802.1q trunking 1
Po2 on 802.1q trunking 1
Port Vlans allowed on trunk
Po1 1-4094
Po2 1-4094
Port Vlans allowed and active in management domain
Po1 1-4,40
Po2 1-4,40
Port Vlans in spanning tree forwarding state and not pruned
Po1 1-4,40
Po2 none

show spanning
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 74a0.2f37.6480
Cost 3
Port 488 (Port-channel1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address a89d.21a4.6b80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- -------------------------
Po1 Root FWD 3 128.488 P2p
Po2 Altn BLK 9 128.496 P2p