|
|
Use the show alias command to display a list of defined command aliases.
show alias [name]
name | (Optional) Name of the alias to be displayed. If name is not specified, all defined aliases are displayed. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display all aliases:
Console> show alias shint show interface cc clear config shf show flash sip show ip route Console>
clear kerberos clients mandatory
session
set alias
Use the show arp command to display the ARP table.
show arp [ip_addr | hostname] [noalias]
ip_addr | (Optional) Number of the IP address. |
hostname | (Optional) Name of the host. |
noalias | (Optional) Keyword to force the display to show only IP addresses, not IP aliases. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
The ARP Aging time display in the output is the period of time that indicates when an ARP entry is removed from the ARP table. Set this value by entering the set arp agingtime command. The remaining lines of the display show the mappings of IP addresses (or IP aliases) to MAC addresses.
Use the ip_addr or the hostname options to specify a specific IP host when the ARP cache is large.
This example shows how to display the ARP table:
Console> show arp ARP Aging time = 1200 sec strauss-fddi at 00-40-0b-40-40-8f 198.133.219.209 at 00-40-0b-40-cc-31 198.133.219.40 at 08-00-20-08-f1-ac Console>
Use the show authentication command to display authentication information.
show authenticationThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
After entering the show authentication command, you see this display:
Console>show authenticationConsole Session Telnet SessionLogin Authentication:--------------------- ---------------- -----------------tacacs disabled disabledradius disabled disabledlocal enabled(primary) enabled(primary)Enable Authentication:---------------------- ----------------- ---------------tacacs disabled disabledradius disabled disabledlocal enabled(primary) enabled(primary)Console>
set authentication enable
set authentication login
Use the show boot command to display the contents of the BOOT environment variables and the configuration register setting.
show boot [mod_num]
mod_num | (Optional) Module number of the supervisor engine containing the Flash device. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This command can only be used with a Supervisor Engine III or Catalyst 4000 family and 2948G switch supervisor engine module.
This example shows how to use the show boot command:
Console> show boot
BOOT variable = bootflash:cat5000-sup3.5-1-0-59.bin,1;bootflash:cat5000-sup3.4-;
CONFIG_FILE variable = slot0:cfgfile1;slot0:cfgfile2
Configuration register is 0x10f
ignore-config: disabled
auto-config: recurring
console baud: 9600
boot: image specified by the boot system commands
Console>
Use the show bridge command to display bridge information.
show bridgeThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Switch command.
Normal.
This example shows how to display bridge information:
Console> show bridge
APaRT Enabled
FDDICHECK Enabled
IP fragmentation Enabled
Default IPX translations:
FDDI SNAP to Ethernet 8023raw
FDDI 802.2 to Ethernet 8023raw
Ethernet 802.3 Raw to FDDI snap
Console>
Table 2-8 describes the fields in the show bridge output.
| Field | Description |
|---|---|
APaRT Enabled | Status of whether APaRT is enabled or disabled. |
FDDICHECK Enabled | Status of whether FDDICHECK is enabled or disabled. |
IP fragmentation Enabled | Status of whether IP fragmentation is enabled or disabled. |
Default IPX translations | Default method for translating IPX packets across various media. |
set bridge ipx 8022toether
set bridge ipx 8023rawtofddi
set bridge ipx snaptoether
set ip dns domain
Use the show cam command to display the CAM table.
show cam [count]{dynamic | static | permanent | system} [vlan]
count | (Optional) Keyword to display only the number of CAM entries. |
dynamic | Keyword to display dynamic CAM entries. |
static | Keyword to display static CAM entries. |
permanent | Keyword to display permanent CAM entries. |
system | Keyword to display system CAM entries. |
vlan | (Optional) Number of the VLAN. If a VLAN is not specified, all VLANs are displayed. |
mod_num | Number of the module. |
port_num | Number of the port. |
mac_addr | MAC address. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
If you display the output associated with the MAC address of an ATM dual PHY OC-12 module, additional information is displayed, including the VCD, VPI, VCI, and VC type.
If you enter the show cam command on the Catalyst 5000 family and 2926G series switches, the EARL CAM table entries are displayed.
If you enter the show cam command on the Catalyst 4000 family and 2948G switches, the ASE CAM table entries are displayed.
The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter 1/N for the module/port number, an error message is displayed.
This example shows how to display dynamic CAM entries for all VLANs:
Console> show cam dynamic * = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry. VLAN Dest MAC/Route Des Destination Ports or VCs / [Protocol Type] ---- ------------------ ---------------------------------------------------- 1 00-60-5c-86-5b-81 4/1 [ALL] 1 00-60-2f-35-48-17 4/1 [ALL] 1 00-80-24-f3-47-20 1/2 [ALL] 1 00-60-09-78-96-fb 4/1 [ALL] 1 00-80-24-1d-d9-ed 1/2 [ALL] 1 00-80-24-1d-da-01 1/2 [ALL] 1 08-00-20-7a-63-01 4/1 [ALL] Total Matching CAM Entries Displayed = 7 Console>
This example shows the output associated with the MAC address of an ATM dual PHY OC-12 module, which includes the dynamic CAM entries for all VLANs:
Console> show cam dynamic VLAN Dest MAC/Route Des Destination Ports or VCs ---- ------------------ ---------------------------------------------------- 12 00-14-14-14-14-1c 6/1 12 00-14-14-14-14-1d 6/1 12 00-14-14-14-14-1a 6/1 12 00-14-14-14-14-1b 6/1 12 00-14-14-14-14-18 6/1 12 00-14-14-14-14-19 6/1 12 00-14-14-14-14-16 6/1 12 00-14-14-14-14-17 6/1 12 00-14-14-14-14-14 6/1 12 00-14-14-14-14-15 6/1 6 00-14-14-14-14-16 4/1 VCD:98VPI:0 VCI:127Type: LANE Data Direct 6 00-14-14-14-14-17 4/1 VCD:98VPI:0 VCI:127Type: LANE Data Direct 6 00-14-14-14-14-14 4/1 VCD:98VPI:0 VCI:127Type: LANE Data Direct 6 00-14-14-14-14-15 4/1 VCD:98VPI:0 VCI:127Type: LANE Data Direct 6 00-14-14-14-14-1a 4/1 VCD:98VPI:0 VCI:127Type: LANE Data Direct 6 00-14-14-14-14-1b 4/1 VCD:98VPI:0 VCI:127Type: LANE Data Direct 6 00-14-14-14-14-18 4/1 VCD:98VPI:0 VCI:127Type: LANE Data Direct 6 00-14-14-14-14-19 4/1 VCD:98VPI:0 VCI:127Type: LANE Data Direct 6 00-14-14-14-14-1c 4/1 VCD:98VPI:0 VCI:127Type: LANE Data Direct 6 00-14-14-14-14-1d 4/1 VCD:98VPI:0 VCI:127Type: LANE Data Direct 3 00-14-14-14-14-14 4/1 VCD:101 VPI:0 VCI:130Type: LANE Data Direct 3 00-14-14-14-14-15 4/1 VCD:101 VPI:0 VCI:130Type: LANE Data Direct Do you wish to continue y/n [n]? q Total Matching CAM Entries Displayed = 21 Console>
Table 2-9 describes the fields in the ATM dual PHY OC-12 module show cam dynamic output.
| Field | Description |
|---|---|
VCD | VCD of the VC. |
VPI | VPI of the VC. |
VCI | VCI of the VC. |
Type | Type of virtual circuit (LANE Data Direct, LANE bus, or AAL5SNAP PVC). |
This example shows routers listed as the CAM entries. If the MAC address belongs to a router, it is shown by appending an "R" to the MAC address. If a VLAN is specified, then only those CAM entries matching the VLAN number are displayed.
Console> show cam 00-00-81-01-23-45 * = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry Router Watergate with IP address 172.25.55.1 has CAM entries: VLAN Dest MAC/Route Des Destination Ports or VCs ---- ------------------ ---------------------------------------------------- 1 00-00-81-01-23-45R 2/9 [IP] 2 00-00-81-01-23-45R 2/10 [IP] Total Matching CAM Entries = 2 Console>
clear cam
set cam
show config
show cam agingtime
Use the show cam agingtime command to display CAM aging time information for all configured VLANs.
show cam agingtimeThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display CAM aging time information:
Console> show cam agingtime VLAN 1 aging time = 300 sec VLAN 3 aging time = 300 sec VLAN 5 aging time = 300 sec VLAN 9 aging time = 300 sec VLAN 100 aging time = 300 sec VLAN 200 aging time = 300 sec VLAN 201 aging time = 300 sec VLAN 202 aging time = 300 sec VLAN 203 aging time = 300 sec Console>
Use the show cam mlsrp command to display the specified router entries in the MLS forwarding table. If you can specify a VLAN number, only the router MAC addresses corresponding to the VLAN are displayed.
show cam mlsrp {ip_addr} [vlan]
ip_addr | IP address of the router or name of the router if DNS is enabled. |
vlan | (Optional) Number of the VLAN. If you do not specify a VLAN, all VLANs are displayed. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Normal.
This example shows how to display all CAM entries for the specified router:
Console>(enable) show cam mlsrp 172.20.22.1 VLAN Destination MAC Destination Ports or VCs Xtag Status ---- ------------------- ------------------------------------- 1 00-00-81-01-23-45R 2/9 5 H 2 00-00-81-01-23-45R 2/10 5 H Total Matching CAM Entries Displayed = 2 Console>(enable)
Use the show cdp command to display CDP information.
show cdp
neighbors | Keyword to show CDP information for Cisco products connected to the switch. |
mod_num | (Optional) Number of the module for which CDP information is displayed. If no module number is specified, CDP information for the entire switch is displayed. |
vlan | (Optional) Keyword to show the native VLAN number for the neighboring Cisco products. |
duplex | (Optional) Keyword to show duplex type of the neighboring Cisco products. |
capabilities | (Optional) Keyword to show the capability codes for the neighboring Cisco products; valid values are R, T, B, S, H, I, r (R=Router, T=Trans Bridge, B=Source Route Bridge, S=Switch, H=Host, I=IGMP, and r=Repeater). |
detail | (Optional) Keyword to show detailed information about neighboring Cisco products. |
port_num | (Optional) Number of the port for which CDP information is displayed. |
port | Keyword to show CDP port settings. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display CDP information for the system:
Console> show cdp CDP :enabled Message Interval :60 Hold Time :180
This example shows how to display detailed CDP neighbor information. The display varies depending on your network configuration at the time you run the command.
Console> show cdp neighbors 4/4 detailPort (Our Port):4/4Device-ID:69046406Device Addresses:IP Address:172.20.25.161Holdtime:150 secCapabilities:TRANSPARENT_BRIDGE SWITCHVersion:WS-C5509 Software, Version McpSW: 5.3(0.29)BOU NmpSW: 5.3(0.29)BOUCopyright (c) 1995-1999 by Cisco SystemsPort-ID (Port on Device):4/8Platform:WS-C6009VTP Management Domain:unknownNative VLAN:1Duplex:halfConsole>
This example shows how to display CDP information about neighboring systems:
Console> show cdp neighbors* - indicates vlan mismatch.# - indicates duplex mismatch.Port Device-ID Port-ID Platform-------- ------------------------------- ------------------------- ------------3/5 002267619 3/6 * WS-C50003/6 002267619 3/5 WS-C50004/1 002267619 4/2 WS-C50004/2 002267619 4/1 # WS-C50004/20 069000057 8/5 WS-C55005/1 005763872 2/1 WS-C50005/1 066506245 2/1 WS-C55055/1 066508595 5/12 *# WS-C55055/1 066508596 5/1 WS-C5505Console>
This example shows how to display VLAN information about neighboring systems:
Console> show cdp vlan* - indicates vlan mismatch.# - indicates duplex mismatch.Port Device-ID Port-ID NativeVLAN-------- ------------------------------- ------------------------- ----------3/5 002267619 3/6 * 13/6 002267619 3/5 14/1 002267619 4/2 14/2 002267619 4/1 # 14/20 069000057 8/5 -5/1 005763872 2/1 -5/1 066506245 2/1 -5/1 066508595 5/12 *# 15/1 066508596 5/1 1Console>
This example shows how to display duplex information about neighboring systems:
Console>show cdp neighbors duplex* - indicates vlan mismatch.# - indicates duplex mismatch.Port Device-ID Port-ID Duplex-------- ------------------------------- ------------------------- ------3/5 002267619 3/6 * half3/6 002267619 3/5 half4/1 002267619 4/2 full4/2 002267619 4/1 # full4/20 069000057 8/5 -5/1 005763872 2/1 -5/1 066506245 2/1 -5/1 066508595 5/12 *# half5/1 066508596 5/1 halfConsole>
This example shows how to display capability information about neighboring systems:
Console>show cdp neighbors capabilities* - indicates vlan mismatch.# - indicates duplex mismatch.Port Device-ID Port-ID Capabilities-------- ------------------------------- ------------------------- ------------3/5 002267619 3/6 * T S3/6 002267619 3/5 T S4/1 002267619 4/2 T S4/2 002267619 4/1 # T S4/20 069000057 8/5 T B S5/1 005763872 2/1 T B S5/1 066506245 2/1 T B S5/1 066508595 5/12 *# T B S5/1 066508596 5/1 T B SConsole>
This example shows how to display CDP information for all ports:
Console> show cdp port CDP :enabled Message Interval :60 Hold Time :180 Port CDP Status -------- ---------- 2/1 enabled 2/2 enabled 5/1 enabled 5/2 enabled 5/3 enabled 5/4 enabled 5/5 enabled 5/6 enabled 5/7 enabled 5/8 enabled Console>
Use the show cgmp leave command to display the status of the CGMP leave feature.
show cgmp leaveThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display the status of the CGMP leave feature:
Console> show cgmp leave CGMP: enabled CGMP leave: enabled Console>
Use the show cgmp statistics command to display CGMP statistics.
show cgmp statistics [vlan_id]
vlan_id | (Optional) VLAN number for which to display CGMP statistics. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display CGMP statistics for VLAN 1:
Console>show cgmp statistics 1CGMP enabledCGMP statistics for vlan 1: valid rx pkts received 211915 invalid rx pkts received 0 valid cgmp joins received 211729 valid cgmp leaves received 186 valid igmp leaves received 0 valid igmp queries received 3122 igmp gs queries transmitted 0 igmp leaves transmitted 0 failures to add GDA to EARL 0 topology notifications received 80 number of CGMP packets dropped 2032227Console>
Table 2-10 describes the fields in the show cgmp statistics output.
| Field | Description |
|---|---|
Valid rx pkts received | Number of valid CGMP packets received. |
Invalid rx pkts received | Number of invalid CGMP packets received. |
valid cgmp joins received | Number of CGMP group-specific queries received. |
valid cgmp leaves received | Number of CGMP leaves received. |
valid igmp leaves received | Number of IGMP leaves received. |
valid igmp queries received | Number of IGMP reports received. |
igmp gs queries transmitted | Number of IGMP group specific-equivalent queries transmitted by the switch. |
igmp leaves transmitted | Number of IGMP leaves transmitted by the switch. |
failures to add GDA to EARL | Number of times the switch failed to add a multicast entry (GDA) to the EARL table. |
topology notifications received | Number of topology change notifications received by the switch. |
number of CGMP packets dropped | Number of IGMP packets dropped by the switch. |
Use the show channel command to display EtherChannel configuration and statistics information for a channel based on EtherChannel ID.
show channel [channel_id] [statistics | mac | info [spantree | trunk | protocol | gmrp | gvrp | qos]]
channel_id | (Optional) EtherChannel ID of the channel. |
statistics | (Optional) Keyword to display EtherChannel PAgP statistics. |
mac | (Optional) Keyword to display EtherChannel traffic statistics. |
info | (Optional) Keyword to display EtherChannel configuration information. |
spantree | (Optional) Keyword to display only spanning-tree-related configuration information. |
trunk | (Optional) Keyword to display only VLAN-trunk-related configuration information. |
protocol | (Optional) Keyword to display only protocol-filtering-related configuration information. |
gmrp | (Optional) Keyword to display only GMRP-related configuration information. |
gvrp | (Optional) Keyword to display only GVRP-related configuration information. |
qos | (Optional) Keyword to display only QoS-related configuration information. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
If channel_id is not specified, EtherChannel information is shown for all channels.
If you use the info keyword without qualifying it with one of the feature-specific keywords, all configuration information is displayed.
No information is displayed if the EtherChannel specified is not in use.
This example shows how to display PAgP statistics for a specific EtherChannel:
Console> show channel 835 statistics
Port Channel PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts
id Transmitted Received InFlush RetnFlush OutFlush InError
----- ------- ----------- --------- --------- --------- --------- ---------
7/5 835 194 81 0 0 0 0
7/6 835 204 85 0 0 0 0
Console>
This example shows how to display traffic statistics for a specific EtherChannel:
Console> show channel 835 mac Channel Rcv-Unicast Rcv-Multicast Rcv-Broadcast -------- -------------------- -------------------- -------------------- 835 0 114650 0 Channel Xmit-Unicast Xmit-Multicast Xmit-Broadcast -------- -------------------- -------------------- -------------------- 835 0 177145 0 Channel Rcv-Octet Xmit-Octet -------- -------------------- -------------------- 835 10852890 14371660 Channel Dely-Exced MTU-Exced In-Discard Lrn-Discrd In-Lost Out-Lost -------- ---------- ---------- ---------- ---------- ---------- ---------- 835 0 0 0 0 0 0 Console>
This example shows how to display EtherChannel information for all channels:
Console>show channelChannel Id Ports----------- -----------------------------------------------768 2/1-2769 4/3-4770 4/7-8Console>
This example shows how to display configuration information for a specific EtherChannel:
Console> show channel 835 info
Chan Port Status Channel Admin Speed Duplex Vlan
id mode group
---- ----- ---------- -------------------- ----- ----- ------ ----
835 7/5 connected on 58 a-100 a-full 1
835 7/6 connected on 58 a-100 a-full 1
Chan Port if- Oper-group Neighbor Chan Oper-Distribution PortSecurity/
id Index Oper-group cost Method Dynamic Port
---- ----- ----- ---------- ---------- ----- ----------------- -------------
835 7/5 379 1 0 mac both
835 7/6 379 1 0 mac both
Chan Port Device-ID Port-ID Platform
id
---- ----- ------------------------------- ------------------------- ----------
835 7/5 069003103(5500) 3/5 WS-C5500
835 7/6 069003103(5500) 3/6 WS-C5500
Chan Port Trunk-status Trunk-type Trunk-vlans
id
----- ----- ------------ ------------- -----------------------------------------
835 7/5 not-trunking negotiate 1-1005
835 7/6 not-trunking negotiate 1-1005
Chan Port Portvlancost-vlans
id
---- ----- --------------------------------------------------------------------
835 7/5
835 7/6
Chan Port Port Portfast Port Port
id priority vlanpri vlanpri-vlans
---- ----- -------- -------- ------- ------------------------------------------
835 7/5 32 disabled 0
835 7/6 32 disabled 0
Chan Port IP IPX Group
id
---- ----- -------- -------- --------
835 7/5 on auto-on auto-on
835 7/6 on auto-on auto-on
Chan Port GMRP GMRP GMRP
id status registration forwardAll
---- ----- -------- ------------ ----------
835 7/5 enabled normal disabled
835 7/6 enabled normal disabled
Chan Port GVRP GVRP GVRP
id status registeration applicant
---- ----- -------- ------------- ---------
835 7/5 disabled normal normal
835 7/6 disabled normal normal
Chan Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCos
id
---- ----- ------ ------ ------------ ----------
835 7/5 1q4t - untrusted 0
835 7/6 1q4t - untrusted 0
Console>
Table 2-11 describes the fields in the show channel statistics output.
| Field | Description |
|---|---|
Port | Port number. |
Channel id | EtherChannel ID. |
PAgP Pkts Transmitted | Number of PAgP packets transmitted on the port. |
PAgP Pkts Received | Number of PAgP packets received on the port. |
PAgP Pkts InFlush | Number of PAgP flush packets received. |
PAgP Pkts RetnFlush | Number of PAgP flush packets returned. |
PAgP Pkts OutFlush | Number of PAgP flush packets transmitted. |
PAgP Pkts InError | Number of PAgP error packets received. |
Table 2-12 describes the fields in the show channel mac output.
| Field | Description |
|---|---|
Channel | EtherChannel ID. |
Rcv-Unicast | Number of unicast frames received on the EtherChannel. |
Rcv-Multicast | Number of multicast frames received on the EtherChannel. |
Rcv-Broadcast | Number of broadcast frames received on the EtherChannel. |
Xmit-Unicast | Number of unicast frames transmitted on the EtherChannel. |
Xmit-Multicast | Number of multicast frames transmitted on the EtherChannel. |
Xmit-Broadcast | Number of broadcast frames transmitted on the EtherChannel. |
Rcv-Octet | Number of octet frames received on the EtherChannel. |
Xmit-Octet | Number of octet frames transmitted on the EtherChannel. |
Table 2-13 describes the fields in the show channel info output.
| Field | Description |
|---|---|
Chan id | EtherChannel ID |
Port | Port number |
Status | Port connection status |
Channel mode | EtherChannel mode |
Admin group | EtherChannel administrative group |
Speed | Port speed |
Duplex | Port duplex |
Vlan | Port VLAN membership |
if-index | Interface index number |
Oper-group | Capability of the group. |
Neighbor Oper-group | Device ID of the neighboring device with which the port is channeling. |
Chan cost | EtherChannel spanning-tree port cost |
Oper-Distribution Method | EtherChannel frame distribution method |
PortSecurity/Dynamic Port | Status of whether the port is secure or dynamic. |
Device-ID | Serial number and hostname of neighboring device |
Port-ID | Connected port number on neighboring device |
Platform | Neighboring device platform |
Trunk-status | VLAN trunking mode |
Trunk-type | VLAN trunk encapsulation type |
Trunk-vlans | Allowed VLAN list for the trunk |
Portvlancost-vlans | Spanning-tree port-VLAN cost and associated VLAN IDs |
Port priority | Spanning-tree port priority |
Portfast | Spanning-tree PortFast enable state |
Port vlanpri-vlans | Spanning-tree port-VLAN priority and associated VLAN IDs |
IP | IP protocol filtering mode |
IPX | IPX protocol filtering mode |
Group | Group protocol filtering mode |
GMRP status | GMRP enable state |
GMRP registration | GMRP registration mode |
GMRP forwardAll | GMRP forward-all enable status |
GVRP status | GVRP enable state |
GVRP registration | GVRP registration mode |
GVRP applicant | GVRP applicant mode |
Qos-Tx | Transmit queue and threshold port type |
Qos-Rx | Receive queue and threshold port type |
Qos-Trust | QoS port trust |
QoS-DefCos | QoS default CoS |
set channel cost
set channel vlancost
set port channel
show channel group
show port channel
Use the show channel group command to display EtherChannel configuration and statistics information for a channel based on EtherChannel administrative group membership.
show channel group [admin_group] [statistics | info [spantree | trunk | protocol | gmrp | gvrp | qos]]
admin_group | (Optional) Number of the EtherChannel administrative group. Valid values are from 1 to 1024. |
statistics | (Optional) Keyword to display EtherChannel PAgP statistics. |
info | (Optional) Keyword to display EtherChannel configuration information. |
spantree | (Optional) Keyword to display only spanning-tree-related configuration information. |
trunk | (Optional) Keyword to display only VLAN-trunk-related configuration information. |
protocol | (Optional) Keyword to display only protocol-filtering-related configuration information. |
gmrp | (Optional) Keyword to display only GMRP-related configuration information. |
gvrp | (Optional) Keyword to display only GVRP-related configuration information. |
qos | (Optional) Keyword to display only QoS-related configuration information. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
If admin_group is not specified, EtherChannel information is shown for all admin groups.
If you use the info keyword without qualifying it with one of the feature-specific keywords, all configuration information is displayed.
This example shows how to display EtherChannel information for a specific EtherChannel administrative group:
Console>show channel group 58Admin Port Status Channel Channelgroup Mode id----- ----- ---------- -------------------- --------58 7/5 connected on 83558 7/6 connected on 835Admin Port Device-ID Port-ID Platformgroup----- ----- ------------------------------- ------------------------- ----------58 7/5 069003103(5500) 3/5 WS-C550058 7/6 069003103(5500) 3/6 WS-C5500Console>
This example shows how to display PAgP statistics for a specific EtherChannel administrative group:
Console> show channel group 58 statistics
Port Admin PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts
Group Transmitted Received InFlush RetnFlush OutFlush InError
----- ------- ----------- --------- --------- --------- --------- ---------
7/5 58 194 81 0 0 0 0
7/6 58 204 85 0 0 0 0
Console>
This example shows how to display EtherChannel configuration information for a specific EtherChannel administrative group:
Console>show channel group 58 infoAdmin Port Status Channel Ch Speed Duplex Vlangroup mode id----- ----- ---------- -------------------- ----- ----- ------ ----58 7/5 connected on 835 a-100 a-full 158 7/6 connected on 835 a-100 a-full 1Admin Port if- Oper-group Neighbor Chan Oper-Distribution PortSecurity/group Index Oper-group cost Method Dynamic Port----- ----- ----- ---------- ---------- ----- ----------------- -------------58 7/5 379 1 0 mac both58 7/6 379 1 0 mac bothAdmin Port Device-ID Port-ID Platformgroup----- ----- ------------------------------- ------------------------- ----------58 7/5 069003103(5500) 3/5 WS-C550058 7/6 069003103(5500) 3/6 WS-C5500Admin Port Trunk-status Trunk-type Trunk-vlansgroup----- ----- ------------ ------------- -----------------------------------------58 7/5 not-trunking negotiate 1-100558 7/6 not-trunking negotiate 1-1005Admin Port Portvlancost-vlansgroup----- ----- --------------------------------------------------------------------58 7/558 7/6Admin Port Port Portfast Port Portgroup priority vlanpri vlanpri-vlans----- ----- -------- -------- ------- ------------------------------------------58 7/5 32 disabled 058 7/6 32 disabled 0Admin Port IP IPX Groupgroup----- ----- -------- -------- --------58 7/5 on auto-on auto-on58 7/6 on auto-on auto-onAdmin Port GMRP GMRP GMRPgroup status registration forwardAll----- ----- -------- ------------ ----------58 7/5 enabled normal disabled58 7/6 enabled normal disabledAdmin Port GVRP GVRP GVRPgroup status registeration applicant----- ----- -------- ------------- ---------58 7/5 disabled normal normal58 7/6 disabled normal normalAdmin Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCosgroup----- ----- ------ ------ ------------ ----------58 7/5 - - untrusted 058 7/6 - - untrusted 0Console>
Table 2-14 describes the fields in the show channel group output.
| Field | Description |
|---|---|
Admin group | EtherChannel administrative group |
Port | Port number |
Status | Port connection status |
Channel Mode | EtherChannel mode |
Channel id | EtherChannel ID |
Device-ID | Serial number and hostname of neighboring device |
Port-ID | Connected port number on neighboring device |
Platform | Neighboring device platform |
Table 2-15 describes the fields in the show channel group statistics output.
| Field | Description |
|---|---|
Port | Port number. |
Admin Group | EtherChannel administrative group. |
PAgP Pkts Transmitted | Number of PAgP packets transmitted on the port. |
PAgP Pkts Received | Number of PAgP packets received on the port. |
PAgP Pkts InFlush | Number of PAgP flush packets received. |
PAgP Pkts RetnFlush | Number of PAgP flush packets returned. |
PAgP Pkts OutFlush | Number of PAgP flush packets transmitted. |
PAgP Pkts InError | Number of PAgP error packets received. |
Table 2-16 describes the fields in the show channel group info output.
| Field | Description |
|---|---|
Admin group | EtherChannel administrative group |
Port | Port number |
Status | Port connection status |
Channel mode | EtherChannel mode |
Ch id | EtherChannel ID |
Speed | Port speed |
Duplex | Port duplex |
Vlan | Port VLAN membership |
if-index | Interface index number |
Oper-group | Capability of the group. |
Neighbor Oper-group | Device ID of the neighboring device with which the port is channeling. |
Chan cost | EtherChannel spanning-tree port cost |
Oper-Distribution Method | EtherChannel frame distribution method |
PortSecurity/Dynamic Port | Status of whether the port is secure or dynamic. |
Device-ID | Serial number and hostname of neighboring device |
Port-ID | Connected port number on neighboring device |
Platform | Neighboring device platform |
Trunk-status | VLAN trunking mode |
Trunk-type | VLAN trunk encapsulation type |
Trunk-vlans | Allowed VLAN list for the trunk |
Portvlancost-vlans | Spanning-tree port-VLAN cost and associated VLAN IDs |
Port priority | Spanning-tree port priority |
Portfast | Spanning-tree PortFast enable state |
Port vlanpri-vlans | Spanning-tree port-VLAN priority and associated VLAN IDs |
IP | IP protocol filtering mode |
IPX | IPX protocol filtering mode |
Group | Group protocol filtering mode |
GMRP status | GMRP enable state |
GMRP registration | GMRP registration mode |
GMRP forwardAll | GMRP forward-all enable status |
GVRP status | GVRP enable state |
GVRP registration | GVRP registration mode |
GVRP applicant | GVRP applicant mode |
Qos-Tx | Transmit queue and threshold port type |
Qos-Rx | Receive queue and threshold port type |
Qos-Trust | QoS port trust |
QoS-DefCos | QoS default CoS |
set channel cost
set channel vlancost
set port channel
show channel
show port channel
Use the show config command to display the non-default system configuration.
show config {system | mod_num} [all]
system | Keyword to display system configuration. |
mod_num | Keyword to display module configuration. |
all | Keyword that specifies all modules and system configuration information, including the IP address. |
By default, this command only shows non-default configurations. To view the entire configuration, use the keyword all.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Privileged.
This example shows how to display non-default configuration information:
Console> (enable) show config begin ! # ***** NON_DEFAULT CONFIGURATION ***** ! #Current Time: Wed Mar 31 1999, 14:01:24 ! #version 5.1(0.50) ! #ip set interface sc0 172.20.32.130 ! #set boot command set boot config-register 0x2 set boot system flash bootflash:kk1 ! #module 1 : 4-port 10/100BaseTX Supervisor ! #module 2 empty ! #module 3 : 48-port 10BaseT Ethernet ! #module 4 : 48-port 10BaseT Ethernet ! #module 5 empty end
This example shows how to display default and non-default configuration information:
Console> (enable)show config all begin ! # ***** ALL (DEFAULT and NON-DEFAULT) CONFIGURATION ***** ! #Current Time: Wed Mar 31 1999, 14:01:24 ! #version 5.1(0.50) ! set password $1$FMFQ$HfZR5DUszVHIRhrz4h6V70 set enablepass $1$FMFQ$HfZR5DUszVHIRhrz4h6V70 set prompt Console> set length 24 default set logout 20 set banner motd ^C^C ! #system set system baud 9600 set system modem disable set system name set system location set system contact ! #snmp ... <truncated display> #gvrp set gvrp dynamic-vlan-creation disable set gvrp disable end
This example shows how to display non-default system configuration information:
Console> (enable)show config system begin ! # ***** NON-DEFAULT CONFIGURATION ***** ! #Current Time: Wed Mar 31 1999, 14:01:24 ! #version 5.1(0.50) ! ! #set boot command set boot config-register 0x2 set boot system flash bootflash:kk1 end
This example shows how to display all system configuration information:
Console> (enable)show config system all begin ! #system set system baud 9600 set system modem disable set system name set system location set system contact ! end
This example shows how to display module configuration information:
Console> (enable)show config 1 .............. begin ! # ***** NON-DEFAULT CONFIGURATION ***** ! ! #Current Time: Wed Mar 31 1999, 14:01:24 ! #version 5.1(0.50) ! ! #module 1 : 4-port 10/100BaseTX Supervisor end
This example shows how to display the entire module configuration information:
Console> (enable)show config 1 all begin ! #module 1 : 4-port 10/100BaseTX Supervisor set module name 1 set vlan 1 1/1-4 set port channel 1/1-4 off ... <truncated display> set port flowcontrol 1/1-4 receive on set cdp enable 1/1-4 set trunk 1/1 auto negotiate 1-1005 ... <truncated display> set trunk 1/4 auto negotiate 1-1005 set spantree portfast 1/1-4 disable ... <truncated display> set spantree portvlancost 1/4 cost 99 set port gvrp 1/1-4 disable set gvrp registration normal 1/1-4 set gvrp applicant normal 1/1-4 set port gmrp 1/1-4 enable set gmrp registration normal 1/1-4 set gmrp fwdall disable 1/1-4 ! end
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Tue Oct 5 10:51:08 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.