|
|
2
Use the show catalyst6000 command to display Catalyst 6000 family switch information.
show catalyst6000 {all | chassis-mac-address | traffic-meter} [ | {begin | exclude | include} expression]
Syntax Description
all Keyword to display the chassis MAC address ranges and the current and peak traffic meter readings. chassis-mac-address Keyword to display the chassis MAC address range. traffic-meter Keyword to display current and peak traffic meter readings. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
The default setting is all.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display chassis MAC address ranges and the current and peak traffic meter readings:
Router>show catalyst6000 allchassis MAC addresses: 1024 addresses from 0050.3e8d.6400 to 0050.3e8d.6800traffic meter = 0% peak = 0% at 12:58:36 UTC Tue Oct 12 1999Router>
This example shows how to display the range of chassis MAC addresses:
Router#show catalyst6000 chassis-mac-addresschassis MAC addresses: 1024 addresses from 00-50-3E-8D-64-00 to 00-50-3E-8D-68-00Router#
This example shows how to display current and peak traffic meter readings:
Router>show catalyst6000 traffic-meter traffic meter = 0% peak = 0% at 12:57:16 UTC Tue Oct 12 1999Router#
Use the show environment alarm command to display environmental alarms information.
show environment alarm [{status | threshold} [frutype]] [ | {begin | exclude | include} expression]
Syntax Description
status (Optional) Keyword to display operational FRU status. threshold (Optional) Keyword to display the preprogrammed alarm thresholds. frutype (Optional) Alarm type; valid values are all, backplane, clock number, earl slot, fan-tray, module slot, rp slot, power-supply number, supervisor slot, and vtt number. See the "" section for a list of valid values for the number and slot. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
If you do not enter a frutype, all environmental alarm status information is displayed.
Command Modes
User EXEC mode.
Valid values for the frutype are:
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display all environmental alarm status information:
Router>show environment alarm thresholdenvironmental alarm thresholds:power-supply 1 fan-fail: OKthreshold #1 for power-supply 1 fan-fail:(sensor value != 0) is system minor alarmpower-supply 1 power-output-fail: OKthreshold #1 for power-supply 1 power-output-fail:(sensor value != 0) is system minor alarmfantray fan operation sensor: OKthreshold #1 for fantray fan operation sensor:(sensor value != 0) is system minor alarmoperating clock count: 2threshold #1 for operating clock count:(sensor value < 2) is system minor alarmthreshold #2 for operating clock count:(sensor value < 1) is system major alarmoperating VTT count: 3threshold #1 for operating VTT count:(sensor value < 3) is system minor alarmthreshold #2 for operating VTT count:(sensor value < 2) is system major alarmVTT 1 OK: OKthreshold #1 for VTT 1 OK:(sensor value != 0) is system minor alarmVTT 2 OK: OKthreshold #1 for VTT 2 OK:(sensor value != 0) is system minor alarmVTT 3 OK: OKthreshold #1 for VTT 3 OK:(sensor value != 0) is system minor alarmclock 1 OK: OKthreshold #1 for clock 1 OK:(sensor value != 0) is system minor alarmclock 2 OK: OKthreshold #1 for clock 2 OK:(sensor value != 0) is system minor alarmmodule 1 power-output-fail: OKthreshold #1 for module 1 power-output-fail:(sensor value != 0) is system major alarmmodule 1 outlet temperature: 21Cthreshold #1 for module 1 outlet temperature:(sensor value > 60) is system minor alarmthreshold #2 for module 1 outlet temperature:(sensor value > 70) is system major alarmmodule 1 inlet temperature: 25Cthreshold #1 for module 1 inlet temperature:(sensor value > 60) is system minor alarmthreshold #2 for module 1 inlet temperature:(sensor value > 70) is system major alarmmodule 1 device-1 temperature: 30Cthreshold #1 for module 1 device-1 temperature:(sensor value > 60) is system minor alarmthreshold #2 for module 1 device-1 temperature:(sensor value > 70) is system major alarmmodule 1 device-2 temperature: 29Cthreshold #1 for module 1 device-2 temperature:(sensor value > 60) is system minor alarmthreshold #2 for module 1 device-2 temperature:(sensor value > 70) is system major alarmmodule 5 power-output-fail: OKthreshold #1 for module 5 power-output-fail:(sensor value != 0) is system major alarmmodule 5 outlet temperature: 26Cthreshold #1 for module 5 outlet temperature:(sensor value > 60) is system minor alarmthreshold #2 for module 5 outlet temperature:(sensor value > 75) is system major alarmmodule 5 inlet temperature: 23Cthreshold #1 for module 5 inlet temperature:(sensor value > 50) is system minor alarmthreshold #2 for module 5 inlet temperature:(sensor value > 65) is system major alarmEARL 1 outlet temperature: N/Othreshold #1 for EARL 1 outlet temperature:(sensor value > 60) is system minor alarmthreshold #2 for EARL 1 outlet temperature:(sensor value > 75) is system major alarmEARL 1 inlet temperature: N/Othreshold #1 for EARL 1 inlet temperature:(sensor value > 50) is system minor alarmthreshold #2 for EARL 1 inlet temperature:(sensor value > 65) is system major alarmRouter>
Related Commands
show environment status
show environment temperature
Use the show environment status command to display operational FRU status information.
show environment status [fru-type] [ | {begin | exclude | include} expression]
Syntax Description
fru-type (Optional) FRU type; see the "" section for a list of valid values for number and slot. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
If you do not enter a frutype, all FRU status information is displayed.
Command Modes
User EXEC mode.
Valid values for the frutype are:
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display all environment status information:
Router>show environment statusbackplane:operating clock count: 2operating VTT count: 3fan-tray:fantray fan operation sensor: OKVTT 1:VTT 1 OK: OKVTT 2:VTT 2 OK: OKVTT 3:VTT 3 OK: OKclock 1:clock 1 OK: OK, clock 1 clock-inuse: not-in-useclock 2:clock 2 OK: OK, clock 2 clock-inuse: in-usepower-supply 1:power-supply 1 fan-fail: OKpower-supply 1 power-output-fail: OKmodule 1:module 1 power-output-fail: OKmodule 1 outlet temperature: 21Cmodule 1 inlet temperature: 25Cmodule 1 device-1 temperature: 30Cmodule 1 device-2 temperature: 29CEARL 1 outlet temperature: N/OEARL 1 inlet temperature: N/Omodule 5:module 5 power-output-fail: OKmodule 5 outlet temperature: 26Cmodule 5 inlet temperature: 23Cmodule 5 device-1 temperature: 26Cmodule 5 device-2 temperature: 27CRouter>
This example shows how to display environment status information beginning with the line that starts with power-supply 1:
Router>show environment status | begin power-supply 1power-supply 1:power-supply 1 fan-fail: OKpower-supply 1 power-output-fail: OKmodule 1:module 1 power-output-fail: OKmodule 1 outlet temperature: 21Cmodule 1 inlet temperature: 25Cmodule 1 device-1 temperature: 30Cmodule 1 device-2 temperature: 29CEARL 1 outlet temperature: N/OEARL 1 inlet temperature: N/Omodule 5:module 5 power-output-fail: OKmodule 5 outlet temperature: 26Cmodule 5 inlet temperature: 23Cmodule 5 device-1 temperature: 26Cmodule 5 device-2 temperature: 27CRouter>
Related Commands
show environment status
show environment temperature
Use the show environment termperature command to display current temperature readings.
show environment termperature [frutype] [ | {begin | exclude | include} expression]
Syntax Description
frutype (Optional) FRU type; valid values are all, backplane, earl slot, module slot, rp slot, and vtt number. See the "" section for a list of valid values for number and slot. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
If you do not enter a frutype, module and EARL temperature readings are displayed.
Command Modes
User EXEC mode.
Valid values for the frutype are:
In the output display, the following applies:
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display temperature information for a specific module:
Router>show environment temperature module 5module 5 outlet temperature: 26Cmodule 5 inlet temperature: 23Cmodule 5 device-1 temperature: 26Cmodule 5 device-2 temperature: 27CRouter>
This example shows how to display temperature readings for all modules:
Router>show environment temperaturemodule 1 outlet temperature: 21Cmodule 1 inlet temperature: 24Cmodule 1 device-1 temperature: 30Cmodule 1 device-2 temperature: 29CEARL 1 outlet temperature: 28CEARL 1 inlet temperature: 28Cmodule 5 outlet temperature: 26Cmodule 5 inlet temperature: 23Cmodule 5 device-1 temperature: 26Cmodule 5 device-2 temperature: 27CRouter>
Related Commands
show environment alarm
show environment status
Use the show eobc command to display EOBC interface information.
show eobc [ | {begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
User EXEC mode.
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display EOBC information:
Router>show eobcEOBC0/0 is up, line protocol is upHardware is DEC21143, address is 0000.2100.0000 (bia 0000.2100.0000)MTU 0 bytes, BW 100000 Kbit, DLY 100 usec,reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setKeepalive not setUnknown duplex, Unknown Speed, MIIARP type: ARPA, ARP Timeout 04:00:00Last input never, output 00:00:00, output hang neverLast clearing of "show interface" counters neverQueueing strategy: fifoOutput queue 0/40, 0 drops; input queue 25/2147483647, 0 drops5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec172196 packets input, 11912131 bytesReceived 0 broadcasts, 0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored0 watchdog, 0 multicast0 input packets with dribble condition detected172144 packets output, 11363476 bytes, 0 underruns0 output errors, 0 collisions, 1 interface resets0 babbles, 0 late collision, 0 deferred0 lost carrier, 0 no carrier0 output buffer failures, 0 output buffers swapped outInterface EOBC0/0Hardware is DEC21143dec21140_ds=0x618FB938, registers=0x3C018000, ib=0x38A9180rx ring entries=128, tx ring entries=256, af setup failed=0rxring=0x38A9280, rxr shadow=0x618FBB20, rx_head=28, rx_tail=0txring=0x38A9AC0, txr shadow=0x618FBD4C, tx_head=72, tx_tail=72, tx_count=0PHY link upCSR0=0xF8024882, CSR1=0xFFFFFFFF, CSR2=0xFFFFFFFF, CSR3=0x38A9280CSR4=0x38A9AC0, CSR5=0xF0660000, CSR6=0x320CA002, CSR7=0xF3FFA261CSR8=0xE0000000, CSR9=0xFFFDC3FF, CSR10=0xFFFFFFFF, CSR11=0x0CSR12=0xC6, CSR13=0xFFFF0000, CSR14=0xFFFFFFFF, CSR15=0x8FF80000DEC21143 PCI registers:bus_no=0, device_no=6CFID=0x00191011, CFCS=0x02800006, CFRV=0x02000041, CFLT=0x0000FF00CBIO=0x20000801, CBMA=0x48018000, CFIT=0x28140120, CFDD=0x00000400MII registers:Register 0x00: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFFRegister 0x08: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFFRegister 0x10: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFFRegister 0x18: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFFthrottled=0, enabled=0, disabled=0rx_fifo_overflow=0, rx_no_enp=0, rx_discard=0tx_underrun_err=0, tx_jabber_timeout=0, tx_carrier_loss=0tx_no_carrier=0, tx_late_collision=0, tx_excess_coll=0tx_collision_cnt=0, tx_deferred=0, fatal_tx_err=0, tbl_overflow=0HW addr filter: 0x38D2EE0, ISL DisabledEntry= 0: Addr=0000.0000.0000Entry= 1: Addr=0000.0000.0000Entry= 2: Addr=0000.0000.0000Entry= 3: Addr=0000.0000.0000Entry= 4: Addr=0000.0000.0000Entry= 5: Addr=0000.0000.0000Entry= 6: Addr=0000.0000.0000Entry= 7: Addr=0000.0000.0000Entry= 8: Addr=0000.0000.0000Entry= 9: Addr=0000.0000.0000Entry=10: Addr=0000.0000.0000Entry=11: Addr=0000.0000.0000Entry=12: Addr=0000.0000.0000Entry=13: Addr=0000.0000.0000Entry=14: Addr=0000.0000.0000Entry=15: Addr=0000.2100.0000Router>
This example shows how to display EOBC status information, except for lines that contain the word output:
Router>show eobc | exclude outputEOBC0/0 is up, line protocol is upHardware is DEC21143, address is 0000.2100.0000 (bia 0000.2100.0000)MTU 0 bytes, BW 100000 Kbit, DLY 100 usec,reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setKeepalive not setUnknown duplex, Unknown Speed, MIIARP type: ARPA, ARP Timeout 04:00:00Last clearing of "show interface" counters neverQueueing strategy: fifoOutput queue 0/40, 0 drops; input queue 25/2147483647, 0 drops5 minute input rate 0 bits/sec, 0 packets/sec175919 packets input, 12196443 bytesReceived 0 broadcasts, 0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored0 watchdog, 0 multicast0 input packets with dribble condition detected0 babbles, 0 late collision, 0 deferred0 lost carrier, 0 no carrierInterface EOBC0/0Hardware is DEC21143dec21140_ds=0x618FB938, registers=0x3C018000, ib=0x38A9180rx ring entries=128, tx ring entries=256, af setup failed=0rxring=0x38A9280, rxr shadow=0x618FBB20, rx_head=7, rx_tail=0txring=0x38A9AC0, txr shadow=0x618FBD4C, tx_head=209, tx_tail=209, tx_count=0PHY link upCSR0=0xF8024882, CSR1=0xFFFFFFFF, CSR2=0xFFFFFFFF, CSR3=0x38A9280CSR4=0x38A9AC0, CSR5=0xF0660000, CSR6=0x320CA002, CSR7=0xF3FFA261CSR8=0xE0000000, CSR9=0xFFFDC3FF, CSR10=0xFFFFFFFF, CSR11=0x0CSR12=0xC6, CSR13=0xFFFF0000, CSR14=0xFFFFFFFF, CSR15=0x8FF80000DEC21143 PCI registers:bus_no=0, device_no=6CFID=0x00191011, CFCS=0x02800006, CFRV=0x02000041, CFLT=0x0000FF00CBIO=0x20000801, CBMA=0x48018000, CFIT=0x28140120, CFDD=0x00000400MII registers:Register 0x00: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFFRegister 0x08: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFFRegister 0x10: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFFRegister 0x18: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFFthrottled=0, enabled=0, disabled=0rx_fifo_overflow=0, rx_no_enp=0, rx_discard=0tx_underrun_err=0, tx_jabber_timeout=0, tx_carrier_loss=0tx_no_carrier=0, tx_late_collision=0, tx_excess_coll=0tx_collision_cnt=0, tx_deferred=0, fatal_tx_err=0, tbl_overflow=0HW addr filter: 0x38D2EE0, ISL Disabled Entry= 0: Addr=0000.0000.0000 Entry= 1: Addr=0000.0000.0000 Entry= 2: Addr=0000.0000.0000 Entry= 3: Addr=0000.0000.0000 Entry= 4: Addr=0000.0000.0000 Entry= 5: Addr=0000.0000.0000 Entry= 6: Addr=0000.0000.0000 Entry= 7: Addr=0000.0000.0000 Entry= 8: Addr=0000.0000.0000 Entry= 9: Addr=0000.0000.0000 Entry=10: Addr=0000.0000.0000 Entry=11: Addr=0000.0000.0000 Entry=12: Addr=0000.0000.0000 Entry=13: Addr=0000.0000.0000 Entry=14: Addr=0000.0000.0000 Entry=15: Addr=0000.2100.0000 Router>
Use the show errdisable recovery command to display errdisable recovery timer information.
show errdisable recovery [ | {begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display error disable recovery timer information:
Router#show errdisable recoveryErrDisable Reason Timer Status----------------- --------------udld Enabledbpduguard Enabledrootguard Enabledpagp-flap Enableddtp-flap Enabledlink-flap EnabledTimer interval:300 secondsInterfaces that will be enabled at the next timeout:Interface Errdisable reason Time left(sec)--------- ----------------- --------------Fa9/4 link-flap 279
Related Commands
errdisable recovery
show interfaces status
Use the show etherchannel command to display EtherChannel information for a channel.
show etherchannel [channel-group] {port-channel | brief | detail | summary | port | load-balance} [ | {begin | exclude | include} expression]
Syntax Description
channel-group (Optional) Number of the channel group; valid values are from 1 to 256. port-channel Keyword to display port-channel information. brief Keyword to display a summary of EtherChannel information. detail Keyword to display detailed EtherChannel information. summary Keyword to display a one-line summary per channel-group. port Keyword to display EtherChannel port information. load-balance Keyword to display load-balance information. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
If you do not specify a channel-group, all channel groups are displayed.
In the output, 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).
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display port-channel information for a specific group:
Router#show etherchannel 1 port-channelPort-channels in the group:----------------------Port-channel: Po1------------Age of the Port-channel = 02h:35m:26sLogical slot/port = 10/1 Number of ports in agport = 0GC = 0x00000000 HotStandBy port = nullPassive port list = Fa5/4 Fa5/5Port state = Port-channel L3-Ag Ag-Not-InusePorts in the Port-channel:Index Load Port-------------------Router#
This example shows how to display load-balancing information:
Router# show etherchannel load-balance
Source XOR Destination mac addressRouter#
This example shows how to display a summary of information for a specific group:
Router#show etherchannel 1 briefGroup state = L3Ports: 2 Maxports = 8port-channels: 1 Max port-channels = 1Router#
This example shows how to display detailed information for a specific group:
Router#show etherchannel 1 detailGroup state = L3Ports: 2 Maxports = 8Port-channels: 1 Max Port-channels = 1Ports in the group:-------------------Port: Fa5/4------------Port state = EC-Enbld Down Not-in-Bndl Usr-ConfigChannel group = 1 Mode = Desirable Gcchange = 0Port-channel = null GC = 0x00000000 Psudo-agport = Po1Port indx = 0 Load = 0x00Flags: 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 GroupPort Flags State Timers Interval Count Priority Method IfindexFa5/4 d U1/S1 1s 0 128 Any 0Age of the port in the current state: 02h:33m:14sPort: Fa5/5------------Port state = EC-Enbld Down Not-in-Bndl Usr-ConfigChannel group = 1 Mode = Desirable Gcchange = 0Port-channel = null GC = 0x00000000 Psudo-agport = Po1Port indx = 0 Load = 0x00Flags: 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 GroupPort Flags State Timers Interval Count Priority Method IfindexFa5/5 d U1/S1 1s 0 128 Any 0Age of the port in the current state: 02h:33m:17sPort-channels in the group:----------------------Port-channel: Po1------------Age of the Port-channel = 02h:33m:52sLogical slot/port = 10/1 Number of ports in agport = 0GC = 0x00000000 HotStandBy port = nullPassive port list = Fa5/4 Fa5/5Port state = Port-channel L3-Ag Ag-Not-InusePorts in the Port-channel:Index Load Port-------------------Router#
This example shows how to display a one-line summary per channel-group:
Router# show etherchannel summary
U-in use I-in port-channel S-suspended D-down i-stand-alone d-default
Group Port-channel Ports
----- ------------ ----------------------------------------------------------
1 Po1(U) Fa5/4(I) Fa5/5(I)
2 Po2(U) Fa5/6(I) Fa5/7(I)
255 Fa5/9(i)
256 Fa5/8(i)
Router#
This example shows how to display EtherChannel port information for all ports and all groups:
Router#show etherchannel portChannel-group listing:-----------------------Group: 1----------Ports in the group:-------------------Port: Fa5/4------------Port state = EC-Enbld Down Not-in-Bndl Usr-ConfigChannel group = 1 Mode = Desirable Gcchange = 0Port-channel = null GC = 0x00000000 Psudo-agport = Po1Port indx = 0 Load = 0x00Flags: 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 GroupPort Flags State Timers Interval Count Priority Method IfindexFa5/4 d U1/S1 1s 0 128 Any 0Age of the port in the current state: 02h:40m:35sPort: Fa5/5------------Port state = EC-Enbld Down Not-in-Bndl Usr-ConfigChannel group = 1 Mode = Desirable Gcchange = 0Port-channel = null GC = 0x00000000 Psudo-agport = Po1Port indx = 0 Load = 0x00Flags: 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:40m:45s<...output truncated...>Router#
Related Commands
channel-group
interface port-channel
Use the show fm features command to display general feature manager information.
show fm features [ | {begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display general feature manager information:
Router>show fm featuresDesignated MSFC:1 Non-designated MSFC:1Redundancy Status:designatedInterface:FastEthernet2/10 IP is enabledhw[EGRESS] = 1, hw[INGRESS] = 1hw_force_default[EGRESS] = 0, hw_force_default[INGRESS] = 0mcast = 0priority = 2reflexive = 0inbound label:1protocol:ipfeature #:1feature id:FM_IP_ACCESSACL:106outbound label:2protocol:ipfeature #:1feature id:FM_IP_ACCESSACL:106Interface:FastEthernet2/26 IP is enabledhw[EGRESS] = 1, hw[INGRESS] = 0hw_force_default[EGRESS] = 0, hw_force_default[INGRESS] = 1mcast = 0priority = 2reflexive = 0inbound label:24protocol:ipfeature #:1feature id:FM_IP_ACCESSACL:113outbound label:3protocol:ipfeature #:1 featureid:FM_IP_WCCPService ID:0Service Type:0Interface:Vlan55 IP is enabledhw[EGRESS] = 1, hw[INGRESS] = 1hw_force_default[EGRESS] = 0, hw_force_default[INGRESS] = 0mcast = 0priority = 2reflexive = 0inbound label:4protocol:ipfeature #:1feature id:FM_IP_ACCESSACL:111Interface:Vlan101 IP is enabledhw[EGRESS] = 1, hw[INGRESS] = 1hw_force_default[EGRESS] = 0, hw_force_default[INGRESS] = 0mcast = 0priority = 2reflexive = 0inbound label:5protocol:ipfeature #:1feature id:FM_IP_ACCESSACL:101outbound label:6protocol:ipfeature #:1feature id:FM_IP_ACCESSACL:101Router>
This example shows how to display lines of general feature manager information beginning with the line that begins with Redundancy:
Router>show fm features | begin RedundancyRedundancy Status: designatedRouter>
Use the show fm interface command to display detailed feature manager information on a per-interface basis.
show fm interface {{Ethernet interface-number} | {FastEthernet interface-number} | {GigabitEthernet interface-number} | {Null interface-number} | {Port-channel number} | {Vlan vlan}} [ | {begin | exclude | include} expression]
Syntax Description
Ethernet interface-number Keyword and variable to specify the Ethernet 802.3 interface; valid values are from 1 to 9. FastEthernet interface-number Keyword and variable to specify the Fast Ethernet 802.3 interface; valid values are from 1 to 9. GigabitEthernet interface-number Keyword and variable to specify the Gigabit Ethernet 802.3z interface; valid values are from 1 to 9. Null interface-number Keyword and variable to specify the null interface; valid value is 0. Port-channel number Keyword and variable to specify the channel interface; valid values are from 0 to 256. Vlan vlan Keyword and variable to specify the VLAN; valid values are from 1 to 1000. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display detailed feature manager information on a specified interface:
Router>show fm interface fastethernet 2/26Interface:FastEthernet2/26 IP is enabledhw[EGRESS] = 1, hw[INGRESS] = 0hw_force_default[EGRESS] = 0, hw_force_default[INGRESS] = 1mcast = 0priority = 2reflexive = 0inbound label:24protocol:ipfeature #:1feature id:FM_IP_ACCESSACL:113vmr IP value #1:0, 0, 0, 0, 0, 0, 0, 6 - 1vmr IP mask #1:0, 0, FFFF, FFFF, 0, 0, 0, FFvmr IP value #2:642D4122, 0, 0, 0, 1, 0, 0, 6 - 1vmr IP mask #2:FFFFFFFF, 0, 0, 0, 1, 0, 0, FFvmr IP value #3:0, 64020302, 0, 0, 6, 0, 0, 6 - 1vmr IP mask #3:0, FFFFFFFF, 0, 0, 6, 0, 0, FFvmr IP value #4:0, 64020302, 0, 0, A, 0, 0, 6 - 1vmr IP mask #4:0, FFFFFFFF, 0, 0, A, 0, 0, FFvmr IP value #5:0, 64020302, 0, 0, 12, 0, 0, 6 - 1vmr IP mask #5:0, FFFFFFFF, 0, 0, 12, 0, 0, FFvmr IP value #6:0, 0, 0, 0, 0, 0, 0, 0 - 2vmr IP mask #6:0, 0, 0, 0, 0, 0, 0, 0outbound label:3protocol:ipfeature #:1feature id:FM_IP_WCCPService ID:0Service Type:0Router>
Use the show fm reflexive command to display dynamic feature manager reflexive entry information.
show fm reflexive [ | {begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display dynamic feature manager reflexive entry information:
Router#show fm reflexiveReflexive hash table:Vlan613:refacl, OUT-REF, 64060E0A, 64060D0A, 0, 0, 7, 783, 6Router#
Use the show fm summary command to display a summary of feature manager information.
show fm summary [ | {begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display a summary of feature manager information:
Router#show fm summaryInterface:FastEthernet2/10TCAM screening for features is ACTIVE outboundTCAM screening for features is ACTIVE inboundInterface:FastEthernet2/26TCAM screening for features is ACTIVE outboundTCAM screening for features is INACTIVE inboundInterface:Vlan55TCAM screening for features is ACTIVE inboundInterface:Vlan101TCAM screening for features is ACTIVE outboundTCAM screening for features is ACTIVE inboundInterface:Vlan102TCAM screening for features is ACTIVE outboundTCAM screening for features is ACTIVE inboundInterface:Vlan103TCAM screening for features is ACTIVE outboundTCAM screening for features is ACTIVE inbound.. .Router#
Use the show icc command to display ICC counter and status information.
show icc {counters | status} [ | {begin | exclude | include} expression]
Syntax Description
counters Keyword to specify counter information. status Keyword to specify status information. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display ICC counter information:
Router#show icc counterstotal tx RPC packets to slot 1 LCP = 0detail by request id: (<request-id>=<number-of-packets>)2 =0 7 =0 8 =0 10=011=0 12=0 14=0 17=018=0 19=0 20=0total rx RPC packets from slot 1 LCP = 0detail by request id: (<request-id>=<number-of-packets>)2 =5 7 =7 8 =11 10=411=1 12=2 14=1 17=6718=7 19=159 20=29total tx MCAST-SP packets to slot 1 LCP = 0detail by request id: (<request-id>=<number-of-packets>)6 =0 7 =0 8 =0 9 =012=0 14=0total rx MCAST-SP packets from slot 1 LCP = 0detail by request id: (<request-id>=<number-of-packets>)6 =1 7 =1 8 =1 9 =112=41 14=67total tx L3-MGR packets to slot 1 LCP = 0detail by request id: (<request-id>=<number-of-packets>)1 =0 2 =0 3 =0total rx L3-MGR packets from slot 1 LCP = 0detail by request id: (<request-id>=<number-of-packets>)1 =1 2 =2 3 =1Router#
This example shows how to display ICC status information:
Router#show icc statusClass Name Msgs Pending Max Pending Total Sent----- ---------------- ------------ ----------- ----------2 RPC 0 3 4033 MSC 0 1 15 L3-MGR 0 4 417313 TCAM-API 0 10 26Router#
Use the show idprom command to display IDPROMs for FRUs.
show idprom {all | frutype} [detail] [ | {begin | exclude | include} expression]
Syntax Description
all Keyword to specify display information for all FRU types. frutype Type of FRU to display information; see the "" section for valid values. detail (Optional) Keyword to specify show detailed dump of IDPROM data (verbose). | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Valid frutypes are:
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display IDPROM information for clock 1:
Router>show idprom clock 1IDPROM for clock #1(FRU is 'Clock FRU')OEM String = 'Cisco Systems'Product Number = 'WS-C6000-CL'Serial Number = 'SMT03073115'Manufacturing Assembly Number = '73-3047-04'Manufacturing Assembly Revision = 'A0'Hardware Revision = 1.0Current supplied (+) or consumed (-) = 0.000ARouter>
This example shows how to display IDPROM information for power supply 1:
Router>show idprom power-supply 1IDPROM for power-supply #1(FRU is '110/220v AC power supply, 1360 watt')OEM String = 'Cisco Systems, Inc.'Product Number = 'WS-CAC-1300W'Serial Number = 'ACP03020001'Manufacturing Assembly Number = '34-0918-01'Manufacturing Assembly Revision = 'A0'Hardware Revision = 1.0Current supplied (+) or consumed (-) = 27.460ARouter>
This example shows how to display detatiled IDPROM information for power supply 1:
Router#show idprom power-supply 1 detailIDPROM for power-supply #1IDPROM image:(FRU is '110/220v AC power supply, 1360 watt')IDPROM image block #0:hexadecimal contents of block:00: AB AB 01 90 11 BE 01 00 00 02 AB 01 00 01 43 69 ..............Ci10: 73 63 6F 20 53 79 73 74 65 6D 73 2C 20 49 6E 63 sco Systems, Inc20: 2E 00 57 53 2D 43 41 43 2D 31 33 30 30 57 00 00 ..WS-CAC-1300W..30: 00 00 00 00 00 00 41 43 50 30 33 30 32 30 30 30 ......ACP030200040: 31 00 00 00 00 00 00 00 00 00 33 34 2D 30 39 31 1.........34-09150: 38 2D 30 31 00 00 00 00 00 00 41 30 00 00 00 00 8-01......A0....60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................70: 00 00 00 01 00 00 00 00 00 00 00 09 00 0C 00 03 ................80: 00 01 00 06 00 01 00 00 00 00 0A BA 00 00 00 00 ................block-signature = 0xABAB, block-version = 1,block-length = 144, block-checksum = 4542*** common-block ***IDPROM capacity (bytes) = 256 IDPROM block-count = 2FRU type = (0xAB01,1)OEM String = 'Cisco Systems, Inc.'Product Number = 'WS-CAC-1300W'Serial Number = 'ACP03020001'Manufacturing Assembly Number = '34-0918-01'Manufacturing Assembly Revision = 'A0'Hardware Revision = 1.0Manufacturing bits = 0x0 Engineering bits = 0x0SNMP OID = 9.12.3.1.6.1.0Power Consumption = 2746 centiamperes RMA failure code = 0-0-0-0*** end of common block ***IDPROM image block #1:hexadecimal contents of block:00: AB 01 01 14 02 5F 00 00 00 00 00 00 00 00 0A BA ....._..........10: 0A BA 00 16 ....block-signature = 0xAB01, block-version = 1,block-length = 20, block-checksum = 607*** power supply block ***feature-bits: 00000000 00000000rated current at 110v: 2746 rated current at 220v: 2746 (centiamperes)CISCO-STACK-MIB SNMP OID = 22 *** end of power supply block ***End of IDPROM imageRouter#
This example shows how to display IDPROM information for the backplane:
Router#show idprom backplaneIDPROM for backplane #0(FRU is 'Catalyst 6000 9-slot backplane')OEM String = 'Cisco Systems'Product Number = 'WS-C6009'Serial Number = 'SCA030900JA'Manufacturing Assembly Number = '73-3046-04'Manufacturing Assembly Revision = 'A0'Hardware Revision = 1.0Current supplied (+) or consumed (-) = 0.000ARouter#
Use the show ip igmp snooping router command to display dynamically learned multicast router information.
show ip igmp snooping mrouter [{interface vlan} | { | {begin | exclude | include} expression}]
Syntax Description
interface vlan Keyword and variable to specify a VLAN to view; valid values are from 1 to 1001. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
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.
Examples
This example shows how to display information on all multicast router interfaces in VLAN 1:
Router#show ip igmp snooping mrouter interface 1vlan ports-----+----------------------------------------1 Gi1/1,Gi2/1,Fa3/48,RouterRouter#
Related Commands
ip igmp snooping mrouter
show mac-address-table multicast
Use the show interfaces counters command to display traffic seen by the physical interface.
show interfaces counters [{errors [module mod_num]} | module mod_num | {trunk [module mod_num]}] [ | {begin | exclude | include} expression]
Syntax Description
errors (Optional) Keyword to display interface error counters. module mod_num (Optional) Keyword and variable to limit display to interfaces on a specific module. trunk (Optional) Keyword to display interface trunk counters. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
If you do not enter any keywords, all counters for all modules are displayed.
Examples
This example shows how to display error counters for a specific module:
Router#show interfaces counters errors module 1Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSizeGi1/1 0 0 0 0 0Gi1/2 0 0 0 0 0Port Single-Col Multi-Col Late-Col Excess-Col Carri-Sen Runts GiantsGi1/1 0 0 0 0 0 00Gi1/2 0 0 0 0 0 00Router#
This example shows how to display traffic seen by a specific module:
Router#show interfaces counters module 1Port InOctets InUcastPkts InMcastPkts InBcastPktsGi1/1 0 0 0 0Gi1/2 0 0 0 0Port OutOctets OutUcastPkts OutMcastPkts OutBcastPktsGi1/1 0 0 0 0Gi1/2 0 0 0 0Router#
This example shows how to display trunk counters for a specific module:
Router#show interfaces counters trunk module 1Port TrunkFramesTx TrunkFramesRx WrongEncapGi1/1 0 0 0Gi1/2 0 0 0Router#
Use the show interfaces counters broadcast command to display broadcast traffic dropped by the physical interface.
show interfaces {[interface] counters broadcast} | {counters broadcast [module mod_num]} [ | {begin | exclude | include} expression]
Syntax Description
interface (Optional) Interface type; for a list of valid values, see the "" section. module mod_num (Optional) Keyword and variable to limit display to interfaces on a specific module. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
When you enter the interface, these formats can be used:
You can define a single port range per command entry. If you specify a range of ports, the range must consist of the same slot and port type.
When you define a range, you must enter a white space between the first port and the hyphen (-):
show interfaces gigabitethernet7/1 -7 counters broadcast
Valid values for card-type are:
Examples
This example shows how to display dropped broadcast traffic for all interfaces:
Router# show interfaces counters broadcast Port BcastSuppDiscards Gi1/1 32309122 Gi1/2 0 Fa3/1 7809 Fa3/2 0 Fa3/3 28773 Fa3/4 995 Fa3/5 0 Fa3/6 0 Fa3/7 0 Fa3/8 0 Fa3/9 0 Fa3/10 72801 Fa3/11 0 Fa3/12 0 Fa3/13 0 Fa3/14 0 Fa3/15 0 Fa3/16 0 Router#
This example shows how to display dropped broadcast traffic for a specific module:
Router# show interfaces counters broadcast module 1 Port BcastSuppDiscards Gi1/1 32309122 Gi1/2 0 Router#
This example shows how to display dropped broadcast traffic for a specific interface:
Router# show interfaces gigabitethernet1/1 counters broadcast Port BcastSuppDiscards Gi1/1 32309122 Router#
Related Commands
Use the show interfaces status command to display interface status or a list of interfaces in error-disabled state.
show interfaces status [err-disabled] [ | {begin | exclude | include} expression]
Syntax Description
err-disabled (Optional) Keyword to display interfaces in error-disabled state. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Examples
This example shows how to display the status of all interfaces:
Router#show interfaces statusPort Name Status Vlan Duplex Speed TypeGi1/1 disabled routed full 1000 missingGi1/2 notconnect 1 full 1000 unknown (4)Fa5/1 disabled routed auto auto 10/100BaseTXFa5/2 disabled routed auto auto 10/100BaseTXFa5/3 disabled routed auto auto 10/100BaseTXFa5/4 disabled routed auto auto 10/100BaseTXFa5/5 disabled routed auto auto 10/100BaseTXFa5/6 connected 10 a-full a-100 10/100BaseTXFa5/7 connected 10 a-full a-100 10/100BaseTXFa5/8 connected 200 a-half a-100 10/100BaseTXFa5/9 connected trunk a-full a-100 10/100BaseTXFa5/10 disabled routed auto auto 10/100BaseTXFa5/11 disabled routed auto auto 10/100BaseTXFa5/12 disabled routed auto auto 10/100BaseTXFa5/13 disabled routed auto auto 10/100BaseTXFa5/14 disabled routed auto auto 10/100BaseTXFa5/15 disabled routed auto auto 10/100BaseTXFa5/16 disabled routed auto auto 10/100BaseTXFa5/17 disabled routed auto auto 10/100BaseTXRouter#
This example shows how to display the status of interfaces in error-disabled state:
Router#show interfaces status err-disabledPort Name Status ReasonFa9/4 notconnect link-flapinformational error message when the timer expires on a cause--------------------------------------------------------------5d04h:%PM-SP-4-ERR_RECOVER:Attempting to recover from link-flap err-disable state on Fa9/4Router#
Related Commands
errdisable recovery
show errdisable recovery
Use the show interfaces switchport command to display administrative and operational status of a switching (non-routing) port.
show interfaces switchport [module module-number] [ | {begin | exclude | include} expression]
Syntax Description
module module-number (Optional) Keyword and variable to specify limiting the display to interfaces on the specified module; valid values are from 1 to 9. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display switch port information for module 1:
Router#show interfaces switchport module 1Name: Gi1/1Switchport: EnabledAdministrative Mode: dynamic desirableOperational Mode: trunk channel(Po254)Administrative Trunking Encapsulation: negotiateOperational Trunking Encapsulation: islNegotiation of Trunking: EnabledAccess Mode VLAN: 1 (default)Trunking Native Mode VLAN: 1 (default)Trunking VLANs Enabled: ALLPruning VLANs Enabled: 2-1001Router#
This example shows how to display switch port information using the begin output modifier:
Router#show interfaces switchport | include VLANName: Fa5/6Access Mode VLAN: 200 (VLAN0200)Trunking Native Mode VLAN: 1 (default)Trunking VLANs Enabled: ALLPruning VLANs Enabled: ALL... Router#
Use the show interfaces trunk command to display interface trunk information.
show interfaces trunk [module module-number] [ | {begin | exclude | include} expression]
Syntax Description
module module-number (Optional) Keyword and variable to specify limiting the display to interfaces on the specified module; valid values are from 1 to 9. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
If you do not specify a keyword, information for trunking ports only is displayed.
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display interface trunk information for module 5:
Router#show interfaces trunk module 5Port Mode Encapsulation Status Native vlanFa5/1 routed negotiate routed 1Fa5/2 routed negotiate routed 1Fa5/3 routed negotiate routed 1Fa5/4 routed negotiate routed 1Fa5/5 routed negotiate routed 1Fa5/6 off negotiate not-trunking 10Fa5/7 off negotiate not-trunking 10Fa5/8 off negotiate not-trunking 1Fa5/9 desirable n-isl trunking 1Fa5/10 desirable negotiate not-trunking 1Fa5/11 routed negotiate routed 1Fa5/12 routed negotiate routed 1.. .Fa5/48 routed negotiate routed 1Port Vlans allowed on trunkFa5/1 noneFa5/2 noneFa5/3 noneFa5/4 noneFa5/5 noneFa5/6 noneFa5/7 noneFa5/8 200Fa5/9 1-1005Fa5/10 noneFa5/11 noneFa5/12 none.. .Fa5/48 nonePort Vlans allowed and active in management domainFa5/1 noneFa5/2 noneFa5/3 noneFa5/4 noneFa5/5 noneFa5/6 noneFa5/7 noneFa5/8 200Fa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-802,850,917,999,1002-1005Fa5/10 noneFa5/11 noneFa5/12 none.. .Fa5/48 nonePort Vlans in spanning tree forwarding state and not prunedFa5/1 noneFa5/2 noneFa5/3 noneFa5/4 noneFa5/5 noneFa5/6 noneFa5/7 noneFa5/8 200Fa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-802,850,917,999,1002-1005Fa5/10 noneFa5/11 none.. .Fa5/48 noneRouter#
This example shows how to display trunking information for active trunking ports:
Router#show interfaces trunkPort Mode Encapsulation Status Native vlanFa5/9 desirable n-isl trunking 1Port Vlans allowed on trunkFa5/9 1-1005Port Vlans allowed and active in management domainFa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-802,850,917,999,1002-1005Port Vlans in spanning tree forwarding state and not prunedFa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-802,850,917,999,1002-1005Router#
Use the show interfaces type command to display VLAN information.
show interfaces type {ethernet | trbrf} [ | {begin | exclude | include} expression]
Syntax Description
ethernet Keyword to specify the Ethernet VLAN type. trbrf Keyword to specify the BRF Token Ring VLAN type. module module-number (Optional) Keyword and variable to specify limiting the display to interfaces on the specified module; valid values are from 1 to 9. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display Ethernet VLAN information:
Router#show interfaces type ethernetVlan1 is up, line protocol is upHardware is EtherSVI, address is 0050.3e8d.6400 (bia 0050.3e8d.6400)Internet address is 172.20.52.18/27MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setARP type: ARPA, ARP Timeout 04:00:00Last input 00:00:00, output never, output hang neverLast clearing of "show interface" counters neverQueueing strategy: fifoOutput queue 0/40, 0 drops; input queue 0/75, 0 drops5 minute input rate 3000 bits/sec, 6 packets/sec5 minute output rate 6000 bits/sec, 4 packets/sec485421 packets input, 37195644 bytes, 0 no bufferReceived 0 broadcasts, 0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored176171 packets output, 21215830 bytes, 0 underruns0 output errors, 0 interface resets0 output buffer failures, 0 output buffers swapped outVlan4 is up, line protocol is upHardware is EtherSVI, address is 0050.3e8d.6400 (bia 0050.3e8d.6400)Internet address is 172.20.52.114/29MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setARP type: ARPA, ARP Timeout 04:00:00Last input never, output never, output hang neverLast clearing of "show interface" counters neverQueueing strategy: fifoOutput queue 0/40, 0 drops; input queue 0/75, 0 drops5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec0 packets input, 0 bytes, 0 no bufferReceived 0 broadcasts, 0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored56836 packets output, 6026411 bytes, 0 underruns0 output errors, 0 interface resets0 output buffer failures, 0 output buffers swapped out...
Use the show ipc command to display IPC information.
show ipc {nodes | ports [open] | queue | status} [ | {begin | exclude | include} expression]
Syntax Description
nodes Keyword to display participating nodes. ports Keyword to display local IPC ports. open (Optional) Keyword to specify display open ports only. queue Keyword to display the contents of the IPC retransmission queue. status Keyword to display the status of the local IPC server. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Examples
This example shows how to display participating nodes:
Router#show ipc nodesThere are 66 nodes in this IPC realm.ID Type Name Last LastSent Heard2210000 Local Card33 0 02000000 ICC Card0 0 02010000 ICC Card1 0 02020000 ICC Card2 0 02040000 ICC Card4 0 0<... output truncated ...>23E0000 ICC Card62 0 023F0000 ICC Card63 0 010000 ICC IPC Master 270 17070Router#
This example shows how to display local IPC ports:
Router#show ipc portsThere are 6 ports defined.Port ID Type Name2210000.1 unicast Card33:Zone2210000.2 unicast Card33:Echo2210000.3 unicast Card33:Control2210000.4 unicast Remote TTY Server Port10000.3 unicast IPC Master:Control2210000.5 unknown Card33:Requestport_index = 0 seat_id = 0x10000 last sent = 0 last heard = 1158port_index = 1 seat_id = 0x10000 last sent = 0 last heard = 0Router#
This example shows how to display open IPC ports:
Router#show ipc ports openThere are 4 ports defined.Port ID Type Name10000.7 unicast Unknownport_index = 0 last sent = 2 last heard = 010000.8 unicast Unknownport_index = 0 last sent = 0 last heard = 010000.9 unicast Unknownport_index = 0 last sent = 17753 last heard = 0port_index = 1 last sent = 0 last heard = 0Router#
This example shows how to display the contents of the IPC retransmission queue:
Router# show ipc queue There are 0 IPC messages waiting for acknowledgement in the transmit queue. There are 0 IPC messages waiting for a response. There are 0 IPC messages waiting for additional fragments. There are 2 messages currently in use by the system. Router#
This example shows how to display the status of the local IPC server:
Router# show ipc status IPC System Status: This processor is a slave server. 1000 IPC message headers in cache 377053 messages in, 293133 out, 210699 delivered to local port, 83655 acknowledgements received, 83870 sent, 0 NACKS received, 0 sent, 0 messages dropped on input, 0 messages dropped on output 0 no local port, 0 destination unknown, 0 no transport 0 missing callback or queue, 0 duplicate ACKs, 0 retries, 0 message timeouts. 0 ipc_output failures, 0 mtu failures, 0 msg alloc failed, 0 emer msg alloc failed, 0 no origs for RPC replies 0 pak alloc failed, 0 memd alloc failed 0 no hwq, 0 failed opens, 0 hardware errors No regular dropping of IPC output packets for test purposes Router#
Use the show ip igmp snooping mrouter command to display information on dynamically learned and manually configured multicast router interfaces.
show ip igmp snooping mrouter [{interface Vlan vlan-id} | { | {begin | exclude | include} expression}]
Syntax Description
interface Vlan vlan-id (Optional) Keyword and variable to specify a VLAN; valid values are 0 to 1005. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
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 VLAN interfaces by entering the show ip igmp interface vlan-num command.
Examples
This example shows how to display snooping information for a specific VLAN:
Router#show ip igmp snooping mrouter interface 1vlan ports-----+----------------------------------------1 Gi1/1,Gi2/1,Fa3/48,RouterRouter#
Related Commands
ip igmp snooping mrouter
show ip igmp interface (refer to Cisco IOS documentation)
show mac-address-table multicast
Use the show l3-mgr command to display Layer 3 manager information.
show l3-mgr {interface {{Ethernet interface-number} | {FastEthernet interface-number} | {GigabitEthernet interface-number} | {Null interface-number} | Port-channel number | Vlan vlan} [ | {begin | exclude | include} expression] | status}
Syntax Description
interface Keyword to specify the interface. Ethernet interface-number Keyword and variable to specify the Ethernet 802.3 interface; valid values are from 1 to 9. FastEthernet interface-number Keyword and variable to specify the Fast Ethernet 802.3 interface; valid values are from 1 to 9. GigabitEthernet interface-number Keyword and variable to specify the Gigabit Ethernet 802.3z interface; valid values are from 1 to 9. Null interface-number Keyword and variable to specify the null interface; valid value is 0. Port-channel number Keyword and variable to specify the channel interface; valid values are from 0 to 256. Vlan vlan Keyword and variable to specify the VLAN; valid values are from 1 to 1000. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point. status Keyword to specify Layer 3 manager status information.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display Layer 3 manager information for a specific interface:
Router#show l3-mgr interface fastethernet 5/40vlan: 0ip_enabled: 1ipx_enabled: 1bg_state: 0 0 0 0hsrp_enabled: 0hsrp_mac: 0000.0000.0000state: 0up: 0Router#
This example shows how to display Layer 3 manager status information:
Router#show l3-mgr statusl3_mgr_state: 2l3_mgr_req_q.count: 0l3_mgr_req_q.head: 0l3_mgr_req_q.tail: 0l3_mgr_max_queue_count: 1060l3_mgr_shrunk_count: 0l3_mgr_req_q.ip_inv_count: 303l3_mgr_req_q.ipx_inv_count: 0l3_mgr_outpak_count: 18871l3_mgr_inpak_count: 18871l3_mgr_max_pending_pak: 4l3_mgr_pending_pak_count: 0nde enable statue: 0current nde addr: 0.0.0.0Router#
Use the show mac-address-table address command to display MAC address table information for a specific MAC address.
show mac-address-table address mac_addr [detail | interface type number | protocol protocol | Vlan vlan] [{begin | exclude | include} expression]
Syntax Description
mac_addr 48-bit MAC address; valid format is H.H.H. detail (Optional) Keyword to specify a detailed display of MAC address table information. interface type number (Optional) Keyword and variables to display information for a specific interface; valid type values are Ethernet, FastEthernet, and GigabitEthernet; valid number values are from 1 to 9. protocol protocol (Optional) Keywords to specify a protocol. See the "" section for keyword definitions. Vlan vlan (Optional) Keyword and variable to display entries for the specific VLAN only; valid values are from 1 to 1005. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
The keyword definitions for the protocol argument are:
Examples
This example shows how to display MAC address table information for a specific MAC address:
Router#show mac-address-table address 0050.3e8d.6400vlan mac address type protocol qos ports-----+---------------+--------+---------+---+--------------------------------200 0050.3e8d.6400 static assigned -- Router100 0050.3e8d.6400 static assigned -- Router5 0050.3e8d.6400 static assigned -- Router4 0050.3e8d.6400 static ipx -- Router1 0050.3e8d.6400 static ipx -- Router1 0050.3e8d.6400 static assigned -- Router4 0050.3e8d.6400 static assigned -- Router5 0050.3e8d.6400 static ipx -- Router100 0050.3e8d.6400 static ipx -- Router200 0050.3e8d.6400 static ipx -- Router100 0050.3e8d.6400 static other -- Router200 0050.3e8d.6400 static other -- Router5 0050.3e8d.6400 static other -- Router4 0050.3e8d.6400 static ip -- Router1 0050.3e8d.6400 static ip -- Route1 0050.3e8d.6400 static other -- Router4 0050.3e8d.6400 static other -- Router5 0050.3e8d.6400 static ip -- Router200 0050.3e8d.6400 static ip -- Router100 0050.3e8d.6400 static ip -- RouterRouter#
Related Commands
show mac-address-table aging-time
show mac-address-table count
show mac-address-table detail
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan
Use the show mac-address-table aging-time command to display the MAC address aging time.
show mac-address-table aging-time [Vlan vlan] [{begin | exclude | include} expression]
Syntax Description
Vlan vlan (Optional) Keyword and variable to specify a VLAN; valid values are from 1 to 1024. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
Examples
This example shows how to display currently configured aging time for all VLANs:
Router#show mac-address-table aging-timeVlan Aging Time---- ----------100 300200 1000Router#
This example shows how to display currently configured aging time for a specific VLAN:
Router#show mac-address-table aging-time vlan 100Vlan Aging Time---- ----------100 300Router#
Related Commands
show mac-address-table address
show mac-address-table count
show mac-address-table detail
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan
Use the show mac-address-table count command to display the number of entries currently in the MAC address table.
show mac-address-table count [Vlan vlan] [slot slot_num] [{begin | exclude | include} expression]
Syntax Description
Vlan vlan (Optional) Keyword and variable to specify a VLAN; valid values are from 1 to 1024. slot slot_num (Optional) Keyword and variable to specify the slot number; valid values are from 1 to 9. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
Examples
This example shows how to display the entry count for a specific VLAN:
Router#show mac-address-table count vlan 100MAC Entries for Vlan 100 :Dynamic Address Count: 1Static Address (User-defined) Count: 6Total MAC Addresses In Use: 7Total MAC Addresses Available: 131072Router#
This example shows how to display the entry count for a specific slot:
Router# show mac-address-table count slot 1 MAC Entries on slot 1 : Dynamic Address Count: 4 Static Address (User-defined) Count: 25 Total MAC Addresses In Use: 29 Total MAC Addresses Available: 131072 Router#
Related Commands
show mac-address-table address
show mac-address-table aging-time
show mac-address-table detail
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan
Use the show mac-address-table detail command to display detailed MAC address table information.
show mac-address-table detail [{begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
Examples
This example shows how to display detailed information from the MAC address table:
Router#show mac-address-table detailMAC Table shown in details========================================Type Always Learn Trap Modified Notify Capture Protocol Flood-------+------------+----+--------+------+-------+--------+-----+QoS bit L3 Spare Mac Address Age Byte Pvlan Xtag SWbits Index-----------------+--------+--------------+--------+-----+----+------+-----STATIC NO NO NO NO NO assigned NOBit Not On 0 0050.3e8d.6400 127 200 1 0 0x3STATIC NO NO NO NO NO assigned NOBit Not On 0 0050.3e8d.6400 127 100 1 0 0x3STATIC NO NO NO NO NO other NOBit Not On 0 0050.f0ac.3058 not set 4092 1 0 0x3. . .
Related Commands
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 multicast
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan
Use the show mac-address-table dynamic command to display dynamic MAC address table entries only.
show mac-address-table dynamic [address mac_addr | detail | interface type number | protocol protocol | Vlan vlan] [{begin | exclude | include} expression]
Syntax Description
address mac_addr (Optional) Keyword and variable to specify a 48-bit MAC address; valid format is H.H.H. detail (Optional) Keyword to specify a detailed display of MAC address table information. interface type number (Optional) Keyword and variables to specify an interface to match; valid type values are Ethernet, FastEthernet, and GigabitEthernet, valid number values are from 1 to 9. protocol protocol (Optional) Keywords to specify a protocol. See the "" section for keyword definitions. Vlan vlan (Optional) Keyword and variable to display entries for a specific VLAN; valid values are from 1 to 1005. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
The keyword definitions for the protocol argument are:
The show mac-address-table dynamic command output for an EtherChannel interface changes the port-number designation (for example, 5/7) to a port-group number (for example, Po80).
Examples
This example shows how to display all dynamic MAC address entries:
Router# show mac-address-table dynamic vlan mac address type protocol qos ports -----+---------------+--------+---------+---+-------------------------------- 200 0010.0d40.37ff dynamic ip -- 5/8 1 0060.704c.73ff dynamic ip -- 5/9 4095 0000.0000.0000 dynamic ip -- 15/1 1 0060.704c.73fb dynamic other -- 5/9 1 0080.1c93.8040 dynamic ip -- 5/9 4092 0050.f0ac.3058 dynamic ip -- 15/1 1 00e0.4fac.b3ff dynamic other -- 5/9 Router#
This example shows how to display dynamic MAC address entries with a specific protocol type (in this case, assigned):
Router#show mac-address-table dynamic protocol assignedvlan mac address type protocol qos ports-----+---------------+--------+---------+---+--------------------------------4092 0000.0000.0000 dynamic assigned -- Router4092 0050.f0ac.3059 dynamic assigned -- Router1 0010.7b3b.0978 dynamic assigned -- Fa5/9Router#
This example shows the detailed output for the previous example:
Router# show mac-address-table dynamic protocol assigned detail
MAC Table shown in details
========================================
Type Always Learn Trap Modified Notify Capture Protocol Flood
-------+------------+----+--------+------+-------+--------+-----+
QoS bit L3 Spare Mac Address Age Byte Pvlan Xtag SWbits Index
-----------------+--------+--------------+--------+-----+----+------+-----
DYNAMIC NO NO YES NO NO assigned NO
Bit Not On 0 0000.0000.0000 255 4092 0 0 0x3
DYNAMIC NO NO YES NO NO assigned NO
Bit Not On 0 0050.f0ac.3059 254 4092 0 0 0x3
DYNAMIC NO NO YES NO NO assigned NO
Bit Not On 0 0010.7b3b.0978 254 1 0 0 0x108
Router#
Related Commands
show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table detail
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan
Use the show mac-address-table interface command to display the MAC address table information for a specific interface.
show mac-address-table interface type number [{begin | exclude | include} expression]
Syntax Description
type Interface type; valid values are Ethernet, FastEthernet, and GigabitEthernet. number Interface number; valid values are from 1 to 9. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
Examples
This example shows how to display MAC address table information for a specific interface:
Router#show mac-address-table interface fastethernet 5/7vlan mac address type protocol qos ports-----+---------------+--------+---------+---+--------------------------------Router#
Related Commands
show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table detail
show mac-address-table dynamic
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan
Use the show mac-address-table multicast command to display multicast MAC address table information.
show mac-address-table multicast {vlan | {mac-group-address [vlan]} [count]} | [{begin | exclude | include} expression]
Syntax Description
vlan VLAN number; valid values are from 1 to 1005. mac-group- address MAC group address; valid values are from 1 to 9. count (Optional) Keyword to display number of multicast entries. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
Examples
This example shows how to display multicast MAC entry information for a specific VLAN:
Router#show mac-address-table multicast 100vlan mac address type protocol qos ports-----+---------------+--------+---------+---+--------------------------------100 0100.5e00.0001 static ip -- Fa5/9,SwitchRouter#
This example shows how to display the number of multicast MAC entries for all VLANs:
Router#show mac-address-table multicast countMulticast MAC Entries for all vlans: 33Router#
Related Commands
show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table detail
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan
Use the show mac-address-table protocol command to display MAC address table information based on protocol.
show mac-address-table protocol {assigned | ip | ipx | other} [detail] | [{begin | exclude | include} expression]
Syntax Description
assigned Keyword to specify assigned protocol entries. ip Keyword to specify IP protocol entries. ipx Keyword to specify IPX protocol entries. other Keyword to specify other protocol entries. detail (Optional) Keyword to display detailed information. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
Examples
This example shows how to display MAC address table entries that have a specific protocol type (in this case, assigned) :
Router#show mac-address-table protocol assignedvlan mac address type protocol qos ports-----+---------------+--------+---------+---+--------------------------------200 0050.3e8d.6400 static assigned -- Router100 0050.3e8d.6400 static assigned -- Router5 0050.3e8d.6400 static assigned -- Router4092 0000.0000.0000 dynamic assigned -- Router1 0050.3e8d.6400 static assigned -- Router4 0050.3e8d.6400 static assigned -- Router4092 0050.f0ac.3058 static assigned -- Router4092 0050.f0ac.3059 dynamic assigned -- Router1 0010.7b3b.0978 dynamic assigned -- Fa5/9Router#
This example shows the detailed output for the previous example:
Router#show mac-address-table protocol assigned detailMAC Table shown in details========================================Type Always Learn Trap Modified Notify Capture Protocol Flood-------+------------+----+--------+------+-------+--------+-----+QoS bit L3 Spare Mac Address Age Byte Pvlan Xtag SWbits Index-----------------+--------+--------------+--------+-----+----+------+-----STATIC NO NO NO NO NO assigned NOBit Not On 0 0050.3e8d.6400 127 200 1 0 0x3STATIC NO NO NO NO NO assigned NOBit Not On 0 0050.3e8d.6400 127 100 1 0 0x3STATIC NO NO NO NO NO assigned NOBit Not On 0 0050.3e8d.6400 127 5 1 0 0x3DYNAMIC NO NO YES NO NO assigned NOBit Not On 0 0000.0000.0000 255 4092 0 0 0x3STATIC NO NO NO NO NO assigned NOBit Not On 0 0050.3e8d.6400 127 1 1 0 0x3STATIC NO NO NO NO NO assigned NOBit Not On 0 0050.3e8d.6400 127 4 1 0 0x3Router#
Related Commands
show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table detail
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table static
show mac-address-table vlan
Use the show mac-address-table static command to display static MAC address table entries only.
show mac-address-table static [address mac_addr | detail | interface type number | protocol protocol | Vlan vlan] [{begin | exclude | include} expression]
Syntax Description
address mac_addr (Optional) Keyword and variable to specify a 48-bit MAC address to match; valid format is H.H.H. detail (Optional) Keyword to specify a detailed display of MAC address table information. interface type number (Optional) Keyword and variables to specify an interface to match; valid type values are Ethernet, FastEthernet, and GigabitEthernet and valid number values are from 1 to 9. protocol protocol (Optional) Keywords to specify a protocol. See the "" section for keyword definitions. Vlan vlan (Optional) Keyword and variable to display entries for a specific VLAN; valid values are from 1 to 1005. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
The keyword definitions for the protocol argument are:
Examples
This example shows how to display all static MAC address entries:
Router#show mac-address-table static*Oct 22 12:15:35: %SYS-5-CONFIG_I: Configured from console by consolevlan mac address type protocol qos ports-----+---------------+--------+---------+---+--------------------------------200 0050.3e8d.6400 static assigned -- Router100 0050.3e8d.6400 static assigned -- Router4092 0050.f0ac.3058 static other -- Router917 0100.0cdd.dddd static other -- Fa5/9,Router,Switch5 0050.3e8d.6400 static assigned -- Router303 0100.0cdd.dddd static other -- Fa5/9,Router,Switch850 0100.0cdd.dddd static other -- Fa5/9,Router,Switch1002 0100.0cdd.dddd static other -- Fa5/9,Router,Switch802 0100.0cdd.dddd static other -- Fa5/9,Router,Switch2 0100.0cdd.dddd static other -- Fa5/9,Router,Switch304 0100.5e00.0001 static ip -- Fa5/9,Switch. . .
This example shows how to display static MAC address entries with a specific protocol type (in this case, assigned):
Router# show mac-address-table static protocol assigned vlan mac address type protocol qos ports -----+---------------+--------+---------+---+-------------------------------- 200 0050.3e8d.6400 static assigned -- Router 100 0050.3e8d.6400 static assigned -- Router 5 0050.3e8d.6400 static assigned -- Router Router#
This example shows the detailed output for the previous example:
Router# show mac-address-table static protocol assigned detail
MAC Table shown in details
========================================
Type Always Learn Trap Modified Notify Capture Protocol Flood
-------+------------+----+--------+------+-------+--------+-----+
QoS bit L3 Spare Mac Address Age Byte Pvlan Xtag SWbits Index
-----------------+--------+--------------+--------+-----+----+------+-----
STATIC NO NO NO NO NO assigned NO
Bit Not On 0 0050.3e8d.6400 254 200 1 0 0x3
STATIC NO NO NO NO NO assigned NO
Bit Not On 0 0050.3e8d.6400 254 100 1 0 0x3
STATIC NO NO NO NO NO assigned NO
Bit Not On 0 0050.3e8d.6400 254 5 1 0 0x3
STATIC NO NO NO NO NO assigned NO
Bit Not On 0 0050.3e8d.6400 254 1 1 0 0x3
STATIC NO NO NO NO NO assigned NO
Bit Not On 0 0050.3e8d.6400 254 4 1 0 0x3
STATIC NO NO NO NO NO assigned NO
Bit Not On 0 0050.f0ac.3058 254 4092 1 0 0x3
.
.
.
Related Commands
show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table detail
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table vlan
Use the show mac-address-table vlan command to display the MAC address table information for a specific VLAN.
show mac-address-table Vlan vlan [detail | protocol protocol | Vlan vlan] [{begin | exclude | include} expression]
Syntax Description
Vlan vlan VLAN number; valid values are from 1 to 1005. detail (Optional) Keyword to specify a detailed display of MAC address table information. protocol protocol (Optional) Keywords to specify a protocol. See the "" section for keyword definitions. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
The keyword definitions for the protocol argument are:
Examples
This example shows how to display MAC address table information for a specific VLAN:
Router#show mac-address-table vlan 100vlan mac address type protocol qos ports-----+---------------+--------+---------+---+--------------------------------100 0050.3e8d.6400 static assigned -- Router100 0050.7312.0cff dynamic ip -- Fa5/9100 0080.1c93.8040 dynamic ip -- Fa5/9100 0050.3e8d.6400 static ipx -- Router100 0050.3e8d.6400 static other -- Router100 0100.0cdd.dddd static other -- Fa5/9,Router,Switch100 00d0.5870.a4ff dynamic ip -- Fa5/9100 00e0.4fac.b400 dynamic ip -- Fa5/9100 0100.5e00.0001 static ip -- Fa5/9,Switch100 0050.3e8d.6400 static ip -- RouterRouter#
This example shows how to display detailed MAC address table information:
Router#show mac-address-table vlan 100 detailMAC Table shown in details========================================Type Always Learn Trap Modified Notify Capture Protocol Flood-------+------------+----+--------+------+-------+--------+-----+QoS bit L3 Spare Mac Address Age Byte Pvlan Xtag SWbits Index-----------------+--------+--------------+--------+-----+----+------+-----STATIC NO NO NO NO NO assigned NOBit Not On 0 0050.3e8d.6400 124 100 1 0 0x3DYNAMIC NO NO YES NO NO ip NOBit Not On 0 0080.1c93.8040 252 100 0 0 0x108STATIC NO NO NO NO NO ipx NOBit Not On 0 0050.3e8d.6400 not set 100 1 0 0x3STATIC NO NO NO NO NO other NOBit Not On 0 0050.3e8d.6400 not set 100 1 0 0x3STATIC YES NO NO NO NO other NOBit Not On 0 0100.0cdd.dddd not set 100 1 0 0x4D8STATIC YES NO NO NO NO ip NOBit Not On 0 0100.5e00.0001 not set 100 1 0 0x4D6Router#
This example shows how to display MAC address table information for a specific protocol type:
Router#show mac-address-table vlan 100 protocol assignedvlan mac address type protocol qos ports-----+---------------+--------+---------+---+--------------------------------100 0050.3e8d.6400 static assigned -- RouterRouter#
Related Commands
show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table detail
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static
Use the show mac multicast command to display multicast MAC addresses (groups) in a VLAN.
show mac multicast [{Vlan vlan_id | grp-mac-addr | count}] [{begin | exclude | include} expression]
Syntax Description
Vlan vlan_id (Optional) Keyword and variable to specify the VLAN; valid values are from 1 to 1005. grp-mac-addr (Optional) Group MAC address. count (Optional) Keyword to display the total number of Layer 2 multicast MAC entries for all VLANs. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
If you enter a valid Ethernet multicast address, but not one with IETF OUI, a message is displayed informing you that it is not an IETF multicast address. The multicast MAC address is entered using this format, 0100.5eXX.XXXX.
Examples
This example shows how to display multicast MAC addresses (groups) in a specific VLAN:
Router#show mac multicast vlan 100vlan mac address type protocol qos ports-----+---------------+--------+---------+---+--------------------------------100 0100.5e00.0001 static ip -- Fa5/9,SwitchRouter#
This example shows how to display MAC addresses in a specific group:
Router#show mac multicast 0100.5e00.0001vlan mac address type protocol qos ports-----+---------------+--------+---------+---+--------------------------------304 0100.5e00.0001 static ip -- Fa5/9,Switch3 0100.5e00.0001 static ip -- Fa5/9,Switch1003 0100.5e00.0001 static ip -- Fa5/9,Switch6 0100.5e00.0001 static ip -- Fa5/9,Switch152 0100.5e00.0001 static ip -- Fa5/9,Switch350 0100.5e00.0001 static ip -- Fa5/9,Switch917 0100.5e00.0001 static ip -- Fa5/9,Switch303 0100.5e00.0001 static ip -- Fa5/9,Switch850 0100.5e00.0001 static ip -- Fa5/9,Switch2 0100.5e00.0001 static ip -- Fa5/9,Switch802 0100.5e00.0001 static ip -- Fa5/9,Switch1002 0100.5e00.0001 static ip -- Fa5/9,Switch351 0100.5e00.0001 static ip -- Fa5/9,Switch305 0100.5e00.0001 static ip -- Fa5/9,Switch1004 0100.5e00.0001 static ip -- Fa5/9,Switch4 0100.5e00.0001 static ip -- Fa5/9,Switch801 0100.5e00.0001 static ip -- Fa5/9,Switch1 0100.5e00.0001 static ip -- Fa5/9,Switch521 0100.5e00.0001 static ip -- Fa5/9,Switch524 0100.5e00.0001 static ip -- Fa5/9,Switch300 0100.5e00.0001 static ip -- Fa5/9,Switch1005 0100.5e00.0001 static ip -- Fa5/9,Switch349 0100.5e00.0001 static ip -- Fa5/9,Switch5 0100.5e00.0001 static ip -- Fa5/9,Switch50 0100.5e00.0001 static ip -- Fa5/9,Switch100 0100.5e00.0001 static ip -- Fa5/9,Switch200 0100.5e00.0001 static ip -- Fa5/8,Fa5/9,Switch400 0100.5e00.0001 static ip -- Fa5/9,Switch500 0100.5e00.0001 static ip -- Fa5/9,Switch10 0100.5e00.0001 static ip -- Fa5/6,Fa5/7,Fa5/9,Switch999 0100.5e00.0001 static ip -- Fa5/9,Switch570 0100.5e00.0001 static ip -- Fa5/9,Switch20 0100.5e00.0001 static ip -- Fa5/9,SwitchRouter#
This example shows how to display the total number of multicast MAC addresses for all VLANs:
Router#show mac multicast countTotal number of multicast MAC entries in L2 cache: 35Router#
Use the show mls aging command to display aging configuration.
show mls aging [ | {begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display aging configuration:
Router#show mls agingenable timeout packet threshold------ ------- ----------------normal aging true 300 N/Afast aging true 32 100long aging true 900 N/ARouter#
Use the show mls asic command to display the ASIC version.
show mls asic [ | {begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display ASIC versions:
Router#show mls asicCafe version: 2Centauri version: 1Perseus version: 0/0Titan version: 1Router#
Use the show mls flowmask command to display the current IP and IPX flow mask.
show mls flowmaskSyntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Examples
This example shows how to display the current IP and IPX flow mask setting:
Router#show mls flowmaskcurrent ip flowmask for unicast: destination onlycurrent ipx flowmask for unicast: destination onlyRouter#
Use the show mls ip command to display the MLS IP information.
show mls ip [any | destination {hostname | ip-address} | detail | flow {tcp | udp} | {interface {FastEthernet interface-number} | {GigabitEthernet interface-number} | {Vlan vlan}} | {macd destination-mac-address} | {macs source-mac-address} | slot number | source {hostname | ip-address} | count] [ | {begin | exclude | include} expression]
Syntax Description
any (Optional) Keyword to display any MLS IP information. destination hostname (Optional) Keyword and variable to display entries for a specific destination IP address. destination ip-address (Optional) Keyword and variable to display entries for a specific destination IP address. detail (Optional) Keyword to specify a detailed output. flow (Optional) Keyword to specify the flow type. tcp | udp Flow type. interface Keyword to specify the interface. FastEthernet interface-number Keyword and variable to specify the Fast Ethernet 802.3 interface; valid values are from 1 to 9. GigabitEthernet interface-number Keyword and variable to specify the Gigabit Ethernet 802.3z interface; valid values are from 1 to 9. Vlan vlan (Optional) Keyword and variable to specify the VLAN ID; valid values are from 1 to 1001. macd destination-mac-address (Optional) Keyword and variable to specify the destination MAC address. macs source- mac-address (Optional) Keyword and variable to specify the source MAC address. slot number (Optional) Keyword and variable to display entries that are downloaded on the specified slot; valid values are from 1 to 8. source hostname (Optional) Keyword and variable to display entries for a specific source address. source ip-address (Optional) Keyword and variable to display entries for a specific destination IP address. count (Optional) Keyword to display the total number of MLS entries. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
When you view the output, note that a colon (:) is used to separate the fields.
Examples
This example shows how to display any MLS IP information:
Router#show mls ip anyDstIP SrcIP Dst i/f:DstMAC Pkts Bytes-----------------------------------------------------------------------SrcDstPorts SrcDstEncap Age LastSeen----------------------------------------172.20.52.122 0.0.0.0 5 : 00e0.4fac.b3ff 4 1067Fa5/9,----- ARPA,ARPA 86 06:05:44172.20.52.37 0.0.0.0 100 : 00d0.5870.a4ff 1 332Fa5/9,----- ARPA,ARPA 102 06:05:27172.20.52.36 0.0.0.0 100 : 0050.7312.0cff 1 268Fa5/9,----- ARPA,ARPA 100 06:05:29Number of Entries Found = 3Router#
This example shows how to display MLS information on a specific interface:
Router#show mls ip interface fastethernet 5/9DstIP SrcIP Dst i/f:DstMAC Pkts Bytes-----------------------------------------------------------------------SrcDstPorts SrcDstEncap Age LastSeen----------------------------------------172.20.52.37 0.0.0.0 100: 00d0.5870.a4ff 1 129Fa5/9,----- ARPA,ARPA 107 06:10:02172.20.52.36 0.0.0.0 100 : 0050.7312.0cff 50 6403Fa5/9,----- ARPA,ARPA 107 06:10:04Number of Entries Found = 2Router#
This example shows how to display MLS information on a specific IP address:
Router#show mls ip destination 172.20.52.122DstIP SrcIP Dst i/f:DstMAC Pkts Bytes-----------------------------------------------------------------------SrcDstPorts SrcDstEncap Age LastSeen----------------------------------------172.20.52.122 0.0.0.0 5 : 00e0.4fac.b3ff 684 103469Fa5/9,Fa5/9 ARPA,ARPA 281 07:17:02Number of Entries Found = 1Router#
This example shows how to display MLS information on a specific flow:
Router# show mls ip flow udp DstIP SrcIP Dst i/f:DstMAC Pkts Bytes ----------------------------------------------------------------------- SrcDstPorts SrcDstEncap Age LastSeen ---------------------------------------- 172.20.52.122 0.0.0.0 5 : 00e0.4fac.b3ff 4 1067 Fa5/9,----- ARPA,ARPA 48 06:12:35 172.20.52.37 0.0.0.0 100 : 00d0.5870.a4ff 3 551 Fa5/9,----- ARPA,ARPA 198 06:12:20 172.20.52.36 0.0.0.0 100 : 0050.7312.0cff 52 6761 Fa5/9,----- ARPA,ARPA 198 06:12:21 Number of Entries Found = 3Router#
This example shows how to display detailed MLS information on a full flow mask:
Router#show mls ip detailIP Destination IP Source Vlan Xtag L3-protocol Encapsulation--------------+---------------+----+----+-----------+-------------+RW-Vlan RW-MACSource RW-MACDestination Bytes Packets Age-------+--------------+-----------------+-----------+-----------+-----+Last Seen QoS Police Count Threshold Leak Drop Bucket---------+-----------+------------+---------+-----------+----+-------+Use-Tbl Use-Enble+------+---------+Router#
This example shows how to display detailed MLS information when there is not a full flow mask:
Router#show mls ip detailIP Destination IP Source Protocol [IN/OUT] Ports Vlan Xtag--------------+---------------+--------+--------------+----+----+L3-protocol Encapsulation RW-Vlan RW-MACSource RW-MACDestination-----------+-------------+-------+--------------+-----------------+Bytes Packets Age Last Seen QoS Police Count-----------+-----------+-----+---------+-----------+------------+Threshold Leak Drop Bucket Use-Tbl Use-Enable---------+-----------+----+-------+-------+----------+Router#
Use the show mls ip multicast group command to display multilayer IP multicast group information.
show mls ip multicast group {hostname | ip-address} [ip-mask] | interface {{Ethernet interface-number} | {FastEthernet interface-number} | {GigabitEthernet interface-number}} | slot slot | source {hostname | ip-address} [ | {begin | exclude | include} expression]
Syntax Description
hostname Group IP host name. ip-address Group IP address. ip-mask (Optional) IP mask for group IP address. interface Keyword to specify an interface. Ethernet interface-number Keyword and variable to specify the Ethernet 802.3 interface; valid values are from 1 to 9. FastEthernet interface-number Keyword and variable to specify the Fast Ethernet 802.3 interface; valid values are 1 to 9. GigabitEthernet interface-number Keyword and variable to specify the Gigabit Ethernet 802.3z interface; valid values are 1 to 9. slot slot (Optional) Keyword and variable to display entries that are downloaded on the specified slot; valid values are from 1 to 8. source hostname (Optional) Keyword and variable to display entries for a specific source address. source ip-address (Optional) Keyword and variable to display entries for a specific destination IP address. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display IP multicast information for a specific group:
Router#show mls ip multicast group 1.1.1.1Multicast hardware switched flows:Total shortcut installed: 0Router#
These examples show how to display IP multicast information for a specific interface:
Router# show mls ip multicast group interface fastethernet 5/1
Multicast hardware switched flows:
Total shortcut installed: 0
Router#
Router# show mls ip multicast group interface gigabitethernet 1/2
Multicast hardware switched flows:
Total shortcut installed: 0
Router#
Router# show mls ip multicast group interface vlan 1
Multicast hardware switched flows:
Total shortcut installed: 0
Router#
This example shows how to display IP multicast information for a specific slot:
Router# show mls ip multicast group slot 1 Multicast hardware switched flows: Total shortcut installed: 0 Router#
Related Commands
Use the show mls ipx command to display MLS IPX information.
show mls ipx [destination ipx-network | interface {{FastEthernet interface-number} | {GigabitEthernet interface-number}} | {Vlan vlan}} | {macd destination-mac-address} | {macs source-mac-address} | slot number | source {hostname | ipx-network}] [detail | count] [ | {begin | exclude | include} expression]
Syntax Description
destination ipx-network (Optional) Keyword and variable to display entries for a specific destination network address. interface Keyword to specify the interface. FastEthernet interface-number Keyword and variable to specify the Fast Ethernet 802.3 interface; valid values are from 1 to 9. GigabitEthernet interface-number Keyword and variable to specify the Gigabit Ethernet 802.3z interface; valid values are from 1 to 9. Vlan vlan (Optional) Keyword and variable to specify the VLAN ID; valid values are from 1 to 1001. macd destination-mac-address (Optional) Keyword and variable to specify the destination MAC address. macs source- mac-address (Optional) Keyword and variable to specify the source MAC address. slot number (Optional) Keyword and variable to display entries that are downloaded on the specified slot; valid values are from 1 to 8. source hostname (Optional) Keyword and variable to display entries for a specific source address. source ipx-network (Optional) Keyword and variable to display entries for a specific destination network address. detail (Optional) Keyword to display the detailed list of entries. count (Optional) Keyword to display the total number of MLS entries. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you enter the ipx-network, the format is N.H.H.H.
When you enter the destination-mac-address, the format for the 48-bit MAC address is H.H.H.
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display MLS IPX information:
Router#show mls ipxDstNet-DstNode SrcNet Dst i/f:DstMAC Pkts Bytes-----------------------------------------------------------------------SrcDstPorts SrcDstEncap Age LastSeen----------------------------------------Number of Entries Found = 0Router#
This example shows how to display the total number of MLS entries:
Router#show mls ipx countNumber of shortcuts = 66Router#
Use the show mls nde command to display MLS NDE status.
show mls nde [ | {begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display MLS NDE status:
Router#show mls nde Netflow Data Export version: 7 Netflow Data Export disabled Netflow Data Export port/host is not configured Total packets exported = 0Router#
Use the show mls statistics command to display MLS statistics information including IP, IPX, multicast, Layer 2 protocol, and QoS statistics.
show mls statistics [ | {begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display MLS statistical information:
Router#show mls statisticsNumber ip unicast shortcuts: 250Number ip multicast shortcuts:0Number ipx shortcuts: 0Number l2 packets shortcut: 0Total packets switched: 66779Total ip packets shortcut: 1582Total ipx packets shortcut:0Total packets dropped (due access-list): 1Total packets dropped (due traffic policy):0Total ip packets with TOS changed:0Total ip packets with COS changed:18Total non ip packets COS changed: 0Router#Router#
Use the show mls table-contention command to display TCL information.
show mls table-contention {detailed | summary} [{begin | exclude | include} expression]
Syntax Description
detailed Keyword to display detailed TCL information. summary Keyword to display the TCL level. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Examples
This example shows how to display a detailed list of TCL information:
Router#show mls table-contention detailedDetailed Table Contention Level Information===========================================Layer 3-------L3 Contention Level: 0Page Hits Requiring 1 Lookup = 31Page Hits Requiring 2 Lookups = 0Page Hits Requiring 3 Lookups = 0Page Hits Requiring 4 Lookups = 0Page Hits Requiring 5 Lookups = 0Page Hits Requiring 6 Lookups = 0Page Hits Requiring 7 Lookups = 0Page Hits Requiring 8 Lookups = 0Page Misses = 0Router#
This example shows how to display a summary of TCL information:
Router# show mls table-contention summary Summary of Table Contention Levels (on a scale of 0 (lowest) to 3 (highest)) ============================================================================ L3 Contention Level: 0 Router#
Use the show module command to display module status and information. For supervisor engines, the show module command displays the supervisor engine number but appends the uplink daughter card's module type and information.
show module [mod_num | all] [ | {begin | exclude | include} expression]
Syntax Description
mod_num (Optional) Number of the module; valid values are from 1 to 9. all (Optional) Keyword to display information for all modules. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display information for all modules:
Router#show module allslot ports card type model serial number1 2 Cat 6000 sup 1 Enhanced QoS WS-X6K-SUP1A-2GE SAD033923765 48 48 port 10/100 mb RJ-45 ethern WS-X6248-RJ-45 SAD03181291slot MAC addresses Hw Fw Sw1 0030.9629.9f86 to 0030.9629.9f88 1.0 5.1(1)CSX 19 5.3(2)CSX 195 0050.f0ac.3054 to 0050.f0ac.3084 1.0 4.2(0.24)VAI 5.3(2)CSX 19Router#
This example shows how to display information for a specific module:
Router#show module 1slot ports card type model serial number1 2 Cat 6000 sup 1 Enhanced QoS WS-X6K-SUP1A-2GE SAD03392376slot MAC addresses Hw Fw Sw1 0030.9629.9f86 to 0030.9629.9f88 1.0 5.1(1)CSX 19 5.3(2)CSX 19Router#
Use the show monitor command to display SPAN session information.
show monitor [session session-number] [ | {begin | exclude | include} expression]
Syntax Description
session session-number (Optional) Keyword and variable to specify the number of the session; valid values are 1 and 2. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display SPAN information for a specific session:
Router#show monitor session 1Session 1---------Source Ports:RX Only: NoneTX Only: NoneBoth: NoneSource VLANs:RX Only: NoneTX Only: NoneBoth: NoneDestination Ports: NoneFilter VLANs: NoneRouter#
This example shows how to display SPAN information for a specific session beginning with the line that starts with Destination:
Router#show monitor session 1 | begin DestinationDestination Ports: NoneFilter VLANs: NoneRouter#
Use the show pagp command to display port-channel information.
show pagp [group-number] {counters | internal | neighbor | pgroup} [ | {begin | exclude | include} expression]
Syntax Description
group-number (Optional) Channel group number; valid values are from 0 to 256. counters Keyword to specify traffic information. internal Keyword to specify internal information. neighbor Keyword to specify neighbor information. pgroup Keyword to display active port channels. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
You can enter any show pagp command to display the active port channel information. To display the nonactive information, enter the show pagp command with a group.
Examples
This example shows how to display PagP counter information:
Router# show pagp counters
Information Flush
Port Sent Recv Sent Recv
--------------------------------------
Channel group: 1
Fa5/4 2660 2452 0 0
Fa5/5 2676 2453 0 0
Channel group: 2
Fa5/6 289 261 0 0
Fa5/7 290 261 0 0
Channel group: 1023
Fa5/9 0 0 0 0
Channel group: 1024
Fa5/8 0 0 0 0
Router#
This example shows how to display internal PagP information:
Router# show pagp 1 internal
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Channel group 1
Hello Partner PAgP Learning
Port Flags State Timers Interval Count Priority Method
Fa5/4 SC U6/S7 30s 1 128 Any
Fa5/5 SC U6/S7 30s 1 128 Any
Router#
This example shows how to display PagP neighbor information for all neighbors:
Router# show pagp neighbor
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.
Channel group 1 neighbors
Partner Partner Partner Partner Group
Port Name Device ID Port Age Flags Cap.
Fa5/4 JAB031301 0050.0f10.230c 2/45 2s SAC 2D
Fa5/5 JAB031301 0050.0f10.230c 2/46 27s SAC 2D
Channel group 2 neighbors
Partner Partner Partner Partner Group
Port Name Device ID Port Age Flags Cap.
Fa5/6 JAB031301 0050.0f10.230c 2/47 10s SAC 2F
Fa5/7 JAB031301 0050.0f10.230c 2/48 11s SAC 2F
Channel group 1023 neighbors
Partner Partner Partner Partner Group
Port Name Device ID Port Age Flags Cap.
Channel group 1024 neighbors
Partner Partner Partner Partner Group
Port Name Device ID Port Age Flags Cap.
Router#
Use the show power command to display power status information.
show power [{available | redundancy-mode | {status {all | module slot | power-supply number}} | total | used}] [ | {begin | exclude | include} expression]
Syntax Description
available (Optional) Keyword to display available system power (margin). redundancy-mode (Optional) Keyword to display power supply redundancy mode. status (Optional) Keyword to display power status. all Keyword to specify all FRU types. module slot Keyword and variable to display the power status for a specific module; valid values are from 1 to 9. power-supply number Keyword and variable to display the power status for a specific power supply; valid values are 1 and 2. total (Optional) Keyword to display total power available from power supplies. used (Optional) Keyword to display total power budgeted for powered-on items. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display available system power:
Router>show power availablesystem power available = 20.470ARouter>
This example shows how to display power supply redundancy mode:
Router#show power redundancy-modesystem power redundancy mode = redundantRouter#
This example shows how to display power status for all FRU types:
Router#show power status allFRU-type # current admin state operpower-supply 1 27.460A on onmodule 1 -4.300A on onmodule 5 -2.690A on onRouter#
This example shows how to display power status for a specific module:
Router#show power status module 1FRU-type # current admin state opermodule 1 -4.300A on onRouter#
This example shows how to display power status for a specific power supply:
Router#show power status power-supply 1FRU-type # current admin state operpower-supply 1 27.460A on onRouter#
This example shows how to display the total power available from power supplies:
Router#show power totalsystem power total = 27.460ARouter#
This example shows how to display the total power budgeted for powered-on items:
Router#show power usedsystem power used = -6.990ARouter#
Use the show protocol-filtering command to display protocol filtering information.
show protocol-filtering [interface {{Ethernet interface-number} | {FastEthernet interface-number} | {GigabitEthernet interface-number} | { | {begin | exclude | include} expression}]
Syntax Description
interface (Optional) Keyword to specify an interface. Ethernet interface-number Keyword and variable to specify the Ethernet 802.3 interface; valid values are from 1 to 9. FastEthernet interface-number Keyword and variable to specify the Fast Ethernet 802.3 interface; valid values are from 1 to 9. GigabitEthernet interface-number Keyword and variable to specify the Gigabit Ethernet 802.3z interface; valid values are from 1 to 9. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display protocol-filtering information for a specific interface:
Router#show protocol-filtering interface fastethernet 5/8Interface IP Mode IPX Mode Group Mode Other Mode--------------------------------------------------------------------------Fa5/8 OFF ON OFF OFFRouter#
Related Commands
Use the show rpc command to display RPC information.
show rpc {applications | counters | status}[ | {begin | exclude | include} expression]
Syntax Description
applications Keyword to display RPC application information. counters Keyword to display RPC counters. status Keyword to display RPC status. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display RPC applications:
Router#show rpc applicationsID Dest Callback Application1 0011 <remote> rpc-master2 0011 <remote> cygnus-oir3 0021 60201708 rpc-slave-334 0021 6022A514 idprom-MP5 0021 60204420 msfc-oir6 0011 <remote> Nipcon-SP7 0011 <remote> sw_vlan_sp8 0011 <remote> stp_switch_api9 0011 <remote> pagp_rpc10 0011 <remote> span_switch_rpc11 0011 <remote> pf_rp_rpc13 0011 <remote> mapping_sp14 0011 <remote> logger-sp17 0011 <remote> c6k_power_sp18 0011 <remote> c6k_sp_environmental19 0011 <remote> pagp_switch_rpc20 0011 <remote> pm-cp21 0021 602675B0 Nipcon-RP22 0021 602283B0 pm-mp23 0021 601F2538 sw_vlan_rp24 0021 601F77D0 span_switch_sp_rpc25 0021 601F7950 idbman_fec26 0021 601F7F30 logger-rp27 0021 601F80D8 pagp_switch_l3_split28 0021 601F81C0 pagp_switch_sp2mp29 0021 6026F190 c6k_rp_environmentalRouter#
This example shows how to display RPC counter information:
Router#show rpc countersID Dest Rcv-req Xmt-req Q size Application1 0011 0 26 0 rpc-master2 0011 0 6221 0 cygnus-oir4 0021 15 0 0 idprom-MP5 0021 6222 0 0 msfc-oir7 0011 0 2024 0 sw_vlan_sp8 0011 0 3 0 stp_switch_api9 0011 0 188 0 pagp_rpc11 0011 0 4 0 pf_rp_rpc13 0011 0 2 0 mapping_sp14 0011 0 3 0 logger-sp17 0011 0 2 0 c6k_power_sp18 0011 0 66 0 c6k_sp_environmental19 0011 0 109 0 pagp_switch_rpc20 0011 0 33 0 pm-cp22 0021 126 0 0 pm-mp23 0021 5 0 0 sw_vlan_rp24 0021 14 0 0 span_switch_sp_rpc25 0021 22 0 0 idbman_fec26 0021 8 0 0 logger-rp27 0021 3 0 0 pagp_switch_l3_split28 0021 3 0 0 pagp_switch_sp2mpRouter#
Use the show running command to display module status and configuration.
show running [module slot] [ | {begin | exclude | include} expression]
Syntax Description
module slot (Optional) Keyword and variable to specify the module slot number; valid values are from 1 to 9. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display module and status configuration for all modules:
Router#show runningBuilding configuration...Current configuration:!version 12.0service timestamps debug datetime localtimeservice timestamps log datetime localtimeno service password-encryption!hostname Router!boot buffersize 126968boot system flash slot0:halleyboot bootldr bootflash:c6msfc-boot-mz.120-6.5T.XE1.0.83.binenable password lab!clock timezone Pacific -8clock summer-time Daylight recurringredundancymain-cpuauto-sync standard!ip subnet-zero ! ip multicast-routing ip dvmrp route-limit 20000 ip cef mls flow ip destination mls flow ipx destination cns event-service server ! spanning-tree portfast bpdu-guard spanning-tree uplinkfast spanning-tree vlan 200 forward-time 21 port-channel load-balance sdip ! ! ! interface Port-channel2 no ip address switchport switchport access vlan 10 switchport mode access ! interface GigabitEthernet1/1 no ip address no ip directed-broadcast shutdown ! interface GigabitEthernet1/2 no ip address no ip directed-broadcast shutdown ! interface FastEthernet5/1 no ip address no ip directed-broadcast shutdown . . .
Use the show slot0: command to display information about the slot0: file system.
show slot0: [all | chips | filesys] [ | {begin | exclude | include} expression]
Syntax Description
all (Optional) Keyword to display all Flash information including the output from the show slot0: chips and show slot0: filesys commands. chips (Optional) Keyword to display Flash chip information. filesys (Optional) Keyword to display file system information. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display a summary of image information:
Router>show slot0: -#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .. image 6375DBB7 A4F144 6 10678468 Nov 09 1999 10:50:42 halley 5705404 bytes available (10678596 bytes used)Router>
This example shows how to display Flash chip information:
Router> show slot0: chips
******** Intel Series 2+ Status/Register Dump ********
ATTRIBUTE MEMORY REGISTERS:
Config Option Reg (4000): 2
Config Status Reg (4002): 0
Card Status Reg (4100): 1
Write Protect Reg (4104): 4
Voltage Cntrl Reg (410C): 0
Rdy/Busy Mode Reg (4140): 2
COMMON MEMORY REGISTERS: Bank 0
Intelligent ID Code : 8989A0A0
Compatible Status Reg: 8080
Global Status Reg: B0B0
Block Status Regs:
0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
8 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
16 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
24 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
COMMON MEMORY REGISTERS: Bank 1
Intelligent ID Code : 8989A0A0
Compatible Status Reg: 8080
Global Status Reg: B0B0
Block Status Regs:
0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
8 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
16 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
24 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
COMMON MEMORY REGISTERS: Bank 2
Intelligent ID Code : 8989A0A0
Compatible Status Reg: 8080
Global Status Reg: B0B0
Block Status Regs:
0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
8 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
16 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
24 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
COMMON MEMORY REGISTERS: Bank 3
Intelligent ID Code : 8989A0A0
Compatible Status Reg: 8080
Global Status Reg: B0B0
Block Status Regs:
0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
8 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
16 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
24 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0
COMMON MEMORY REGISTERS: Bank 4
Intelligent ID Code : FFFFFFFF
IID Not Intel -- assuming bank not populated
Router>
This example shows how to display file system information:
Router>show slot0: filesys-------- F I L E S Y S T E M S T A T U S --------Device Number = 0DEVICE INFO BLOCK: slot0Magic Number = 6887635 File System Vers = 10000 (1.0)Length = 1000000 Sector Size = 20000Programming Algorithm = 4 Erased State = FFFFFFFFFile System Offset = 20000 Length = FA0000MONLIB Offset = 100 Length = F568Bad Sector Map Offset = 1FFF0 Length = 10Squeeze Log Offset = FC0000 Length = 20000Squeeze Buffer Offset = FE0000 Length = 20000Num Spare Sectors = 0Spares:STATUS INFO:WritableNO File Open for WriteComplete StatsNo Unrecovered ErrorsNo Squeeze in progressUSAGE INFO:Bytes Used = 9F365C Bytes Available = 5AC9A4Bad Sectors = 0 Spared Sectors = 0OK Files = 1 Bytes = 9F35DCDeleted Files = 0 Bytes = 0Files w/Errors = 0 Bytes = 0Router>
Use the show spanning-tree command to display spanning tree state information.
show spanning-tree [bridge_group | active | backbonefast | bridge | brief | interface type | root | summary [total] | uplinkfast | Vlan vlan] | [{begin | exclude | include} expression]
Syntax Description
bridge_group (Optional) Keyword to specify the bridge group number; valid values are from 1 to 255. active (Optional) Keyword to display spanning tree information on active interfaces only. backbonefast (Optional) Keyword to display spanning tree BackboneFast status. bridge (Optional) Keyword to display status and configuration of this bridge. brief (Optional) Keyword to specify a summary of interface information. interface type (Optional) Keyword and variable to specify the interface type and number; valid values are Ethernet (1 to 9), FastEthernet (1 to 9), GigabitEthernet (1 to 9), Port-channel (1 to 256), and Vlan (1 to 1000). root (Optional) Keyword to display root bridge status and configuration. summary (Optional) Keyword to specify a summary of port states. total (Optional) Keyword to display the total lines of the spanning tree state uplinkfast (Optional) Keyword to display spanning tree UplinkFast status. Vlan vlan (Optional) Keyword and variable to specify the VLAN ID; valid values are from 1 to 1005. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
section.
Defaults
This command has no default setting.
Command Modes
Priviledged EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display spanning tree information on active interfaces only:
Router#show spanning-tree activeUplinkFast is disabledBackboneFast is disabledVLAN1 is executing the ieee compatible Spanning Tree protocolBridge Identifier has priority 32768, address 0050.3e8d.6401Configured hello time 2, max age 20, forward delay 15Current root has priority 16384, address 0060.704c.7000Root port is 265 (FastEthernet5/9), cost of root path is 38Topology change flag not set, detected flag not setNumber of topology changes 0 last change occurred 18:13:54 agoTimes: hold 1, topology change 24, notification 2hello 2, max age 14, forward delay 10Timers: hello 0, topology change 0, notification 0Port 265 (FastEthernet5/9) of VLAN1 is forwardingPort path cost 19, Port priority 128, Port Identifier 129.9.Designated root has priority 16384, address 0060.704c.7000Designated bridge has priority 32768, address 00e0.4fac.b000Designated port id is 128.2, designated path cost 19Timers: message age 3, forward delay 0, hold 0Number of transitions to forwarding state: 1BPDU: sent 3, received 32852... Router#
This example shows how to display spanning tree BackboneFast status:
Router# show spanning-tree backbonefast BackboneFast is enabledBackboneFast statistics-----------------------Number of transition via backboneFast (all VLANs) : 0Number of inferior BPDUs received (all VLANs) : 0Number of RLQ request PDUs received (all VLANs) : 0Number of RLQ response PDUs received (all VLANs) : 0Number of RLQ request PDUs sent (all VLANs) : 0Number of RLQ response PDUs sent (all VLANs) : 0Router#
This example shows how to display spanning tree information for this bridge only:
Router# show spanning-tree bridge
VLAN1
Bridge ID Priority 32768
Address 0050.3e8d.6401
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN2
Bridge ID Priority 32768
Address 0050.3e8d.6402
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN3
Bridge ID Priority 32768
Address 0050.3e8d.6403
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
.
.
.
Router#
This example shows how to display a summary of interface information:
Router#show spanning-tree briefVLAN1Spanning tree enabled protocol ieeeRoot ID Priority 32768Address 0090.2b00.9801This bridge is the rootHello Time 2 sec Max Age 20 sec Forward Delay 15 secBridge ID Priority 32768Address 0090.2b00.9801Hello Time 2 sec Max Age 20 sec Forward Delay 15 secPort DesignatedName Port ID Prio Cost Sts Cost Bridge ID Port ID------- ------- ---- ---- --- ---- ------------------- ------- ------ ------Po1/1 130.65 128 12 FWD 0 32768 0090.2b00.9801 130.65 25 1Po1023/ 130.66 128 12 BLK 0 32768 0090.2b00.9801 130.65 1 25... Router#
This example shows how to display spanning tree information for a specific interface:
Router# show spanning-tree interface fastethernet 5/9 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 2, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 3, received 33361 Port 265 (FastEthernet5/9) of VLAN2 is forwarding Port path cost 19, Port priority 128, Port Identifier 129.9. Designated root has priority 16384, address 0060.704c.7001 Designated bridge has priority 32768, address 00e0.4fac.b001 Designated port id is 128.2, designated path cost 19 Timers: message age 2, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 3, received 33361 . . .
This example shows how to display spanning tree information for a specific VLAN:
Router#show spanning-tree vlan 1UplinkFast is disabledBackboneFast is disabledVLAN1 is executing the ieee compatible Spanning Tree protocolBridge Identifier has priority 32768, address 0050.3e8d.6401Configured hello time 2, max age 20, forward delay 15Current root has priority 16384, address 0060.704c.7000Root port is 265 (FastEthernet5/9), cost of root path is 38Topology change flag not set, detected flag not setNumber of topology changes 0 last change occurred 18:13:54 agoTimes: hold 1, topology change 24, notification 2hello 2, max age 14, forward delay 10Timers: hello 0, topology change 0, notification 0Port 265 (FastEthernet5/9) of VLAN1 is forwardingPort path cost 19, Port priority 128, Port Identifier 129.9.Designated root has priority 16384, address 0060.704c.7000Designated bridge has priority 32768, address 00e0.4fac.b000Designated port id is 128.2, designated path cost 19Timers: message age 3, forward delay 0, hold 0Number of transitions to forwarding state: 1BPDU: sent 3, received 32852Router#
This example shows how to display spanning tree information for a specific bridge group:
Router#show spanning-tree 1UplinkFast is disabledBackboneFast is disabledBridge group 1 is executing the ieee compatible Spanning Tree protocolBridge Identifier has priority 32768, address 00d0.d39c.004dConfigured hello time 2, max age 20, forward delay 15Current root has priority 32768, address 00d0.d39b.fdddRoot port is 7 (FastEthernet2/2), cost of root path is 19Topology change flag set, detected flag not setNumber of topology changes 3 last change occurred 00:00:01 agofrom FastEthernet2/2Times: hold 1, topology change 35, notification 2hello 2, max age 20, forward delay 15Timers: hello 0, topology change 0, notification 0 bridge aging time 15Port 2 (Ethernet0/1/0) of Bridge group 1 is downPort path cost 100, Port priority 128Designated root has priority 32768, address 0050.0bab.1808Designated bridge has priority 32768, address 0050.0bab.1808Designated port is 2, path cost 0Timers: message age 0, forward delay 0, hold 0BPDU: sent 0, received 0Port 7 (FastEthernet2/2) of Bridge group 1 is forwardingPort path cost 19, Port priority 128, Port Identifier 128.7.Designated root has priority 32768, address 00d0.d39b.fdddDesignated bridge has priority 32768, address 00d0.d39b.fdddDesignated port id is 128.7, designated path cost 0Timers: message age 2, forward delay 0, hold 0Number of transitions to forwarding state: 1BPDU: sent 3, received 49Router#
This example shows how to display a summary of port states:
Router#show spanning-tree summaryUplinkFast is disabledBackboneFast is disabledName Blocking Listening Learning Forwarding STP Active-------------------- -------- --------- -------- ---------- ----------VLAN1 0 0 0 1 1VLAN2 0 0 0 1 1VLAN3 0 0 0 1 1VLAN4 0 0 0 1 1VLAN5 0 0 0 1 1VLAN6 0 0 0 1 1VLAN10 0 0 0 2 2VLAN20 0 0 0 1 1VLAN50 0 0 0 1 1VLAN100 0 0 0 1 1VLAN152 0 0 0 1 1. . .VLAN1003 0 0 0 1 1VLAN1004 0 0 0 1 1VLAN1005 0 0 0 1 1-------------------- -------- --------- -------- ---------- ----------33 VLANs 0 0 0 35 35Router#
This example shows how to display the total lines of the spanning tree state section:
Router#show spanning-tree summary totalsUplinkFast is disabledBackboneFast is enabledName Blocking Listening Learning Forwarding STP Active-------------------- -------- --------- -------- ---------- ----------105 VLANs 3433 0 0 105 3538BackboneFast statistics-----------------------Number of transition via backboneFast (all VLANs) :0Number of inferior BPDUs received (all VLANs) :0Number of RLQ request PDUs received (all VLANs) :0Number of RLQ response PDUs received (all VLANs) :0Number of RLQ request PDUs sent (all VLANs) :0Number of RLQ response PDUs sent (all VLANs) :0Router#
Use the show sup-bootflash command to display sup-bootflash: file system information.
show sup-bootflash [all | chips | filesys] [ | {begin | exclude | include} expression]
Syntax Description
all (Optional) Keyword to display all possible Flash information. chips (Optional) Keyword to display Flash chip information. filesys (Optional) Keyword to display file system information. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display a summary of bootflash information:
Router#show sup-bootflash-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name1 .. image EBC8FC4D A7487C 6 10700796 Nov 19 1999 07:07:37 halley2 .. unknown C7EB077D EE2620 25 4644130 Nov 19 1999 07:50:44 cat6000-sup_5-3-3-CSX.bin645600 bytes available (15345184 bytes used)Router#
This example shows how to display all bootflash information:
Router#show sup-bootflash all-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name1 .. image EBC8FC4D A7487C 6 10700796 Nov 19 1999 07:07:37 halley2 .. unknown C7EB077D EE2620 25 4644130 Nov 19 1999 07:50:44 cat6000-sup_5-3-3-CSX.bin645600 bytes available (15345184 bytes used)-------- F I L E S Y S T E M S T A T U S --------Device Number = 2DEVICE INFO BLOCK: bootflashMagic Number = 6887635 File System Vers = 10000 (1.0)Length = 1000000 Sector Size = 40000Programming Algorithm = 19 Erased State = FFFFFFFFFile System Offset = 40000 Length = F40000MONLIB Offset = 100 Length = F568Bad Sector Map Offset = 3FFF8 Length = 8Squeeze Log Offset = F80000 Length = 40000Squeeze Buffer Offset = FC0000 Length = 40000Num Spare Sectors = 0Spares:STATUS INFO:WritableNO File Open for WriteComplete StatsNo Unrecovered ErrorsNo Squeeze in progressUSAGE INFO:Bytes Used = EA2620 Bytes Available = 9D9E0Bad Sectors = 0 Spared Sectors = 0OK Files = 2 Bytes = EA2520Deleted Files = 0 Bytes = 0Files w/Errors = 0 Bytes = 0******** Intel SCS Status/Register Dump ********COMMON MEMORY REGISTERS: Bank 0Intelligent ID Code : 890089Compatible Status Reg: 800080DEVICE TYPE:Layout : Paired x16 ModeWrite Queue Size : 64Queued Erase Supported : NoRouter#
This example shows how to display Flash chip information:
Router# show sup-bootflash chips******** Intel SCS Status/Register Dump ********COMMON MEMORY REGISTERS: Bank 0Intelligent ID Code : 890089Compatible Status Reg: 800080DEVICE TYPE:Layout : Paired x16 ModeWrite Queue Size : 64Queued Erase Supported : NoRouter#
This example shows how to display file system information:
Router# show sup-bootflash filesys-------- F I L E S Y S T E M S T A T U S --------Device Number = 2DEVICE INFO BLOCK: bootflashMagic Number = 6887635 File System Vers = 10000 (1.0)Length = 1000000 Sector Size = 40000Programming Algorithm = 19 Erased State = FFFFFFFFFile System Offset = 40000 Length = F40000MONLIB Offset = 100 Length = F568Bad Sector Map Offset = 3FFF8 Length = 8Squeeze Log Offset = F80000 Length = 40000Squeeze Buffer Offset = FC0000 Length = 40000Num Spare Sectors = 0Spares:STATUS INFO:WritableNO File Open for WriteComplete StatsNo Unrecovered ErrorsNo Squeeze in progressUSAGE INFO:Bytes Used = EA2620 Bytes Available = 9D9E0Bad Sectors = 0 Spared Sectors = 0OK Files = 2 Bytes = EA2520Deleted Files = 0 Bytes = 0Files w/Errors = 0 Bytes = 0Router#
Use the show tech-support command to display information useful to TAC when reporting a problem.
show tech-support [ipmulticast | isis | password [page] | rsvp | page] [ | {begin | exclude | include} expression]
Syntax Description
ipmulticast (Optional) Keyword to specify IP multicast-related information. isis (Optional) Keyword to specify CLNS- and ISIS-related information. password (Optional) Keyword to remove passwords and other security information in the output. page (Optional) Keyword to cause the output to display a page of information at a time. rsvp (Optional) Keyword to specify IP RSVP-related information. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
The default displays output without page breaks and removes passwords and other security information.
Command Modes
Privileged EXEC mode.
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
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 (that is, does not stop for page breaks).
If you do not enter the password keyword, passwords and other security-sensitive information in the output are replaced with the label "<removed>."
The show tech-support commands are a compilation of several show commands and 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:
If you enter the ipmulticast keyword, the output displays the equivalent of these show commands:
If you enter the isis keyword, the output displays the equivalent of these show commands:
If you enter the rsvp 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 "" section.
Related Commands
See the commands listed in the "" section.
Use the show udld command to display the administrative and operational UDLD status.
show udld
Syntax Description
interface-id Interface name.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
If you do not enter an interface-id, administrative and operational UDLD status for all interfaces are displayed.
Examples
This example shows how to display the UDLD state for a single interface:
Router#show udld GigabitEthernet2/2 Interface Gi2/2 --- Port enable administrative configuration setting: Follows device default Port enable operational state: Enabled Current bidirectional state: Bidirectional Current operational state: Advertisement Message interval: 60 Time out interval: 5 No multiple neighbors detected Entry 1 --- Expiration time: 146 Device ID: 1 Current neighbor state: Bidirectional Device name: 0050e2826000 Port ID: 2/1 Neighbor echo 1 device: SAD03160954 Neighbor echo 1 port: Gi1/1 Message interval: 5 CDP Device name: 066527791Router#
Related Commands
Use the show vlan command set to display VLAN information.
show vlan [brief | id vlan | name name] [ | {begin | exclude | include} expression]
Syntax Description
brief (Optional) Keyword to display only a single line for each VLAN, naming the VLAN, status, and ports. id vlan (Optional) Keyword and variable to display information about a single VLAN identified by VLAN ID number; valid values are from 1 to 1005. name name (Optional) Keyword and variable to display information about a single VLAN identified by VLAN name; valid values are an ASCII string from 1 to 32 characters. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Each Ethernet switch port and Ethernet repeater group belong to only one VLAN. Trunk ports can be on multiple VLANs.
Examples
This example shows how to display the VLAN parameters for all VLANs within the administrative domain:
Router#show vlanVLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa5/92 VLAN0002 active Fa5/93 VLAN0003 active Fa5/94 VLAN0004 active Fa5/95 VLAN0005 active Fa5/96 VLAN0006 active Fa5/910 VLAN0010 active Fa5/920 VLAN0020 active Fa5/950 VLAN0050 active Fa5/9<...Output truncated...>850 VLAN0850 active Fa5/9917 VLAN0917 active Fa5/9999 VLAN0999 active Fa5/91002 fddi-default active Fa5/91003 trcrf-default active Fa5/91004 fddinet-default active Fa5/91005 trbrf-default active Fa5/9VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 1500 - - - - - 0 0 2 enet 100002 1500 - - - - - 0 0 3 enet 100003 1500 - - - - - 303 0 4 enet 100004 1500 - - - - - 304 0 5 enet 100005 1500 - - - - - 305 0 6 enet 100006 1500 - - - - - 0 0 10 enet 100010 1500 - - - - - 0 0 20 enet 100020 1500 - - - - - 0 0 50 enet 100050 1500 - - - - - 0 0<...Output truncated...>850 enet 100850 1500 - - - - - 0 0 917 enet 100917 1500 - - - - - 0 0 999 enet 100999 1500 - - - - - 0 0 1002 fddi 101002 1500 - 0 - - - 0 0 1003 trcrf 101003 4472 1005 3276 - - srb 0 0 1004 fdnet 101004 1500 - - - ieee - 0 0 1005 trbrf 101005 4472 - - 15 ibm - 0 0 VLAN AREHops STEHops Backup CRF ---- ------- ------- ---------- 802 0 0 off 1003 7 7 off
This example shows how to display the VLAN name, status, and associated ports only:
Router#show vlan briefVLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa5/92 VLAN0002 active Fa5/93 VLAN0003 active Fa5/94 VLAN0004 active Fa5/95 VLAN0005 active Fa5/96 VLAN0006 active Fa5/910 VLAN0010 active Fa5/920 VLAN0020 active Fa5/950 VLAN0050 active Fa5/9<...Output truncated...>850 VLAN0850 active Fa5/9917 VLAN0917 active Fa5/9999 VLAN0999 active Fa5/91002 fddi-default active Fa5/91003 trcrf-default active Fa5/91004 fddinet-default active Fa5/91005 trbrf-default active Fa5/9
This example shows how to display the VLAN parameters for VLAN 3 only:
Router#show vlan id 3VLAN Name Status Ports---- -------------------------------- --------- -------------------------------3 VLAN0003 active Fa5/9VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------3 enet 100003 1500 - - - - - 303 0
Table 2-7 describes the fields in the show vlan command output.
| Field | Description |
|---|---|
VLAN | VLAN number |
Name | Name, if configured, of the VLAN |
Status | Status of the VLAN (active or suspend) |
Ports | Ports that belong to the VLAN |
Type | Media type of the VLAN |
SAID | Security association ID value for the VLAN |
MTU | Maximum transmission unit size for the VLAN |
Parent | Parent VLAN, if one exists |
RingNo | Ring number for the VLAN, if applicable |
BrdgNo | Bridge number for the VLAN, if applicable |
Stp | Spanning-Tree Protocol type used on the VLAN |
BrdgMode | Bridging mode for this VLAN---possible values are SRB and SRT; the default is SRB |
AREHops | Maximum number of hops for All-Routes Explorer frames---possible values are 1 through 13; the default is 7 |
STEHops | Maximum number of hops for Spanning-Tree Explorer frames---possible values are 1 through 13; the default is 7 |
Backup CRF | Status of whether the TrCRF is a backup path for traffic |
Use the show vtp command to display VTP statistics and domain information.
show vtp counters | status [ | {begin | exclude | include} expression]
Syntax Description
counters Keyword to specify VTP statistics information. status Keyword to specify VTP domain status information. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display VTP statistics:
Router#show vtp countersVTP statistics:Summary advertisements received : 1Subset advertisements received : 1Request advertisements received : 0Summary advertisements transmitted : 31Subset advertisements transmitted : 1Request advertisements transmitted : 0Number of config revision errors : 0Number of config digest errors : 0Number of V1 summary errors : 0VTP pruning statistics:Trunk Join Transmitted Join Received Summary advts received fromnon-pruning-capable device---------------- ---------------- ---------------- ---------------------------Fa5/9 1555 1564 0Router#
This example shows how to display the VTP domain status:
Router# show vtp status
VTP Version : 2
Configuration Revision : 250
Maximum VLANs supported locally : 1005
Number of existing VLANs : 33
VTP Operating Mode : Server
VTP Domain Name : Lab_Network
VTP Pruning Mode : Enabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0xE6 0xF8 0x3E 0xDD 0xA4 0xF5 0xC2 0x0E
Configuration last modified by 172.20.52.18 at 9-22-99 11:18:20
Local updater ID is 172.20.52.18 on interface Vl1 (lowest numbered VLAN interfac
e found)
Router#
This example shows how to display only those lines in the show vtp output that contain the word Summary:
Router# show vtp counters | include Summary Summary advertisements received : 1 Summary advertisements transmitted : 32 Trunk Join Transmitted Join Received Summary advts received from Router#
Table 2-8 describes the fields in the show vtp command output.
| Field | Description |
|---|---|
Summary advts received | Total number of summary advts received |
Subset advts received | Total number of subset advts received |
Request advts received | Total number of request advts received |
Summary advts transmitted | Total number of summary advts transmitted |
Subset advts transmitted | Total number of subset advts transmitted |
Request advts transmitted | Total number of request advts transmitted |
No of config revision errors | Number of config revision errors |
No of config digest errors | Number of config revision digest errors |
Trunk | Trunk port participating in VTP pruning |
Join Transmitted | Number of VTP-Pruning Joins transmitted |
Join Received | Number of VTP-Pruning Joins received |
Summary advts received from non-pruning-capable device | Number of Summary advts received from nonpruning-capable devices |
Number of existing VLANs | Total number of VLANs in the domain |
Configuration Revision | VTP revision number used to exchange VLAN information |
Maximum VLANs supported locally | Maximum number of VLANs allowed on the device |
Number of existing VLANs | Number of existing VLANs |
VTP Operating Mode | Status on whether VTP is enabled or disabled |
VTP Domain Name | Name of the VTP domain |
VTP Pruning Mode | Status on whether VTP pruning is enabled or disabled |
VTP V2 Mode | Status of the VTP V2 mode as server, client, or transparent |
VTP Traps Generation | Status on whether VTP trap generation mode is enabled or disabled |
MD5 digest | Checksum values |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Jul 20 15:06:22 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.