Monitoring The Port-Channel Interface Configuration; Example Configurations For Port Channels - Cisco 7206 - VXR Router Configuration Manual

Network configuration guide
Table of Contents

Advertisement

Chapter 6
Configuring Port Channels
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m

Monitoring the Port-Channel Interface Configuration

Use the following commands to display port-channel interface configuration information.
Command
clear counters interface port-channel
channel-number
clear lacp counters [interface port-channel
channel-number]
load- interval {interval seconds {1 | 2 | 3}}
show interface counters [module module]
show interface counters detailed [all]
show interface counters errors [module
module]
show lacp counters
See the Cisco Nexus 7000 Series NX-OS Interfaces Command Reference, Release 5.x, for information on
these commands.

Example Configurations for Port Channels

The following example shows how to create an LACP port channel and add two Layer 2 interfaces to
that port channel:
switch# configure terminal
switch (config)# feature lacp
switch (config)# interface port-channel 5
switch (config-if)# interface ethernet 1/4
switch(config-if)# switchport
switch(config-if)# channel-group 5 mode active
switch(config-if)# lacp port priority 40000
switch(config-if)# interface ethernet 1/7
switch(config-if)# switchport
switch(config-if)# channel-group 5 mode
The following example shows how to add two Layer 3 interfaces to a channel group. The Cisco NX-OS
software automatically creates the port channel:
switch# configure terminal
switch (config)# interface ethernet 1/5
switch(config-if)# no switchport
switch(config-if)# no ip address
switch(config-if)# channel-group 6 mode active
switch (config)# interface ethernet 2/5
switch(config-if)# no switchport
switch(config-if)# no ip address
OL-23435-03
Purpose
Clears the counters.
Clears the LACP counters.
Beginning with Cisco NX-OS Release 4.2(1) for
the Cisco Nexus 7000 Series devices, sets three
different sampling intervals to bit-rate and
packet-rate statistics.
Displays input and output octets unicast packets,
multicast packets, and broadcast packets.
Displays input packets, bytes, and multicast and
output packets and bytes.
Displays information on the number of error
packets.
Displays statistics for LACP.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
Monitoring the Port-Channel Interface Configuration
6-43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents