Cisco ios (конфигурация)
interface GigabitEthernet2/0/1
description EC #1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,201,256,649,650,2501
switchport mode trunk
channel-group 1 mode active
end
interface GigabitEthernet2/0/2
description EC #2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,201,256,649,650,2501
switchport mode trunk
channel-group 1 mode active
end
interface Port-channel1
description EC
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,201,256,649,650,2501
switchport mode trunk
end
show etherchannel summary
Flags: D - down P - 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
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Gi2/0/1(P) Gi2/0/2(P)
show etherchannel port-channel
show etherchannel detail (информация аналогична предыдущей)
show etherchannel protocol
Channel-group listing:
----------------------
Group: 1
----------
Protocol: LACP
sh lacp counters
LACPDUs Marker Marker Response LACPDUs
Port Sent Recv Sent Recv Sent Recv Pkts Err
---------------------------------------------------------------------
Channel group: 1
Gi2/0/1 2621 2383 0 0 0 0 0
Gi2/0/2 2501 2273 0 0 0 0 0
sh lacp internal
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 1
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi2/0/1 SA bndl 32768 0x1 0x1 0x35 0x3D
Gi2/0/2 SA bndl 32768 0x1 0x1 0x36 0x3D
sh lacp neighbor
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 1 neighbors
Partner's information:
LACP port Oper Port Port
Port Flags Priority Dev ID Age Key Number State
Gi2/0/1 SA 50 000a.b83c.ebc0 1s 0x642 0x71 0x3D
Gi2/0/2 SA 50 000a.b83c.ebc0 5s 0x642 0x72 0x3D
sh lacp sys-id
32768,0012.d97e.8280
Cisco catos (конфигурация)
set channelprotocol lacp 2
set port lacp-channel 2/49-50 100
set trunk 2/49 on dot1q 1-1005,1025-4094
set trunk 2/50 on dot1q 1-1005,1025-4094
set port lacp-channel 2/49-50 mode active
set port lacp-channel 2/49 port-priority 50
set port lacp-channel 2/50 port-priority 50
Cisco catos (диагностика)
show lacp-channel sys-id
System Mac: 00-0a-b8-3c-eb-c0
System priority: 32768
show lacp-channel statistics
Port Channel LACP Pkts LACP Pkts Marker Pkts Marker Pkts LACP Pkts
id Transmitted Received Transmitted Rewceived InError
----- ------- ----------- --------- ----------- ----------- ---------
2/49 441 2402 2636 0 0 0
2/50 441 2292 2518 0 0 0
show lacp-channel traffic
ChanId Port Rx-Ucst Tx-Ucst Rx-Mcst Tx-Mcst Rx-Bcst Tx-Bcst
------ ----- ------- ------- ------- ------- ------- -------
441 2/49 99.99% 4.35% 65.04% 96.46% 65.89% 100.00%
441 2/50 0.01% 95.65% 34.96% 3.54% 34.11% 0.00%
и даже такое (на обоих портах картина одинакова)
show spantree 2/49
Edge Port: No, (Configured) Default
Link Type: P2P, (Configured) Auto
Port Guard: Default
Port Vlan State Role Cost Prio Type
------------------------ ---- ------------- ---- --------- ---- -----------------
2/49-50 1 forwarding ROOT 3 32 P2P, PEER(STP)
2/49-50 201 forwarding DESG 3 32 P2P, PEER(STP)
2/49-50 256 forwarding DESG 3 32 P2P, PEER(STP)
2/49-50 649 forwarding DESG 3 32 P2P, PEER(STP)
2/49-50 650 forwarding DESG 3 32 P2P, PEER(STP)
2/49-50 2501 forwarding DESG 3 32 P2P
(источник http://xgu.ru/wiki/%D0%90%D0%B3%D1%80%D0%B5%D0%B3%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BA%D0%B0%D0%BD%D0%B0%D0%BB%D0%BE%D0%B2)
Особенности
sh mac-address-table interface Gi2/0/1
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
как видим маков на порту нет, зато они есть на Port-channel1 интерфейсе
sh mac-address-table interface Po1
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
1 000a.b83c.ebce DYNAMIC Po1
1 000a.b83c.ebff DYNAMIC Po1
201 000a.b83c.ebce DYNAMIC Po1
201 649e.f335.465a DYNAMIC Po1
649 000a.b83c.ebce DYNAMIC Po1
650 000a.b83c.ebce DYNAMIC Po1
650 649e.f354.8901 DYNAMIC Po1
2501 000a.b83c.ebce DYNAMIC Po1
2501 649e.f354.8901 DYNAMIC Po1
206 000a.b83c.ebce DYNAMIC Po1
209 000a.b83c.ebce DYNAMIC Po1
209 3085.a96b.5690 DYNAMIC Po1
Total Mac Addresses for this criterion: 12
Комментариев нет:
Отправить комментарий