Cisco IOS CLI | Cisco NX-OS CLI | |
---|---|---|
Enabling the LaCP Feature |
Cisco IOS Software does not have the ability to enable or disable LaCP. | feature lacp |
---|
Configuring LaCP Active Mode |
interface range gigabitethernet 1/1-2
channel-group 1 mode active | interface ethernet 1/1-2
channel-group 1 mode active |
---|
Configuring LaCP Passive Mode |
interface range gigabitethernet 1/1-2
channel-group 1 mode passive | interface ethernet 1/1-2
channel-group 1 mode passive |
---|
Configuring the LaCP Rate Timer (Fast) |
interface gigabitethernet 1/1
lacp rate fast | interface ethernet1/1
lacp rate fast |
---|
Configuring the LaCP Min/Max Links |
interface port-channel 1
port-channel min-links 2 lacp max-bundle 4 | interface port-channel 1
lacp min-links 2 lacp max-bundle 4 |
---|
Configuring Static Mode (no protocol) |
interface range gigabitethernet 1/1-2
channel-group 1 mode on | interface ethernet 1/1-2
channel-group 1 mode on |
---|
Enabling a Port Channel |
interface port-channel 1
no shutdown | interface port-channel 1
no shutdown |
---|
Layer-2 Port-Channel Example |
interface range gigabitethernet 1/1-2
switchport channel-group 1 mode active
no shutdown | interface ethernet 1/1-2
switchport channel-group 1 mode active
no shutdown |
---|
Layer-3 Port-Channel Example |
interface range gigabitethernet 1/1-2
no switchport channel-group 1 mode active
ip address 192.168.1.1 255.255.255.0 no shutdown | interface ethernet 1/1-2
no switchport channel-group 1 mode active
ip address 192.168.1.1/32 no shutdown |
---|
Adding an Interface to an Existing Port-Channel |
Cisco IOS Software does not have the force option, so all interface parameters have to be compatible prior to adding the interface to an existing Port-Channel.
no switchport channel-group 1 mode active[ | interface ethernet 1/3
channel-group 1 force mode active |
---|
Configuring the System Load-Balance Algorithm |
port-channel load-balance dst-mac | port-channel load-balance ethernet destination-mac |
---|
Configuring the Load-Balance Algorithm per Module |
port-channel per-module load-balance
port-channel load-balance dst-mac module 1 | port-channel load-balance ethernet destination-mac module 1 |
---|
Verification Command Comparison
The following table lists some useful show commands for verifying and troubleshooting a Port-Channel configuration.
Cisco NX-OS Port-Channels | Cisco IOS Software Port-Channels | Command Description |
---|---|---|
show interface | show interface | Displays statistics all interfaces or a specific interface |
show interface port-channel <#> | show interface port-channel <#> | Displays statistics for a specific port-channel |
- | - | - |
show port-channel capacity | - | Displays port-channel resources (total, used, free) |
show port-channel compatibility-parameters | - | Displays the compatibility-parameters (IE: speed, duplex, etc) |
show port-channel database | - | Displays the aggregation state for one or more port-channels |
show port-channel load-balance | show etherchannel load-balance | Displays the load-balancing algorithm (hash) configured |
show port-channel load-balance forwarding-path | show etherchannel load-balance hash-result | Displays packet forwarding information |
show port-channel summary | show etherchannel summary | Displays a summarized list of all port-channels |
show port-channel traffic | - | Displays the load per link in a port-channel (Based in interface counters) |
show port-channel usage | - | Displays the range of used and unused port-channel numbers |
- | - | - |
show lacp counters | show lacp counters | Displays the LaCP PDU and error counters |
show lacp interface | - | Displays detailed LaCP information per interface |
show lacp neighbors | show lacp neighbors | Displays detailed LaCP information per neighbor |
show lacp port-channel | show lacp <port-channel-#> | Displays the port-channel LaCP configuration |
show lacp system-identifier | show lacp sys-id | Displays the LaCP system ID (Priority / MAC address) |
No comments:
Post a Comment