|
|
Use the set vtp pruneeligible command to specify which VTP domain VLANs are pruning eligible.
set vtp pruneeligible vlan_range
vlan_range | Range of VLAN numbers. |
The default is VLANs 2 through 1000 are eligible for pruning.
Switch command.
Privileged.
VTP pruning causes information about each pruning-eligible VLAN to be removed from VTP updates if there are no stations belonging to that VLAN out a particular switch port. Use the set vtp command to enable VTP pruning.
By default, VLANs 2 through 1000 are pruning eligible. You do not need to use the set vtp pruneeligible command unless you have previously used the clear vtp pruneeligible command to make some VLANs pruning ineligible. If VLANs have been made pruning ineligible, use the set vtp pruneeligible command to make them pruning eligible again.
This example shows how to configure pruning eligibility for VLANs 120 and 150:
Console> set vtp pruneeligible 120,150 Vlans 120,150 eligible for pruning on this device. VTP domain nada modified. Console>
In this example, VLANs 200-500 were made pruning ineligible using the clear vtp pruneeligible command. This example shows how to make VLANs 220 through 320 pruning eligible again:
Console> set vtp pruneeligible 220-320 Vlans 2-199,220-320,501-1000 eligible for pruning on this device. VTP domain Company modified. Console>
show vtp domain
set vlan
clear vtp pruneeligible
Use the show alias command to display a listing 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.
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>
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.
Switch command.
Normal.
ARP aging time 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 an 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 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.
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.
Switch command.
Normal.
This example shows how to use the show boot command:
Console> show boot
BOOT variable =
Configuration register is 0x10F
ignore-config: disabled
console baud: 9600
boot: the ROM monitor
Console>
set boot config-register
set boot system flash
Use the show cam commands 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.
Switch command.
Normal.
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 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.
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 msfc command to display the router's MAC-VLAN entries.
show cam msfc {mod_num} [vlan]
mod_num | Number of the module for which MSFC information is displayed. |
vlan | (Optional) Number of the VLAN. If you specify the VLAN, only CAM entries that belong to that VLAN are displayed. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display all CAM entries:
Console>(enable) show cam msfcVLAN Destination MAC Destination-Ports or VCs Xtag Status---- ------------------ ------------------------------ ---- ------194 00-e0-f9-d1-2c-00R 7/1 2 H193 00-00-0c-07-ac-c1R 7/1 2 H193 00-00-0c-07-ac-5dR 7/1 2 H202 00-00-0c-07-ac-caR 7/1 2 H204 00-e0-f9-d1-2c-00R 7/1 2 H195 00-e0-f9-d1-2c-00R 7/1 2 H192 00-00-0c-07-ac-c0R 7/1 2 H192 00-e0-f9-d1-2c-00R 7/1 2 H204 00-00-0c-07-ac-ccR 7/1 2 H202 00-e0-f9-d1-2c-00R 7/1 2 H194 00-00-0c-07-ac-5eR 7/1 2 H196 00-e0-f9-d1-2c-00R 7/1 2 H194 00-00-0c-07-ac-c2R 7/1 2 H193 00-e0-f9-d1-2c-00R 7/1 2 HTotal Matching CAM Entries Displayed = 14Console>(enable)
This example shows how to display CAM entries for a specific VLAN:
Console>show cam msfc 15 192VLAN Destination MAC Destination-Ports or VCs Xtag Status---- ------------------ ------------------------------ ---- ------192 00-00-0c-07-ac-c0R 7/1 2 H192 00-e0-f9-d1-2c-00R 7/1 2 HConsole>
Use the show cdp commands 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 the 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 | Keyword to show CDP port settings. |
/port_num | (Optional) Number of the port for which CDP information is displayed. |
This command has no default setting.
Switch command.
Normal.
If you enter the show cdp neighbors command for a device that supports earlier versions of CDP, "unknown" is displayed in the following fields:
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 detailPort (Our Port):4/4Device-ID:69046406Device Addresses:IP Address:172.20.25.161Holdtime:150 secCapabilities:TRANSPARENT_BRIDGE SWITCHVersion:WS-C6009 Software, Version NmpSW: 5.3(1)CSXCopyright (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-C60003/6 002267619 3/5 WS-C60004/1 002267619 4/2 WS-C60004/2 002267619 4/1 # WS-C60004/20 069000057 8/5 WS-C60095/1 005763872 2/1 WS-C60095/1 066506245 2/1 WS-C60095/1 066508595 5/12 *# WS-C60095/1 066508596 5/1 WS-C6009Console>
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 channel command to display EtherChannel information for a channel.
show channel [channel_id] [info | statistics | mac]
channel_id | (Optional) Number of the channel. |
info | (Optional) Keyword to display channel information. When used with any of the options (spantree | trunk | protcol | gmrp | gvrp | qos), will display specified feature-related parameters in the output. |
statistics | (Optional) Keyword to display statistics about the port (PAgP packets sent and received). |
mac | (Optional) Keyword to display MAC information about the channel. |
spantree | trunk | protcol | gmrp | gvrp | qos | (Optional) Keyword to display feature-related parameters. |
This command has no default setting.
Switch command.
Normal.
If channel_id is not specified, EtherChannel information is shown for all channels.
No information is displayed if the channel specified is not in use.
This example shows how to display channel information for a specific channel:
Console>show channel 768Channel Ports Status Channelid Mode------- ----------------------------------------------- --------- --------768 2/1-2 connected onConsole>
This example shows how to display channel 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 port information for a specific channel:
Console>show channel 769 infoChan Port Status Channel Admin Speed Duplex Vlan PortSecurity/id mode group Dynamic Port---- ----- ---------- --------- ----- ----- ------ ---- -------------769 1/1 notconnect on 195 1000 full 1 -769 1/2 notconnect on 195 1000 full 1 -Chan Port if- Oper-group Neighbor Chan Oper-Distributionid Index Oper-group cost Method---- ----- ----- ---------- ---------- ----- -----------------769 1/1 - 1 0 ip both769 1/2 - 1 0 ip bothChan Port Device-ID Port-ID Platformid---- ----- ------------------------------- ------------------------- ----------769 1/1769 1/2Chan Port Trunk-status Trunk-type Trunk-vlansid----- ----- ------------ ------------------------------------------------------769 1/1 not-trunking negotiate 1-1005769 1/2 not-trunking negotiate 1-1005Chan Port Portvlancost-vlansid---- ----- --------------------------------------------------------------------769 1/1769 1/2Chan Port Port Portfast Port Portid priority vlanpri vlanpri-vlans---- ----- -------- -------- ------- ------------------------------------------769 1/1 32 disabled 0769 1/2 32 disabled 0Chan Port IP IPX Groupid---- ----- -------- -------- --------769 1/1 on auto-on auto-on769 1/2 on auto-on auto-onChan Port GMRP GMRP GMRPid status registration forwardAll---- ----- -------- ------------ ----------769 1/1 enabled normal disabled769 1/2 enabled normal disabledChan Port GVRP GVRP GVRPid status registeration applicant---- ----- -------- ------------- ---------769 1/1 disabled normal normal769 1/2 disabled normal normalChan Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCos Qos-Port-basedid---- ----- ------ ------ ------------ ---------- --------------769 1/1 2q2t 1q4t untrusted 0 false769 1/2 2q2t 1q4t untrusted 0 falseChan Port ACL name Protocolid---- ----- -------------------------------- --------769 1/1 IPIPXMAC769 1/2 IPIPXMACConsole
This example shows how to display port information for all channels:
Console> show channel infoChan Port Status Channel Admin Speed Duplex Vlan PortSecurity/id mode group Dynamic Port---- ----- ---------- --------- ----- ----- ------ ---- -------------769 1/1 notconnect on 195 1000 full 1 -769 1/2 notconnect on 195 1000 full 1 -865 4/1 notconnect on 194 100 half 1 -865 4/2 notconnect on 194 100 half 1 -Chan Port if- Oper-group Neighbor Chan Oper-Distributionid Index Oper-group cost Method---- ----- ----- ---------- ---------- ----- -----------------769 1/1 - 1 0 ip both769 1/2 - 1 0 ip both865 4/1 - 1 0 ip both865 4/2 - 1 0 ip bothChan Port Device-ID Port-ID Platformid---- ----- ------------------------------- ------------------------- ----------769 1/1769 1/2865 4/1865 4/2Chan Port Trunk-status Trunk-type Trunk-vlansid----- ----- ------------ ------------------------------------------------------769 1/1 not-trunking negotiate 1-1005769 1/2 not-trunking negotiate 1-1005865 4/1 not-trunking negotiate 1-1005865 4/2 not-trunking negotiate 1-1005Chan Port Portvlancost-vlansid---- ----- --------------------------------------------------------------------769 1/1769 1/2865 4/1865 4/2Chan Port Port Portfast Port Portid priority vlanpri vlanpri-vlans---- ----- -------- -------- ------- ------------------------------------------769 1/1 32 disabled 0769 1/2 32 disabled 0865 4/1 32 disabled 0865 4/2 32 disabled 0Chan Port IP IPX Groupid---- ----- -------- -------- --------769 1/1 on auto-on auto-on769 1/2 on auto-on auto-on865 4/1 on auto-on auto-on865 4/2 on auto-on auto-onChan Port GMRP GMRP GMRPid status registration forwardAll---- ----- -------- ------------ ----------769 1/1 enabled normal disabled769 1/2 enabled normal disabled865 4/1 enabled normal disabled865 4/2 enabled normal disabledChan Port GVRP GVRP GVRPid status registeration applicant---- ----- -------- ------------- ---------769 1/1 disabled normal normal769 1/2 disabled normal normal865 4/1 disabled normal normal865 4/2 disabled normal normalChan Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCos Qos-Port-basedid---- ----- ------ ------ ------------ ---------- --------------769 1/1 2q2t 1q4t untrusted 0 false769 1/2 2q2t 1q4t untrusted 0 false865 4/1 2q2t 1q4t untrusted 0 false865 4/2 2q2t 1q4t untrusted 0 falseChan Port ACL name Protocolid---- ----- -------------------------------- --------769 1/1 IPIPXMAC769 1/2 IPIPXMAC865 4/1 IPIPXMAC865 4/2 IPIPXMACConsole>
This example shows how to display PAgP information for a specific channel:
Console>show channel 768 statisticsPort Channel PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pktsid Transmitted Received InFlush RetnFlush OutFlush InError----- ------- ----------- --------- --------- --------- --------- ---------2/1 768 0 0 0 0 0 02/2 768 0 0 0 0 0 0Console>
This example shows how to display PAgP information for all channels:
Console>show channel statisticsPort Channel PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pktsid Transmitted Received InFlush RetnFlush OutFlush InError----- ------- ----------- --------- --------- --------- --------- ---------2/1 768 0 0 0 0 0 02/2 768 0 0 0 0 0 04/3 769 0 0 0 0 0 04/4 769 0 0 0 0 0 04/7 770 0 92 0 0 0 04/8 770 0 0 0 0 0 0Console>
This example shows how to display statistics for a specific channel:
Console>show channel 768 macChannel Rcv-Unicast Rcv-Multicast Rcv-Broadcast-------- -------------------- -------------------- --------------------768 525 959 827Channel Xmit-Unicast Xmit-Multicast Xmit-Broadcast-------- -------------------- -------------------- --------------------768 384 88 1Port Rcv-Octet Xmit-Octet-------- -------------------- --------------------768 469263 48083Channel Dely-Exced MTU-Exced In-Discard Lrn-Discrd In-Lost Out-Lost-------- ---------- ---------- ---------- ---------- ---------- ----------768 0 0 0 0 0 0Console>
This example shows how to display statistics for all channels:
Console>show channel macChannel Rcv-Unicast Rcv-Multicast Rcv-Broadcast-------- -------------------- -------------------- --------------------768 532290 163 6769 0 0 0771 4 64 0Channel Xmit-Unicast Xmit-Multicast Xmit-Broadcast-------- -------------------- -------------------- --------------------768 602591 77 3769 0 0 0771 636086 222 12Port Rcv-Octet Xmit-Octet-------- -------------------- --------------------768 44873880 45102132769 0 0771 64153 64831844Channel Dely-Exced MTU-Exced In-Discard Lrn-Discrd In-Lost Out-Lost-------- ---------- ---------- ---------- ---------- ---------- ----------768 0 0 0 0 0 0769 0 0 0 0 0 0771 0 18 0 0 0 0Last-Time-Cleared--------------------------Wed Jun 10 1999, 20:31:13Console>
These examples show how to display feature-specific parameter information:
Console>show channel 769 info trunkChan Port Trunk-status Trunk-type Trunk-vlansid----- ----- ------------ ------------- -----------------------------------------769 1/1 not-trunking negotiate 1-1005769 1/2 not-trunking negotiate 1-1005Chan Port Portvlancost-vlansid---- ----- --------------------------------------------------------------------769 1/1769 1/2Console>Console>show channel 769 info spantreeChan Port Port Portfast Port Portid priority vlanpri vlanpri-vlans---- ----- -------- -------- ------- ------------------------------------------769 1/1 32 disabled 0769 1/2 32 disabled 0Console>Console>show channel 769 info protcolChan Port IP IPX Groupid---- ----- -------- -------- --------769 1/1 on auto-on auto-on769 1/2 on auto-on auto-onConsole>Console>show channel 769 info gmrpChan Port GMRP GMRP GMRPid status registration forwardAll---- ----- -------- ------------ ----------769 1/1 enabled normal disabled769 1/2 enabled normal disabledConsole>Console>show channel 769 info gvrpChan Port GVRP GVRP GVRPid status registeration applicant---- ----- -------- ------------- ---------769 1/1 disabled normal normal769 1/2 disabled normal normalConsole>Console>show channel 769 info qosChan Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCos Qos-Interfaceid PortType PortType Type Type---- ----- -------- -------- ------------ ---------- --------------769 1/1 2q2t 1q4t untrusted 0 port-based769 1/2 2q2t 1q4t untrusted 0 port-basedChan Port ACL name Typeid---- ----- -------------------------------- ----769 1/1 IPIPXMAC769 1/2 IPIPXMACConsole>
show port channel
show channel group
Use the show channel group command to display EtherChannel group status information.
show channel group [admin_group] [info | statistics]
admin_group | (Optional) Number of the administrative group; valid values are from 1 to 1024. |
info | (Optional) Keyword to display group information. When used with any of the options (spantree | trunk | protcol | gmrp | gvrp | qos), will display specified feature-related parameters in the output. |
statistics | (Optional) Keyword to display statistics about the group. |
spantree | trunk | protcol | gmrp | gvrp | qos | (Optional) Keyword to display feature-related parameters. |
This command has no default setting.
Switch command.
Normal.
If admin_group is not specified, EtherChannel information is shown for all admin groups.
This example shows how to display Ethernet channeling information for all admin groups:
Console>show channel groupAdmin Group Ports----------- -----------------------------------------------7 1/1-2Console>
This example shows how to display Ethernet channeling information for a specific group:
Console>show channel group 154Admin Port Status Channel Channelgroup Mode id----- ----- ---------- --------- --------154 1/1 notconnect on 769154 1/2 connected on 769Admin Port Device-ID Port-ID Platformgroup----- ----- ------------------------------- ------------------------- ----------154 1/1154 1/2 066510644(cat26-lnf(NET25)) 2/1 WS-C5505Console>
This example shows how to display group information:
Console>show channel group 154 infoAdmin Port Status Channel Ch Speed Duplex Vlan PortSecurity/group mode id Dynamic Port----- ----- ---------- --------- ----- ----- ------ ---- -------------154 1/1 notconnect on 769 1000 full 1 - Dynamic port154 1/2 connected on 769 1000 full 1 - Dynamic portAdmin Port if- Oper-group Neighbor Chan Oper-Distributiongroup Index Oper-group cost Method----- ----- ----- ---------- ---------- ----- -----------------154 1/1 - 1 0 mac both154 1/2 868 1 0 mac bothAdmin Port Device-ID Port-ID Platformgroup----- ----- ------------------------------- ------------------------- ----------154 1/1154 1/2 066510644(cat26-lnf(NET25)) 2/1 WS-C5505Admin Port Trunk-status Trunk-type Trunk-vlansgroup----- ----- ------------ ------------- -----------------------------------------154 1/1 not-trunking negotiate 1-1005154 1/2 not-trunking negotiate 1-1005Admin Port Portvlancost-vlansgroup----- ----- --------------------------------------------------------------------154 1/1154 1/2Admin Port Port Portfast Port Portgroup priority vlanpri vlanpri-vlans----- ----- -------- -------- ------- ------------------------------------------154 1/1 32 disabled 0154 1/2 32 disabled 0Admin Port IP IPX Groupgroup----- ----- -------- -------- --------154 1/1 on auto-on auto-on154 1/2 on auto-on auto-onAdmin Port GMRP GMRP GMRPgroup status registration forwardAll----- ----- -------- ------------ ----------154 1/1 enabled normal disabled154 1/2 enabled normal disabledAdmin Port GVRP GVRP GVRPgroup status registeration applicant----- ----- -------- ------------- ---------154 1/1 disabled normal normal154 1/2 disabled normal normalAdmin Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCos Qos-Port-basedgroup----- ----- ------ ------ ------------ ---------- --------------154 1/1 2q2t 1q4t untrusted 0 false154 1/2 2q2t 1q4t untrusted 0 falseAdmin Port ACL name Protocolgroup----- ----- -------------------------------- --------154 1/1 ip_acl IPipx_acl IPXmac_acl MAC154 1/2 IPIPXMACConsole>
These examples show how to display feature-specific parameter information:
Console>show channel group 154 info trunkAdmin Port Trunk-status Trunk-type Trunk-vlansgroup----- ----- ------------ ------------- -----------------------------------------154 1/1 not-trunking negotiate 1-1005154 1/2 not-trunking negotiate 1-1005Console>Console>show channel group 154 info spantreeAdmin Port Portvlancost-vlansgroup----- ----- --------------------------------------------------------------------154 1/1154 1/2Admin Port Port Portfast Port Portgroup priority vlanpri vlanpri-vlans----- ----- -------- -------- ------- ------------------------------------------154 1/1 32 disabled 0154 1/2 32 disabled 0Console>Console>show channel group 154 info protcolAdmin Port IP IPX Groupgroup----- ----- -------- -------- --------154 1/1 on auto-on auto-on154 1/2 on auto-on auto-onConsole>Console>show channel group 154 info gmrpAdmin Port GMRP GMRP GMRPgroup status registration forwardAll----- ----- -------- ------------ ----------154 1/1 enabled normal disabled154 1/2 enabled normal disabledConsole>Console>show channel group 154 info gvrpAdmin Port GVRP GVRP GVRPgroup status registeration applicant----- ----- -------- ------------- ---------154 1/1 disabled normal normal154 1/2 disabled normal normalConsole>Console>show channel group 769 info qosChan Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCos Qos-Interfaceid PortType PortType Type Type---- ----- -------- -------- ------------ ---------- --------------769 1/1 2q2t 1q4t untrusted 0 port-based769 1/2 2q2t 1q4t untrusted 0 port-basedChan Port ACL name Typeid---- ----- -------------------------------- ----769 1/1 IPIPXMAC769 1/2 IPIPXMACConsole>
Use the show config command to display the current system configuration.
show configThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows the (partial) contents of a configuration file:
Console> show config#version 4.2(0.23)VAI55)!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 ! #tacacs+ set tacacs attempt 3 set tacacs directrequest disable set tacacs timeout 5 set authentication login tacacs disable console set authentication login tacacs enable console set authentication login tacacs disable telnet set authentication login tacacs enable telnet set authentication enable tacacs disable console set authentication enable local enable console set authentication enable tacacs disable telnet set authentication enable local enable telnet ! #vtp set vtp domain test set vtp mode server set vtp v2 disable set vtp pruning disable set vtp pruneeligible 2-1000 clear vtp pruneeligible 1001-1005 set vlan 1 name default type ethernet mtu 1500 said 100001 state active set vlan 2 name VLAN0002 type ethernet mtu 1500 said 100002 state active !
Use the show config qos acl command to display the committed access lists in a command line format.
show config qos acl acl_name | all
acl_name | Unique name that identifies the list to which the entry belongs. |
all | Keyword to specify all committed access lists. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display all committed access lists:
Console>show config qos acl all #ipx1:set qos acl ipx ipx1 dscp 1 any AA BBset qos acl ipx ipx1 dscp 1 0 AA CC#default-action:set qos acl default-action ip dscp 0set qos acl default-action ipx dscp 0set qos acl default-action mac dscp 0Console>
This example shows how to display a specific committed access list:
Console>show config qos acl my_ip_acl#my_ip_acl:set qos acl ip my_ip_acl trust-dscp microflow my-micro tcp 1.2.3.4/255.0.0.0 eq
port 21 172.20.20.1/255.255.255.0 tos 5set qos acl ip my_ip_acl trust-dscp microflow my-micro aggregate agg tcp
173.22.3.4/255.0.0.0 eq port 19 173.22.20.1/255.255.255.0 tos 5Console>
Use the show cops commands to display COPS information.
show cops info [diff-serv | rsvp+]
info | Keyword to display COPS status and configuration information. |
diff-serv | (Optional) Keyword to specify the differentiated services server table. |
rsvp+ | (Optional) Keyword to specify the RSVP+ server table. |
pib | Keyword to display the COPS policy tree information. |
roles | Keyword to display the ports assigned to each role. |
This command has no default setting.
Switch command.
Normal.
The display output of the show cops pib command is a numeric dump of the PIB in terms of a PRID and its vector of values.
This example shows how to display COPS status and configuration information:
Console>show cops info COPS general configuration---------------------------COPS domain name : -Connection retry intervals : initial = 30 secondsincrement = 30 secondsmax = 300 secondsCOPS Diff-Serv client state---------------------------COPS connection state :not-connectedLast active server :172.20.25.3 [port:3288]Primary configured server :172.20.25.3 [port:3288]Secondary configured server :-COPS RSVP+ client state------------------------COPS connection state : connectedLast active server : 171.21.34.56Primary configured server : 171.21.34.56 [3288]Secondary configured server : 171.21.34.57 [3288]Console>
This example shows how to display COPS policy tree information:
Console>show cops pib4.1.1.1 0 0 0 1 1 0 0 2 2 0 0 3 3 0 0 (etc.) .. 63 30 5 3 04.2.1 0 1 1 2 2 3 3 4 4 1 5 1 6 10 7 8(display is truncated)Console>
This example shows how to display COPS RSVP+ status and configuration information:
Console>show cops info rsvp COPS general configuration---------------------------COPS domain name : -Connection retry intervals : initial = 30 secondsincrement = 30 secondsmax = 300 secondsCOPS RSVP+ client state------------------------COPS connection state : connectedLast active server : 171.21.34.56Primary configured server : 171.21.34.56 [3288]Secondary configured server : 171.21.34.57 [3288]
This example shows how to display the ports assigned to each role:
Console>show cops rolesAdmin Roles Mod/Ports------------------------------- ---------------------------------------access_port 1/1-23/1-5,3/8backbone_port 1/1-23/1-5,3/8branch_office_port 3/6-74/1-8net_port -Oper Roles Mod/Ports------------------------------- ---------------------------------------access_port 1/1-23/1-5,3/8backbone_port 1/1-23/8branch_office_port 3/6-74/1-8Console>
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Fri Dec 31 11:00:42 PST 1999
Copyright 1989-1999©Cisco Systems Inc.