- show access-group mode interface
- show adjacency
- show ancp multicast
- show arp access-list
- show authentication
- show auto install status
- show auto qos
- show auto security
- show bootflash:
- show bootvar
- show cable-diagnostics tdr
- show call-home
- show cdp neighbors
- show class-map
- show device-sensor cache
- show diagnostic content
- show diagnostic result module
- show diagnostic result module test
- show diagnostic result module test 2
- show diagnostic result module test 3
- show dot1x
- show environment
- show errdisable detect
- show errdisable recovery
- show etherchannel
- show flowcontrol
- show hw-module port-group
- show hw-module system max-port-num-mode
- show hw-module uplink
- show idprom
- show interfaces
- show interfaces (virtual switch)
- show interfaces counters
- show interfaces counters (virtual switch)
- show interfaces description
- show interfaces link
- show interfaces mtu
- show interfaces private-vlan mapping
- show interfaces status
- show interfaces switchport
- show interfaces transceiver
- show interfaces trunk
- show ip arp inspection
- show ip arp inspection log
- show ip cef vlan
- show ip dhcp snooping
- show ip dhcp snooping binding
- show ip dhcp snooping database
- show ip igmp interface
- show ip igmp profile
- show ip igmp snooping
- show ip igmp snooping membership
- show ip igmp snooping mrouter
- show ip igmp snooping vlan
- show ip interface
- show ip mfib
- show ip mfib fastdrop
- show ip mroute
- show ip source binding
- show ip verify source
- show ip wccp
- show ipc
- show ipv6 snooping counters
- show ipv6 mld snooping
- show ipv6 mld snooping mrouter
- show ipv6 mld snooping querier
- show issu capability
- show issu clients
- show issu comp-matrix
- show issu endpoints
- show issu entities
- show issu fsm
- show issu message
- show issu negotiated
- show issu rollback-timer
- show issu sessions
- show issu state
- show l2protocol-tunnel
- show lacp
- show license
- show link state group
- show mab
- show mac access-group interface
- show mac-address-table address
- show mac-address-table aging-time
- show mac-address-table count
- show mac-address-table dynamic
- show mac-address-table interface
- show mac address-table learning
- show mac-address-table multicast
- show mac-address-table notification
- show mac-address-table protocol
- show mac-address-table static
- show mac-address-table vlan
- show macro auto mac-address-group
- show macro auto device
- show macro auto interface
- show macro auto monitor clients
- show macro auto monitor device
- show macro auto monitor type
- show module
- show monitor
- show monitor capture
- show monitor capture file
- show mvr
- show mvr interface
- show mvr members
- show netflow-lite exporter
- show netflow-lite monitor
- show netflow-lite sampler
- show nmsp
- show pagp
- show pagp dual-active (virtual switch)
- show policy-map
- show policy-map control-plane
- show policy-map interface
- show policy-map interface vlan
- show port-security
- show power
- show power inline police
- show pppoe intermediate-agent interface
- show qos
- show qos aggregate policer
- show qos dbl
- show qos interface
- show qos maps
- show redundancy
- show redundancy config-sync
- show running-config
- show shell functions
- show shell triggers
- show slavebootflash:
- show slaveslot0:
- show slot0:
- show spanning-tree
- show spanning-tree mst
- show storm-control
- show switch virtual (virtual switch)
- show system mtu
- show tech-support
- show udld
- show vlan
- show vlan access-map
- show vlan counters
- show vlan dot1q tag native
- show vlan group
- show vlan internal usage
- show vlan mapping
- show vlan mtu
- show vlan private-vlan
- show vlan remote-span
- show vmps
- show vslp (virtual switch)
- show vtp
show access-group mode interface
To display the ACL configuration on a Layer 2 interface, use the show access-group mode interface command.
show access-group mode interface [ interface interface-number ]
Syntax Description
(Optional) Interface type; valid values are ethernet , fastethernet , gigabitethernet , tengigabitethernet , and port-channel . |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The valid values for the port number depend on the chassis used.
Examples
The following example shows how to display the ACL configuration on the Fast Ethernet interface 6/1:
Related Commands
|
|
---|---|
Specifies the override modes (for example, VACL overrides PACL) and the non-override modes (for example, merge or strict mode). |
show adjacency
To display information about the Layer 3 switching adjacency table, use the show adjacency command.
show adjacency [{ interface interface-number } | { null interface-number } | { port-channel number } | { vlan vlan-id } | detail | internal | summary ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The interface-number argument designates the module and port number. Valid values for interface-number depend on the specified interface type and the chassis and module that are used. For example, if you specify a Gigabit Ethernet interface and have a 48-port 10/100BASE-T Ethernet module that is installed in a 13-slot chassis, valid values for the module number are from 1 to 13, and valid values for the port number are from 1 to 48.
Hardware Layer 3 switching adjacency statistics are updated every 60 seconds.
The following information is contained in the show adjacency command:
- Protocol interface.
- Type of routing protocol that is configured on the interface.
- Interface address.
- Method of adjacency that was learned.
- MAC address of the adjacent router.
- Time left before the adjacency rolls out of the adjacency table. After it rolls out, a packet must use the same next hop to the destination.
Examples
The following example shows how to display adjacency information:
The following example shows how to display a summary of adjacency information:
The following example shows how to display protocol detail and timer information:
The following example shows how to display adjacency information for a specific interface:
Related Commands
|
|
---|---|
show ancp multicast
To display multicast streams activated by Access Node Control Protocol (ANCP), use the show ancp multicast command.
show ancp multicast [group groupaddr] [source sourceaddr] | [ interface interfacename]
Syntax Description
(Optional) Specifies a multicast flowing on a specific interface. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display multicast streams activated by ANCP:
show arp access-list
To display detailed information on an ARP access list, use the show arp command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the ARP ACL information for a switch:
Related Commands
show authentication
To display the Auth Manager information, use the show authentication command in EXEC or Privileged EXEC mode.
show authentication { interface interface | registrations | sessions [ session-id session-id ] [ handle handle ] [ interface interface ] [ mac mac ] [ method method ] [ interface interface [details | policy] ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Do not enter the show authentication sessions and the clear authentication sessions commands in succession and repeatedly - it causes the switch to shutdown. These commands must not be used this way in scripts either. If you have to enter the commands again, wait for one minute between repetitions.
Table 2-19 describes the significant fields shown in the show authentication display.
Note The possible values for the status of sessions are given below. For a session in terminal state, “Authz Success” or “Authz Failed” are displayed. “No methods” is displayed if no method has provided a result.
Table 2-20 lists the possible values for the state of methods. For a session in terminal state, “Authc Success,” “Authc Failed,” or “Failed over” are displayed (the latter indicates a method ran and failed over to the next method which did not provide a result. “Not run” is displayed in the case of sessions that are synchronized on standby.
Examples
The following example shows how to display authentication methods registered with Auth Manager:
The following example shows how to display Auth Manager details for a specific interface:
The following example shows how to display all Auth Manager sessions on the switch:
The following example shows how to display all Auth Manager sessions on an interface:
The following example shows how to display Auth Manager session for a specified MAC address:
The following example shows how to display all clients authorized via a specified auth method:
The following example displays the policies applied on interface e0/0:
Related Commands
show auto install status
To display the status of an automatic installation, use the show auto install status command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the IP address of the TFTP server and to display whether or not the switch is currently acquiring the configuration file on the TFTP server:
The first IP address in the display indicates the server that is used for the automatic installation. The second IP address indicates the TFTP server that provided the configuration file.
show auto qos
To display the automatic quality of service (auto-QoS) configuration that is applied, use the show auto qos user EXEC command.
show auto qos [ interface [ interface-id ]] [ { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The show auto qos interface interface-id command displays the auto-QoS configuration; it does not display any user changes to the configuration that might be in effect.
To display information about the QoS configuration that might be affected by auto-QoS on a non-Supervisor Engine 6-E, use one of these commands:
Expressions are case sensitive. For example, if you enter exclude outpu t, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
The following example shows output from the show auto qos command when auto-QoS is enabled:
Related Commands
|
|
---|---|
Automatically configures quality of service (auto-QoS) for Voice over IP (VoIP) within a QoS domain. |
show auto security
To display the auto security (configuration), use the show auto security command.
show auto security [configuration]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows the output of the show auto security command when AS is disabled globally:
The following example shows how to enable auto security on an uplink port:
The following example shows how to enable auto security on an access port:
The following example shows how to display the CLIs that are applied with AS:
show bootflash:
To display information about the bootflash: file system, use the show bootflash: command.
show bootflash: [ all | chips | filesys ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display file system status information:
Switch>
show bootflash: filesys
-------- F I L E S Y S T E M S T A T U S --------
Device Number = 0
DEVICE INFO BLOCK: bootflash
Magic Number = 6887635 File System Vers = 10000 (1.0)
Length = 1000000 Sector Size = 40000
Programming Algorithm = 39 Erased State = FFFFFFFF
File System Offset = 40000 Length = F40000
MONLIB Offset = 100 Length = C628
Bad Sector Map Offset = 3FFF8 Length = 8
Squeeze Log Offset = F80000 Length = 40000
Squeeze Buffer Offset = FC0000 Length = 40000
Num Spare Sectors = 0
Spares:
STATUS INFO:
Writable
NO File Open for Write
Complete Stats
No Unrecovered Errors
No Squeeze in progress
USAGE INFO:
Bytes Used = 917CE8 Bytes Available = 628318
Bad Sectors = 0 Spared Sectors = 0
OK Files = 2 Bytes = 917BE8
Deleted Files = 0 Bytes = 0
Files w/Errors = 0 Bytes = 0
Switch>
The following example shows how to display system image information:
Switch>
show bootflash:
-# - ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1.. image 8C5A393A 237E3C 14 2063804 Aug 23 1999 16:18:45 c4-boot-mz
2.. image D86EE0AD 957CE8 9 7470636 Sep 20 1999 13:48:49 rp.halley
Switch>
The following example shows how to display all bootflash information:
Switch>
show bootflash: all
-# - ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1.. image 8C5A393A 237E3C 14 2063804 Aug 23 1999 16:18:45 c4-boot-
mz
2.. image D86EE0AD 957CE8 9 7470636 Sep 20 1999 13:48:49 rp.halley
6456088 bytes available (9534696 bytes used)
-------- F I L E S Y S T E M S T A T U S --------
Device Number = 0
DEVICE INFO BLOCK: bootflash
Magic Number = 6887635 File System Vers = 10000 (1.0)
Length = 1000000 Sector Size = 40000
Programming Algorithm = 39 Erased State = FFFFFFFF
File System Offset = 40000 Length = F40000
MONLIB Offset = 100 Length = C628
Bad Sector Map Offset = 3FFF8 Length = 8
Squeeze Log Offset = F80000 Length = 40000
Squeeze Buffer Offset = FC0000 Length = 40000
Num Spare Sectors = 0
Spares:
STATUS INFO:
Writable
NO File Open for Write
Complete Stats
No Unrecovered Errors
No Squeeze in progress
USAGE INFO:
Bytes Used = 917CE8 Bytes Available = 628318
Bad Sectors = 0 Spared Sectors = 0
OK Files = 2 Bytes = 917BE8
Deleted Files = 0 Bytes = 0
Files w/Errors = 0 Bytes = 0
Switch>
show bootvar
To display BOOT environment variable information, use the show bootvar command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display BOOT environment variable information:
Switch#
show bootvar
BOOT variable = sup:1;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x0
Switch#
show cable-diagnostics tdr
To display the test results for the TDR cable diagnostics, use the show cable-diagnostics tdr command.
show cable-diagnostics tdr { interface { interface interface-number }}
Note This command will be deprecated in future Cisco IOS releases; use the diagnostic start command instead.
Syntax Description
Interface type; valid values are fastethernet and gigabitethernet. |
|
Command Default
Command Modes
Command History
|
|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The TDR test is supported on Catalyst 4500 series switches running Cisco IOS Release 12.2(25)SG for the following line cards only:
Examples
The following example shows how to display information about the TDR test:
Table 2-21 describes the fields in the show cable-diagnostics tdr command output.
|
|
---|---|
Related Commands
|
|
---|---|
Tests the condition of copper cables on 48-port 10/100/1000 BASE-T modules. |
show call-home
To display the configured CallHome information, use the show call-home command in privileged EXEC mode.
show call-home [ alert-group | detail | mail-server | profile { all | name } | statistics ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch, Supervisor Engine 6-E, and Catalyst 4900M chassis. |
Examples
The following example displays the configured CallHome settings:
Configured CallHome Information in Detail
Available Call Home Alert Groups
E-Mail Server Status Information
Information for All Destination Profiles (Predefined and User-Defined)
Information for a User-Defined Destination Profile
Related Commands
|
|
---|---|
show cdp neighbors
To display detailed information about the neighboring devices that are discovered through CDP, use the show cdp neighbors command.
show cdp neighbors [ type number ] [ detail ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The vlan keyword is supported in Catalyst 4500 series switches that are configured with a Supervisor Engine 2.
The port-channel values are from 0 to 282; values from 257 to 282 are supported on the CSM and the FWSM only.
Examples
The following example shows how to display the information about the CDP neighbors:
Table 2-22 describes the fields that are shown in the example.
The following example shows how to display detailed information about your CDP neighbors:
Table 2-23 describes the fields that are shown in the example.
Related Commands
show class-map
To display class map information, use the show class-map command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Examples
The following example shows how to display class map information for all class maps:
The following example shows how to display class map information for a specific class map:
Assume there are two active flows as shown below on Fast Ethernet interface 6/1:
With following configuration, each flow will be policed to a 1000000 bps with an allowed 9000-byte burst value.
Note If you use the match flow ip source-address|destination-address command, these two flows are consolidated into one flow and they have the same source and destination address.
Related Commands
show device-sensor cache
To display Device Sensor cache entries, use the show device-sensor cache command in privileged EXEC mode.
show device-sensor cache { mac mac-address | all }
Syntax Description
Specifies the MAC address of the device for which the sensor cache entries are to be displayed. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show device-sensor cache command to display a list of TLV fields or options received from a particular device or from all devices.
Examples
The following is sample output from the show device-sensor cache mac mac-address command:
The following is sample output from the show device-sensor cache all command:
The following table describes the significant fields shown in the display:
|
|
---|---|
MAC address of the device and the interface which it is connected to. |
|
Protocol from which the endpoint device data is being gleaned. |
|
Related Commands
show diagnostic content
To display test information about the test ID, test attributes, and supported coverage test levels for each test and for all modules, use the show diagnostic content command.
show diagnostic content module { all | num }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the test suite, monitoring interval, and test attributes for all the modules of the chassis:
Related Commands
|
|
---|---|
show diagnostic result module
To display the module-based diagnostic test results, use the show diagnostic result module command.
show diagnostic result module [ slot-num | all ] [ test [ test-id | test-id-range | all ]] [ detail ]
Syntax Description
(Optional) Specifies the slot on which diagnostics are displayed. |
|
Command Default
A summary of the test results for all modules in the chassis is displayed.
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the summary results for all modules in the chassis:
The following example shows how to display the online diagnostics for module 1:
show diagnostic result module test
To display the results of the bootup packet memory test, use the show diagnostic result module test command. The output indicates whether the test passed, failed, or was not run.
show diagnostic result module [ N | all ] [ test test-id ] [ detail ]
Syntax Description
(Optional) Specifies the number for the tdr test on the platform. |
|
(Optional) Specifies the display of detailed information for analysis. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The detail keyword is intended for use by Cisco support personnel when analyzing failures.
Examples
The following example shows how to display the results of the bootup packet memory tests:
Related Commands
|
|
---|---|
show diagnostic result module test 2
To display the results of the bootup packet memory test, use the show diagnostic result module test 2 command. The output indicates whether the test passed, failed, or was not run.
show diagnostic result module N test 2 [ detail ]
Syntax Description
(Optional) Specifies the display of detailed information for analysis. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The detail keyword is intended for use by Cisco support personnel when analyzing failures.
Examples
The following example shows how to display the results of the bootup packet memory tests:
The following example shows how to display detailed results from the bootup packet memory tests:
Related Commands
|
|
---|---|
Directs the action of the switch when it detects a packet memory failure. |
|
show diagnostic result module test 3
To display the results from the ongoing packet memory test, use the show diagnostic result module test 3 command. The output indicates whether the test passed, failed, or was not run.
show diagnostic result module N test 3 [ detail ]
Syntax Description
(Optional) Specifies the display of detailed information for analysis. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The detail keyword is intended for use by Cisco support personnel when analyzing failures.
Examples
The following example shows how to display the results from the ongoing packet memory tests:
The following example shows how to display the detailed results from the ongoing packet memory tests:
Related Commands
|
|
---|---|
Directs the action of the switch when it detects a packet memory failure. |
|
show dot1x
To display the 802.1X statistics and operational status for the entire switch or for a specified interface, use the show dot1x command.
show dot1x [ interface interface-id ] | [ statistics [ interface interface-id ]] | [ all ]
Syntax Description
Command Default
Command Modes
Command History
Usage Guidelines
If you do not specify an interface, the global parameters and a summary are displayed. If you specify an interface, the details for that interface are displayed.
If you enter the statistics keyword without the interface option, the statistics are displayed for all interfaces. If you enter the statistics keyword with the interface option, the statistics are displayed for the specified interface.
Expressions are case sensitive. For example, if you enter exclude outpu t , the lines that contain output are not displayed, but the lines that contain Output are displayed.
The show dot1x command displays the currently assigned reauthentication timer and time remaining before reauthentication, if reauthentication is enabled.
Examples
The following example shows how to display the output from the show dot1x command:
The following example shows how to display the 802.1X statistics for a specific port:
Note Table 2-24 provides a partial list of the displayed fields. The remaining fields in the display show internal state information. For a detailed description of these state machines and their settings, refer to the 802.1X specification.
This is an example of output from the show dot1x statistics interface gigabitethernet1/1 command. Table 2-25 describes the fields in the display.
Related Commands
show environment
To display the environment alarm, operational status, and current reading for the chassis, use the show environment command.
show environment [ alarm ] | [ status [ chassis | fantray | powersupply | supervisor ]] | [ temperature ]
Syntax Description
(Optional) Specifies the status of the fan tray, and shows fan tray power consumption. |
|
(Optional) Specifies the current chassis temperature readings. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Support for the ability to display generic environment information with the show environment command was added. |
Examples
The following example shows how to display information about the environment alarms, operational status, and current temperature readings for the chassis:
Switch# show environment
no alarm
Chassis Temperature = 32 degrees Celsius
Chassis Over Temperature Threshold = 75 degrees Celsius
Chassis Critical Temperature Threshold = 95 degrees Celsius
Power Fan
Supply Model No Type Status Sensor
------ --------------- --------- ----------- ------
PS1 PWR-C45-1400AC AC 1400W good good
PS2 none -- -- --
Power Supply Max Min Max Min Absolute
(Nos in Watts) Inline Inline System System Maximum
-------------- ------ ------ ------ ------ --------
PS1 0 0 1360 1360 1400
PS2 -- -- -- -- --
Power supplies needed by system : 1
Chassis Type : WS-C4507R
Supervisor Led Color : Green
Fantray : good
Power consumed by Fantray : 50 Watts
The following example shows how to display information about the environment alarms:
Switch#
show environment alarm
no alarm
Switch#
The following example shows how to display information about the power supplies, chassis type, and fan trays:
Switch#
show environment status
Power Fan
Supply Model No Type Status Sensor
------ --------------- --------- ----------- ------
PS1 PWR-C45-1400AC AC 1400W good good
PS2 none -- -- --
Power Supply Max Min Max Min Absolute
(Nos in Watts) Inline Inline System System Maximum
-------------- ------ ------ ------ ------ --------
PS1 0 0 1360 1360 1400
PS2 -- -- -- -- --
Power supplies needed by system : 1
Chassis Type : WS-C4507R
Supervisor Led Color : Green
Fantray : good
Power consumed by Fantray : 50 Watts
Switch#
The following example shows how to display information about the chassis:
The following example shows how to display information about the fan tray:
The following example shows how to display information about the power supply:
The following example shows how to display information about the supervisor engine:
The following example shows how to display information about the temperature of the chassis:
Switch#
show environment temperature
Switch#
show errdisable detect
To display the error disable detection status, use the show errdisable detect command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
A displayed gbic-invalid
error reason refers to an invalid small form-factor pluggable (SFP) module.
The error-disable reasons in the command output are listed in alphabetical order. The mode column shows how error disable is configured for each feature.
Examples
This is an example of output from the show errdisable detect command:
Related Commands
|
|
---|---|
Enables error-disabled detection for a specific cause or all causes. |
|
Displays interface status or a list of interfaces in error-disabled state. |
show errdisable recovery
Use the show errdisable recovery user EXEC command to display the error-disabled recovery timer information.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
A gbic-invalid error-disable reason refers to an invalid small form-factor pluggable (SFP) module interface.
Examples
This is an example of output from the show errdisable recovery command:
ErrDisable Reason Timer Status
----------------- --------------
udld Disabled
bpduguard Disabled
security-violatio Disabled
channel-misconfig Disabled
vmps Disabled
pagp-flap Disabled
dtp-flap Disabled
link-flap Enabled
l2ptguard Disabled
psecure-violation Disabled
gbic-invalid Disabled
dhcp-rate-limit Disabled
unicast-flood Disabled
storm-control Disabled
arp-inspection Disabled
loopback Disabled
Timer interval:300 seconds
Interfaces that will be enabled at the next timeout:
Interface Errdisable reason Time left(sec)
--------- ----------------- --------------
Gi1/0/2 link-flap 279
Note Though visible in the output, the unicast-flood field is not valid.
Related Commands
|
|
---|---|
Displays interface status or a list of interfaces in error-disabled state. |
show etherchannel
To display EtherChannel information for a channel, use the show etherchannel command.
show etherchannel [ channel-group ] { port-channel | brief | detail | summary | port | load-balance | protocol }
Syntax Description
(Optional) Number of the channel group; valid values are from 1 to 64. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
If you do not specify a channel group, all channel groups are displayed.
In the output below, the Passive port list field is displayed for Layer 3 port channels only. This field means that the physical interface, which is still not up, is configured to be in the channel group (and indirectly is in the only port channel in the channel group).
Examples
The following example shows how to display port-channel information for a specific group:
Switch#
show etherchannel 1 port-channel
Port-channels in the group:
----------------------
Port-channel: Po1
------------
Age of the Port-channel = 02h:35m:26s
Logical slot/port = 10/1 Number of ports in agport = 0
GC = 0x00000000 HotStandBy port = null
Passive port list = Fa5/4 Fa5/5
Port state = Port-channel L3-Ag Ag-Not-Inuse
Ports in the Port-channel:
Index Load Port
-------------------
Switch#
The following example shows how to display load-balancing information:
Switch#
show etherchannel load-balance
Source XOR Destination mac address
Switch#
The following example shows how to display a summary of information for a specific group:
Switch#
show etherchannel 1 brief
Group state = L3
Ports: 2 Maxports = 8
port-channels: 1 Max port-channels = 1
Switch#
The following example shows how to display detailed information for a specific group:
Switch#
show etherchannel 1 detail
Group state = L3
Ports: 2 Maxports = 8
Port-channels: 1 Max Port-channels = 1
Ports in the group:
-------------------
Port: Fa5/4
------------
Port state = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1 Mode = Desirable Gcchange = 0
Port-channel = null GC = 0x00000000 Psudo-agport = Po1
Port indx = 0 Load = 0x00
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical port.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Local information:
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Fa5/4 d U1/S1 1s 0 128 Any 0
Age of the port in the current state: 02h:33m:14s
Port: Fa5/5
------------
Port state = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1 Mode = Desirable Gcchange = 0
Port-channel = null GC = 0x00000000 Psudo-agport = Po1
Port indx = 0 Load = 0x00
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical port.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Local information:
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Fa5/5 d U1/S1 1s 0 128 Any 0
Age of the port in the current state: 02h:33m:17s
Port-channels in the group:
----------------------
Port-channel: Po1
------------
Age of the Port-channel = 02h:33m:52s
Logical slot/port = 10/1 Number of ports in agport = 0
GC = 0x00000000 HotStandBy port = null
Passive port list = Fa5/4 Fa5/5
Port state = Port-channel L3-Ag Ag-Not-Inuse
Ports in the Port-channel:
Index Load Port
-------------------
Switch#
The following example shows how to display a one-line summary per channel group:
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 2
Number of aggregators: 2
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SD) LACP Gi1/23(H) Gi1/24(H)
Switch#
The following example shows how to display EtherChannel port information for all ports and all groups:
Switch#
show etherchannel port
Channel-group listing:
-----------------------
Group: 1
----------
Ports in the group:
-------------------
Port: Fa5/4
------------
Port state = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1 Mode = Desirable Gcchange = 0
Port-channel = null GC = 0x00000000 Psudo-agport = Po1
Port indx = 0 Load = 0x00
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical port.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Local information:
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Fa5/4 d U1/S1 1s 0 128 Any 0
Age of the port in the current state: 02h:40m:35s
Port: Fa5/5
------------
Port state = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1 Mode = Desirable Gcchange = 0
Port-channel = null GC = 0x00000000 Psudo-agport = Po1
Port indx = 0 Load = 0x00
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical port.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
<...output truncated...>
Switch#
The following example shows how to display the protocol enabled:
Related Commands
|
|
---|---|
Assigns and configures an EtherChannel interface to an EtherChannel group. |
|
show flowcontrol
To display the per-interface status and statistics related to flow control, use the show flowcontrol command.
show flowcontrol [ module slot | interface interface ]
Syntax Description
(Optional) Limits the display to interfaces on a specific module. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
show flowcontrol Command Output describes the fields in the show flowcontrol command output.
Examples
The following example shows how to display the flow control status on all the Gigabit Ethernet interfaces:
The following example shows how to display the flow control status on module 1:
The following example shows how to display the flow control status on Gigabit Ethernet interface 3/4:
The following example shows how to display the flow control status on 10-Gigabit Ethernet interface 1/1:
Related Commands
|
|
---|---|
Configures a Gigabit Ethernet interface to send or receive pause frames. |
|
Displays the interface status or a list of interfaces in error-disabled state. |
show hw-module port-group
To display how the X2 holes on a module are grouped, use the show hw-module port-group command.
show hw-module module number port-group
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Support for WS-X4606-10GE-E Twin Gigabit converter introduced. |
Usage Guidelines
When a TwinGig converter is enabled or disabled, the number and type of ports on the line card change dynamically. The terminology must reflect this behavior. In Cisco IOS, 10-Gigabit ports are named TenGigabit and 1-Gigabit ports are named Gigabit. Starting with Cisco IOS Release 12.2(40)SG, to avoid having ports named TenGigabit1/1 and Gigabit1/1, the 10-Gigabit and 1-Gigabit port numbers are independent. The WS-X4606-10GE-E module with six X2 ports are named TenGigabit<slot-num>/<1-6>, and the SFP ports are named Gigabit<slot-num>/<7-18>.
On Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, Catalyst 4948E, and Catalyst 4948E-F, the ports are connected to the switching engine through a stub ASIC. This stub ASIC imposes some limitations on the ports: Gigabit and 10-Gigabit ports cannot be mixed on a single stub ASIC; they must either be all 10-Gigabit (X2), or all Gigabit (TwinGig converter and SFP). The faceplates of X2 modules show this stub-port grouping, either with an actual physical grouping, or a box drawn around a grouping.
Examples
The following example shows to determine how the X2 holes on a module are grouped on a WS-X4606-10GE-E:
Related Commands
|
|
---|---|
Selects either Gigabit Ethernet or Ten Gigabit Ethernet interfaces on your module. |
show hw-module system max-port-num-mode
To display the current mode in which a system is running as well as a message informing you that linecards beyond the 5th slot are unsupported, use the show hw-module system max-port-num-mode command.
show hw-module system max-port-num-mode
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The CLI shall be visible only on a 10-slot chassis or if 10-slot chassis is present in VSS.
Examples
The following example shows the output of the show hw-module system max-port-num-mode command on the standalone switch:
The following example shows the output of the show hw-module system max-port-num-mode command in switch virtual mode:
show hw-module uplink
To display the current uplink mode, use the show hw-module uplink command.
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
If the active uplink mode is different than configured mode, the output displays the change.
By default, the current (operational) uplink selection is displayed.
Examples
The following example shows the output displaying the current (active) uplinks:
The following example shows the output for redundant systems in SSO mode if the 10-Gigabit Ethernet uplinks are active, and the Gigabit Ethernet uplinks are selected:
The following example shows the output for redundant systems in RPR mode if the 10-Gigabit Ethernet uplinks are active, and the Gigabit Ethernet uplinks are selected:
Related Commands
|
|
---|---|
Selects the 10-Gigabit Ethernet or Gigabit Ethernet uplinks on the Supervisor Engine V-10GE within the W-C4510R chassis. |
show idprom
To display the IDPROMs for the chassis, supervisor engine, module, power supplies, fan trays, clock module, and multiplexer (mux) buffer, use the show idprom command.
show idprom { all | chassis | module [ mod ] | interface int_name | supervisor | power-supply number | fan-tray }
Syntax Description
Command Default
Command Modes
Command History
Usage Guidelines
When you enter the show idprom interface command, the output lines for Calibration type and Rx (receive) power measurement may not be displayed for all GBICs.
Examples
The following example shows how to display IDPROM information for module 4:
Switch#
show idprom module 4
The following example shows how to display IDPROM information for the GBICs on the Gigabit Ethernet interface 1/2:
Switch#
show idprom interface gigabitethernet1/2
Switch#
The following example shows how to display IDPROM information for the 10-Gigabit Ethernet interface 1/1:
Switch#
show idprom interface tengigabitethernet1/1
The following example shows how to display IDPROM information for the supervisor engine:
Switch#
show idprom supervisor
The following example shows how to display IDPROM information for the chassis:
Switch#
show idprom chassis
The following example shows how to display IDPROM information for power supply 1:
Switch#
show idprom power-supply 1
The following example shows how to display IDPROM information for the fan tray:
Switch#
show idprom fan-tray
show interfaces
To display traffic on a specific interface, use the show interfaces command.
show interfaces [{{ fastethernet mod/interface-number } | { gigabitethernet mod/interface-number } | { tengigabitethernet mod/interface-number } | { null interface-number } | vlan vlan_id } | status }]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
The statistics are collected per VLAN for Layer 2 switched packets and Layer 3 switched packets. The statistics are available for both unicast and multicast. The Layer 3 switched packet counts are available for both the ingress and egress directions. The per-VLAN statistics are updated every 5 seconds.
In some cases, the duplex mode that is displayed by the show interfaces command is different than that displayed by the show running-config command. The duplex mode that is displayed in the show interfaces command is the actual duplex mode that the interface is running. The show interfaces command shows the operating mode for an interface, but the show running-config command shows the configured mode for an interface.
If you do not enter any keywords, all counters for all modules are displayed.
Line cards that support auto-MDIX configuration on their copper media ports include: WS-X4124-RJ45, WS-X4148-RJ with hardware revision 3.0 or later, and WS-X4232-GB-RJ with hardware revision 3.0 or later.
Examples
The following example shows how to display traffic for Gigabit Ethernet interface 2/5:
The following example shows how to display traffic for 10-Gigabit Ethernet interface 1/1:
The following example shows how to verify the status of auto-MDIX on an RJ-45 port:
Note You can verify the configuration setting and the operational state of auto-MDIX on the interface by entering the show interfaces EXEC command. This field is applicable and appears only on the
show interfaces command output for 10/100/1000BaseT RJ-45 copper ports on supported linecards including WS-X4124-RJ45, WS-X4148-RJ with hardware revision 3.0 or later, and WS-X4232-GB-RJ with hardware revision 3.0 or later.
The following example shows how to display status information for Gigabit Ethernet interface 1/2:
The following example shows how to display status information for the interfaces on the supervisor engine:
show interfaces (virtual switch)
To display traffic that is seen by a specific interface, use the show interfaces command in EXEC mode.
show interfaces [ interface iswitch-num/mod/port]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Statistics are collected on a per-VLAN basis for Layer 2-switched packets and Layer 3-switched packets. Statistics are available for both unicast and multicast traffic. The Layer 3-switched packet counts are available for both ingress and egress directions. The per-VLAN statistics are updated every 5 seconds.
In some cases, you might see a difference in the duplex mode that is displayed between the show interfaces (virtual switch) command and the show running-config switch (virtual switch) command. In this case, the duplex mode that is displayed in the show interfaces (virtual switch) command is the actual duplex mode that the interface is running. The show interfaces (virtual switch) command shows the operating mode for an interface, while the show running-config switch (virtual switch) command shows the configured mode for an interface.
If you do not specify an interface, the information for all interfaces is displayed.
The output of the show interfaces GigabitEthernet command displays an extra 4 bytes for every packet that is sent or received. The extra 4 bytes are the Ethernet frame CRC in the input and output byte statistics.
Examples
Related Commands
|
|
---|---|
Selects an interface to configure and enters the interface configuration mode. |
show interfaces counters
To display the traffic on the physical interface, use the show interfaces counters command.
show interfaces counters [ all | detail | errors | storm-control | trunk ] [ module mod]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
If you do not enter any keywords, all the counters for all modules are displayed.
The display for the storm-control keyword includes the suppressed multicast bytes.
Examples
The following example shows how to display the error counters for a specific module:
Switch#
show interfaces counters errors module 1
Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize
Gi1/1 0 0 0 0 0
Gi1/2 0 0 0 0 0
Port Single-Col Multi-Col Late-Col Excess-Col Carri-Sen Runts Giants
Gi1/1 0 0 0 0 0 0 0
Gi1/2 0 0 0 0 0 0 0
Switch#
The following example shows how to display the traffic that is seen by a specific module:
Switch#
show interfaces counters module 1
Port InOctets InUcastPkts InMcastPkts InBcastPkts
Gi1/1 0 0 0 0
Gi1/2 0 0 0 0
Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts
Gi1/1 0 0 0 0
Gi1/2 0 0 0 0
Switch#
The following example shows how to display the trunk counters for a specific module:
Switch#
show interfaces counters trunk module 1
Port TrunkFramesTx TrunkFramesRx WrongEncap
Gi1/1 0 0 0
Gi1/2 0 0 0
Switch#
The following example shows how to display the number of packets that are discarded due to suppression:
Switch#
show interfaces counters storm-control
Related Commands
|
|
---|---|
Displays the interface capabilities for an interface or for all the interfaces on a switch. |
show interfaces counters (virtual switch)
To display the traffic that the physical interface sees, use the show interfaces counters command in EXEC mode.
show interfaces [interface switch-num/mod/port] counters [ errors | etherchannel | protocol status | storm-control]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The show interfaces counters command displays the number of all of the packets arriving and includes the number of packets that may be dropped by the interface due to the storm-control settings. To display the total number of dropped packets, you can enter the show interfaces counters storm-control command.
The show interfaces counters storm-control command displays the discard count and the level settings for each mode. The discard count is a total of all three modes.
If you do not enter any keywords, all counters for all modules are displayed.
If you do not specify an interface, the information for all interfaces is displayed.
When you enter the show interfaces interface counters etherchannel command, follow these guidelines:
- If interface specifies a physical port, the command displays the message "Etherchannel not enabled on this interface."
- If interface is omitted, the command displays the counters for all port channels (in the system) and for their associated physical ports.
- If interface specifies a port channel, the command displays the counters for the port channel and all of the physical ports that are associated with it. In addition, when you enter the command specifying the primary aggregator in a Link Aggregation Control Protocol (LACP) port channel with multiple aggregators, the output includes the statistics for all of the aggregators in the port channels and for the ports that are associated with them.
Examples
The following example shows how to display the error counters for a specific:
The following example shows how to display the counters for all port channels (in the system) and their associated physical ports:
The following example shows how to display the counters for all port channels (in the system) and their associated physical ports in Cisco IOS Release 12.2(50)SY and later releases:
The following example shows how to display the protocols enabled for a specific interface:
The following example shows how to display the discard count and the level settings for each mode for a specific interface:
Related Commands
|
|
---|---|
show interfaces description
To display a description and status of an interface, use the show interfaces description command.
show interfaces [ interface ] description
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display information for all interfaces:
Related Commands
|
|
---|---|
Includes a specific description about the digital signal processor (DSP) interface. |
show interfaces link
To display how long a cable has been disconnected from an interface, use the show interfaces link command:
show interfaces link [ module mod_num ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
If the interface state is up, the command displays 0:00. If the interface state is down, the time (in hours, minutes, and seconds) is displayed.
Examples
The following example shows how to display active link-level information:
The following example shows how to display inactive link-level information:
In this example, the cable has been disconnected from the port for 1 minute and 28 seconds.
show interfaces mtu
To display the maximum transmission unit (MTU) size of all the physical interfaces and SVIs on the switch, use the show interfaces mtu command.
show interfaces mtu [ module mod ]
Syntax Description
(Optional) Limits the display to interfaces on a specific module. |
Command Default
Command Modes
Command History
|
|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the MTU size for all interfaces on module 1:
Switch>
show interfaces mtu module 1
Port Name MTU
Gi1/1 1500
Gi1/2 1500
Switch>
Related Commands
|
|
---|---|
Enables jumbo frames on an interface by adjusting the maximum size of a packet or maximum transmission unit (MTU). |
show interfaces private-vlan mapping
To display PVLAN mapping information for VLAN SVIs, use the show interfaces private-vlan mapping command.
show interfaces private-vlan mapping [ active ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Examples
The following example shows how to display PVLAN mapping information:
Related Commands
show interfaces status
To display the interface status or a list of interfaces in error-disabled state, use the show interfaces status command.
show interfaces status [ err-disabled | inactive ] [ module { module }]
Syntax Description
Command Default
Command Modes
Command History
Usage Guidelines
When at least one VLAN on a port is error-disabled the output for the show interfaces status command will display vl-err-dis in the VLAN column.
Examples
The following example shows how to display the status of all interfaces:
Switch#
show interfaces status
Port Name Status Vlan Duplex Speed Type
Te1/1 connected 1 full 10G 10GBase-LR
Te1/2 connected vl-err-dis full 10G 10GBase-LR
Switch#
The following example shows how to display the status of interfaces in an error-disabled state:
Switch#
show interfaces status err-disabled
Port Name Status Reason Err-Disabled VLANs
Fa9/4 notconnect link-flap
Switch#
The following example shows how to display the Gigabit Ethernet interfaces on a WS-X4606-10GE-E switch using the TwinGig Convertor:
Related Commands
|
|
---|---|
Selects either Gigabit Ethernet or Ten Gigabit Ethernet interfaces on your module. |
|
show interfaces switchport
To display the administrative and operational status of a switching (nonrouting) port, use the show interfaces switchport command.
show interfaces [ interface-id ] switchport [ module mod ]
Syntax Description
(Optional) Limits the display to interfaces on the specified module; valid values are from 1 to 6. |
Command Default
Command Modes
Command History
Examples
The following example shows how to display switch-port information using the begin output modifier:
Switch#
show interfaces switchport | include VLAN
Name: Fa5/6
Access Mode VLAN: 200 (VLAN0200)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: ALL
The following example shows how to display switch-port information for module 1:
Switch#
show interfaces switchport module 1
Switch#
The following example shows how to display the status of native VLAN tagging on the port:
Switch#
show interfaces f3/1 switchport
Switch#
Related Commands
|
|
---|---|
Displays the interface capabilities for an interface or for all the interfaces on a switch. |
|
show interfaces transceiver
To display diagnostic-monitoring data for all interfaces that have transceivers installed, use the show interfaces transceiver command.
show interfaces {{[ int_name ] transceiver {[ detail ]} | { transceiver [ module mod ] | detail [ module mod ]}}
Syntax Description
Command Default
The noninterface-specific versions of the show interfaces transceiver command are enabled by default.
The interface-specific versions of these commands are enabled by default if the specified interface has a transceiver (GBIC or SFP) that is configured for diagnostic monitoring, and the transceiver is in a module that supports diagnostic monitoring.
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
The show interfaces transceiver command provides useful information under the following conditions:
- At least one transceiver is installed on a chassis that is configured for diagnostic monitoring.
- The transceiver is in a module that supports diagnostic monitoring.
If you notice that the alarm and warning flags have been set on a transceiver, reenter the command to confirm.
Examples
The following example shows how to display diagnostic monitoring data for all interfaces with transceivers installed on the switch:
Note The value for the Optical Tx Power (in dBm) equals ten times log (Tx Power in mW). If the Tx Power value is 3 mW, then the Optical Tx Power value equals 10 * log (3), which equals 10 *.477 or 4.77 dBm. The Optical Rx Power value behaves similarly. If the Tx Power or the Rx Power is zero, then its dBm value is undefined and is shown as N/A (not applicable).
The following example shows how to display detailed diagnostic monitoring data, including calibrated values, alarm and warning thresholds, A2D readouts, and alarm and warning flags. The A2D readouts are reported separately in parentheses only if they differ from the calibrated values:
The following example shows how to display the monitoring data for the interfaces that have transceivers installed on module 2:
The following example shows how to display the detailed monitoring data for the interfaces that have transceivers installed on module 2:
The following example shows how to display the monitoring data for the transceivers on interface Gi1/2:
The following example shows how to display detailed the monitoring data for the transceivers on interface Gi1/2:
Related Commands
|
|
---|---|
Displays the interface status or a list of interfaces in error-disabled state. |
show interfaces trunk
To display port and module interface-trunk information, use the show interfaces trunk command.
show interfaces trunk [ module mod ]
Syntax Description
(Optional) Limits the display to interfaces on the specified module; valid values are from 1 to 6. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
If you do not specify a keyword, only information for trunking ports is displayed.
Examples
The following example shows how to display interface-trunk information for module 5:
Switch#
show interfaces trunk module 5
Port Mode Encapsulation Status Native vlan
Fa5/1 routed negotiate routed 1
Fa5/2 routed negotiate routed 1
Fa5/3 routed negotiate routed 1
Fa5/4 routed negotiate routed 1
Fa5/5 routed negotiate routed 1
Fa5/6 off negotiate not-trunking 10
Fa5/7 off negotiate not-trunking 10
Fa5/8 off negotiate not-trunking 1
Fa5/9 desirable n-isl trunking 1
Fa5/10 desirable negotiate not-trunking 1
Fa5/11 routed negotiate routed 1
Fa5/12 routed negotiate routed 1
Fa5/48 routed negotiate routed 1
Port Vlans allowed on trunk
Fa5/1 none
Fa5/2 none
Fa5/3 none
Fa5/4 none
Fa5/5 none
Fa5/6 none
Fa5/7 none
Fa5/8 200
Fa5/9 1-1005
Fa5/10 none
Fa5/11 none
Fa5/12 none
Fa5/48 none
Port Vlans allowed and active in management domain
Fa5/1 none
Fa5/2 none
Fa5/3 none
Fa5/4 none
Fa5/5 none
Fa5/6 none
Fa5/7 none
Fa5/8 200
Fa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
02,850,917,999,1002-1005
Fa5/10 none
Fa5/11 none
Fa5/12 none
Fa5/48 none
Port Vlans in spanning tree forwarding state and not pruned
Fa5/1 none
Fa5/2 none
Fa5/3 none
Fa5/4 none
Fa5/5 none
Fa5/6 none
Fa5/7 none
Fa5/8 200
Fa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
02,850,917,999,1002-1005
Fa5/10 none
Fa5/11 none
Fa5/48 none
Switch#
The following example shows how to display trunking information for active trunking ports:
Switch#
show interfaces trunk
Port Mode Encapsulation Status Native vlan
Fa5/9 desirable n-isl trunking 1
Port Vlans allowed on trunk
Fa5/9 1-1005
Port Vlans allowed and active in management domain
Fa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
02,850,917,999,1002-1005
Port Vlans in spanning tree forwarding state and not pruned
Fa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
02,850,917,999,1002-1005
Switch#
show ip arp inspection
To show the status of dynamic ARP inspection for a specific range of VLANs, use the show ip arp inspection command.
show ip arp inspection {[ statistics ] vlan vlan-range | interfaces [ interface-name ]}
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the statistics of packets that have been processed by DAI for
VLAN 3:
The following example shows how to display the statistics of packets that have been processed by DAI for all active VLANs:
The following example shows how to display the configuration and operating state of DAI for VLAN 1:
The following example shows how to display the trust state of Fast Ethernet interface 6/1:
The following example shows how to display the trust state of the interfaces on the switch:
Related Commands
|
|
---|---|
Defines an ARP access list or adds clauses at the end of a predefined list. |
|
show ip arp inspection log
To show the status of the log buffer, use the show ip arp inspection log command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the current contents of the log buffer before and after the buffers are cleared:
The following example shows how to clear the buffer with the clear ip arp inspection log command:
Related Commands
|
|
---|---|
Defines an ARP access list or adds clauses at the end of a predefined list. |
|
show ip cef vlan
To view IP CEF VLAN interface status and configuration information and display the prefixes for a specific interface, use the show ip cef vlan command.
show ip cef vlan vlan_num [ detail ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the prefixes for a specific VLAN:
The following example shows how to display detailed IP CEF information for a specific VLAN:
show ip dhcp snooping
To display the DHCP snooping configuration, use the show ip dhcp snooping command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Examples
The following example shows how to display the DHCP snooping configuration:
show ip dhcp snooping binding
|
|
---|---|
Configures the number of the DHCP messages that an interface can receive per second. |
|
To display the DHCP snooping binding entries, use the show ip dhcp snooping binding command.
show ip dhcp snooping binding [ ip-address ] [ mac-address ] [ vlan vlan_num ]
[ interface interface_num ]
Syntax Description
Command Default
If no argument is specified, the switch will display the entire DHCP snooping binding table.
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
DHCP snooping is enabled on a VLAN only if both the global snooping and the VLAN snooping are enabled.
To configure a range of VLANs, use the optional last_vlan argument to specify the end of the VLAN range.
Examples
The following example shows how to display the DHCP snooping binding entries for a switch:
----------- ----------- ---------------- ------------- ----- ------------
0000.0100.0201 10.0.0.1 1600 dhcp-snooping 100 FastEthernet3/1
The following example shows how to display an IP address for DHCP snooping binding entries:
----------- ----------- ---------------- ------------- ----- ------------
0000.0100.0201 172.100.101.102 1600 dhcp-snooping 100 FastEthernet3/1
The following example shows how to display the MAC address for the DHCP snooping binding entries:
The following example shows how to display the DHCP snooping binding entries’ MAC address for a specific VLAN:
The following example shows how to display the dynamic DHCP snooping binding entries:
----------- ----------- ---------------- ------------ ----- ------------
0000.0100.0201 10.0.0.1 1600 dhcp-snooping 100 FastEthernet3/1
The following example shows how to display the DHCP snooping binding entries on VLAN 100:
----------- ----------- ---------------- ------------ ----- ------------
0000.0100.0201 10.0.0.1 1600 dhcp-snooping 100 FastEthernet3/1
The following example shows how to display the DHCP snooping binding entries on Ethernet interface 0/1:
----------- ----------- ---------------- ------------ ----- ------------
0000.0100.0201 10.0.0.1 1600 dhcp-snooping 100 FastEthernet3/1
Table 2-27 describes the fields in the show ip dhcp snooping command output.
|
|
---|---|
Binding type; statically configured from CLI or dynamically learned. |
|
Related Commands
|
|
---|---|
Configures the number of the DHCP messages that an interface can receive per second. |
|
show ip dhcp snooping database
To display the status of the DHCP snooping database agent, use the show ip dhcp snooping database command.
show ip dhcp snooping database [ detail ]
Syntax Description
(Optional) Provides additional operating state and statistics information. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Examples
The following example shows how to display the DHCP snooping database:
The following example shows how to view additional operating statistics:
Related Commands
|
|
---|---|
Configures the number of the DHCP messages that an interface can receive per second. |
|
show ip igmp interface
To view IP IGMP interface status and configuration information, use the show ip igmp interface command.
show ip igmp interface [ fastethernet slot/port | gigabitethernet slot/port |
tengigabitethernet slot/port | null interface-number | vlan vlan_id ]
Syntax Description
Command Default
If you do not specify a VLAN, information for VLAN 1 is shown.
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
If you omit the optional arguments, the show ip igmp interface command displays information about all interfaces.
Examples
The following example shows how to view IGMP information for VLAN 200:
Related Commands
|
|
---|---|
Displays information on the dynamically learned and manually configured multicast switch interfaces. |
show ip igmp profile
To view all configured IGMP profiles or a specified IGMP profile, use the show ip igmp profile privileged EXEC command.
show ip igmp profile [ profile number ]
Syntax Description
(Optional) IGMP profile number to be displayed; valid ranges are from 1 to 4294967295. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
If no profile number is entered, all IGMP profiles are displayed.
Examples
The following example shows how to display IGMP profile 40:
The following example shows how to display all IGMP profiles:
Related Commands
|
|
---|---|
show ip igmp snooping
To display information on dynamically learned and manually configured VLAN switch interfaces, use the show ip igmp snooping command.
show ip igmp snooping [ querier | groups | mrouter ] [ vlan vlan_id ] a.b.c.d [ summary | sources | hosts ] [ count ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Added support to display configuration state for IGMPv3 explicit host tracking. |
Usage Guidelines
You can also use the show mac-address-table multicast command to display the entries in the MAC address table for a VLAN that has IGMP snooping enabled.
You can display IGMP snooping information for VLAN interfaces by entering the show ip igmp snooping command.
Examples
The following example shows how to display the global snooping information on the switch:
The following example shows how to display the snooping information on VLAN 2:
The following example shows how to display IGMP querier information for all VLANs on a switch:
The following example shows how to display IGMP querier information for VLAN 5 when running IGMPv2:
The following example shows how to display IGMP querier information for VLAN 5 when running IGMPv3:
The following example shows how to display snooping information for a specific group:
Switch#
show ip igmp snooping group
The following example shows how to display the group’s host types and ports in VLAN 1:
The following example shows how to display the group’s host types and ports in VLAN 1:
The following example shows how to display the current state of a group with respect to a source IP address:
The following example shows how to display the current state of a group with respect to a host MAC address:
The following example shows how to display summary information for a v3 group:
The following example shows how to display multicast router information for VLAN 1:
Switch#
show ip igmp snooping mrouter vlan 1
vlan ports
-----+----------------------------------------
1 Gi1/1,Gi2/1,Fa3/48,Router
Switch#
The following example shows how to display the total number of group addresses learned by the system globally:
The following example shows how to display the total number of group addresses learned on VLAN 5:
Related Commands
show ip igmp snooping membership
To display host membership information, use the show ip igmp snooping membership command.
show ip igmp snooping membership [ interface interface_num ] [ vlan vlan_id ]
[ reporter a.b.c.d ] [ source a.b.c.d group a.b.c.d ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
This command is valid only if explicit host tracking is enabled on the switch.
Examples
The following example shows how to display host membership for the Gigabit Ethernet interface 4/1:
The following example shows how to display host membership for VLAN 20 and group 224.10.10.10:
Switch#
The following example shows how to display host membership information for VLAN 20 and to delete the explicit host tracking:
Related Commands
|
|
---|---|
Displays information on dynamically learned and manually configured VLAN switch interfaces. |
show ip igmp snooping mrouter
To display information on the dynamically learned and manually configured multicast switch interfaces, use the show ip igmp snooping mrouter command.
show ip igmp snooping mrouter [ vlan vlan-id ]
Syntax Description
(Optional) Specifies a VLAN; valid values are from 1 to 1001 and from 1006 to 4094. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
You can also use the show mac-address-table multicast command to display entries in the MAC address table for a VLAN that has IGMP snooping enabled.
You can display IGMP snooping information for the VLAN interfaces by entering the show ip igmp interface vlan vlan-num command.
Examples
The following example shows how to display snooping information for a specific VLAN:
Switch#
show ip igmp snooping mrouter vlan 1
vlan ports
-----+----------------------------------------
1 Gi1/1,Gi2/1,Fa3/48,Switch
Switch#
Related Commands
|
|
---|---|
Statically configures a Layer 2 interface as a multicast router interface for a VLAN. |
|
Displays the information about the IGMP-interface status and configuration. |
|
show ip igmp snooping vlan
To display information on the dynamically learned and manually configured VLAN switch interfaces, use the show ip igmp snooping vlan command.
show ip igmp snooping vlan vlan_num
Syntax Description
Number of the VLAN; valid values are from 1 to 1001 and from 1006 to 4094. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
You can also use the show mac-address-table multicast command to display the entries in the MAC address table for a VLAN that has IGMP snooping enabled.
Examples
The following example shows how to display snooping information for a specific VLAN:
Switch#
show ip igmp snooping vlan 2
Switch#
Related Commands
show ip interface
To display the usability status of interfaces that are configured for IP, use the show ip interface command.
show ip interface [ type number ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The Cisco IOS software automatically enters a directly connected route in the routing table if the interface is usable. A usable interface is one through which the software can send and receive packets. If the software determines that an interface is not usable, it removes the directly connected routing entry from the routing table. Removing the entry allows the software to use dynamic routing protocols to determine backup routes to the network, if any.
If the interface can provide two-way communication, the line protocol is marked “up.” If the interface hardware is usable, the interface is marked “up.”
If you specify an optional interface type, you see information only on that specific interface.
If you specify no optional arguments, you see information on all the interfaces.
When an asynchronous interface is encapsulated with PPP or Serial Line Internet Protocol (SLIP), IP fast switching is enabled. The show ip interface command on an asynchronous interface that is encapsulated with PPP or SLIP displays a message indicating that IP fast switching is enabled.
Examples
The following example shows how to display the usability status for a specific VLAN:
Table 2-28 describes the fields that are shown in the example.
show ip mfib
To display all active Multicast Forwarding Information Base (MFIB) routes, use the show ip mfib command.
show ip mfib [ all | counters | log [ n ]]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Support for command introduced on the Supervisor Engine 6-E and Catalyst 4900M chassis. |
Usage Guidelines
In the Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, Catalyst 4948E, and Catalyst 4948E-F, the output of the show ip mfib command does not display any hardware counters.
The MFIB table contains a set of IP multicast routes; each route in the MFIB table contains several flags that associate to the route.
The route flags indicate how a packet that matches a route is forwarded. For example, the IC flag on an MFIB route indicates that some process on the switch needs to receive a copy of the packet. These flags are associated with MFIB routes:
- Internal Copy (IC) flag—Set on a route when a process on the switch needs to receive a copy of all packets matching the specified route.
- Signaling (S) flag—Set on a route when a switch process needs notification that a packet matching the route is received. In the expected behavior, the protocol code updates the MFIB state in response to having received a packet on a signaling interface.
- Connected (C) flag—When set on a route, the C flag has the same meaning as the S flag, except that the C flag indicates that only packets sent by directly connected hosts to the route should be signaled to a protocol process.
A route can also have a set of flags associated with one or more interfaces. For an (S,G) route, the flags on interface 1 indicate how the ingress packets should be treated and whether packets matching the route should be forwarded onto interface 1. These per-interface flags are associated with the MFIB routes:
- Accepting (A)—Set on the RPF interface when a packet that arrives on the interface and that is marked as Accepting (A) is forwarded to all Forwarding (F) interfaces.
- Forwarding (F)—Used with the A flag as described above. The set of forwarding interfaces together form a multicast olist or output interface list.
- Signaling (S)—Set on an interface when a multicast routing protocol process in Cisco IOS needs to be notified of ingress packets on that interface.
- Not Platform (NP) fast-switched—Used with the F flag. A forwarding interface is also marked as Not Platform fast-switched whenever that output interface cannot be fast-switched by the platform hardware and requires software forwarding.
Examples
The following example shows how to display all active MFIB routes:
Related Commands
|
|
---|---|
Clears the global MFIB counters and the counters for all active MFIB routes. |
show ip mfib fastdrop
To display all currently active fast-drop entries and to show whether fast drop is enabled, use the show ip mfib fastdrop command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display all currently active fast-drop entries and whether fast drop is enabled.
Related Commands
|
|
---|---|
show ip mroute
To display IP multicast routing table information, use the show ip mroute command.
show ip mroute [ interface_type slot / port | host_name | host_address [ source ] | active [ kbps | interface_type num ] | count | pruned | static | summary ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
If you omit all the optional arguments and keywords, the show ip mroute command displays all the entries in the IP multicast routing table.
The show ip mroute active kbps command displays all the sources sending at a rate greater than or equal to kbps .
The multicast routing table is populated by creating source, group (S,G) entries from star, group (*,G) entries. The star refers to all source addresses, the “S” refers to a single source address, and the “G” refers to the destination multicast group address. In creating (S,G) entries, the software uses the best path to that destination group found in the unicast routing table (through Reverse Path Forwarding (RPF).
Examples
The following example shows how to display all the entries in the IP multicast routing table:
The following example shows how to display the rate that the active sources are sending to the multicast groups and to display only the active sources that are sending at greater than the default rate:
The following example shows how to display route and packet count information:
The following example shows how to display summary information:
Table 2-29 describes the fields shown in the output.
Related Commands
|
|
---|---|
Enables Protocol Independent Multicast (PIM) on an interface. |
show ip source binding
To display IP source bindings that are configured on the system, use the show ip source binding EXEC command.
show ip source binding [ ip-address ] [ mac-address ] [ dhcp-snooping | static ] [ vlan vlan-id ] [ interface interface-name ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Examples
The following example shows how to display the IP source bindings:
The following example shows how to display the static IP binding entry of IP address 11.0.01:
Related Commands
|
|
---|---|
show ip verify source
To display the IP source guard configuration and filters on a particular interface, use the show ip verify source command.
show ip verify source [ interface interface_num ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
These examples show how to display the IP source guard configuration and filters on a particular interface with the show ip verify source interface command:
- This output appears when DHCP snooping is enabled on VLANs 10–20, interface fa6/1 has IP source filter mode that is configured as IP, and an existing IP address binding 10.0.0.1 is on VLAN 10:
Note The second entry shows that a default PVACL (deny all IP traffic) is installed on the port for those snooping-enabled VLANs that do not have a valid IP source binding.
- This output appears when you enter the show ip verify source interface fa6/2 command and DHCP snooping is enabled on VLANs 10–20, interface fa6/1 has IP source filter mode that is configured as IP, and there is an existing IP address binding 10.0.0.1 on VLAN 10:
- This output appears when you enter the show ip verify source interface fa6/3 command and the interface fa6/3 does not have a VLAN enabled for DHCP snooping:
- This output appears when you enter the show ip verify source interface fa6/4 command and the interface fa6/4 has an IP source filter mode that is configured as IP MAC and the existing IP MAC that binds 10.0.0.2/aaaa.bbbb.cccc on VLAN 10 and 11.0.0.1/aaaa.bbbb.cccd on VLAN 11:
- This output appears when you enter the show ip verify source interface fa6/5 command and the interface fa6/5 has IP source filter mode that is configured as IP MAC and existing IP MAC binding 10.0.0.3/aaaa.bbbb.ccce on VLAN 10, but port security is not enabled on fa6/5:
Note Enable port security first because the DHCP security MAC filter cannot apply to the port or VLAN.
- This output appears when you enter the show ip verify source interface fa6/6 command and the interface fa6/6 does not have IP source filter mode that is configured:
The following example shows how to display all the interfaces on the switch that have DHCP snooping security and IP Port Security tracking enabled with the show ip verify source command.
The output is an accumulation of per-interface show CLIs:
Related Commands
|
|
---|---|
Configures the number of the DHCP messages that an interface can receive per second. |
|
show ip wccp
To display the Web Cache Communication Protocol (WCCP) global configuration and statistics, use the show ip wccp command in user EXEC or privileged EXEC mode.
show ip wccp [ service-number [view | detail] | interfaces [ cef | counts | detail ] | web-cache ]
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
|
|
---|---|
This command was introduced on Catalyst 4900M, Catalyst 4948E, Supervisor Engine 6-E, and Supervisor Engine 6L-E. |
Usage Guidelines
Use the clear ip wccp command to reset the counter for the “Packets Redirected” information.
Use the show ip wccp service-number command to get the “Total Packets S/W Redirected” count. The “Total Packets S/W Redirected” count is the number of packets redirected in software.
Use the show ip wccp service-number detail command to get the “Packets Redirected” count. The “Packets Redirected” count is the number of packets redirected in software.
Use the show ip wccp web-cache detail command to get an indication of which traffic is redirected to which cache engine.
Use the show ip wccp command to show the configured WCCP services and a summary of their current state.
For cache-engine clusters using Cisco cache engines, the reverse proxy service-number is indicated by a value of 99.
All the packet statistics correspond to packets switched in software.
Examples
This section contains examples and field descriptions for the following forms of this command:
- show ip wccp service-number
- show ip wccp service-number view
- show ip wccp service-number detail
- show ip wccp interfaces
- show ip wccp web-cache
- show ip wccp web-cache detail
- show ip wccp
The following is sample output from the show ip wccp service-number command:
Table 30 describes the significant fields shown in the display.
show ip wccp service-number view
The following is sample output from the show ip wccp service-number view command for service group 1:
Note The number of maximum service groups that can be configured is 256.
If any web cache is displayed under the WCCP Cache Engines Not Visible field, the router needs to be reconfigured to map the web cache that is not visible to it.
Table 31 describes the significant fields shown in the display.
show ip wccp service-number detail
The following example displays WCCP client information and WCCP router statistics that include the type of services:
The following is sample output from the show ip wccp interfaces command:
Table 32 describes the significant fields shown in the display.
The following is sample output from the show ip wccp web-cache command:
Table 33 describes the significant fields shown in the display.
The following example displays web cache engine information and WCCP router statistics for the web cache service:
Table 34 describes the significant fields shown in the display.
Related Commands
|
|
---|---|
Enables support of the WCCP service for participation in a service group. |
|
Enables packet redirection on an outbound or inbound interface using WCCP. |
show ipc
To display IPC information, use the show ipc command.
show ipc { nodes | ports | queue | status }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the participating nodes:
Switch#
show ipc nodes
There are 3 nodes in this IPC realm.
ID Type Name Last Last
Sent Heard
10000 Local IPC Master 0 0
2010000 Local GALIOS IPC:Card 1 0 0
2020000 Ethernet GALIOS IPC:Card 2 12 26
Switch#
The following example shows how to display the local IPC ports:
Switch#
show ipc ports
There are 11 ports defined.
Port ID Type Name (current/peak/total)
10000.1 unicast IPC Master:Zone
10000.2 unicast IPC Master:Echo
10000.3 unicast IPC Master:Control
10000.4 unicast Remote TTY Server Port
10000.5 unicast GALIOS RF :Active
index = 0 seat_id = 0x2020000 last sent = 0 heard = 1635 0/1/1635
10000.6 unicast GALIOS RED:Active
index = 0 seat_id = 0x2020000 last sent = 0 heard = 2 0/1/2
2020000.3 unicast GALIOS IPC:Card 2:Control
2020000.4 unicast GALIOS RFS :Standby
2020000.5 unicast Slave: Remote TTY Client Port
2020000.6 unicast GALIOS RF :Standby
2020000.7 unicast GALIOS RED:Standby
RPC packets: current/peak/total
0/1/17
Switch#
The following example shows how to display the contents of the IPC retransmission queue:
The following example shows how to display the status of the local IPC server:
show ipv6 snooping counters
To display the number of packets dropped per port due to RA Guard, use the show ipv6 snooping counters interface command.
show ipv6 snooping counters interface
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
The show ipv6 first-hop counters command was introduced on the Catalyst 4500 series switch. |
|
Examples
This example provides a sample output for the show ipv6 snooping counters command on interface Gi2/49:
Note Only RA (Router Advertisement) and REDIR (Router Redirected packets) counters are supported in Cisco IOS Release 12.2(54)SG.
Related Commands
|
|
---|---|
show ipv6 mld snooping
To display IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping configuration of the switch or the VLAN, use the show ipv6 mld snooping command.
show ipv6 mld snooping [ vlan vlan-id ]
Syntax Description
(Optional) Specifies a VLAN; the range is 1 to 1001 and 1006 to 4094. |
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use this command to display MLD snooping configuration for the switch or for a specific VLAN.
VLAN numbers 1002 through 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in MLD snooping.
Examples
This is an example of output from the show ipv6 mld snooping vlan command. It shows snooping characteristics for a specific VLAN.
Global MLD Snooping configuration:
-------------------------------------------
MLD snooping : Enabled
MLDv2 snooping (minimal) : Enabled
Listener message suppression : Enabled
TCN solicit query : Disabled
TCN flood query count : 2
Robustness variable : 3
Last listener query count : 2
Last listener query interval : 1000
Vlan 100:
--------
MLD snooping : Disabled
MLDv1 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
Robustness variable : 3
Last listener query count : 2
Last listener query interval : 1000
This is an example of output from the show ipv6 mld snooping command. It displays snooping characteristics for all VLANs on the switch.
Switch
>
show ipv6 mld snooping
Global MLD Snooping configuration:
-------------------------------------------
MLD snooping : Enabled
MLDv2 snooping (minimal) : Enabled
Listener message suppression : Enabled
TCN solicit query : Disabled
TCN flood query count : 2
Robustness variable : 3
Last listener query count : 2
Last listener query interval : 1000
Vlan 1:
--------
MLD snooping : Disabled
MLDv1 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
Robustness variable : 1
Last listener query count : 2
Last listener query interval : 1000
<output truncated>
Vlan 951:
--------
MLD snooping : Disabled
MLDv1 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
Robustness variable : 3
Last listener query count : 2
Last listener query interval : 1000
Related Commands
|
|
---|---|
Enables IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping globally or on the specified VLAN. |
show ipv6 mld snooping mrouter
To display dynamically learned and manually configured IP version 6 (IPv6) Multicast Listener Discovery (MLD) switch ports for the switch or a VLAN, use the show ipv6 mld snooping mrouter command.
show ipv6 mld snooping mrouter [ vlan vlan-id ]
Syntax Description
(Optional) Specifies a VLAN; the range is 1 to 1001 and 1006 to 4094. |
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use this command to display MLD snooping switch ports for the switch or for a specific VLAN.
VLAN numbers 1002 through 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in MLD snooping.
Examples
This is an example of output from the show ipv6 mld snooping mrouter command. It displays snooping characteristics for all VLANs on the switch that are participating in MLD snooping.
This is an example of output from the show ipv6 mld snooping mrouter vlan command. It shows multicast switch ports for a specific VLAN.
Related Commands
show ipv6 mld snooping querier
To display IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping querier-related information most recently received by the switch or the VLAN, use the show ipv6 mld snooping querier command.
show ipv6 mld snooping querier [ vlan vlan-id ]
Syntax Description
(Optional) Specifiesa VLAN; the range is 1 to 1001 and 1006 to 4094. |
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show ipv6 mld snooping querier command to display the MLD version and IPv6 address of a detected device that sends MLD query messages, which is also called a querier. A subnet can have multiple multicast switches but has only one MLD querier. The querier can be a Layer 3 switch.
The show ipv6 mld snooping querier command output also shows the VLAN and interface on which the querier was detected. If the querier is the switch, the output shows the Port field as Router. If the querier is a router, the output shows the port number on which the querier is learned in the Port field.
The output of the show ipv6 mld snoop querier vlan command displays the information received in response to a query message from an external or internal querier. It does not display user-configured VLAN values, such as the snooping robustness variable on the particular VLAN. This querier information is used only on the MASQ message that is sent by the switch. It does not override the user-configured robustness variable that is used for aging out a member that does not respond to query messages.
VLAN numbers 1002 through 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in MLD snooping.
Examples
This is an example of output from the show ipv6 mld snooping querier command:
This is an example of output from the show ipv6 mld snooping querier vlan command:
Related Commands
show issu capability
To display the ISSU capability for a client, use the show issu capability command.
show issu capability { entries | groups | types } [ client_id ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Capability is a functionality that an ISSU client can support and is required to interoperate with peers.
When an ISSU-aware client establishes its session with the peer, an ISSU negotiation takes place. The ISSU infrastructure uses the registered information to negotiate the capabilities and the message version to be used during the session.
Examples
The following example shows how to display the ISSU capability types for the IP host ISSU client (clientid=2082):
The following example shows how to display the ISSU capabilities entries for the IP host ISSU client (clientid=2082):
The following example shows how to display the ISSU capabilities groups for the IP host ISSU client (clientid=2082):
Related Commands
|
|
---|---|
show issu clients
To display the ISSU clients, use the show issu clients command.
show issu clients [ peer_uid ]
Syntax Description
(Optional) Displays a list of clients registered to ISSU infrastructure at the peer supervisor engine. |
Command Default
Displays a list of clients registered to the ISSU infrastructure at the supervisor engine where the command is entered.
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
To implement ISSU versioning functionality, a client must first register itself, client capability, and client message information with the ISSU infrastructure during the system initialization.
Examples
The following example shows how to display the ISSU clients:
Related Commands
|
|
---|---|
show issu comp-matrix
To display information regarding the In Service Software Upgrade (ISSU) compatibility matrix, use the show issu comp-matrix command.
show issu comp-matrix { negotiated | stored | xml }
Syntax Description
Displays negotiated compatibility matrix information in XML format. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Before attempting an ISSU, you should know the compatibility level between the old and the new Cisco IOS software versions on the active and the standby supervisor engines. ISSU will not work if the two versions are incompatible.
The compatibility matrix is available on Cisco.com so that you can also veiw in advance whether an upgrade can be performed with the ISSU process. The compatibility matrix during the ISSU process and later by entering the show issu comp-matrix command. To display information on the negotiation of the compatibility matrix data between two software versions on a given system, use the show issu comp-matrix negotiated command.
Compatibility matrix data is stored with each Cisco IOS software image that supports ISSU capability. To display stored compatibility matrix information, use the show issu comp-matrix stored command.
The compatibility matrix information are built-in any Cisco IOS ISSU image. The ISSU infrastructure performs a matrix lookup as soon as the communication with the standby supervisor engine is established. There are three possible results from the lookup operation:
- Compatible—The Base-level system infrastructure and all optional HA-aware subsystems are compatible. In-service upgrade or downgrade between these versions will succeed with minimal service impact.
- Base-Level Compatible—One or more of the optional HA-aware subsystems are not compatible. Although an in-service upgrade or downgrade between these versions will succeed, some subsystems will not be able to maintain their state during the switchover. Prior to attempting an in-service upgrade or downgrade, the impact of this on operation and service of the switch must be considered carefully.
- Incompatible—A set of core system infrastructure must be able to execute in a stateful manner for SSO to function correctly. If any of these “required” features or subsystems is not compatible in two different Cisco IOS images, the two versions of the Cisco IOS images are declared “Incompatible”. This means that an in-service upgrade or downgrade between these versions is not possible. The systems operates in RPR mode during the period when the versions of Cisco IOS at the active and standby supervisor engines differ.
Examples
This example displays negotiated compatibility matrix information:
This example displays stored compatibility matrix information:
Related Commands
|
|
---|---|
show issu endpoints
To display the ISSU endpoint information, use the show issu endpoints command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Endpoint is an execution unit within a redundancy domain. There are only 2 endpoints on the Catalyst 4500 series switch redundant chassis: 1 and 2. The endpoints correspond to the slot numbers for the supervisor engine. The ISSU infrastructure communicates between these two endpoints to establish session and to perform session negotiation for ISSU clients.
Examples
The following example shows how to display the ISSU endpoints:
Related Commands
|
|
---|---|
show issu entities
To display the ISSU entity information, use the show issu entities command.
show issu entities [ client_id ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Entity is a logical group of sessions with some common attributes (like capability list and message type). Currently, most ISSU clients on the Catalyst 4500 series switch have only one entity.
Examples
The following example shows how to display the entity information for a specified ISSU client:
Related Commands
|
|
---|---|
show issu fsm
Note This command is not intended for end-users.
To display the ISSU finite state machine (FSM) information corresponding to an ISSU session, use the show issu fsm command.
Syntax Description
(Optional) Provides detailed information about the FSM for the specified session. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example displays and verifies the ISSU state after LOADVERSION:
Related Commands
|
|
---|---|
show issu message
To display checkpoint messages for a specified ISSU client, use the show issu message command.
show issu message { groups | types } [ client_id ]
Syntax Description
Displays information on Message Group supported by the specified client. |
|
Displays information on all Message Types supported by the specified client. |
|
Command Default
If client ID is not specified, displays message groups or message types information for all clients registered to the ISSU infrastructure.
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Messages are sync-data (also known as checkpoint data) sent between two endpoints.
When an ISSU-aware client establishes its session with a peer, an ISSU negotiation takes place. The ISSU infrastructure uses the registered information to negotiate the capabilities and the message version to be used during the session.
Examples
The following example shows how to display the message groups for Client_id 2082:
The following example shows how to display the message types for Client_id 2082:
Related Commands
|
|
---|---|
show issu negotiated
To display the negotiated capability and message version information of the ISSU clients, use the
show issu negotiated command.
show issu negotiated { capability | version } [ session_id ]
Syntax Description
(Optional) Specifies the ISSU session ID for which the capability or version information is displayed. |
Command Default
Displays negotiated capability or version information for all ISSU sessions.
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the message types for a specific group:
Related Commands
|
|
---|---|
show issu rollback-timer
To display ISSU rollback-timer status, use the show issu rollback-timer command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the rollback-timer status:
Related Commands
show issu sessions
To display ISSU session information for a specified client, use the show issu sessions command.
show issu sessions [ client_id ]
Syntax Description
Command Default
Displays session information for all clients registered to the ISSU infrastructure.
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Session is bidirectional and a reliable connection is established between two endpoints. Sync-data and negotiation messages are sent to the peer endpoint through a session. On a Catalyst 4500 series switch, each ISSU-aware client has a maximum of one session at each endpoint.
When an ISSU-aware client establishes its session with the peer, an ISSU negotiation takes place. The ISSU infrastructure uses the registered information to negotiate the capabilities and the message version to be used during the session.
Examples
The following example shows how to display the rollback-timer status:
Related Commands
|
|
---|---|
show issu state
To display the ISSU state and current booted image name during the ISSU process, use the
show issu state command.
show issu state [ slot_number ] [ detail ]
Syntax Description
(Optional) Specifies the slot number whose ISSU state needs to be displayed (1 or 2). |
|
(Optional) Provides detailed information about the state of the active and standby supervisor engines. |
Command Default
The command displays the ISSU state and current booted image name of both the active and standby supervisor engines.
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
It might take several seconds after the issu loadversion command is entered for Cisco IOS software to load onto the standby supervisor engine and the standby supervisor engine to transition to SSO mode. If you enter the show issu state command too soon, you might not see the information you need.
Examples
The following example displays and verifies the ISSU state after LOADVERSION:
Related Commands
show l2protocol-tunnel
To display information about the Layer 2 protocol tunnel ports, use the show l2protocol-tunnel command. This command displays information for the interfaces with protocol tunneling enabled.
show l2protocol-tunnel [ interface interface-id ] [[ summary ] | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
This command was first introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
After enabling Layer 2 protocol tunneling on an access or 802.1Q tunnel port with the l2protocol-tunnel command, you can configure some or all of these parameters:
If you enter the show l2protocol-tunnel [ interface interface-id ] command, only information about the active ports on which all the parameters are configured appears.
If you enter the show l2protocol-tunnel summary command, only information about the active ports on which some or all of the parameters are configured appears.
Expressions are case sensitive. For example, if you enter | exclude output , the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show l2protocol-tunnel command:
This is an example of output from the show l2protocol-tunnel summary command:
Related Commands
|
|
---|---|
Configures the class of service (CoS) value for all tunneled Layer 2 protocol packets. |
show lacp
To display LACP information, use the show lacp command.
show lacp [ channel-group ] { counters | internal | neighbors | sys-id }
Syntax Description
(Optional) Number of the channel group; valid values are from 1 to 64. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switches. |
Usage Guidelines
If you do not specify a channel-group value, all channel groups are displayed.
You can enter the optional channel-group value to specify a channel group for all keywords, except the sys-id keyword.
Examples
The following example shows how to display LACP statistical information for a specific channel group:
The output displays the following information:
- The LACPDUs Sent and Recv columns display the LACPDUs sent and received on each specific interface.
- The LACPDUs Pkts and Err columns display the marker protocol packets.
The following example shows how to display internal information for the interfaces belonging to a specific channel:
Table 2-35 lists the output field definitions.
The following example shows how to display LACP neighbors information for a specific port channel:
In the case where no PDUs have been received, the default administrative information is displayed in braces.
The following example shows how to display the LACP system identification:
The system identification is made up of the system priority and the system MAC address. The first two bytes are the system priority, and the last six bytes are the globally administered individual MAC address associated to the system.
Related Commands
|
|
---|---|
show license
To display information about the software license, use the show license command.
. show license [agent [counters | session] [ all | detail [ feature-name ] | feature | file | statistics | status | udi | right-to-use | summary | permanent | in-use | image levels | evaluation | expiring]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Support for show license introduced on the Catalyst 4500 series switches. |
|
Keyword right-to-use introduced on the Catalyst 4500 series switches |
Usage Guidelines
Use this command to display license information and to help with troubleshooting issues related to Cisco IOS software licenses. It displays all the licenses in the system.
This command also displays those features that are available but not licensed to execute (i.e., multiple license can be active but not in use (execute) simulteously). Only one type license can be used at a given time. Output is grouped according to how the features are stored in license storage (i.e.,.where license information is stored on the device).
Examples).
These are examples of output from the show license agent command:
This is an example of output from the show license detail command:
This is an example of output from the show license detail entservices command:
This is an example of output from the show license feature command:
This is an example of output from the show license file command:
This is an example of output from the show license statistics command:
This is an example of output from the show license status command:
When you enter the show license udi command on WS-C4507R+E, this output appears:
Note The show license udi command output shows details on the current switch.
Displays all the Right to use licenses present on the device and their status. It contains license details: license state, licenses currently in use, and whether the EULA is accepted by the user.
This is an example of the show license summary command:
This is an example of the show license evaluation command:
This is an example of the show license image levels command:
This is an example of the show license expiring command
This is an example of the show license in-use command
show link state group
To display link state group information, use the show link state group command in user EXEC or privileged EXEC mode.
Syntax Description
Command Default
Command Modes
Command History
|
|
Examples
The following example displays the link-state group information:
Related Commands
|
|
---|---|
Configures the link state group and enables link state tracking. |
|
Configures the link state group and interface, as either an upstream or downstream interface in the group. |
show mab
To display MAC authentication bypass (MAB) information, use the show mab command in EXEC mode.
show mab { interface interface interface-number | all } [ detail ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Table 2-36 lists the fields in the show mab command.
|
|
---|---|
Table 2-37 lists the possible values for the state of the MAB state machine.
Table 2-38 lists the possible displayed values for the MAB authorization status.
|
|
---|---|
Examples
The following example shows how to display MAB information:
The following example shows how to display detailed MAB information:
The following example shows how to display MAB information for a specific interface:
The following example shows how to display detailed MAB information for a specific interface:
Related Commands
|
|
---|---|
Enables and configures MAC authorization bypass (MAB) on a port. |
show mac access-group interface
To display the ACL configuration on a Layer 2 interface, use the show mac access-group interface command.
show mac access-group interface [ interface interface-number ]
Syntax Description
(Optional) Specifies the interface type; valid values are ethernet , fastethernet , gigabitethernet , tengigabitethernet , pos , atm , port-channel , and ge-wan. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The valid values for the port number depend on the chassis used.
Examples
The following example shows how to display the ACL configuration on interface fast 6/1:
Related Commands
|
|
---|---|
Specifies the override modes (for example, VACL overrides PACL) and the non-override modes (for example, merge or strict mode). |
show mac-address-table address
To display MAC address table information for a specific MAC address, use the
show mac-address-table address command.
show mac-address-table address mac_addr [ interface type slot/port | protocol protocol | vlan vlan_id ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
For the MAC address table entries that are used by the routed ports, the routed port name is displayed in the “vlan” column not the internal VLAN number.
The keyword definitions for the protocol variable are as follows:
Examples
The following example shows how to display MAC address table information for a specific MAC address:
Switch#
Related Commands
show mac-address-table aging-time
To display the MAC address aging time, use the show mac-address-table aging-time command.
show mac-address-table aging-time [ vlan vlan_id ]
Syntax Description
(Optional) Specifies a VLAN; valid values are from 1 to 4094. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Examples
The following example shows how to display the currently configured aging time for all VLANs:
Switch#
show mac-address-table aging-time
Vlan Aging Time
---- ----------
100 300
200 1000
The following example shows how to display the currently configured aging time for a specific VLAN:
Switch#
show mac-address-table aging-time vlan 100
Vlan Aging Time
---- ----------
100 300
Switch#
Related Commands
show mac-address-table count
To display the number of entries currently in the MAC address table, use the show mac-address-table count command.
show mac-address-table count [ vlan vlan_id ]
Syntax Description
(Optional) Specifies a VLAN; valid values are from 1 to 4094. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Examples
The following example shows how to display the entry count for a specific VLAN:
Switch#
Related Commands
show mac-address-table dynamic
To display the dynamic MAC address table entries only, use the show mac-address-table dynamic command.
show mac-address-table dynamic [ address mac_addr | interface type slot/port |
protocol protocol | vlan vlan_id ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
The keyword definitions for the protocol argument are as follows:
- assigned specifies assigned protocol entries.
- ip specifies IP protocol.
- ipx specifies IPX protocols.
- other specifies other protocol entries.
The show mac-address-table dynamic command output for an EtherChannel interface changes the port number designation (such as, 5/7) to a port group number (such as, Po80).
For the MAC address table entries that are used by the routed ports, the routed port name is displayed in the “vlan” column not the internal VLAN number.
Examples
The following example shows how to display all the dynamic MAC address entries:
The following example shows how to display the dynamic MAC address entries with a specific protocol type (in this case, assigned):
Related Commands
|
|
---|---|
Displays the MAC address table information that is based on the protocol. |
|
Displays information about the MAC address table for a specific VLAN. |
show mac-address-table interface
To display the MAC address table information for a specific interface, use the
show mac-address-table interface command.
show mac-address-table interface type slot/port
Syntax Description
Interface type; valid values are ethernet , fastethernet , gigabitethernet , and tengigabitethernet . |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
For the MAC address table entries that are used by the routed ports, the routed port name is displayed in the “vlan” column not the internal VLAN number.
Examples
The following example shows how to display MAC address table information for a specific interface:
Switch#
Related Commands
show mac address-table learning
To display the status of MAC address learning for all VLANs or a specified VLAN, use the
show mac address-table learning user EXEC command.
show mac address-table learning [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was modified to support the learning disable feature on the Catalyst 4500 series switch. |
Usage Guidelines
To display configured VLANs, and whether MAC address learning is enabled or disabled, use the
show mac address-table learning command without keywords..
To display the learning status on an individual VLAN, use the command with a specific VLAN ID.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
The following example shows that MAC address learning is disabled on VLAN 200:
Related Commands
|
|
---|---|
show mac-address-table multicast
To display information about the multicast MAC address table, use the show mac-address-table multicast command.
show mac-address-table multicast [ count | {igmp-snooping [ count ]} | { user [ count ]} |
{ vlan vlan_num }]
Syntax Description
(Optional) Displays only the addresses learned by IGMP snooping. |
|
(Optional) Displays information for a specific VLAN only; valid values are from 1 to 4094. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
For the MAC address table entries that are used by the routed ports, the routed port name is displayed in the “vlan” column not the the internal VLAN number.
Examples
The following example shows how to display multicast MAC address table information for a specific VLAN:
Switch#
The following example shows how to display the number of multicast MAC entries for all VLANs:
Switch#
show mac-address-table multicast count
Switch#
Related Commands
show mac-address-table notification
To display the MAC address table notification status and history, use the show mac-address-table notification command.
show mac-address-table notification [ change ] [ interface [ interface-id ]] | [ mac-move ] | [ threshold ] | [learn-fail]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Support for learn-fail keyword, Supervisor Engine 6-E, and Catalyst 4900M chassis added. |
Usage Guidelines
Use the show mac-address-table notification change command to display the MAC change notification interval, the maximum number of entries allowed in the history table, the history table contents, and whether the MAC change feature is enabled or disabled.
Use the interface keyword to display the flags for all interfaces. If the interface-id is included, only the flags for that interface are displayed.
Examples
The following example shows how to display all the MAC address notification information:
The following example shows how to display the MAC address change status on the FastEthernet interface 7/1:
The following example shows how to display the MAC address move status:
The following example shows how to display the MAC address table utilization status:
The following example shows how to display general information of MAC learning failure notifications:
Related Commands
|
|
---|---|
Clears the address entries from the Layer 2 MAC address table. |
|
show mac-address-table protocol
To display the MAC address table information that is based on the protocol, use the show mac-address-table protocol command.
show mac-address-table protocol { assigned | ip | ipx | other }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
For the MAC address table entries that are used by the routed ports, the routed port name is displayed in the “vlan” column not the the internal VLAN number.
Examples
The following example shows how to display the MAC address table entries that have a specific protocol type (in this case, assigned):
Switch#
show mac-address-table protocol assigned
vlan mac address type protocol qos ports
-----+---------------+--------+---------+---+--------------------------------
200 0050.3e8d.6400 static assigned -- Switch
100 0050.3e8d.6400 static assigned -- Switch
5 0050.3e8d.6400 static assigned -- Switch
4092 0000.0000.0000 dynamic assigned -- Switch
1 0050.3e8d.6400 static assigned -- Switch
4 0050.3e8d.6400 static assigned -- Switch
4092 0050.f0ac.3058 static assigned -- Switch
4092 0050.f0ac.3059 dynamic assigned -- Switch
1 0010.7b3b.0978 dynamic assigned -- Fa5/9
Switch#
The following example shows the other output for the previous example:
Switch#
Related Commands
show mac-address-table static
To display the static MAC address table entries only, use the show mac-address-table static command.
show mac-address-table static [ address mac_addr | interface type number | protocol protocol | vlan vlan_id ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
For the MAC address table entries that are used by the routed ports, the routed port name is displayed in the “vlan” column not the internal VLAN number.
The keyword definitions for the protocol argument are as follows:
Examples
The following example shows how to display all the static MAC address entries:
Switch#
show mac-address-table static
The following example shows how to display the static MAC address entries with a specific protocol type (in this case, assigned):
Related Commands
show mac-address-table vlan
To display information about the MAC address table for a specific VLAN, use the show mac-address-table vlan command.
show mac-address-table [ vlan vlan_id ] [ protocol protocol ]
Syntax Description
(Optional) Displays the entries for a specific VLAN; valid values are from 1 to 4094. |
|
(Optional) Specifies a protocol. See the “Usage Guidelines” section for more information. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
For the MAC address table entries used by the routed ports, the routed port name is displayed in the “vlan” column not the the internal VLAN number.
The keyword definitions for the protocol variable are as follows:
Examples
The following example shows how to display information about the MAC address table for a specific VLAN:
Switch#
show mac-address-table vlan 1
Switch#
The following example shows how to display MAC address table information for a specific protocol type:
Switch#
show mac-address-table vlan 100 protocol other
Switch#
Related Commands
show macro auto mac-address-group
Use the show macro auto mac-address-group command to display the configuration of MAC address group.
show macro auto mac-address-group
Syntax Description
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to displaythe configuration of the MAC address group:
show macro auto device
Use the show macro auto device global configuration command to display the default information for a device, including builtin function name and the parameters that can be provided for the commands when executing the builtin function.
show macro auto device device_id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
This command displays the default values as well as the currently used values if configured.
Examples
The following example shows how to display the default information for the device access-point:
Related Commands
|
|
---|---|
Display Auto SmartPorts status and the functions applied on an interface. |
show macro auto interface
Use the show macro auto interface command to display Auto SmartPorts status and the functions applied on an interface.
show macro auto interface interface_id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display Auto SmartPorts status and the applied macros:
Related Commands
|
|
---|---|
Displays the default information for a device, including builtin function name and the parameters that can be provided for the commands when executing the builtin function. |
show macro auto monitor clients
To display the clients using the device classifier facility on the switch, use the show macro auto monitor clients user EXEC command.
show macro auto monitor clients
Syntax Description
Command Default
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Device classifier (DC) is enabled by default when you enable a client application (for example, Auto Smartports) that uses its functionality. Use the show macro auto monitor clients command to display the clients that are using the DC feature on the switch.
As long as any clients are using the DC, you cannot disable it by using the no macro auto monitor command. If you attempt to disable the DC while a client is using it, an error message appears.
Examples
The following example shows how to use the show macro auto monitor clients privileged EXEC command to view the clients using the DC on the switch:
The following example shows the error message that appears when you attempt to disable DC while a client is using it:
Related Commands
|
|
---|---|
Configures mapping from an event trigger to a built-in macro. |
|
Displays all the device types recognized by the device classifier. |
|
show macro auto monitor device
To display the devices connected to a switch and their associated properties, use the show macro auto monitor device user EXEC command.
show macro auto monitor device [ detail | filter string | interface interface_id | mac-address mac_address ]
Syntax Description
Displays information about devices attached to the specified interface. |
|
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Use this command to display the devices connected to a switch. Use the show macro auto device privileged EXEC command to display the configurable parameters for a device.
Examples
The following example shows how to use the show macro auto monitor device privileged EXEC command with no optional keywords to view the devices connected to the switch:
The following example shows how to use the show macro auto monitor device privileged EXEC command with the optional mac-address keyword to view summary information about the connected device with the specified MAC address:
The following example shows how to use the show macro auto monitor device privileged EXEC command with the optional mac-address and detail keywords to view detailed information about the connected device with the specified MAC address:
The following example shows how to use the show macro auto monitor device privileged EXEC command with the optional interface keyword to view summary information about the device connected to the specified interface:
The following example shows how to use the show macro auto monitor device privileged EXEC command with the optional interface and detail keywords to view detailed information about the device connected to the specified interface:
Related Commands
show macro auto monitor type
To display all the device types recognized by the device classifier, use the show macro auto monitor type user EXEC command.
show macro auto monitor type [ table [ built-in | default ] | string filter_string ]
Syntax Description
Displays device classification information from the built-in device table. |
|
Displays device classification information from the default device table. |
|
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
This command displays all the device types recognized by the device classification engine. The number of available device types is the number of profiles stored on the switch. Because the number of profiles can be very large, you can use the filter keyword to limit the command output.
Examples
The following example shows how to use the show macro auto monitor type privileged EXEC command with no optional keywords to view the devices recognized by the device classifier:
Related Commands
show module
To display information about the module, use the show module command.
Syntax Description
(Optional) Number of the module; valid values vary from chassis to chassis. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Enhanced the output of the show idprom interface command to include the 10-Gigabit Ethernet interface. |
Usage Guidelines
In the Mod Sub-Module fields in the command output, the show module command displays the supervisor engine number but appends the uplink daughter card’s module type and information.
If the PoE consumed by the module is more than 50 W above the administratively allocated PoE, the “Status” displays as “PwrOver.” If the PoE consumed by the module is more than 50 W above the PoE module limit, the “Status” displays as “PwrFault.”
Examples
The following example shows how to display information for all the modules.
The following example shows the show module command output for a system with inadequate power for all installed modules. The system does not have enough power for Module 5; the “Status” displays it as “PwrDeny.”
Switch#
show module all
Switch#
The following example shows how to display information for a specific module:
Switch#
show module mod2
Mod Ports Card Type Model Serial No.
--- ----- -------------------------------------- ------------------ -----------
2 2 Catalyst 4000 supervisor 2 (Active) WS-X6K-SUP2-2GE SAD04450LF1
Mod MAC addresses Hw Fw Sw Status
--- ---------------------------------- ------ ------------ ------------ -------
2 0001.6461.39c0 to 0001.6461.39c1 1.1 6.1(3) 6.2(0.97) Ok
Mod Sub-Module Model Serial Hw Status
--- --------------------------- --------------- --------------- ------- -------
2 Policy Feature Card 2 WS-F6K-PFC2 SAD04440HVU 1.0 Ok
2 Cat4k MSFC 2 daughterboard WS-F6K-MSFC2 SAD04430J9K 1.1 Ok
Switch#
The following example shows how to display information for all the modules on the switch:
Switch#
show module
show monitor
To display information about the SPAN session, use the show monitor command.
show monitor [ session ] [ range session-range | local | remote | all | session-number ] [ detail ]
Syntax Description
(Optional) Displays the RSPAN source and destination sessions. |
|
(Optional) Displays the detailed SPAN information for a session. |
Command Default
The detail keyword only displays lines with a nondefault configuration.
Command Modes
Command History
Examples
The following example shows how to display whether ACLs are applied to a given SPAN session on a Catalyst 4500 series switch:
The following example shows how to display SPAN information for session 2:
The following example shows how to display the detailed SPAN information for session 1:
Switch#
show monitor session 1 detail
The following example shows how to display SPAN information for session 1 beginning with the line that starts with Destination:
Switch#
show monitor session 1 | begin Destination
Destination Ports: None
Filter VLANs: None
Switch#
Related Commands
|
|
---|---|
show monitor capture
To display the capture point details, so that you can see what capture points are defined, what their attributes are, and whether they are active, use the show monitor capture command.
show monitor capture [name [parameter] | buffer [brief | detailed | dump]]
Syntax Description
Reconstructs and displays the exec commands for specifying the capture point. |
|
Source the packets from the capture buffer, decode and display them in brief, detailed or dump mode. |
Command Default
If the capture point name is not provided, the command displays all the capture point details.
If the display mode is not specified, the command defaults to brief mode.
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
When the command is issued with no parameters, it displays the details of all the capture points. When specified with a capture point name and no other parameters, it displays the details of the specific capture point name. With the parameter keyword, the command reconstructs the commands that describe the capture point and displays them.
The buffer option displays the packets from the capture buffer. This option is applicable only if the capture point directs the captured packets to the buffer. The packets can be decoded and displayed in either the brief, detailed, or dump mode. The default mode is brief.
Examples
show monitor capture file
To decode and display packets from a previously captured.pcap file, use the show monitor capture file command.
show monitor capture file name [display-filter filter-string] [brief | detailed | dump]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
If no display filter is specified, then all the packets in the file are displayed. Because the display filter must observe the Wireshark display filter syntax, ensure that the display filter is accurate. Also, use a double quotes when specifying the filter.
Examples
show mvr
Use the show mvr privileged EXEC command without keywords to display the following: the current Multicast VLAN Registration (MVR) global parameter values (including whether or not MVR is enabled), the MVR multicast VLAN, the maximum query response time, the number of multicast groups, and the MVR mode (dynamic or compatible).
Syntax Description
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
This is an example of output from the show mvr command:
In the preceding display, the maximum number of multicast groups is fixed at 500. The MVR mode is either compatible or dynamic.
Related Commands
show mvr interface
To display the Multicast VLAN Registration (MVR) receiver and source ports, use the show mvr interface privileged EXEC command without keywords. Use the command with keywords to display MVR parameters for a specific receiver port.
show mvr interface [ interface-id [ members [ vlan vlan-id ]]]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
If you enter only the show mvr interface command, the output shows all MVR-enabled ports on the switch.
If you enter the show mvr interface interface-id command and the specified port is non-MVR, the output displays NON MVR in the Type field. For active MVR ports, it displays the port type (RECEIVER or SOURCE), mode (access or trunk), VLAN, status, and Immediate-Leave setting.
If you enter the members keyword, all MVR group members on the interface are displayed. If you enter a VLAN ID, all MVR group members in the VLAN are displayed.
Examples
This is an example of output from the show mvr interface command:
Fa0/1 Receiver Trunk 2000 ACTIVE/DOWN DISABLED
Fa0/2 Receiver Trunk 2 ACTIVE/UP DISABLED
Fa0/2 Receiver Trunk 3000 ACTIVE/UP DISABLED
Fa0/3 Receiver Trunk 2 ACTIVE/UP DISABLED
Fa0/3 Receiver Trunk 3000 ACTIVE/UP DISABLED
Fa0/10 Source Access 10 ACTIVE/UP DISABLED
In the preceding display, Status is defined as follows:
- Active means that the port is part of a VLAN.
- Up/Down means that the port is forwarding or nonforwarding.
- Inactive means that the port is not yet part of any VLAN.
This is an example of output from the show mvr interface interface-id command:
This is an example of output from the show mvr interface interface-id members command:
Related Commands
|
|
---|---|
Enables and configures multicast VLAN registration on the switch. |
|
Displays all receiver ports that are members of an MVR multicast group. |
show mvr members
To display all receiver and source ports that are currently members of an IP multicast group, use the show mvr members privileged EXEC command.
show mvr members [ ip-address ]
Syntax Description
Command Default
Displays all the static and dynamic MVR members on the switch
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The show mvr members command applies to receiver and source ports. For MVR compatible mode, all source ports are members of all multicast groups.
Examples
This is an example of output from the show mvr members command:
This is an example of output from the show mvr members ip-address command. It shows how to view the members of the IP multicast group 239.255.0.2.
Related Commands
show netflow-lite exporter
Note NetFlow-lite is only supported on the Catalyst 4948E and Catalyst 4948E-F Ethernet switches.
To displays information about the collector and global stats, use the show netflow-lite exporter command.
show netflow-lite exporter exporter-name
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command displays the total number of export packets sent.
Examples
The following example shows how to display information about the collector and global stats:
Related Commands
show netflow-lite monitor
Note NetFlow-lite is only supported on the Catalyst 4948E and Catalyst 4948E-F Ethernet switches.
To display information about a particular packet or per data source stats, use the show netflow-lite monitor command.
show netflow-lite monitor monitor-number interface interface-name
show netflow-lite monitor monitor-number vlan vlan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command displays information about a particular packet or per data source stats. The interface can be either a physical port or a VLAN.
This command displays the following packet sampling statistics:
- Total # of packet (samples) exported
- Total # of packet (samples) dropped due to lack of local resources
- Total# of packets seen at the data source
The packetsObserved statistic accounts for packets that are dropped by input ACL or QoS policer.
The exported packets only represent samples from the non-dropped packet population.
Examples
These examples show how to display information about a particular packet or per data source stats:
Related Commands
|
|
---|---|
Activates sampling on an interface in netflow-lite monitor submode. |
|
show netflow-lite sampler
Note NetFlow-lite is only supported on the Catalyst 4948E and Catalyst 4948E-F Ethernet switches.
To display information about a sampler, use the show netflow-lite sampler command.
show netflow-lite sampler sampler-name
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
The following example shows how to display information about a sampler,:
Related Commands
|
|
---|---|
Specifies a packet sampling rate in netflow-lite sampler submode. |
|
show nmsp
To display the Network Mobility Services Protocol (NMSP) information for the switch, use the show nmsp command. This command is available only when your switch is running the cryptographic (encrypted) software image.
show nmsp { attachment suppress interface | capability | notification interval | statistics { connection | summary } | status | subscription { detail | summary }}
Syntax Description
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
This is an example of output from the show nmsp attachment suppress interface command:
This is an example of output from the show nmsp capability command:
This is an example of output from the show nmsp notification interval command:
This is an example of output from the show nmsp statistics connection and show nmsp statistics summary commands:
This is an example of output from the show nmsp status command:
This is an example of output from the show nmsp show subscription detail and show nmsp show subscription summary commands:
Related Commands
|
|
---|---|
Configures Network Mobility Services Protocol (NMSP) on the switch. |
show pagp
To display information about the port channel, use the show pagp command.
show pagp [ group-number ] { counters | dual-active | internal | neighbor }
Syntax Description
(Optional) Channel-group number; valid values are from 1 to 64. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
You can enter any show pagp command to display the active PAgP port-channel information. To display the nonactive information, enter the show pagp command with a group.
Examples
The following example shows how to display information about the PAgP counter:
Switch#
show pagp counters
The following example shows how to display PAgP dual-active information:
PAgP dual-active detection enabled: Yes
PAgP dual-active version: 1.1
Dual-Active Partner Partner Partner
Port Detect Capable Name Port Version
Te3/1 Yes VS1-Reg2 Te1/1/7 1.1
Te4/1 Yes VS1-Reg2 Te2/2/8 1.1
Dual-Active Partner Partner Partner
Port Detect Capable Name Port Version
Gi1/43 Yes VS3 Gi1/1/43 1.1
Gi1/44 Yes VS3 Gi1/1/44 1.1
Gi1/45 Yes VS3 Gi1/1/45 1.1
Gi1/46 Yes VS3 Gi2/1/46 1.1
Gi1/47 Yes VS3 Gi2/1/47 1.1
Gi1/48 Yes VS3 Gi2/1/48 1.1
Gi2/3 Yes VS3 Gi1/1/1 1.1
Gi2/4 Yes VS3 Gi2/1/1 1.1
Switch#
The following example shows how to display internal PAgP information:
The following example shows how to display PAgP neighbor information for all neighbors:
Related Commands
|
|
---|---|
show pagp dual-active (virtual switch)
To display dual-active detection information, use the show pagp dual-active command in EXEC mode.
show pagp [ group-number ] dual-active
Syntax Description
(Optional) Channel-group number. Range: 1 to 256 with a maximum of 64 values. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display dual-active detection information:
The following example shows how to display dual-active detection information for a specific port channel:
The following example shows how to display dual-active detection information for a specific port channel:
Related Commands
|
|
---|---|
show policy-map
To display information about the policy map, use the show policy-map command.
show policy-map [ policy_map_name ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display information for all the policy maps:
The following example shows how to display information for a specific policy map:
Related Commands
show policy-map control-plane
To display the configuration either of a class or of all classes for the policy map of a control plane, use the show policy-map control-plane command.
show policy-map control-plane [ input [ class class-name ] | [ class class-name ]]
Syntax Description
(Optional) Displays statistics for the attached input policy. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
This command is not supported on Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, Catalyst 4948E, and Catalyst 4948E-F.
The show policy-map control-plane command displays information for aggregate control-plane services that control the number or rate of packets that are going to the process level.
Examples
The following example shows that the policy map TEST is associated with the control plane. This policy map polices traffic that matches the class-map TEST, while allowing all other traffic (that matches the class-map class-default) to go through as is. Table 2-39 describes the fields shown in the display.
Related Commands
|
|
---|---|
Attaches a policy map to a control plane for aggregate control plane services. |
show policy-map interface
To display the statistics and configurations of the input and output policies that are attached to an interface, use the show policy-map interface command.
show policy-map interface [{ fastethernet interface-number } | { gigabitethernet interface-number } | { port-channel number } | { vlan vlan_id }] [ input | output ]
Syntax Description
(Optional) Specifies the VLAN ID; valid values are from 1 to 4094. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Examples
The following example shows how to display the statistics and configurations of all input and output policies attached to an interface:
The following example shows how to display the input policy statistics and configurations for a specific interface:
With the following configuration, each flow is policed to a 1000000 bps with an allowed 9000-byte burst value.
Note If you use the match flow ip source-address|destination-address command, these two flows are consolidated into one flow and they have the same source and destination address.
Related Commands
show policy-map interface vlan
To show the QoS policy-map information applied to a specific VLAN on an interface, use the
show policy-map interface vlan command.
show policy-map interface vlan interface-id vlan vlan-id
Syntax Description
(Optional) Displays QoS policy-map information for a specific interface. |
|
(Optional) Displays QoS policy-map information for a specific VLAN. |
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example show a configuration on a non-Supervisor Engine 6-E:
The following example shows how to display policy-map statistics on VLAN 20 on the Gigabit Ethernet 6/1 interface:
The following example shows a configuration on a non-Supervisor Engine 6-E:
The following example shows how to display policy-map statistics on VLAN 100 on the FastEthernet interface:
The following example shows a configuration on a Supervisor Engine 6-E:
The following example shows how to display policy-map statistics on VLAN 100 on the FastEthernet interface:
Related Commands
|
|
---|---|
Displays the statistics and configurations of the input and output policies that are attached to an interface. |
show port-security
To display the port security settings for an interface or for the switch, use the show port-security command.
show port-security [ address ] [ interface interface-id ]
[ interface port-channel port-channel-number ] [ vlan vlan-id ]
Syntax Description
Command Modes
Command History
Usage Guidelines
If you enter the command without keywords, the output includes the administrative and operational status of all secure ports on the switch.
If you enter the interface-id value or port-channel-interface value, the show port-security command displays port security settings for the interface.
If you enter the address keyword, the show port-security address command displays the secure MAC addresses for all interfaces and the aging information for each secure address.
If you enter the interface-id value and the address keyword, the show port-security address interface command displays all the MAC addresses for the interface with aging information for each secure address. You can also use this command to display all the MAC addresses for an interface even if you have not enabled port security on it.
Sticky MAC addresses are addresses that persist across switch reboots and link flaps.
Examples
The following example shows how to display port security settings for the entire switch:
The following example shows how to display port security settings for interface Fast Ethernet port 1:
The following example shows how to display all secure MAC addresses configured on all switch interfaces:
The following example shows how to display the maximum allowed number of secure MAC addresses and the current number of secure MAC addresses on interface Gigabitethernet1/1:
The following example shows how to display the port security settings on interface Gigabitethernet1/1 for VLANs 2 and 3:
The following example shows how to display all secure MAC addresses configured on interface Gigabitethernet1/1 with aging information for each address.
The following example shows how to display all secure MAC addresses configured on VLANs 2 and 3 on interface Gigabitethernet1/1 with aging information for each address:
The following example shows how to display the maximum allowed number of secure MAC addresses and the current number of secure MAC addressees on Fast Ethernet port 1:
The following example shows how to display the port security settings on Fast Ethernet port 1 for VLANs 2 and 3:
The following example shows how to display all secure MAC addresses configured on Fast Ethernet port 1 with aging information for each address.
The following example shows how to display all secure MAC addresses configured on VLANs 2 and 3 on
Fast Ethernet port 1 with aging information for each address:
The following example shows how to display all secure MAC addresses configured on all switch interfaces:
The following example shows how to display the maximum allowed number of secure MAC addresses and the current number of secure MAC addresses on interface Gigabitethernet1/1:
The following example shows how to display the port security settings on interface Gigabitethernet1/1 for VLANs 2 and 3:
The following example shows how to display all secure MAC addresses configured on interface Gigabitethernet1/1 with aging information for each address.
The following example shows how to display all secure MAC addresses configured on VLANs 2 and 3 on interface Gigabitethernet1/1 with aging information for each address:
Related Commands
|
|
---|---|
show power
To display information about the power status, use the show power command.
show power [ available | capabilities | detail | inline {[ interface ] detail | consumption default | module mod detail} } | module | status | supplies ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Support to display detailed PoE consumption information on an interface/module. |
Usage Guidelines
If a powered device is connected to an interface with external power, the switch does not recognize the powered device. The Device column in the output of the show power inline command displays as unknown.
If your port is not capable of supporting PoE, you will receive this message:
The show power inline interface | module command displays the amount of power that is used to operate a Cisco IP Phone. To view the amount of power requested, use the show cdp neighbors command.
Because FPGAs and other hardware components on the WS-X4548-RJ45V+ and WS-X4648-RJ45V+E modules consume PoE, the operating PoE consumption for an 802.3af-compliant module can be nonzero when there are no powered devices attached to the module. The operating PoE can vary by as much as 20 W because of fluctuations in the PoE that is consumed by the hardware components.
Examples
The following example shows how to display information about the general power supply:
The following example shows how to display the amount of available system power:
Switch#
show power available
Power Summary
(in Watts) Available Used Remaining
------------- --------- ------ ---------
System Power 1360 280 1080
Inline Power 1400 0 1400
Maximum Power 2800 280 2520
Note The “Inline Power Oper” column displays the PoE consumed by the powered devices attached to the module in addition to the PoE consumed by the FPGAs and other hardware components on the module. The “Inline Power Admin” column displays only the PoE allocated by the powered devices attached to the module.
The following example shows how to display the power status information:
The following example shows how to verify the PoE consumption for the switch:
The following example shows how to display the status of inline power:
The following example shows how to display the number of power supplies needed by the system:
Switch#
show power supplies
The following example shows how to display the PoE status for Fast Ethernet interface 3/1:
The output of the commands show power detail and show power module display the supervisor engine’s variable power consumption and its inline power summary:
The following example shows how to display detailed information on the PoE status for Gigabit interface 2/1:
The following example shows how to display the PoE status for all all ports of the module:
Related Commands
show power inline police
To display PoE policing and monitoring status, use the show power inline police command.
show power inline police [interfacename] [module n]
Syntax Description
(optional) Displays PoE policing and monitoring status for a particular interface. |
|
(optional) Display PoE policing and monitoring status for all interfaces on this module. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The Oper Power field displays the true power consumption of the connected device.
The show power inline police command with no keywords displays PoE policing status for all interfaces in the chassis.
If this command is executed at the global level, the last line of the output under Oper Power field displays the total true inline power consumption of all devices connected to the switch.
Examples
The following example shows how to display PoE policing status for a interface GigabitEthernet 2/1:
Related Commands
|
|
---|---|
show pppoe intermediate-agent interface
To display PPPoE Intermediate Agent configuration and statistics (packet counters), use the
show pppoe intermediate-agent interface command.
show ppoe intermediate-agent information interface interface
show ppoe intermediate-agent statistics interface interface
Syntax Description
Interface for which information or statistics are displayed. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display PPPoE Intermediate Agent configuration:
The following example shows how to display PPPoE Intermediate Agent statistics on an interface:
Related Commands
|
|
---|---|
Sets the access-node-identifier, generic-error-message, and identifier-string for the switch. |
|
Enables the PPPoE Intermediate Agent feature on an interface. |
|
show qos
To display QoS information, use the show qos command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
This command is not supported on Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, Catalyst 4948E, and Catalyst 4948E-F.
Examples
The following example shows the output that might be displayed if you do not enter any keywords:
Related Commands
|
|
---|---|
show qos aggregate policer
To display QoS aggregate policer information, use the show qos aggregate policer command.
show qos aggregate policer [ aggregate_name ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
This command is not supported on Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, Catalyst 4948E, and Catalyst 4948E-F.
Examples
The following example shows the output if you do not enter any keywords:
Related Commands
|
|
---|---|
show qos dbl
To display global Dynamic Buffer Limiting (DBL) information, use the show qos dbl command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
This command is not supported on Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, Catalyst 4948E, and Catalyst 4948E-F.
Examples
The following example shows how to display global DBL information:
Related Commands
|
|
---|---|
show qos interface
To display queueing information, use the show qos interface command.
show qos interface { fastethernet interface-number | gigabitethernet interface-number } |
[ vlan vlan_id | port-channel number ]
Syntax Description
(Optional) Specifies the VLAN ID; valid values are from 1 to 4094. |
|
(Optional) Specifies the port channel; valid ranges are from 1 to 64. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
This command is not supported on Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, Catalyst 4948E, and Catalyst 4948E-F.
Examples
The following example shows how to display queueing information:
Related Commands
|
|
---|---|
show qos maps
To display QoS map information, use the show qos maps command.
show qos maps [ cos | dscp [ policed | tx-queue ]]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
This command is not supported on Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, Catalyst 4948E, and Catalyst 4948E-F.
Examples
The following example shows how to display QoS map settings:
Related Commands
|
|
---|---|
show redundancy
To display redundancy facility information, use the show redundancy command.
show redundancy { clients | counters | history | states }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch (Catalyst 4507R only). |
|
Examples
The following example shows how to display information about the redundancy facility:
The following example shows how to display redundancy facility client information:
The output displays the following information:
- clientID displays the client’s ID number.
- clientSeq displays the client’s notification sequence number.
- Current redundancy facility state.
The following example shows how to display the redundancy facility counter information:
The following example shows how to display redundancy facility history information:
The following example shows how to display information about the redundancy facility state:
Related Commands
|
|
---|---|
Forces a switchover from the active to the standby supervisor engine. |
show redundancy config-sync
To display an ISSU config-sync failure or the ignored mismatched command list (MCL), if any, use the show redundancy config-sync command.
show redundancy config-sync { failures | ignored } { bem | mcl | prc }
show redundancy config-sync ignored failures mcl
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Updated command syntax from issu config-sync to redundancy config-sync. |
Usage Guidelines
When two versions of Cisco IOS images are involved, the command sets supported by two images might differ. If any of those mismatched commands are executed on the active supervisor engine, the standby supervisor engine might not recognize those commands. This causes a config mismatch condition. If the syntax check for the command fails on standby supervisor engine during a bulk sync, the command is moved into the MCL and the standby supervisor engine is reset. To display all the mismatched commands, use the show redundancy config-sync failures mcl command.
To clean the MCL, follow these steps:
Step 1 Remove all mismatched commands from the active supervisor engines’ running configuration.
Step 2 Revalidate the MCL with a modified running configuration using the
redundancy config-sync validate mismatched-commands command.
Step 3 Reload the standby supervisor engine.
Alternatively, you could ignore the MCL by following these steps:
Step 1 Enter the redundancy config-sync ignore mismatched-commands command.
Step 2 Reload the standby supervisor engine; the system transitions to SSO mode.
Note If you ignore the mismatched commands, the out-of-sync configuration at the active supervisor engine and the standby supervisor engine still exists.
Step 3 You can verify the ignored MCL with the show redundancy config-sync ignored mcl command.
Each command sets a return code in the action function that implements the command. This return code indicates whether or not the command successfully executes. The active supervisor engine maintains the PRC after executing a command. The standby supervisor engine executes the command and sends PRC back to the active supervisor engine. PRC failure occurs if these two PRCs do not match. If a PRC error occurs at the standby supervisor engine either during bulk sync or LBL sync, the standby supervisor engine is reset. To display all PRC failures, use the show redundancy config-sync failures prc command.
To display best effort method (BEM) errors, use the show redundancy config-sync failures bem command.
Examples
The following example shows how to display the ISSU BEM failures:
The following example shows how to display the ISSU MCL failures:
The following example shows how to display the ISSU PRC failures:
Related Commands
|
|
---|---|
Moves the active supervisor engine into the Mismatched Command List (MCL) and resets the standby supervisor engine. |
show running-config
To display the module status and configuration, use the show running-config command.
show running-config [ module slot ]
Syntax Description
(Optional) Specifies the module slot number; valid values are fro m 1 to 6. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
In some cases, you might see a difference in the duplex mode displayed when you enter the show interfaces command and the show running-config command. If you do see a difference, the duplex mode displayed in the show interfaces command is the actual duplex mode that the interface is running. The show interfaces command shows the operating mode for an interface, while the show running-config command shows the configured mode for an interface.
The show running-config command output for an interface may display a duplex mode configuration but no configuration for the speed. When no speed is displayed in the output, it indicates that the interface speed is configured to be auto and that the duplex mode shown becomes the operational setting once the speed is configured to something other than auto. With this configuration, it is possible that the operating duplex mode for that interface does not match the duplex mode shown with the show running-config command.
Examples
The following example shows how to display the module and status configuration for all modules:
Switch#
show running-config
Switch#
The following example shows the output for the show running-config command when you have enabled the switchport voice vlan command:
Switch#
show running-config int fastethernet 6/1
Switch#
show shell functions
Use the show shell functions command to display configurations for all builtin shell functions.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
This command only displays the contents of builtin shell functions. To display the contents of user created functions, use the show shell triggers command.
Examples
Related Commands
|
|
---|---|
show shell triggers
Use the show shell triggers command to display detail for all supported builtin and user created triggers.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
This command displays builtin triggers and user defined triggers (with their mapped functions).
Examples
This example illustrates how to display detail for all supported triggers:
Related Commands
|
|
---|---|
Displays configurations included for all the builtin functions including user created and built-in functions. |
show slavebootflash:
To display information about the standby bootflash file system, use the show slavebootflash: command.
show slavebootflash: [ all | chips | filesys ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display file system status information:
Switch#
show slavebootflash: filesys
-------- F I L E S Y S T E M S T A T U S --------
Device Number = 0
DEVICE INFO BLOCK: bootflash
Magic Number = 6887635 File System Vers = 10000 (1.0)
Length = 1000000 Sector Size = 40000
Programming Algorithm = 39 Erased State = FFFFFFFF
File System Offset = 40000 Length = F40000
MONLIB Offset = 100 Length = C628
Bad Sector Map Offset = 3FFF8 Length = 8
Squeeze Log Offset = F80000 Length = 40000
Squeeze Buffer Offset = FC0000 Length = 40000
Num Spare Sectors = 0
Spares:
STATUS INFO:
Writable
NO File Open for Write
Complete Stats
No Unrecovered Errors
No Squeeze in progress
USAGE INFO:
Bytes Used = 917CE8 Bytes Available = 628318
Bad Sectors = 0 Spared Sectors = 0
OK Files = 2 Bytes = 917BE8
Deleted Files = 0 Bytes = 0
Files w/Errors = 0 Bytes = 0
Switch>
The following example shows how to display system image information:
Switch#
show slavebootflash:
-# - ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1.. image 8C5A393A 237E3C 14 2063804 Aug 23 1999 16:18:45 c4-boot-mz
2.. image D86EE0AD 957CE8 9 7470636 Sep 20 1999 13:48:49 rp.halley
Switch>
The following example shows how to display all bootflash information:
Switch#
show slavebootflash: all
-# - ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1.. image 8C5A393A 237E3C 14 2063804 Aug 23 1999 16:18:45 c4-boot-
mz
2.. image D86EE0AD 957CE8 9 7470636 Sep 20 1999 13:48:49 rp.halley
6456088 bytes available (9534696 bytes used)
-------- F I L E S Y S T E M S T A T U S --------
Device Number = 0
DEVICE INFO BLOCK: bootflash
Magic Number = 6887635 File System Vers = 10000 (1.0)
Length = 1000000 Sector Size = 40000
Programming Algorithm = 39 Erased State = FFFFFFFF
File System Offset = 40000 Length = F40000
MONLIB Offset = 100 Length = C628
Bad Sector Map Offset = 3FFF8 Length = 8
Squeeze Log Offset = F80000 Length = 40000
Squeeze Buffer Offset = FC0000 Length = 40000
Num Spare Sectors = 0
Spares:
STATUS INFO:
Writable
NO File Open for Write
Complete Stats
No Unrecovered Errors
No Squeeze in progress
USAGE INFO:
Bytes Used = 917CE8 Bytes Available = 628318
Bad Sectors = 0 Spared Sectors = 0
OK Files = 2 Bytes = 917BE8
Deleted Files = 0 Bytes = 0
Files w/Errors = 0 Bytes = 0
Switch>
show slaveslot0:
To display information about the file system on the standby supervisor engine, use the show slaveslot0: command.
show slot0: [ all | chips | filesys ]
Syntax Description
(Optional) Displays all flash info rmation including the output from the show slot0: chips and show slot0: filesys commands. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display a summary of the file system:
Switch#
show slaveslot0:
Switch>
The following example shows how to display flash chip info rmation :
#
show slaveslot0: chips
The following example shows how to display file system information:
Switch#
show slaveslot0: filesys
-------- F I L E S Y S T E M S T A T U S --------
Device Number = 0
DEVICE INFO BLOCK: slot0
Magic Number = 6887635 File System Vers = 10000 (1.0)
Length = 1000000 Sector Size = 20000
Programming Algorithm = 4 Erased State = FFFFFFFF
File System Offset = 20000 Length = FA0000
MONLIB Offset = 100 Length = F568
Bad Sector Map Offset = 1FFF0 Length = 10
Squeeze Log Offset = FC0000 Length = 20000
Squeeze Buffer Offset = FE0000 Length = 20000
Num Spare Sectors = 0
Spares:
STATUS INFO:
Writable
NO File Open for Write
Complete Stats
No Unrecovered Errors
No Squeeze in progress
USAGE INFO:
Bytes Used = 9F365C Bytes Available = 5AC9A4
Bad Sectors = 0 Spared Sectors = 0
OK Files = 1 Bytes = 9F35DC
Deleted Files = 0 Bytes = 0
Files w/Errors = 0 Bytes =
Switch>
show slot0:
To display information about the slot0: file system, use the show slot0: command.
show slot0: [ all | chips | filesys ]
Syntax Description
(Optional) Displays all flash info rmation including the output from the show slot0: chips and show slot0: filesys commands. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display a summary of the file system:
Switch#
show slot0:
Switch>
The following example shows how to display flash chip info rmation :
#
show slot0: chips
The following example shows how to display file system information:
Switch#
show slot0: filesys
-------- F I L E S Y S T E M S T A T U S --------
Device Number = 0
DEVICE INFO BLOCK: slot0
Magic Number = 6887635 File System Vers = 10000 (1.0)
Length = 1000000 Sector Size = 20000
Programming Algorithm = 4 Erased State = FFFFFFFF
File System Offset = 20000 Length = FA0000
MONLIB Offset = 100 Length = F568
Bad Sector Map Offset = 1FFF0 Length = 10
Squeeze Log Offset = FC0000 Length = 20000
Squeeze Buffer Offset = FE0000 Length = 20000
Num Spare Sectors = 0
Spares:
STATUS INFO:
Writable
NO File Open for Write
Complete Stats
No Unrecovered Errors
No Squeeze in progress
USAGE INFO:
Bytes Used = 9F365C Bytes Available = 5AC9A4
Bad Sectors = 0 Spared Sectors = 0
OK Files = 1 Bytes = 9F35DC
Deleted Files = 0 Bytes = 0
Files w/Errors = 0 Bytes = 0
Switch>
show spanning-tree
To display spanning-tree state information, use the show spanning-tree command.
show spanning-tree [ bridge_group | active | backbonefast | bridge [ id ] | inconsistentports | interface type | root | summary [ total ] | uplinkfast | vlan vlan_id | pathcost method | detail ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Examples
The following example shows how to display spanning-tree information on the active interfaces only:
Switch#
show spanning-tree active
UplinkFast is disabled
BackboneFast is disabled
VLAN1 is executing the ieee compatible Spanning Tree protocol
Bridge Identifier has priority 32768, address 0050.3e8d.6401
Configured hello time 2, max age 20, forward delay 15
Current root has priority 16384, address 0060.704c.7000
Root port is 265 (FastEthernet5/9), cost of root path is 38
Topology change flag not set, detected flag not set
Number of topology changes 0 last change occurred 18:13:54 ago
Times: hold 1, topology change 24, notification 2
hello 2, max age 14, forward delay 10
Timers: hello 0, topology change 0, notification 0
Port 265 (FastEthernet5/9) of VLAN1 is forwarding
Port path cost 19, Port priority 128, Port Identifier 129.9.
Designated root has priority 16384, address 0060.704c.7000
Designated bridge has priority 32768, address 00e0.4fac.b000
Designated port id is 128.2, designated path cost 19
Timers: message age 3, forward delay 0, hold 0
Number of transitions to forwarding state: 1
BPDU: sent 3, received 32852
The following example shows how to display the spanning-tree BackboneFast status:
BackboneFast statistics
-----------------------
Number of transition via backboneFast (all VLANs) : 0
Number of inferior BPDUs received (all VLANs) : 0
Number of RLQ request PDUs received (all VLANs) : 0
Number of RLQ response PDUs received (all VLANs) : 0
Number of RLQ request PDUs sent (all VLANs) : 0
Number of RLQ response PDUs sent (all VLANs) : 0
Switch#
The following example shows how to display spanning-tree information for the bridge:
The following example shows how to display a summary of interface information:
Switch#
show spanning-tree
The following example shows how to display spanning-tree information for Fast Ethernet interface 5/9:
Port path cost 100, Port priority 128
Designated root has priority 8192, address 0090.0c71.a400
Designated bridge has priority 32768, address 00e0.1e9f.8940
Designated port is 23, path cost 115
Timers: message age 0, forward delay 0, hold 0
BPDU: sent 0, received 0
The port is in the portfast mode
The following example shows how to display spanning-tree information for GigabitEthernet 3/13:
The following example shows how to display spanning-tree information for a specific VLAN:
Switch#
show spanning-tree vlan 1
The following example shows how to display spanning-tree information for a specific bridge group:
Switch#
show spanning-tree vlan 1
UplinkFast is disabled
BackboneFast is disabled
The following example shows how to display a summary of port states:
The following example shows how to display the total lines of the spanning-tree state section:
Switch#
show spanning-tree summary totals
Switch#
The following example shows how to determine whether any ports are in root inconsistent state:
Switch#
show spanning-tree inconsistentports
Switch#
Related Commands
|
|
---|---|
Prioritizes an interface when two bridges compete for position as the root bridge. |
|
show spanning-tree mst
To display MST protocol information, use the show spanning-tree mst command.
show spanning-tree mst [ configuration ]
show spanning-tree mst [ instance-id ] [ detail ]
show spanning-tree mst [ instance-id ] interface interface [ detail ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
In the output display of the show spanning-tree mst configuration command, a warning message might display. This message appears if you do not map secondary VLANs to the same instance as the associated primary VLAN. The display includes a list of the secondary VLANs that are not mapped to the same instance as the associated primary VLAN. The warning message is as follows:
See the show spanning-tree command for output definitions.
Examples
The following example shows how to display region configuration information:
Switch#
show spanning-tree mst configuration
The following example shows how to display additional MST protocol values:
The following example shows how to display MST information for a specific interface:
Related Commands
|
|
---|---|
Sets the path cost and port-priority parameters for any MST instance. |
|
Specifies the number of possible hops in the region before a BPDU is discarded. |
|
show storm-control
To display the broadcast storm control settings on the switch or on the specified interface, use the
show storm-control command.
show storm-control [ interface-id | broadcast ]
Supervisor Engine 6-E and Catalyst 4900M chassis
show storm-control [ interface-id | broadcast | multicast ]
Syntax Description
(Optional) Specifies the interface ID for the physical port. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Added support for the Supervisor Engine 6-E and Catalyst 4900M chassis. |
Usage Guidelines
When you enter an interface ID, the storm control thresholds are displayed for the specified interface.
If you do not enter an interface ID, the settings are displayed for the broadcast traffic type for all ports on the switch.
Examples
This is an example of output from the show storm-control command when no keywords are entered. Because no traffic type keyword was entered, the broadcast storm control settings are displayed.
This is an example of output from the show storm-control multicast command on a Supervisor Engine 6-E:
Interface Filter State Broadcast Multicast Level
--------- ------------- --------- --------- -----
This is an example of output from the show storm-control command on a Supervisor Engine 6-E when no keywords are entered:
Interface Filter State Broadcast Multicast Level
--------- ------------- --------- --------- -----
This is an example of output from the show storm-control command for a specified interface:
This is an example of output from the show storm-control command for a specified interface on a Supervisor Engine 6-E:
Table 2-40 describes the fields in the show storm-control display.
Related Commands
|
|
---|---|
Enables broadcast storm control on a port and specifies what to do when a storm occurs on a port. |
|
show switch virtual (virtual switch)
To display configuration and status information for a virtual switching system (VSS), use the show switch virtual command in EXEC mode.
show switch virtual [ dual-active { pagp | fast-hello | summary } | link [ counters | detail | port-channel | ports ] | redundancy | role | slot-map ]
Syntax Description
Specifies a summary of dual-active configuration information, |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Usage Guidelines
Use this command to display configuration and status information for a VSS.
The show switch virtual link detail command displays the output of the show switch virtual link commands and the show vslp lmp internal commands. In the output, the entry "show int" is displayed for all the VSL members.
The show switch virtual dual-active pagp command displays dual-active trust mode status.
Examples
The following example shows how to display configuration and status information for the VSS:
The following example shows how to display the virtual switch priority for local and peer switches:
The following example shows how to display the virtual switch link information:
The following example shows how to display the virtual switch link counter information:
The following example shows how to display the virtual switch link port-channel information:
The following example shows how to display the virtual switch link port information:
The following example shows how to display redundancy status information for each switch in the virtual switch:
-----------------------------------------------
Current Software state = RPR-Warm
Uptime in current state = 4 days, 17 hours, 36 minutes
Image Version =
CONFIG_FILE =
BOOTLDR =
Configuration register = 0x2
Fabric State = RPR-Warm
Control Plane State = RPR-Warm
-----------------------------------------------
Current Software state = RPR-Warm
Uptime in current state = 4 days, 17 hours, 36 minutes
Image Version =
CONFIG_FILE =
BOOTLDR =
Configuration register = 0x2
Fabric State = RPR-Warm
Control Plane State = RPR-Warm
The following example shows how to display role and configuration and status information for each switch in the virtual switch:
The following example shows how to display the virtual switch slot map table:
The following example shows how to display virtual switch priority for local and peer switches:
Related Commands
|
|
---|---|
Configures the VSS domain number and enter the virtual switch domain configuration submode. |
show system mtu
To display the global MTU setting, use the show system mtu command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the global MTU setting:
Related Commands
|
|
---|---|
show tech-support
To display troubleshooting information for TAC, use the show tech-support command.
show tech-support [ bridging | cef | ipmulticast | isis | password [ page ] | page ]
Syntax Description
(Optional) Includes passwords and other security information in the output. |
|
(Optional) Displays one page of information at a time in the output. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Output from the show tech-support command may be terminated in midstream with the key combination Ctrl+Alt+6. The command output is buffered so that the command terminates when output of the current subcommand running under this command completes.
Press the Return key to display the next line of output, or press the Space bar to display the next page of information. If you do not enter the page keyword, the output scrolls. It does not stop for page breaks.
If you enter the password keyword, password encryption is enabled, but only the encrypted form appears in the output.
If you do not enter the password keyword, the passwords and other security-sensitive information in the output are replaced in the output with the word “removed.”
The show tech-support commands are a compilation of several show commands and the output can be quite lengthy. For a sample display of the output of the show tech-support command, see the individual show command listed.
If you enter the show tech-support command without arguments, the output displays the equivalent of these show commands:
- show version
- show running-config
- show stacks
- show interfaces
- show controllers
- show process memory
- show process cpu
- show buffers
- show logging
- show module
- show power
- show environment
- show interfaces switchport
- show interfaces trunk
- show vlan
If you enter the ipmulticast keyword, the output displays the equivalent of these show commands:
Examples
For a sample display of the show tech-support command output, see the commands listed in the “Usage Guidelines” section for more information.
Related Commands
show udld
To display the administrative and operational UDLD status, use the show udld priviledged EXEC command.
show udld interface - id | neighbors | fast-hello {interface id}
Syntax Description
Specifies the administrative and operational UDLD status for a specific interface. |
|
Specifies Fast UDLD neighbor summary and interface specific status. |
|
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Added support for show udld fast-hello and show udld fast-hello interface id. |
Usage Guidelines
If you do not enter an interface_id value, the administrative and operational UDLD status for all interfaces is displayed.
Examples
To verify status for a particular link as reported by UDLD, enter the following command:
To verify link status as reported by UDLD, enter the following command:
To verify Fast UDLD configuration, enter the following command:
To verify status for a particular link as reported by Fast UDLD, enter the following command:
Related Commands
|
|
---|---|
Enables aggressive or normal mode in the UDLD protocol and sets the configurable message timer time. |
|
Enables UDLD on an individual interface or prevents a fiber interface from being enabled by the udld (global configuration mode) command. |
show vlan
To display VLAN information, use the show vlan command.
show vlan [ brief | id vlan_id | name name ]
show vlan private-vlan [ type ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
|
Examples
The following example shows how to display the VLAN parameters for all VLANs within the administrative domain:
Switch#
show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa5/9
2 VLAN0002 active Fa5/9
3 VLAN0003 active Fa5/9
4 VLAN0004 active Fa5/9
5 VLAN0005 active Fa5/9
6 VLAN0006 active Fa5/9
10 VLAN0010 active Fa5/9
20 VLAN0020 active Fa5/9
<...Output truncated...>
850 VLAN0850 active Fa5/9
917 VLAN0917 active Fa5/9
999 VLAN0999 active Fa5/9
1002 fddi-default active Fa5/9
1003 trcrf-default active Fa5/9
1004 fddinet-default active Fa5/9
1005 trbrf-default active Fa5/9
<...Output truncated...>
Switch#
The following example shows how to display the VLAN name, status, and associated ports only:
Switch#
show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa5/9
2 VLAN0002 active Fa5/9
3 VLAN0003 active Fa5/9
4 VLAN0004 active Fa5/9
5 VLAN0005 active Fa5/9
10 VLAN0010 active Fa5/9
.
.
.
999 VLAN0999 active Fa5/9
1002 fddi-default active Fa5/9
1003 trcrf-default active Fa5/9
1004 fddinet-default active Fa5/9
1005 trbrf-default active Fa5/9
Switch#
The following example shows how to display the VLAN parameters for VLAN 3 only:
Switch#
show vlan id 3
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
3 VLAN0003 active Fa5/9
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
3 enet 100003 1500 - - - - - 303 0
Switch#
Table 2-41 describes the fields in the show vlan command output.
|
|
---|---|
The following example shows how to verify that the primary VLAN and secondary VLANs are correctly associated with each other and the same association also exists on the PVLAN port:
The following example shows how to remove the VLAN association:
This example show how to verify PVLAN configuration on the interface:
Related Commands
|
|
---|---|
show vlan access-map
To display the contents of a VLAN access map, use the show vlan access-map command.
show vlan access-map [ map-name ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
This command shows how to display the contents of a VLAN access map:
Related Commands
|
|
---|---|
Enters VLAN access-map command mode to create a VLAN access map. |
show vlan counters
To display the software-cached counter values, use the show vlan counters command.
show vlan [ id vlanid ] counters
Syntax Description
(Optional) Displays the software-cached counter values for a specific VLAN. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switches. |
Usage Guidelines
If you enter the show vlan counters command without specifying the VLAN ID, the software-cached counter values for all VLANs are displayed.
Examples
The following example shows how to display the software-cached counter values for a specific VLAN:
#
show vlan counters
Related Commands
|
|
---|---|
Clears the software-cached counter values to start from zero again for a specified VLAN or all existing VLANs. |
show vlan dot1q tag native
To display all the ports on the switch that are eligible for native VLAN tagging as well as their current native VLAN tagging status, use the show vlan dot1q tag native command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
This is an example of output from the show vlan dot1q tag native command:
#
show vlan dot1q tag native
Related Commands
|
|
---|---|
vlan (global configuration) (refer to Cisco IOS documentation) |
|
vlan (VLAN configuration) (refer to Cisco IOS documentation) |
show vlan group
To display the VLANs mapped to VLAN groups, use the show vlan group privildeged EXEC command.
show vlan group [ group-name group-name ]
Syntax Description
(Optional) Displays the VLANs mapped to the specified VLAN group. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was modified to support user distribution on the Catalyst 4500 series switch. |
Usage Guidelines
The show vlan group command displays the existing VLAN groups and lists the VLANs and VLAN ranges that are members of each VLAN group. If you use the group-name keyword, you display only the members of the VLAN group specified by the group-name argument.
Examples
The following example shows how to display the members of a specified VLAN group:
Related Commands
|
|
---|---|
show vlan internal usage
To display information about the internal VLAN allocation, use the show vlan internal usage command.
show vlan [ id vlan-id ] internal usage
Syntax Description
(Optional) Displays internal VLAN allocation information for the specified VLAN; valid values are from 1 to 4094. |
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display information about the current internal VLAN allocation:
#
show vlan internal usage
The following example shows how to display information about the internal VLAN allocation for a specific VLAN:
#
show vlan id 1030 internal usage
Related Commands
|
|
---|---|
show vlan mapping
Use the show vlan mapping privileged EXEC command to display information about VLAN mapping on trunk ports.
show vlan mapping [ interface interface-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude outpu t, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is a sample output from the show vlan mapping command:
This is a sample output from the show vlan mapping command for an interface:
Related Commands
|
|
---|---|
show vlan mtu
To display the minimum and maximum transmission unit (MTU) sizes of each VLAN, use the show vlan mtu command.
Syntax Description
Command Default
Command Modes
Command History
|
|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The MTU_Mismatch column in the command output indicates whether all the ports in the VLAN have the same MTU. When “yes” is displayed in the MTU_Mismatch column, it means that the VLAN has a port with different MTUs, and packets might be dropped that are switched from a port with a larger MTU to a port with a smaller MTU. If the VLAN does not have an SVI, the hyphen (-) symbol is displayed in the SVI_MTU column.
For a VLAN, if the MTU-Mismatch column displays “yes,” the names of the port with the MinMTU and the port with the MaxMTU are displayed. For a VLAN, if the SVI_MTU is bigger than the MinMTU, “TooBig” is displayed after the SVI_MTU.
Examples
This is an example of output from the show vlan mtu command:
Switch#
show vlan mtu
VLAN SVI_MTU MinMTU(port) MaxMTU(port) MTU_Mismatch
---- ------------- ------------- ------------ ------------
1 1500 1500 1500 No
Switch>
Related Commands
|
|
---|---|
Enables jumbo frames on an interface by adjusting the maximum size of a packet or maximum transmission unit (MTU). |
show vlan private-vlan
To display private VLAN information, use the show vlan private-vlan command.
show vlan private-vlan [ type ]
Syntax Description
(Optional) Displays the private VLAN type; valid types are isolated, primary, community, twoway-community nonoperational, and normal. |
Command Default
Command Modes
Command History
Usage Guidelines
When the show vlan private-vlan type command displays a VLAN type as normal, it indicates that a regular VLAN has been used in the private VLAN configuration. When normal is displayed, this indicates that two VLANs have been associated before the type was set, and the private VLAN is not operational. This information is useful for debugging purposes.
Examples
The following example shows how to display information about all currently configured private VLANs:
Switch#
show vlan private-vlan
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
2 301 community Fa5/3, Fa5/25
2 302 community
2 303 community Fa5/3, Po63
10 community
100 101 isolated
150 151 non-operational
202 community
303 twoway-community
401 402 non-operational
Switch#
Note A blank Primary value indicates that no association exists.
The following example shows how to display information about all currently configured private VLAN types:
Switch#
show vlan private-vlan type
Switch#
Table 2-42 describes the fields in the show vlan private-vlan command output.
|
|
---|---|
Type of VLAN; possible values are primary, isolated, community, nonoperational, or normal. |
Related Commands
show vlan remote-span
To display a list of Remote SPAN (RSPAN) VLANs, use the show vlan remote-span command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switches. |
Examples
The following example shows how to display a list of RSPAN VLANs:
Router#
show vlan remote-span
Related Commands
|
|
---|---|
show vmps
To display the VLAN Query Protocol (VQP) version, reconfirmation interval, retry count, VLAN Membership Policy Server (VMPS) IP addresses, current servers, and primary servers, use the show vmps command.
Syntax Description
Command Default
Command Modes
Command History
|
|
This command was introduced on the Catalyst 4500 series switch. |
Examples
This is an example of output from the show vmps command:
This is an example of output from the show vmps statistics command:
Related Commands
|
|
---|---|
Sends VLAN Query Protocol (VQP) queries to reconfirm all the dynamic VLAN assignments with the VLAN Membership Policy Server (VMPS). |
show vslp (virtual switch)
To display Virtual Switch Link Protocol (VSLP) instance information, use the show vslp command in EXEC mode.
show vslp {lmp | rrp [type]} | {instances | lmp [type] | packet [counters] | rrp [type]}
Syntax Description
Specifies the type of information; see the "Usage Guidelines" section for valid values. |
|
Command Default
Command Modes
Command History
|
|
This command was introduced on the Catalyst 4500 series switch. |
Usage Guidelines
The valid values for the type argument are as follows:
- counters—Displays counter information.
- detail—Displays detailed information.
- fsm—Displays Finite State Machine (FSM) information.
- neighbors—Displays neighbor information (supported with the lmp keyword only).
- status—Displays status information.
- summary—Displays a summary of information.
- timer—Displays Tx and Rx hello timer values.
The timers already displayed in the show vslp lmp timers output are shown in the output of the show vslp lmp summary command.
The output of the show vslp rrp detail command includes the information from the following commands:
Examples
The following example shows how to display a summary of LMP information for a specific VSLP instance.
The following example shows how to displays the VSLP instance mappings.
The following example shows how to display LMP neighbor information:
The following example shows how to display a summary of LMP information:
The following examples shows how to display the LMP Tx and Rx hello timer values:
The following example shows how to display VSLP packet information:
The following example shows how to display VSLP packet counter information:
The following example shows how to display a summary of RRP information:
show vtp
To display VTP statistics and domain information, use the show vtp command.
show vtp { counters | status }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
This command was introduced on the Catalyst 4500 series switch. |
Examples
The following example shows how to display the VTP statistics:
Switch#
show vtp counters
VTP statistics:
Summary advertisements received : 1
Subset advertisements received : 1
Request advertisements received : 0
Summary advertisements transmitted : 31
Subset advertisements transmitted : 1
Request advertisements transmitted : 0
Number of config revision errors : 0
Number of config digest errors : 0
Number of V1 summary errors : 0
VTP pruning statistics:
Trunk Join Transmitted Join Received Summary advts received from
non-pruning-capable device
---------------- ---------------- ---------------- ---------------------------
Fa5/9 1555 1564 0
Switch#
The following example shows how to display the VTP domain status:
Switch#
The following example shows how to display only those lines in the show vtp output that contain the word Summary:
Table 2-43 describes the fields in the show vtp command output.
Related Commands
|
|
---|---|