To display
PortChannel configuration information, perform one of the following tasks:
Command
|
Purpose
|
show
port-channel
summary
|
Displays
a summary of PortChannels within the switch. A one-line summary of each
PortChannel provides the administrative state, the operational state, the
number of attached and active interfaces (up), and the first operational port
(FOP), which is the primary operational interface selected in the PortChannel
to carry control-plane traffic (no load-balancing). The FOP is the first port
that comes up in a PortChannel and can change if the port goes down. The FOP is
also identified by an asterisk ( * ).
|
show
port-channel
database
|
Displays
the PortChannel configured in the default ON mode and ACTIVE mode.
|
show
port-channel
consistency
|
Displays
the consistency status without details.
|
show port-channel
consistency detail
|
Displays
the consistency status with details.
|
show port-channel usage
|
Displays
the PortChannel usage.
|
show port-channel
compatibility-parameters
|
Displays
the PortChannel compatibility.
|
show interface
fc
slot/port
|
Displays
autocreated PortChannels.
|
show port-channel
database interface port-channel
number
|
Displays
the specified PortChannel interface.
|
For detailed
information about the fields in the output from these commands, refer to the
Cisco MDS 9000 Series
NX-OS Command Reference.
You can view
specific information about existing PortChannels at any time from EXEC mode.
The following
show commands
provide further details on existing PortChannels. You can force all screen
output to go to a printer or save it to a file. See Examples
Displays the PortChannel Summary
to
Displays the PortChannel Summary.
Examples
switch# show port-channel summary
------------------------------------------------------------------------------
Interface Total Ports Oper Ports First Oper Port
------------------------------------------------------------------------------
port-channel 77 2 0 --
port-channel 78 2 0 --
port-channel 79 2 2 fcip200
Examples
switch# show port-channel database
port-channel 77
Administrative channel mode is on
Operational channel mode is on
Last membership update succeeded
2 ports in total, 0 ports up
Ports: fcip1 [down]
fcip2 [down]
port-channel 78
Administrative channel mode is on
Operational channel mode is on
Last membership update succeeded
2 ports in total, 0 ports up
Ports: fc2/1 [down]
fc2/5 [down]
port-channel 79
Administrative channel mode is on
Operational channel mode is on
Last membership update succeeded
First operational port is fcip200
2 ports in total, 2 ports up
Ports: fcip101 [up]
fcip200 [up] *
Examples
switch# show port-channel database
port-channel 77
Administrative channel mode is active
Operational channel mode is active
Last membership update succeeded
2 ports in total, 0 ports up
Ports: fcip1 [down]
fcip2 [down]
port-channel 78
Administrative channel mode is active
Operational channel mode is active
Last membership update succeeded
2 ports in total, 0 ports up
Ports: fc2/1 [down]
fc2/5 [down]
port-channel 79
Administrative channel mode is active
Operational channel mode is active
Last membership update succeeded
First operational port is fcip200
2 ports in total, 2 ports up
Ports: fcip101 [up]
fcip200 [up] *
Examples
The
show port-channel
consistency command has two options: without details and with
details.
switch# show port-channel consistency
Database is consistent
Examples
switch# show port-channel consistency detail
Authoritative port-channel database:
================================================
totally 3 port-channels
port-channel 77:
2 ports, first operational port is none
fcip1 [down]
fcip2 [down]
port-channel 78:
2 ports, first operational port is none
fc2/1 [down]
fc2/5 [down]
port-channel 79:
2 ports, first operational port is fcip200
fcip101 [up]
fcip200 [up]
================================================
database 1: from module 5
================================================
totally 3 port-channels
port-channel 77:
2 ports, first operational port is none
fcip1 [down]
fcip2 [down]
port-channel 78:
2 ports, first operational port is none
fc2/1 [down]
fc2/5 [down]
port-channel 79:
2 ports, first operational port is fcip200
fcip101 [up]
fcip200 [up]
================================================
database 2: from module 4
================================================
totally 3 port-channels
port-channel 77:
2 ports, first operational port is none
fcip1 [down]
fcip2 [down]
port-channel 78:
2 ports, first operational port is none
fc2/1 [down]
fc2/5 [down]
port-channel 79:
2 ports, first operational port is fcip200
fcip101 [up]
fcip200 [up]
...
Examples
The
show port-channel
usage command displays details of the used and unused PortChannel
numbers.
switch# show port-channel usage
Totally 3 port-channel numbers used
===================================
Used : 77 - 79
Unused: 1 - 76 , 80 - 256
Examples
Use the existing
show
commands to obtain further details on autocreated channel group attributes.
Autocreated PortChannels are indicated explicitly to help differentiate them
from the manually created PortChannels.
switch# show port-channel compatibility-parameters
physical port layer fibre channel or ethernet
port mode E/AUTO only
trunk mode
speed
port VSAN
port allowed VSAN list
Examples
switch# show interface fc1/1
fc1/1 is trunking
Hardware is Fibre Channel, FCOT is short wave laser
Port WWN is 20:0a:00:0b:5f:3b:fe:80
...
Receive data field Size is 2112
Beacon is turned off
Port-channel auto creation is enabled
Belongs to port-channel 123
...
Examples
switch# show port-channel database interface port-channel 128
port-channel 128
Administrative channel mode is active
Operational channel mode is active
Last membership update succeeded
Channel is auto created
First operational port is fc1/1
1 ports in total, 1 ports up
Ports: fc1/1 [up] *
Examples
switch# show port-channel summary
------------------------------------------------------------------------------
Interface Total Ports Oper Ports First Oper Port
------------------------------------------------------------------------------
port-channel 1 1 0 --
port-channel 2 1 1 fc8/13
port-channel 3 0 0 --
port-channel 4 0 0 --
port-channel 5 1 1 fc8/3
port-channel 6 0 0 --