Table Of Contents
service-policy
set
show access-lists
show auto qos
show boot
show class-map
show cluster
show cluster candidates
show cluster members
show controllers ethernet-controller
show controllers lre cpe identity
show controllers lre cpe mfg
show controllers lre cpe protected
show controllers lre cpe version
show controllers lre interface-id actual
show controllers lre interface-id admin
show controllers lre link monitor errors
show controllers lre link monitor parameters
show controllers lre link monitor statistics
show controllers lre log
show controllers lre log level
show controllers lre profile names
show controllers lre profile details
show controllers lre sequence
show controllers lre status
show controllers lre version
show dot1x
show env
show errdisable recovery
show etherchannel
show file
show interfaces
show interfaces counters
show ip access-lists
show ip igmp snooping
show ip igmp snooping mrouter
show lre upgrade binaries
show lre upgrade status
show lre upgrade version
show mac access-group
show mac address-table
show mac address-table multicast
show mac address-table notification
show mls masks
show mls qos interface
show mls qos maps
show monitor
show mvr
show mvr interface
show mvr members
show pagp
show policy-map
show port-security
show remote lre
show rps
show running-config vlan
show spanning-tree
show storm-control
show system mtu
show udld
show version
show vlan
show vmps
show vtp
show wrr-queue bandwidth
show wrr-queue cos-map
shutdown
shutdown vlan
snmp-server enable traps
snmp-server host
snmp trap mac-notification
spanning-tree backbonefast
spanning-tree bpdufilter
spanning-tree bpduguard
spanning-tree cost
spanning-tree extend system-id
spanning-tree guard
spanning-tree link-type
spanning-tree loopguard default
spanning-tree mode
spanning-tree mst configuration
spanning-tree mst cost
spanning-tree mst forward-time
spanning-tree mst hello-time
spanning-tree mst max-age
spanning-tree mst max-hops
spanning-tree mst port-priority
spanning-tree mst priority
spanning-tree mst root
spanning-tree port-priority
spanning-tree portfast (global configuration)
spanning-tree portfast (interface configuration)
spanning-tree stack-port
spanning-tree uplinkfast
spanning-tree vlan
speed
storm-control
switchport access
switchport mode
switchport nonegotiate
switchport port-security
switchport port-security aging
switchport priority extend
switchport protected
switchport trunk
switchport voice vlan
system mtu
2
service-policy
Use the service-policy interface configuration command to apply a policy map defined by the policy-map command to the input of a particular interface. Use the no form of this command to remove the policy map and interface association.
service-policy input policy-map-name
no service-policy input policy-map-name
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
policy-map-name
|
Apply the specified policy map to the input of an interface.
|
Defaults
No policy maps are attached to the interface.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Only one policy map per ingress interface is supported.
Service policy maps cannot be defined on egress interfaces.
Note
For more information about configuring access control lists (ACLs), refer to the "Configuring Network Security with ACLs" chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release.
Examples
This example shows how to apply plcmap1 to an ingress interface:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy input plcmap1
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Command
|
Description
|
policy-map
|
Creates or modifies a policy map that can be attached to multiple interfaces to specify a service policy.
|
show policy-map
|
Displays quality of service (QoS) policy maps.
|
set
Use the set policy-map class configuration command to classify IP traffic by setting a Differentiated Services Code Point (DSCP) value. Use the no form of this command to remove traffic classification.
set ip dscp new-dscp
no set ip dscp new-dscp
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
new-dscp
|
New DSCP value assigned to the classified traffic.
The supported DSCP values are 0, 8, 10, 16, 18, 24, 26, 32, 34, 40, 46, 48, and 56.
|
Defaults
No traffic classification is defined.
Command Modes
Policy-map class configuration
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
The set command can be used in a policy with a match command.
The set command sets the DSCP value for in-profile packets.
Note
This command does not support IP precedence.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command.
Note
For more information about configuring access control lists (ACLs), refer to the "Configuring Network Security with ACLs" chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release.
Examples
This example shows how to assign a DSCP value of 10 to all FTP traffic without any policers:
Switch(config)# policy-map policy_ftp
Switch(config-pmap)# class ftp_class
Switch(config-pmap-c)# set ip dscp 10
Switch(config-pmap)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Command
|
Description
|
police
|
Defines a policer for classified traffic.
|
policy-map
|
Creates or modifies a policy map that can be attached to multiple interfaces to specify a service policy.
|
show policy-map
|
Displays quality of service (QoS) policy maps.
|
show access-lists
Use the show access-lists privileged EXEC command to display access control lists (ACLs) configured on the switch.
show access-lists [name | number] [ | {begin | exclude | include} expression]
Syntax Description
name
|
(Optional) Name of the ACL.
|
number
|
(Optional) ACL number. The range is from 1 to 2699.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show access-lists command:
Switch# show access-lists
Standard IP access list testingacl
Standard IP access list wizard_1-1-1-2
Extended IP access list 103
permit tcp any any eq www
Extended IP access list CMP-NAT-ACL
Dynamic Cluster-HSRP deny ip any any
Dynamic Cluster-NAT permit ip any any
permit ip host 10.123.222.192 any
permit ip host 10.228.215.0 any
permit ip host 10.245.137.0 any
permit ip host 10.245.155.128 any
permit ip host 10.221.111.64 any
permit ip host 10.216.25.128 any
permit ip host 10.186.122.64 any
permit ip host 10.169.110.128 any
permit ip host 10.146.106.192 any
Related Commands
show auto qos
Use the show auto qos user EXEC command to display the configuration applied and the new defaults in effect by the automatic quality of service (auto-QoS) feature.
show auto qos [interface [interface-id]] | [voip [interface [interface-id]] [ | {begin | exclude |
include} expression]
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
interface [interface-id]
|
(Optional) Display auto-QoS information for the specified interface or for all interfaces. Valid interfaces include physical ports.
|
voip
|
(Optional) Display auto-QoS information for voice over IP (VoIP).
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(11)EA1
|
This command was introduced.
|
Usage Guidelines
This command displays the auto-QoS defaults; it does not display any user changes to the configuration that might be in effect.
To display information about the current QoS configuration that might be affected by auto-QoS, use one of these commands:
•
show mls qos
•
show mls qos map cos-dscp
•
show mls qos interface [interface-id] [policers]
Note
The show running-config privileged EXEC command displays only user-entered commands, which can be written to nonvolatile RAM (NVRAM) by using the copy running-config startup-config privileged EXEC command. The show running-config command does not display the auto-QoS-generated configuration, and this configuration is not written to NVRAM.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show auto qos voip command when auto-QoS is enabled:
Switch# show auto qos voip
AutoQoS is enabled with defaults as follows:
--------------------------------
dscp: 0 10 18 26 34 46 48 56
CoS Value : 0 1 2 3 4 5 6 7
Priority Queue : 1 1 1 3 3 4 3 3
This is an example of output from the show auto qos voip interface gigabitethernet0/2 command when the auto qos voip cisco-phone interface configuration command is enabled:
Switch# show auto qos voip interface gigabitethernet0/2'0
Switch#sh auto qos voip int fa0/1
Ingress AutoQoS is enabled
Switch#sh auto qos voip int g0/1
Ingress AutoQoS is enabled
Egress AutoQoS is enabled with defaults as follows:
Egress expedite queue: ena
4 - 0 when expedite queue is disabled
This is an example of output from the show auto qos voip interface fastethernet0/1 command when
the auto qos voip cisco-phone interface configuration command is entered:
Switch# show auto qos voip interface fastethernet0/1
Ingress AutoQoS is enabled
trust device: cisco-phone
Egress AutoQoS is enabled with defaults as follows:
Minimum reserve buffer size:
Egress expedite queue: ena
4 - 0 when expedite queue is disabled
Related Commands
Command
|
Description
|
auto qos voip
|
Automatically configures QoS for VoIP within a QoS domain.
|
show boot
Use the show boot privileged EXEC command to display the settings of the boot environment variables.
show boot [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)EA1
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This example shows output from the show boot command. Table 2-6 describes each field in the output.
BOOT path-list: flash:boot
Config file: flash:config.text
Private Config file: flash:private-config.text
Table 2-6 show boot Field Descriptions
Field
|
Description
|
BOOT path-list
|
Displays a semicolon-separated list of executable files to load and to execute when automatically booting.
If the BOOT environment variable is not set, the system attempts to load and execute the first executable image it can find by using a recursive, depth-first search through the Flash file system. In a depth-first search of a directory, each encountered subdirectory is completely searched before continuing the search in the original directory.
If the BOOT variable is set but the specified images cannot be loaded, the system attempts to boot the first bootable file that it can find in the Flash file system.
|
Config file
|
Displays the filename that IOS uses to read and write a nonvolatile copy of the system configuration.
|
Private Config file
|
Displays the filename that IOS uses to read and write a nonvolatile copy of the private configuration.
|
Enable Break
|
Displays whether a break during booting is enabled or disabled. If it is set to yes, on, or 1, you can interrupt the automatic boot process by pressing the Break key on the console after the Flash file system is initialized.
|
Manual Boot
|
Displays whether the switch automatically or manually boots. If it is set to no or 0, the boot loader attempts to automatically boot the system. If it is set to anything else, you must manually boot the switch from the boot loader mode.
|
Helper path-list
|
Displays a semicolon-separated list of loadable files to dynamically load during the boot loader initialization. Helper files extend or patch the functionality of the boot loader.
|
NVRAM/Config file buffer size
|
Displays the buffer size that IOS uses to hold a copy of the configuration file in memory. The configuration file cannot be larger than the buffer size allocation.
|
Related Commands
Command
|
Description
|
boot private-config-file
|
Specifies the filename that IOS uses to read and write a nonvolatile copy of the private configuration.
|
show class-map
Use the show class-map user EXEC command to display quality of service (QoS) class maps, which define the match criteria to classify traffic.
show class-map [class-map-name] [ | {begin | exclude | include} expression]
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
class-map-name
|
(Optional) Display the contents of the specified class map.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
If you do not specify a class-map-name, all class maps appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show class-map test command:
Switch> show class-map test
Class Map match-all test (id 2)
Match access-group name testingacl
This is an example of output from the show class-map command:
Class Map match-all wizard_1-1-1-2 (id 3)
Match access-group name videowizard_1-1-1-2
Class Map match-all test (id 2)
Match access-group name testingacl
Class Map match-any class-default (id 0)
Class Map match-all class1 (id 5)
Class Map match-all classtest (id 4)
Description: This is a test.
Match access-group name testingacl
Related Commands
Command
|
Description
|
class-map
|
Creates a class map to be used for matching packets to the class whose name you specify.
|
match
|
Defines the match criteria to classify traffic.
|
show cluster
Use the show cluster privileged EXEC command to display the cluster status and a summary of the cluster to which the switch belongs. This command can be entered on command and member switches.
show cluster [ | {begin | exclude | include} expression]
Syntax Descriptionshow cluster
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
On a member switch, this command displays the identity of the command switch, the switch member number, and the state of its connectivity with the command switch.
On a command switch, this command displays the cluster name and the total number of members. It also shows the cluster status and time since the status changed. If redundancy is enabled, it displays the primary and secondary command-switch information.
If you enter this command on a switch that is not a cluster member, the error message Not a management cluster member appears.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output when this command is entered on the active command switch:
Command switch for cluster "Switch1"
Total number of members: 7
Status: 1 members are unreachable
Time since last status change: 0 days, 0 hours, 2 minutes
Standby command switch: Member 1
Standby Group: Switch1_standby
Standby Group Number: 110
Extended discovery hop count: 3
This is an example of output when this command is entered on a member switch:
Member switch for cluster "commander"
Management IP address: 192.192.192.192
Command switch mac address: 0000.0c07.ac14
This is an example of output when this command is entered on a member switch that is configured as the standby command switch:
Member switch for cluster "commander"
Member number: 3 (Standby command switch)
Management IP address: 192.192.192.192
Command switch mac address: 0000.0c07.ac14
This is an example of output when this command is entered on the command switch that has lost connectivity from member 1:
Command switch for cluster "Switch1"
Total number of members: 7
Status: 1 members are unreachable
Time since last status change: 0 days, 0 hours, 5 minutes
Extended discovery hop count: 3
This is an example of output when this command is entered on a member switch that has lost connectivity with the command switch:
Member switch for cluster "commander"
Management IP address: 192.192.192.192
Command switch mac address: 0000.0c07.ac14
Related Commands
Command
|
Description
|
cluster enable
|
Enables a command-capable switch as the cluster command switch, assigns a cluster name, and optionally assigns a member number to it.
|
show cluster candidates
|
Displays a list of candidate switches.
|
show cluster members
|
Displays information about the cluster members.
|
show cluster candidates
Use the show cluster candidates privileged EXEC command on the command switch to display a list of candidate switches.
show cluster candidates [detail | mac-address H.H.H.] [ | {begin | exclude | include} expression]
Syntax Description
detail
|
(Optional) Display detailed information for all candidates.
|
mac-address H.H.H.
|
(Optional) Hexadecimal MAC address of the cluster candidate.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
You should only enter this command on a command switch.
If the switch is not a command switch, the command displays an empty line at the prompt.
The SN in the output means switch member number. If E is in the SN column, it means that the switch is discovered through extended discovery. If E does not appear in the SN column, it means that the switch member number is the upstream neighbor of the candidate switch. The hop count is the number of devices the candidate is from the command switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show cluster candidates command:
Switch# show cluster candidates
MAC Address Name Device Type PortIf FEC Hops SN PortIf FEC
00d0.7961.c4c0 c2950-012 WS-C2950-12 Fa0/5 1 0 Fa0/3
00d0.bbf5.e900 ldf-dist-128 WS-C3524-XL Fa0/7 1 0 Fa0/24
00e0.1e7e.be80 1900_Switch 1900 3 0 1 0 Fa0/11
00e0.1e9f.7a00 c2924XL-24 WS-C2924-XL Fa0/5 1 0 Fa0/3
00e0.1e9f.8c00 c2912XL-12-2 WS-C2912-XL Fa0/4 1 0 Fa0/7
00e0.1e9f.8c40 c2912XL-12-1 WS-C2912-XL Fa0/1 1 0 Fa0/9
0050.2e4a.9fb0 C3508XL-0032 WS-C3508-XL E
0050.354e.7cd0 C2924XL-0034 WS-C2924-XL E
This is an example of output from the show cluster candidates command that uses the MAC address of a member switch directly connected to the command switch:
Switch# show cluster candidates mac-address 00d0.7961.c4c0
Device 'c2950-12' with mac address number 00d0.7961.c4c0
Device type: cisco WS-C2950-12
Upstream MAC address: 00d0.796d.2f00 (Cluster Member 0)
Local port: Fa0/3 FEC number:
Upstream port: Fa0/13 FEC Number:
Hops from cluster edge: 1
Hops from command device: 1
This is an example of output from the show cluster candidates command that uses the MAC address of a member switch three hops from the cluster edge:
Switch# show cluster candidates mac-address 0010.7bb6.1cc0
Device 'c2950-24' with mac address number 0010.7bb6.1cc0
Device type: cisco WS-C2950-24
Upstream MAC address: 0010.7bb6.1cd4
Local port: Fa2/1 FEC number:
Upstream port: Fa0/24 FEC Number:
Hops from cluster edge: 3
Hops from command device: -
This is an example of output from the show cluster candidates detail command:
Switch# show cluster candidates detail
Device 'c2950-12' with mac address number 00d0.7961.c4c0
Device type: cisco WS-C2950-12
Upstream MAC address: 00d0.796d.2f00 (Cluster Member 1)
Local port: Fa0/3 FEC number:
Upstream port: Fa0/13 FEC Number:
Hops from cluster edge: 1
Hops from command device: 2
Device '1900_Switch' with mac address number 00e0.1e7e.be80
Upstream MAC address: 00d0.796d.2f00 (Cluster Member 2)
Local port: 3 FEC number: 0
Upstream port: Fa0/11 FEC Number:
Hops from cluster edge: 1
Hops from command device: 2
Device 'c2924-XL' with mac address number 00e0.1e9f.7a00
Device type: cisco WS-C2924-XL
Upstream MAC address: 00d0.796d.2f00 (Cluster Member 3)
Local port: Fa0/5 FEC number:
Upstream port: Fa0/3 FEC Number:
Hops from cluster edge: 1
Hops from command device: 2
Related Commands
Command
|
Description
|
show cluster
|
Displays the cluster status and a summary of the cluster to which the switch belongs.
|
show cluster members
|
Displays information about the cluster members.
|
show cluster members
Use the show cluster members privileged EXEC command on the command switch to display information about the cluster members.
show cluster members [n | detail] [ | {begin | exclude | include} expression]
Syntax Description
n
|
(Optional) Number that identifies a cluster member. The range is from 0 to 15.
|
detail
|
(Optional) Display detailed information for all cluster members.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
You should only enter this command on a command switch.
If the cluster has no members, this command displays an empty line at the prompt.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show cluster members command. The SN in the display means switch number.
Switch# show cluster members
SN MAC Address Name PortIf FEC Hops SN PortIf FEC State
0 0002.4b29.2e00 StLouis1 0 Up (Cmdr)
1 0030.946c.d740 tal-switch-1 Fa0/13 1 0 Gi0/1 Up
2 0002.b922.7180 nms-2820 10 0 2 1 Fa0/18 Up
3 0002.4b29.4400 SanJuan2 Gi0/1 2 1 Fa0/11 Up
4 0002.4b28.c480 GenieTest Gi0/2 2 1 Fa0/9 Up
This is an example of output from the show cluster members 3 command for cluster member 3:
Switch# show cluster members 3
Device 'SanJuan2' with member number 3
Device type: cisco WS-C3550-12T
MAC address: 0002.4b29.4400
Upstream MAC address: 0030.946c.d740 (Cluster member 1)
Local port: Gi0/1 FEC number:
Upstream port: Fa0/11 FEC Number:
Hops from command device: 2
This is an example of output from the show cluster members detail command:
Switch# show cluster members detail
Device 'StLouis1' with member number 0 (Command Switch)
Device type: cisco WS-C3550-12T
MAC address: 0002.4b29.2e00
Upstream port: FEC Number:
Hops from command device: 0
Device 'tal-switch-14' with member number 1
Device type: cisco WS-C3548-XL
MAC address: 0030.946c.d740
Upstream MAC address: 0002.4b29.2e00 (Cluster member 0)
Local port: Fa0/13 FEC number:
Upstream port: Gi0/1 FEC Number:
Hops from command device: 1
Device 'nms-2820' with member number 2
MAC address: 0002.b922.7180
Upstream MAC address: 0030.946c.d740 (Cluster member 1)
Local port: 10 FEC number: 0
Upstream port: Fa0/18 FEC Number:
Hops from command device: 2
Device 'SanJuan2' with member number 3
Device type: cisco WS-C3550-12T
MAC address: 0002.4b29.4400
Upstream MAC address: 0030.946c.d740 (Cluster member 1)
Local port: Gi0/1 FEC number:
Upstream port: Fa0/11 FEC Number:
Hops from command device: 2
Device 'Test' with member number 4
Device type: cisco SeaHorse
MAC address: 0002.4b28.c480
Upstream MAC address: 0030.946c.d740 (Cluster member 1)
Local port: Gi0/2 FEC number:
Upstream port: Fa0/9 FEC Number:
Hops from command device: 2
Device 'Palpatine' with member number 5
Device type: cisco WS-C2924M-XL
MAC address: 00b0.6404.f8c0
Upstream MAC address: 0002.4b29.2e00 (Cluster member 0)
Local port: Gi2/1 FEC number:
Upstream port: Gi0/7 FEC Number:
Hops from command device: 1
Related Commands
Command
|
Description
|
show cluster
|
Displays the cluster status and a summary of the cluster to which the switch belongs.
|
show cluster candidates
|
Displays a list of candidate switches.
|
show controllers ethernet-controller
Use the show controllers ethernet-controller privileged EXEC command to display the Ethernet link send and receive statistics on a Fast Ethernet or Long-Reach Ethernet (LRE) port.
show controllers ethernet-controller [interface-id] [cpe [port port-id] [ | {begin | exclude |
include} expression]
Syntax Description
interface-id
|
(Optional) ID of the Fast Ethernet or LRE port.
|
cpe
|
(Optional) Display both LRE and all Fast Ethernet ports on connected devices.
|
port
|
(Optional) CPE port keywords display the Ethernet statistics of the designated customer premises equipment (CPE) Ethernet port.
|
port-id
|
CPE Ethernet port identifier. Valid values vary from 1 to 4, depending on CPE device.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Using the show controllers ethernet-controller command without specifying a Fast Ethernet or LRE port displays the Ethernet link statistics of all Ethernet ports on the switch. The output shows the internal switch statistics, the statistics collected by the LRE interface on the switch, and if the CPE option is specified, the statistics collected by the LRE interface on the connected customer premises equipment (CPE) devices.
The CPE Ethernet link on a switch LRE port is the connection between the Cisco LRE CPE and the remote Ethernet device (such as a PC) connected to it. It is not the link between the switch LRE port and the LRE CPE device.
Examples
This is an example of output from the show controllers ethernet-controller command on Long-Reach Ethernet port 2:
Switch# show controllers ethernet-controller lo0/2
18230744 Bytes 901461 Bytes
9014 Unicast frames 40 Unicast frames
55624 Multicast frames 1249 Multicast frames
285 Broadcast frames 0 Broadcast frames
0 Discarded frames 0 No bandwidth frames
0 Too old frames 0 No buffers frames
0 Deferred frames 7456 No dest, unicast
0 1 collision frames 0 No dest, multicast
0 2 collision frames 0 No dest, broadcast
0 3 collision frames 0 Alignment errors
0 4 collision frames 0 FCS errors
0 5 collision frames 0 Collision fragments
0 7 collision frames 0 Undersize frames
0 8 collision frames 7473 Minimum size frames
0 9 collision frames 25 65 to 127 byte frames
0 10 collision frames 0 128 to 255 byte frames
0 11 collision frames 1247 256 to 511 byte frames
0 12 collision frames 0 512 to 1023 byte frames
0 13 collision frames 0 1024 to 1518 byte frames
0 14 collision frames 0 Oversize frames
LRE Enet Stats on Switch:
592145 Bytes 114825 Bytes
0 Pause frames 0 Pause frames
128 1 collision frames 0 Alignment errors
0 Multiple collisions 0 Collisions and Runts
0 Late collisions 0 Oversize frames
0 Excessive collisions 0 FCS errors
This is an example of output from the Ethernet statistics of the LRE chipset and all the LRE Ethernet ports on the CPE device:
Switch# show controllers ethernet-controller lo0/5 cpe
592145 Bytes 114825 Bytes
0 Pause frames 0 Pause frames
177 1 collision frames 0 Alignment errors
0 Multiple collisions 2 Collisions and Runts
0 Late collisions 0 Oversize frames
0 Excessive collisions 0 FCS errors
CPE Fast Ethernet Port: 1
42308326 Bytes 8264733 Bytes
193 Unicast Frames 68745 Unicast Frames
511408 Multicast Frames 11469 Multicast Frames
1886 Broadcast Frames 0 Broadcast Frames
0 Dropped Frames 0 Dropped Frames
0 Pause Frames 0 Pause Frames
0 Collision Frames 0 Alignment Errors
0 One Collision Frames 0 Fragments
0 Multiple Collisions 0 Undersize Frames
0 Late Collisions 0 Oversize Frames
0 Excess Collisions 0 FCS errors
0 Frame Discard 0 Excess Size Discards
2 Deferred Frames 0 Jabbers
11469 256-511 Byte Frames
CPE Fast Ethernet Port: 2
42308326 Bytes 8264733 Bytes
193 Unicast Frames 68745 Unicast Frames
511408 Multicast Frames 11469 Multicast Frames
1886 Broadcast Frames 0 Broadcast Frames
0 Dropped Frames 0 Dropped Frames
0 Pause Frames 0 Pause Frames
0 Collision Frames 0 Alignment Errors
0 One Collision Frames 0 Fragments
0 Multiple Collisions 0 Undersize Frames
0 Late Collisions 0 Oversize Frames
0 Excess Collisions 0 FCS errors
0 Frame Discard 0 Excess Size Discards
2 Deferred Frames 0 Jabbers
11469 256-511 Byte Frames
CPE Fast Ethernet Port: 3
42308326 Bytes 8264733 Bytes
193 Unicast Frames 68745 Unicast Frames
511408 Multicast Frames 11469 Multicast Frames
1886 Broadcast Frames 0 Broadcast Frames
0 Dropped Frames 0 Dropped Frames
0 Pause Frames 0 Pause Frames
0 Collision Frames 0 Alignment Errors
0 One Collision Frames 0 Fragments
0 Multiple Collisions 0 Undersize Frames
0 Late Collisions 0 Oversize Frames
0 Excess Collisions 0 FCS errors
0 Frame Discard 0 Excess Size Discards
2 Deferred Frames 0 Jabbers
11469 256-511 Byte Frames
CPE Fast Ethernet Port: 4
42308326 Bytes 8264733 Bytes
193 Unicast Frames 68745 Unicast Frames
511408 Multicast Frames 11469 Multicast Frames
1886 Broadcast Frames 0 Broadcast Frames
0 Dropped Frames 0 Dropped Frames
0 Pause Frames 0 Pause Frames
0 Collision Frames 0 Alignment Errors
0 One Collision Frames 0 Fragments
0 Multiple Collisions 0 Undersize Frames
0 Late Collisions 0 Oversize Frames
0 Excess Collisions 0 FCS errors
0 Frame Discard 0 Excess Size Discards
2 Deferred Frames 0 Jabbers
11469 256-511 Byte Frames
This is an example of output of the Ethernet statistics from port 3 on the CPE device:
Switch# show controllers ethernet-controller lo0/5 cpe port 3
42308326 Bytes 8264733 Bytes
193 Unicast Frames 68745 Unicast Frames
511408 Multicast Frames 11469 Multicast Frames
1886 Broadcast Frames 0 Broadcast Frames
0 Dropped Frames 0 Dropped Frames
0 Pause Frames 0 Pause Frames
0 Collision Frames 0 Alignment Errors
0 One Collision Frames 0 Fragments
0 Multiple Collisions 0 Undersize Frames
0 Late Collisions 0 Oversize Frames
0 Excess Collisions 0 FCS errors
0 Frame Discard 0 Excess Size Discards
2 Deferred Frames 0 Jabbers
11469 256-511 Byte Frames
Related Commands
show controllers lre cpe identity
Use the show controllers lre cpe identity privileged EXEC command to display the model numbers of the Long-Reach Ethernet (LRE) customer premises equipment (CPE) devices connected to the LRE switch. This command also shows whether or not the connected CPE devices meet the minimum requirements for management by the LRE switch.
show controllers lre cpe identity [interface-id] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) ID of the switch LRE port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
This command shows the type of CPE device attached to each LRE interface. For all Cisco supported CPE devices, the status can be certified, non-certified, or NA:
A certified status means that the CPE device meets the minimum requirements (such as having a certain CPE device patch version) for management by the LRE switch.
A non-certified status means that the CPE device did not meet the minimum requirements. If a CPE device shows a status of non-certified, or if the family is not either a Cisco 585 LRE CPE or a Cisco 575 LRE CPE, use the show controllers lre cpe mfg command to verify the validity of the CPE manufacturing fields.
A NA status means that there is not a link or there is not any information about that port.
Using the show controllers lre cpe identity command without specifying a switch LRE port displays the model numbers and status of all connected CPE devices.
Examples
This is an example of output from the show controllers lre cpe identity command:
Switch# show controllers lre cpe identity
Port CPE Model Status Family
------ ------------ --------------- ------
Lo0/1 CISCO585-LRE CERTIFIED CISCO585-LRE
Lo0/2 CISCO585-LRE CERTIFIED CISCO585-LRE
Lo0/3 CISCO585-LRE CERTIFIED CISCO585-LRE
Lo0/6 Cisco575-LRE CERTIFIED CISCO575-LRE
Lo0/8 Cisco575-LRE CERTIFIED CISCO575-LRE
Lo0/11 CISCO585-LRE CERTIFIED CISCO585-LRE
Lo0/12 CISCO585-LRE CERTIFIED CISCO585-LRE
Lo0/13 CISCO585-LRE CERTIFIED CISCO585-LRE
Lo0/16 NON-CERTIFIED UNSUPPORTED-MAC-MODE
Related Commands
Command
|
Description
|
show controllers lre version
|
Displays the version number of the hardware, software, and patch software components of the switch LRE interface and the CPE LRE interface.
|
show controllers lre cpe mfg
Use the show controllers lre cpe mfg privileged EXEC command to display the revision and serial numbers of the connected Cisco Long-Reach Ethernet (LRE) customer premises equipment (CPE) board, assembly, and system.
show controllers lre cpe mfg [interface-id] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) ID of the switch LRE port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
This command displays fields specific to each CPE device unit. The IOS software uses the model number field to identify the kind of CPE device attached to a Long-Reach Ethernet interface. The System Serial Number is also unique to each CPE device unit.
Examples
This is an example of output that shows the manufacturing information for the CPE device:
Switch# show controllers lre cpe mfg lo0/5
CPE Manufacturer Information:
Assembly Revision Number:
Model Number :CISCO585-LRE
Model Revision Number :A0
System Serial Number :ACT0613004E
Assembly Revision Number:
Model Number :CISCO585-LRE
Model Revision Number :A0
System Serial Number :ACT0613005B
Assembly Revision Number:
Model Number :CISCO585-LRE
Model Revision Number :A0
System Serial Number :ACT06130068
Assembly Revision Number:
Assembly Revision Number:
Assembly Revision Number:
Model Number :Cisco575-LRE
Model Revision Number :A0
Assembly Revision Number:
Assembly Revision Number:
Model Number :Cisco575-LRE
Model Revision Number :A0
Assembly Revision Number:
Assembly Revision Number:
Assembly Revision Number:
Model Number :CISCO585-LRE
Model Revision Number :A0
Related Commands
show controllers lre cpe protected
Use the show controllers lre cpe protected privileged EXEC command to display and identify Cisco 585 LRE customer premises equipmement (CPE) Ethernet ports that are configured as protected.
show controllers lre cpe protected [interface-id] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) ID of the switch Long-Reach Ethernet (LRE) port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Using the show controllers lre cpe protected command without specifying an LRE interface displays the protected port setting for each CPE port . Any Cisco 575 LRE CPE devices display a protected field output of NA.
Examples
This is an example of output that shows the CPE protected information for LRE interface lo0/9:
Switch# show controllers lre cpe protected lo0/9
This is an example of output that shows the CPE protected information for all switch LRE interfaces:
Switch# show controllers lre cpe protected
Related CommandsLo0/9 4 true
Command
|
Description
|
cpe protected
|
Restricts data traffic to individual ports on Cisco 585 LRE CPE ports.
|
show controllers lre cpe version
Use the show controllers lre cpe version privileged EXEC command to display the version numbers of the various components (hardware, firmware, patch software, and bootloader firmware and application firmware) of the Long-Reach Ethernet (LRE) customer premises equipment (CPE) interface.
show controllers lre cpe version [interface-id] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) ID of the switch LRE port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Using the show controllers lre cpe version command without specifying a switch LRE port displays the version numbers of all CPE device interfaces.
Examples
This is an example of output from the show controllers lre cpe version command:
Switch# show controllers lre cpe version lo0/5
Interface Hw Sw Patch Boot App
--------- --- --- ------ ----- -----
Related Commands
Command
|
Description
|
show controllers lre cpe identity
|
Displays the model numbers of the LRE CPE devices connected to the LRE switch and shows whether or not the connected CPE devices meet the minimum requirements for management by the LRE switch.
|
show controllers lre cpe mfg
|
Displays the revision and serial numbers of the connected Cisco Long-Reach Ethernet (LRE) customer premises equipment (CPE) board, assembly, and system.
|
show controllers lre interface-id actual
Use the show controllers lre interface-id actual privileged EXEC command to display the actual values of the Long-Reach Ethernet (LRE) link on a specific switch LRE port.
show controllers lre interface-id actual [dsrserrs | usrserrs | txpower | rxpower | snr | link]
[ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
ID of the switch LRE port.
|
actual
|
Display the LRE port current status, which might not be the same as the administratively configured settings.
|
dsrserrs
|
Display the downstream Reed-Solomon errors on the LRE port.
|
usrserrs
|
Display the upstream Reed-Solomon errors on the LRE port.
|
txpower
|
Display the remote transmit power (dBm/Hz) on the LRE port.
|
rxpower
|
Display the local receive power (dBm/Hz) on the customer premises equipment (CPE) port.
|
snr
|
Display the signal-to-noise ratio (SNR) ratio on the LRE port.
|
link
|
Display the LRE link status of the LRE port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Use the SNR and Reed-Solomon error information to measure the quality of the LRE link. The SNR is the amount of increased received signal-power (in decibels) relative to the noise-power level that the switch can tolerate without disconnecting from the CPE device. The higher the ratio, the more resilient is the link.
The Reed-Solomon errors show the number of errors detected and corrected in the data being received on and sent from the switch LRE ports. Reed-Solomon errors are the result of noise exceeding the noise margin. For short bursts of noise (such as motor power on or power surges), the interleaver prevents the loss of Ethernet data packets. Then the number of Reed-Solomon errors exceeds the number of Ethernet CRC errors.
The remote transmit power-rates from the connected CPE devices might be different from each other, depending on how long the cable is between the switch and the CPE device. A longer cable typically causes the CPE device to send a higher signal to overcome the loss effects of distance.
The local receive-power actually displays the switch's adjustment to the incoming power level. These numbers might be different from LRE port to LRE port, as the length of the cables to the CPE devices might be different.
If the SNR is too low for the environment but the link still establishes, the Reed-Solomon error rate is high, and there might be link instability (as shown by the number of Fail events counted). If the network is being used for data only, a high incidence of Ethernet Frame Check Sequence (FCS) errors or micro-interruptions might be tolerable.
For more information about what can affect the LRE link and for the minimum required SNR ratios, refer to the "LRE Links and LRE Profiles" section in the Catalyst 2950 Desktop Switch Software Configuration Guide.
Examples
This is an example of output from the show controllers lre interface-id actual dsrserrs command on switch LRE port 2:
Switch# show controllers lre lo0/2 actual dsrserrs
This is an example of output from the show controllers lre interface-id actual link command on switch LRE port 2:
Switch# show controllers lre lo0/2 actual link
This is an example of output from the show controllers lre interface-id actual rxpower command on switch LRE port 2:
Switch# show controllers lre lo0/2 actual rxpower
This is an example of output from the show controllers lre interface-id actual snr command on switch LRE port 2:
Switch# show controllers lre lo0/2 actual snr
This is an example of output from the show controllers lre interface-id actual txpower command on switch LRE port 2:
Switch# show controllers lre lo0/2 actual txpower
This is an example of output from the show controllers lre interface-id actual usrserrs command on switch LRE port 2:
Switch# show controllers lre lo0/2 actual usrserrs
This is an example of output from the show controllers lre interface-id actual link command on switch LRE port 1:
Switch# show controllers lre lo0/1 actual link
Related Commands
show controllers lre interface-id admin
Use the show controllers lre interface-id admin privileged EXEC command to display the administrative settings of the Long-Reach Ethernet (LRE) link for a specific switch LRE port.
show controllers lre interface-id admin [dsrate | usrate] [ |{begin | exclude | include} expression]
Syntax Description
interface-id
|
ID of the switch LRE port.
|
admin
|
Administrative settings display, which might not be the same as the actual values.
|
dsrate
|
Downstream rate (Mbps) display of the LRE link.
|
usrate
|
Upstream rate (Mbps) display of the LRE link.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
This command displays the profile settings of a switch LRE port, even though they might not be active if a global profile is configured on the switch.
The upstream and downstream rates are defined by the profile on the switch LRE port. To change these rates, assign a different profile to the switch LRE port. For information about the LRE profiles, refer to the Catalyst 2950 Desktop Switch Software Configuration Guide.
Examples
This is an example of output from the show controllers lre interface-id admin dsrate and show controllers lre interface-id admin usrate commands on switch LRE ports 1 and 2:
Switch# show controllers lre lo0/1 admin usrate
Switch# show controllers lre lo0/1 admin dsrate
Switch# show controllers lre lo0/2 admin usrate
Switch# show controllers lre lo0/2 admin dsrate
Related Commands
show controllers lre link monitor errors
Use the show controllers lre link monitor errors privileged EXEC command to display and analyze Long-Reach Ethernet (LRE) Reed Solomon errors and Ethernet errors.
show controllers lre monitor errors {local [interface-id] | remote [interface-id]} [ | {begin |
exclude | include} expression]
Syntax Description
local
|
(Optional) Data from the LRE switch controller.
|
remote(
|
(Optional) Data from the customer premises equipment (CPE) device.
|
interface-id
|
(Optional) ID of the switch LRE port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
The link monitor process collects errror information at minute intervals for 15 minutes. After 15 minutes, the data is analyzed and stored before starting a new collection sequence. Up to 2 hours of link monitor data can be shown.
The Time heading in the output shows the timestamp for the last collection sequence. The Reed Solomon (RS) error count shows the cumulative error count from the last reading. Alignment errors, frame check sequence (FCS) errors, receive errors, and oversize errors are the Ethernet statistics collected either at the switch or at the CPE device.
Using this command without specifying a switch port displays data for all ports.
Examples
This is an example of output that shows how to display LRE Reed Solomon and Ethernet errors for the LRE switch on LRE link 0/1:
Switch# show controllers lre link monitor errors local lo0/1
LongReachEthernet0/1:LRE Link Health Monitor Error counts :
Time RS Errors Align Errs FCS Errs Rcv Errs Oversz Errs
-------- ---------- ---------- ---------- ---------- -----------
This example displays Reed Solomon and Ethernet errors for a CPE device connected to LRE 0/1:
Switch# show controllers lre link monitor errors remote lo0/1
LongReachEthernet0/1:LRE Link Health Monitor Error counts :
Time RS Errors Align Errs FCS Errs Rcv Errs Oversz Errs
-------- ---------- ---------- ---------- ---------- -----------
14:42:28 6400 45835 0 0 0
14:30:28 6400 45835 0 0 0
14:15:28 6400 45835 0 0 0
14:00:29 6400 45835 0 0 0
13:45:28 6144 45835 0 0 0
13:30:29 6144 45835 0 0 0
13:15:29 6144 45835 0 0 0
13:00:28 6144 45835 0 0 0
Related CommandsLoki-kalh#
show controllers lre link monitor parameters
Use the show controllers lre link monitor parameters privileged EXEC command to display the Long-Reach Ethernet (LRE) operating parameter data collected by the link monitor. Local monitoring collects data from the LRE switch, and the remote monitoring collects data from attached CPE device.
show controllers lre monitor parameters {local [interface-id] | remote [interface-id]}[ | {begin |
exclude | include} expression]
Syntax Description
local
|
(Optional) Data from the LRE switch controller.
|
remote(
|
(Optional) Data from the customer premises equipment (CPE) device.
|
interface-id
|
(Optional) ID of the switch LRE port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
The link monitor process collects errror information at minute intervals for 15 minutes. After 15 minutes, the data is analyzed and stored before starting a new collection sequence. Up to 2 hours of link monitor data can be shown.
The Time heading in the output shows the timestamp for the last collection sequence. The signal-to-noise (SNR) error counter, shown under the SNR Err heading, increments when the SNR value read from the chipset falls below the theoretical SNR added to the threshold.
Using this command without specifying a switch port, displays data for all ports.
Examples
This is an example that shows how to display all LRE link monitor parameters for the attached CPE device:
Switch# show controllers lre link monitor parameters remote
LongReachEthernet0/1: LRE Link Health Monitor Parameters :
Time Samples Min Max Err Min Max Min Max
-------- ------- --- --- --- ------- ------- ------- -------
00:32:30 2 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
00:30:30 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
00:15:30 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
00:00:30 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
23:45:30 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
23:30:30 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
23:15:30 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
LongReachEthernet0/2: LRE Link Health Monitor Parameters :
Time Samples Min Max Err Min Max Min Max
-------- ------- --- --- --- ------- ------- ------- -------
00:32:31 2 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
00:30:31 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
00:15:31 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
00:00:31 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
23:45:31 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
23:30:31 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
23:15:31 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
23:00:31 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
LongReachEthernet0/3: LRE Link Health Monitor Parameters :
Time Samples Min Max Err Min Max Min Max
-------- ------- --- --- --- ------- ------- ------- -------
00:33:31 3 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
00:30:31 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
00:15:31 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
00:00:31 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
23:45:31 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
23:30:31 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
23:15:31 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
23:00:31 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
LongReachEthernet0/4: LRE Link Health Monitor Parameters :
Time Samples Min Max Err Min Max Min Max
-------- ------- --- --- --- ------- ------- ------- -------
LongReachEthernet0/5: LRE Link Health Monitor Parameters :
Time Samples Min Max Err Min Max Min Max
-------- ------- --- --- --- ------- ------- ------- -------
LongReachEthernet0/6: LRE Link Health Monitor Parameters :
Time Samples Min Max Err Min Max Min Max
-------- ------- --- --- --- ------- ------- ------- -------
00:34:31 4 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
00:30:32 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
00:15:32 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
00:00:32 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
23:45:32 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
23:30:32 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
23:15:32 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
23:00:31 15 27 27 0 - 85.9 - 85.9 - 2.0 - 2.0
LongReachEthernet0/7: LRE Link Health Monitor Parameters :
Time Samples Min Max Err Min Max Min Max
-------- ------- --- --- --- ------- ------- ------- -------
3:00:30 15 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0
Related Commands
show controllers lre link monitor statistics
Use the show controllers lre link monitor statistics privileged EXEC command to display the Long-Reach Ethernet (LRE) link monitor statistics. Local monitoring collects data from the LRE switch while the remote monitoring collects data from attached CPE device.
show controllers lre monitor statistics {local [interface-id] | remote [interface-id]} [ | {begin |
exclude | include} expression]
Syntax Description
local
|
(Optional) Data from the LRE switch controller.
|
remote(
|
(Optional) Data from the customer premises equipment (CPE) device.
|
interface-id
|
(Optional) ID of the switch LRE port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
The link monitor process collects errror information at minute intervals for 15 minutes. After 15 minutes, the data is analyzed and stored before starting a new collection sequence. Up to 2 hours of link monitor data can be shown.
The Time heading in the output shows the timestamp for the last collection sequence.The Reed Solomon (RS) error count shows the cumulative error count from the last reading.This count is cleared only when the interface is shut down or when the clear controllers lre link monitor command is run. The Reed Solomon error alarm shows the number of 1 minute intervals that had Reed Solomon errors above the configured threshold.
Using this command without specifying a switch port displays statistics for all ports.
Examples
This is an example that shows how to display all LRE link monitor statistics for the LRE controller:
Switch# show controllers lre link monitor statistics local
LongReachEthernet0/1: LRE Link Health Monitor Stats :
RS Errors Link Fail Freeze
Time Samples Count Alarm Count Count
-------- ------- --------------- ---------- ----------
Related Commands
show controllers lre log
Use the show controllers lre log privileged EXEC command to display the history of link, configuration, and timer events for a specific Long-Reach Ethernet (LRE) port or for all switch LRE ports.
show controllers lre log [interface-id] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) ID of the switch LRE port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Using the show controllers lre log command without specifying a switch LRE port displays the events for all LRE ports on the switch.
The time-stamped and sequentially tagged log entries can be helpful in confirming LRE link drops and configuration changes.
Examples
This is an example of output from the show controllers lre log command that displays events on LRE interface lo0/5:
Switch# show controllers lre log lo0/5
LongReachEthernet0/5: Events Log: ==================================
1d00h: [0]: State RESTART: Got event:Reset
1d00h: [1]: State MODEZERO_APPLIED: Got event:Link Up
1d00h: [2]: State MODEZERO_APPLIED: Got event:Link Down
1d00h: [3]: State PROFILE_APPLIED: Got event:Link Up
1d00h: [4]: State PROFILE_LINKUP: Got event:Link Down
1d00h: [5]: State PROFILE_LINKUP: Got event:Link Up
1d00h: [6]: State PROFILE_LINKUP: Got event:Link Down
1d00h: [7]: State PROFILE_LINKUP: Got event:Link Up
Related Commands
Command
|
Description
|
clear controllers lre log
|
Deletes the history of link, configuration, and timer events for a specific switch LRE port or for all LRE ports on the switch.
|
show controllers lre log level
|
Displays the log level for a specific switch LRE port or for all LRE ports on the switch.
|
show controllers lre log level
Use the show controllers lre log level privileged EXEC command to display information about the Long-Reach Ethernet (LRE) event log level.
show controllers lre log level [interface-id] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) ID of the switch LRE port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Using the show controllers lre log level command without specifying a switch LRE port lists the log level for each LRE port on the switch.
Examples
This is an example of output from the show controllers lre log level command that displays the log level on LRE port lo0/1:
Switch> show controllers lre log level lo0/1
Related Commands
Command
|
Description
|
clear controllers lre log
|
Deletes the history of link, configuration, and timer events for a specific switch LRE port or for all LRE ports on the switch.
|
logging lre
|
Specifies the logging level on the LRE port.
|
show controllers lre profile names
Use the show controllers lre profile names privileged EXEC command to display information about the Long-Reach Ethernet (LRE) profiles available on the switch.
show controllers lre profile names [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Table 2-7, Part 1, lists the LRE profiles shipped with the switch, including the upstream and downstream data rates that they support on the LRE link. For more information about LRE profiles and LRE links, refer to the Catalyst 2950 Desktop Switch Software Configuration Guide.
Note
Use the rates in Table 2-7, Part 1, only as guidelines. Factors such as the type of cable that you use, how it is bundled, and the interference and noise on the LRE link can affect the actual LRE link performance. Contact Cisco Systems for information about limitations and optimization of LRE link performance. The net data rates in the table are slightly less than the gross data rates displayed by the show controllers lre profile names privileged EXEC command.
Table 2-7, Part 1 LRE Profiles
Profile Name
|
LRE Link Downstream Rate (Mbps)
|
LRE Link Upstream Rate (Mbps)
|
LRE-998-15-4
|
16.667
|
4.688
|
LRE-997-10-4
|
12.5
|
4.688
|
LRE-2
|
2.08
|
2.08
|
LRE-3
|
3.13
|
3.13
|
LRE-4
|
4.17
|
4.17
|
LRE-4-1
|
4.167
|
1.563
|
LRE-5
|
5.69
|
6.25
|
LRE-7
|
8.33
|
8.33
|
LRE-8
|
9.38
|
9.38
|
LRE-10 (default)
|
12.5
|
12.5
|
Table 2-7, Part 2 LRE Profiles
Profile Name
|
LRE Link Downstream Rate (Mbps)
|
LRE Link Upstream Rate (Mbps)
|
LRE-10-1
|
12.5
|
1.56
|
LRE-10-3
|
11.38
|
3.125
|
LRE-10-5
|
11.38
|
6.25
|
LRE-15
|
16.667
|
18.75
|
LRE-15-1
|
16.667
|
1.56
|
LRE-15-3
|
16.667
|
3.125
|
LRE-15-5
|
16.667
|
6.25
|
LRE-4-1-LL
|
4.167
|
1.563
|
LRE-5LL
|
5.69
|
5.69
|
LRE-10LL
|
11.38
|
11.38
|
LRE-15LL
|
15.17
|
17.06
|
Examples
This is an example of output from the show controllers lre profile names command:
Switch# show controllers lre profile names
Profile Name Type Downstream Upstream
------------ ----------------- ---------- ----------
LRE-15 System-Configured 16.667 18.750
LRE-10 System-Configured 12.500 12.500
LRE-5 System-Configured 6.250 6.250
LRE-998-15-4 System-Configured 16.667 4.688
LRE-997-10-4 System-Configured 12.500 4.688
LRE-15LL System-Configured 16.667 18.750
LRE-10LL System-Configured 12.500 12.500
LRE-5LL System-Configured 6.250 6.250
LRE-10-5 System-Configured 12.500 6.250
LRE-10-3 System-Configured 12.500 3.125
LRE-10-1 System-Configured 12.500 1.563
LRE-8 System-Configured 9.375 9.375
LRE-7 System-Configured 8.333 8.333
LRE-15-5 System-Configured 16.667 6.250
LRE-15-3 System-Configured 16.667 3.125
LRE-15-1 System-Configured 16.667 1.563
LRE-4 System-Configured 4.167 4.167
LRE-3 System-Configured 3.125 3.125
LRE-2 System-Configured 2.083 2.083
LRE-4-1LL System-Configured 4.167 1.563
Related Commands LRE-4-1 System-Configured 4.167 1.563
show controllers lre profile details
Use the show controllers lre profile details privileged EXEC command to display information about the Long-Reach Ethernet (LRE) profiles and sequences available on the switch.
show controllers lre profile names details [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Use this command to see the profiles and sequences running on each port. This command also shows profiles and sequences set at the global scope.
Examples
This is an example of output from the show controllers lre profile details command:
Switch# show controllers lre profile details
Interface Configured Profile Running Profile Type
--------- ------------------ --------------- ------
Lo0/1 LRE-10-5 LRE-15 Port Sequence
Lo0/2 LRE-10-3 LRE-10-3 Global Profile
Lo0/3 LRE-10-3 LRE-15 Port Sequence
Lo0/4 LRE-10-3 LRE-10-3 Global Profile
Lo0/5 LRE-10-3 LRE-10-3 Global Profile
Lo0/6 LRE-10-3 LRE-10-3 Global Profile
Lo0/7 LRE-10-3 LRE-15 Global Profile
Lo0/8 LRE-10-3 LRE-10-3 Global Profile
Lo0/9 LRE-10-3 LRE-10-3 Global Profile
Lo0/10 LRE-10-3 LRE-10-3 Global Profile
Lo0/11 LRE-10-3 LRE-10-3 Global Profile
Lo0/12 LRE-10-3 LRE-10-3 Global Profile
Lo0/13 LRE-10-3 LRE-10-3 Global Profile
Lo0/14 LRE-10-3 LRE-10-3 Global Profile
Lo0/15 LRE-10-3 LRE-10-3 Global Profile
Lo0/16 LRE-10-3 LRE-10-3 Global Profile
Lo0/17 LRE-10-3 LRE-10-3 Global Profile
Lo0/18 LRE-10-3 LRE-10-3 Global Profile
Lo0/19 LRE-10-3 LRE-10-3 Global Profile
Lo0/20 LRE-10-3 LRE-10-3 Global Profile
Lo0/21 LRE-10-3 LRE-10-3 Global Profile
Lo0/22 LRE-10-3 LRE-10-3 Global Profile
Lo0/23 LRE-10-3 LRE-10-3 Global Profile
Lo0/24 LRE-10-3 LRE-15 Global Profile
Related Commands
show controllers lre sequence
Use the show controllers lre sequence privileged EXEC command to display the list of sequences, the profiles that are configured in that sequence, and the downstream and upstream rates of the corresponding profiles.
show controllers lre sequence [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Use the show controllers lre sequence command to display the list of sequences supported in the switch. This command displays the system-defined and user-defined sequences.
Examples
This is an example of output from the show controllers lre sequence command:
Switch# show controllers lre sequence
Global Sequence:LRE-SEQ-COMPLETE-REACH
Sequence:LRE-SEQ-COMPLETE-REACH Type:System-Configured
Profile Name Downstream Upstream
-------------- ---------- ----------
Sequence:LRE-SEQ-DOWNSTREAM Type:System-Configured
Profile Name Downstream Upstream
-------------- ---------- ----------
Sequence:LRE-SEQ-SYM Type:System-Configured
Profile Name Downstream Upstream
-------------- ---------- ----------
Sequence:LRE-SEQ-SYM-LONGREACH Type:System-Configured
Profile Name Downstream Upstream
-------------- ---------- ----------
Sequence:LRE-SEQ-SYMLL Type:System-Configured
Profile Name Downstream Upstream
-------------- ---------- ----------
Sequence:LRE-SEQ-UPSTREAM Type:System-Configured
Profile Name Downstream Upstream
-------------- ---------- ----------
Sequence:LRE-SEQ-VIDEO-TRANSMIT1 Type:System-Configured
Profile Name Downstream Upstream
-------------- ---------- ----------
Sequence:LRE-SEQ-VIDEO-TRANSMIT2 Type:System-Configured
Profile Name Downstream Upstream
-------------- ---------- ----------
Sequence:SEQ3 Type:User-Configured
Profile Name Downstream Upstream
-------------- ---------- ----------
Related Commands
show controllers lre status
Use the show controllers lre status privileged EXEC command to display the Long-Reach Ethernet (LRE) link statistics and profile information on a switch LRE port, including link state, link duration, profile name, and data rates.
show controllers lre status {link | profile | psd | sequence [ detail ]} [interface-id] [ | {begin |
exclude | include} expression]
Syntax Description
interface-id
|
(Optional) ID of the switch LRE port.
|
link
|
Various parameters and status associated with the LRE link.
|
profile
|
Various administrative parameters and status associated with the LRE link.
|
psd
|
Power related status.
|
sequence
|
Status of profiles in a sequence. Possible status values are converged; waiting on link; executing; and locked.
|
detail
|
(Optional) When added to the sequence keyword, it displays additional information about the sequences, such as margins, locked profiles, and convergence times.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Use this command to display the status of all switch LRE ports.
Use the signal-to-noise ratio (SNR) and Reed-Solomon error information to measure the quality of the LRE link. The SNR represents the amount of increased received signal power (in decibels) relative to the noise power-level that the switch can tolerate without disconnecting from the CPE device. The higher the ratio, the more resilient is the link.
The Reed-Solomon errors show the number of errors detected and corrected in the data being received on and sent from the switch LRE ports. Reed-Solomon errors are the result of noise exceeding the noise margin. For short bursts of noise (such as motor power on or power surges), the interleaver prevents the loss of Ethernet data packets. The number of Reed-Solomon errors then exceeds the number of Ethernet CRC errors.
Note
The Reed-Solomon errors are reset each time the show controllers lre status link command is executed.
The remote transmit power levels from the connected CPE devices might be different from each other, depending on how long the cable is between the switch and the CPE device. A longer cable typically causes the CPE device to send a higher signal to overcome the loss effects of distance.
The local receive-power rates actually displays the switch's adjustment to the incoming power level. These numbers might be different from LRE port to LRE port, as the length of the cables to the CPE devices might be different.
The interleaver columns display the interleaver block size for both directions of data. A higher interleaver setting is less susceptible to certain kinds of impairments but can introduce a very small amount of delay in the data path.
The PMD-S column refers to physical media dependent status and is provided as diagnostic information.
For more information about what can affect the LRE link and for the minimum required SNR ratios, refer to the "LRE Links and LRE Profiles" section in the Catalyst 2950 Desktop Switch Software Configuration Guide.
The sequence and sequence detail parameters display these status codes of profiles and sequences during rate selection:
•
Converged—Rate selection has converged on a profile.
•
Locked—Rate selection has converged on a profile, and the port is locked to that profile.
•
Executing—Rate selection is running on the port.
•
Waiting on Link—No link is established.
•
N/A—Sequence is not assigned to the port.
You can adjust the noise level during convergence by using the margin command.
Examples
This is an example of output that shows how to display link information for LRE interface lo0/2:
Switch# show controller lre status link lo0/2
Port Link SNR RS Errs CPE-Tx Sw-AGC-Gain Interleaver PMD-S
(dB) (dBm/Hz) (dB) Rx-Bsz Tx-Bsz
------ ---- ---- ----------- -------- ----------- ------------- -----
Lo0/2 UP 41 4829 - 57.7 - 7.6 16 16 0x04
This is an example of output that shows output from the show controllers lre status profile command:
Switch# show controllers lre status profile
Port Link Uptime Profile DSRate USRate Fail
------ ---- -------- ------------------- ------ ------ ----
Lo0/1 UP 2d23h LRE-10 12.500 12.500 0
Lo0/2 UP 2d23h LRE-10 4.167 1.563 0
Lo0/3 UP 2d23h LRE-10 4.167 1.563 0
Lo0/4 UP 2d23h LRE-10 4.167 1.563 0
Lo0/5 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/6 UP 2d23h LRE-10 4.167 1.563 0
Lo0/7 UP 2d23h LRE-10 4.167 1.563 0
Lo0/8 UP 2d23h LRE-10 4.167 1.563 0
Lo0/9 UP 2d23h LRE-10 4.167 1.563 0
Lo0/10 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/11 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/12 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/13 UP 2d23h LRE-10 12.500 12.500 0
Lo0/14 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/15 UP 2d23h LRE-10 4.167 1.563 0
Lo0/16 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/17 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/18 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/19 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/20 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/21 UP 2d23h LRE-10 4.167 1.563 0
Lo0/22 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/23 DOWN 00:00:00 LRE-10 0.000 0.000 0
Lo0/24 DOWN 00:00:00 LRE-10 0.000 0.000 0
This is an example of output from the show controllers lre status psd command:
Switch# show controllers lre status psd
------- Switch ------------ ----------- CPE -----------
Port Link SNR RSErr TxPwr AGCgain SNR RSErr TxPwr AGCgain
------ ---- --- ---------- ------ ------- --- ---------- ------ -------
Lo0/1 UP 32 0 - 6.13 13.0 43 0 - 85.6 - 2.0
Lo0/2 UP 32 0 - 6.13 15.1 42 0 - 85.9 - 2.0
Lo0/3 UP 32 0 - 6.13 13.5 42 0 - 85.6 - 2.0
Lo0/4 DOWN 10 0 - 5.85 63.9 0 0 0.0 0.0
Lo0/5 DOWN 10 0 - 5.85 58.9 0 0 0.0 0.0
Lo0/6 UP 33 0 - 6.13 15.1 42 0 - 85.9 - 2.0
Lo0/7 DOWN 10 0 - 5.85 54.2 0 0 0.0 0.0
Lo0/8 UP 33 0 - 6.13 14.6 42 0 - 85.9 - 2.5
Lo0/9 DOWN 10 0 - 5.85 52.9 0 0 0.0 0.0
Lo0/10 DOWN 10 0 - 5.85 61.5 0 0 0.0 0.0
Lo0/11 UP 33 0 - 6.13 15.1 42 0 - 85.9 - 1.6
Lo0/12 UP 33 0 - 6.13 15.1 42 0 - 85.9 - 2.5
Lo0/13 UP 33 0 - 6.13 15.1 42 0 - 85.9 - 2.5
Lo0/14 DOWN 10 268305 - 5.85 57.5 0 0 0.0 0.0
Lo0/15 DOWN 10 0 - 5.85 50.7 0 0 0.0 0.0
Lo0/16 UP 35 38 - 5.85 15.1 41 1238 - 85.9 - 6.4
Lo0/17 DOWN 10 767128 - 5.85 61.8 0 0 0.0 0.0
Lo0/18 DOWN 10 0 - 5.85 54.2 0 0 0.0 0.0
Lo0/19 DOWN 10 0 - 5.85 51.5 0 0 0.0 0.0
Lo0/20 DOWN 10 0 - 5.85 54.7 0 0 0.0 0.0
Lo0/21 DOWN 10 0 - 5.85 67.8 0 0 0.0 0.0
Lo0/22 DOWN 10 0 - 5.85 50.7 0 0 0.0 0.0
Lo0/23 DOWN 10 0 - 5.85 66.5 0 0 0.0 0.0
Lo0/24 DOWN 10 0 - 5.85 53.6 0 0 0.0 0.0
This is an example of output from the show controllers lre status sequence command:
Switch# show controllers lre status sequence
Port Sequence Status Profile
----- ----------------------- -------------- ---------------
Lo0/1 LRE-SEQ-DOWNSTREAM Converged LRE-15
Lo0/3 LRE-SEQ-SYM Converged LRE-15
This is an example of output using the details keyword to obtain further information about the sequence:
Switch# show controllers lre status sequence detail
Sequence:LRE-SEQ-DOWNSTREAM Status:Converged Attempts:1
Profile:LRE-15 Convergence Time: 00:01:54
Rate-Selection:Enabled Locking:Not-Configured
Downstream Margin:2 Upstream Margin:0
Sequence:N/A Status:N/A Attempts:0
Profile:N/A Convergence Time: 00:00:00
Rate-Selection:Disabled Locking:Not-Configured
Downstream Margin:0 Upstream Margin:0
Sequence:LRE-SEQ-SYM Status:Converged Attempts:1
Profile:LRE-15 Convergence Time: 00:01:57
Rate-Selection:Enabled Locking:Not-Configured
Downstream Margin:0 Upstream Margin:0
Sequence:N/A Status:N/A Attempts:0
Profile:N/A Convergence Time: 00:00:00
Rate-Selection:Disabled Locking:Not-Configured
Related CommandsDownstream Margin:1 Upstream Margin:0
show controllers lre version
Use the show controllers lre version privileged EXEC command to display the version numbers of the various components (hardware, firmware, and patch software) that make up the switch Long-Reach Ethernet (LRE) interface.
show controllers lre version [interface-id] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) ID of the switch LRE port.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Using the show controllers lre version command without specifying a switch LRE port displays the version numbers of all switch LRE interfaces.
Examples
This is an example of output that shows the version information for LRE interface lo0/2:
Switch# show controllers lre version lo0/2
Related Commands
Command
|
Description
|
show controllers lre cpe identity
|
Displays the model numbers of the LRE CPE devices connected to the LRE switch and shows whether or not the connected CPE devices meet the minimum requirements for management by the LRE switch.
|
show dot1x
Use the show dot1x privileged EXEC command to display the 802.1X statistics, administrative status, and operational status for the switch or for the specified interface.
show dot1x [interface interface-id] | [statistics [interface interface-id]] [ | {begin | exclude |
include} expression]
Syntax Description
interface interface-id
|
(Optional) Display the 802.1X status for the specified port.
|
statistics [interface interface-id]
|
(Optional) Display 802.1X statistics for the switch or the specified interface.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
If you do not specify an interface, global parameters and a summary appear. If you specify an interface, details for that interface appear.
If you specify the statistics keyword without the interface interface-id option, statistics appear for all interfaces. If you specify the statistics keyword with the interface interface-id option, statistics appear for the specified interface.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show dot1x command:
Port Name Status Mode Authorized
Gi0/2 enabled Auto (negotiate) no
802.1X is disabled on GigabitEthernet0/1
802.1X is enabled on GigabitEthernet0/2
Supplicant 0060.b0f8.fbfb
Multiple Hosts Disallowed
Authenticator State Machine
Reauthentication State Machine
Note
In the previous example, the supp-timeout, server-timeout, and reauth-max values in the Global 802.1X Parameters section are not configurable.When relaying a request from the Remote Authentication Dial-In User Service (RADIUS) authentication server to the client, the supp-timeout is the amount of time the switch waits for a response before it resends the request. When relaying a response from the client to the RADIUS authentication server, the server-timeout is the amount of time the switch waits for a reply before it resends the response. The reauth-max parameter is the maximum number of times that the switch tries to authenticate the client without receiving any response before the switch resets the port and restarts the authentication process.
In the 802.1X Port Summary section of the example, the Status column shows whether the port is enabled for 802.1X (the dot1x port-control interface configuration command is set to auto or force-unauthorized). The Mode column shows the operational status of the port; for example, if you configure the dot1x port-control interface configuration command to force-unauthorized, but the port has not transitioned to that state, the Mode column displays auto. If you disable 802.1X, the Mode column displays n/a.
The Authorized column shows the authorization state of the port. For information about port states, refer to the "Configuring 802.1X Port-Based Authentication" chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide.
This is an example of output from the show dot1x interface gigabitethernet0/2 privileged EXEC command. Table 2-8 describes the fields in the example.
Switch# show dot1x interface gigabitethernet0/2
802.1X is enabled on GigabitEthernet0/2
Supplicant 0060.b0f8.fbfb
Multiple Hosts Disallowed
Authenticator State Machine
Reauthentication State Machine
Table 2-8 show dot1x interface Field Description
Field
|
Description
|
802.1X is enabled on GigabitEthernet0/2
|
|
Status
|
Status of the port (authorized or unauthorized). The status of a port appears as authorized if the dot1x port-control interface configuration command is set to auto, and authentication was successful.
|
Port-control
|
Setting of the dot1x port-control interface configuration command.
|
Supplicant
|
Ethernet MAC address of the client, if one exists. If the switch has not discovered the client, this field displays Not set.
|
Multiple Hosts
|
Setting of the dot1x multiple-hosts interface configuration command (allowed or disallowed).
|
Current Identifier1
|
Each exchange between the switch and the client includes an identifier, which matches requests with responses. This number is incremented with each exchange and can be reset by the authentication server.
|
This is an example of output from the show dot1x statistics interface gigiabitethernet0/1 command. Table 2-9 describes the fields in the example.
Switch# show dot1x statistics interface gigabitethernet0/1
Rx: EAPOL EAPOL EAPOL EAPOL EAP EAP EAP
Start Logoff Invalid Total Resp/Id Resp/Oth LenError
Table 2-9 show dot1x statistics Field Descriptions
Field
|
Description
|
RX EAPOL1 Start
|
Number of valid EAPOL-start frames that have been received
|
RX EAPOL Logoff
|
Number of EAPOL-logoff frames that have been received
|
RX EAPOL Invalid
|
Number of EAPOL frames that have been received and have an unrecognized frame type
|
RX EAPOL Total
|
Number of valid EAPOL frames of any type that have been received
|
RX EAP2 Resp/ID
|
Number of EAP-response/identity frames that have been received
|
RX EAP Resp/Oth
|
Number of valid EAP-response frames (other than response/identity frames) that have been received
|
RX EAP LenError
|
Number of EAPOL frames that have been received in which the packet body length field is invalid
|
Last EAPOLVer
|
Protocol version number carried in the most recently received EAPOL frame
|
LAST EAPOLSrc
|
Source MAC address carried in the most recently received EAPOL frame
|
TX EAPOL Total
|
Number of EAPOL frames of any type that have been sent
|
TX EAP Req/Id
|
Number of EAP-request/identity frames that have been sent
|
TX EAP Req/Oth
|
Number of EAP-request frames (other than request/identity frames) that have been sent
|
Related Commands
Command
|
Description
|
dot1x default
|
Resets the global 802.1X parameters to their default values.
|
show env
Use the show env user EXEC command to display fan information for the switch.
show env {all | fan} [ | {begin | exclude | include} expression]
Syntax Description
all
|
Display both fan and temperature environmental status.
|
fan
|
Display the switch fan status (only available in privileged EXEC mode).
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show env all command:
This is an example of output from the show env fan command:
show errdisable recovery
Use the show errdisable recovery user EXEC command to display the error-disable recovery timer information.
show errdisable recovery [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show errdisable recovery command:
Switch> show errdisable recovery
ErrDisable Reason Timer Status
----------------- --------------
channel-misconfig Enabled
psecure-violation Enabled
Timer interval:300 seconds
Interfaces that will be enabled at the next timeout:
Interface Errdisable reason Time left(sec)
--------- ----------------- --------------
Related Commands
Command
|
Description
|
errdisable recovery
|
Configures the recover mechanism variables.
|
show interfaces trunk
|
Displays interface status or a list of interfaces in error-disabled state.
|
show etherchannel
Use the show etherchannel user EXEC command to display EtherChannel information for a channel.
show etherchannel [channel-group-number] {brief | detail | load-balance | port | port-channel |
summary} [ | {begin | exclude | include} expression]
Syntax Description
channel-group-number
|
(Optional) Number of the channel group. Valid numbers range from 1 to 6.
|
brief
|
Display a summary of EtherChannel information.
|
detail
|
Display detailed EtherChannel information.
|
load-balance
|
Display the load-balance or frame-distribution scheme among ports in the port channel.
|
port
|
Display EtherChannel port information.
|
port-channel
|
Display port-channel information.
|
summary
|
Display a one-line summary per channel-group.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced. It replaced the show port group command.
|
Usage Guidelines
If you do not specify a channel-group, all channel groups appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show etherchannel 1 detail command:
Switch> show etherchannel 1 detail
Port-channels: 1 Max Port-channels = 1
Port state = Down Not-in-Bndl
Channel group = 1 Mode = Automatic-Sl Gcchange = 0
Port-channel = null GC = 0x00000000 Pseudo port-channel = Po1
Port index = 0 Load = 0x00
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical port.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Fa0/3 dA U1/S1 1s 0 200 Any 0
Age of the port in the current state: 10d:23h:07m:37s
Port-channels in the group:
Age of the Port-channel = 03d:02h:22m:43s
Logical slot/port = 1/0 Number of ports = 0
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel Ag-Not-Inuse
This is an example of output from the show etherchannel 1 summary command:
Switch> show etherchannel 1 summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
u - unsuitable for bundling
-----+------------+-----------------------------------------------------------
1 Po1(SU) Fa0/6(Pd) Fa0/15(P)
This is an example of output from the show etherchannel 1 brief command:
Switch> show etherchannel 1 brief
Port-channels: 1 Max Port-channels = 1
This is an example of output from the show etherchannel 1 port command:
Switch> show etherchannel 1 port
Port state = Down Not-in-Bndl
Channel group = 1 Mode = Automatic-Sl Gcchange = 0
Port-channel = null GC = 0x00000000 Pseudo port-channel = Po1
Port index = 0 Load = 0x00
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical port.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Fa0/3 dA U1/S1 1s 0 200 Any 0
Age of the port in the current state: 10d:23h:13m:21s
Related Commands
show file
Use the show file privileged EXEC command to display a list of open file descriptors, file information, and file system information.
show file {descriptors | information {device:}filename | systems} [ | {begin | exclude |
include} expression]
Syntax Description
descriptors
|
Display a list of open file descriptors.
|
information
|
Display file information.
|
device:
|
Device containing the file. Valid devices include the switch Flash memory.
|
filename
|
Name of file.
|
systems
|
Display file system information.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
12.1(6)EA2
|
The descriptors and information keywords were added.
|
Usage Guidelines
File descriptors are the internal representations of open files. You can use this command to see if another user has a file open.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show file descriptors command:
Switch# show file descriptors
FD Position Open PID Path
0 187392 0001 2 tftp://temp/hampton/c2950g.a
1 184320 030A 2 flash:c2950-i-m.a
Table 2-10 describes the fields in the show file descriptors command output.
Table 2-10 show file descriptors Field Descriptions
Field
|
Description
|
FD
|
File descriptor. The file descriptor is a small integer used to specify the file once it has been opened.
|
Position
|
Byte offset from the start of the file.
|
Open
|
Flags supplied when opening the file.
|
PID
|
Process ID of the process that opened the file.
|
Path
|
Location of the file.
|
This is an example of output from the show file information nvram:startup-config command:
Switch# show file information nvram:startup-config
Table 2-11 lists the possible file types for the previous example.
Table 2-11 Possible File Types
Field
|
Description
|
ascii text
|
Configuration file or other text file.
|
coff
|
Runnable image in coff format.
|
ebcdic
|
Text generated on an IBM mainframe.
|
image (a.out)
|
Runnable image in a.out format.
|
image (elf)
|
Runnable image in elf format.
|
lzw compression
|
Lzw compressed file.
|
tar
|
Text archive file used by the CIP.
|
This is an example of output from the show file systems command:
Switch# show file systems
Size(b) Free(b) Type Flags Prefixes
* 7741440 433152 flash rw flash:
7741440 433152 unknown rw zflash:
32768 25316 nvram rw nvram:
For this example, Table 2-12 describes the fields in the show file systems command output. Table 2-13 lists the file system types. Table 2-14 lists the file system flags.
Table 2-12 show file systems Field Descriptions
Field
|
Description
|
Size(b)
|
Amount of memory in the file system, in bytes.
|
Free(b)
|
Amount of free memory in the file system, in bytes.
|
Type
|
Type of file system.
|
Flags
|
Permissions for file system.
|
Prefixes
|
Alias for file system.
|
Table 2-13 File System Types
Field
|
Description
|
disk
|
The file system is for a rotating medium.
|
flash
|
The file system is for a Flash memory device.
|
network
|
The file system is a network file system, such as TFTP, rcp, or FTP.
|
nvram
|
The file system is for an NVRAM device.
|
opaque
|
The file system is a locally generated pseudo file system (for example, the system) or a download interface, such as brimux.
|
rom
|
The file system is for a ROM or EPROM device.
|
tty
|
The file system is for a collection of terminal devices.
|
unknown
|
The file system is of unknown type.
|
Table 2-14 File System Flags
Field
|
Description
|
ro
|
The file system is Read Only.
|
wo
|
The file system is Write Only
|
rw
|
The file system is Read/Write.
|
show interfaces
Use the show interfaces privileged EXEC command to display the administrative and operational status of all interfaces or a specified interface.
show interfaces [interface-id | vlan vlan-id] [accounting | [cpe [port port-id]]| description |
etherchannel | media | media [interface-id] pruning | stats | status [err-disabled] | switchport
| trunk] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) Valid interfaces include physical ports (including type, slot, and port number) and port channels. The valid port-channel range is 1 to 6.
|
vlan vlan-id
|
(Optional) VLAN ID. The valid VLAN range is 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros.
|
accounting
|
(Optional) Display interface accounting information.
|
cpe
|
(Optional) Display link status, speed, and duplex of all the customer premises equipment (CPE) Ethernet ports.
|
port port-id
|
(Optional) Display only the designated CPE Ethernet port. Valid values are 1 to 4.
|
description
|
(Optional) Display the administrative status and description set for an interface.
|
etherchannel
|
(Optional) Display interface EtherChannel information.
|
media
|
(Optional) Display the type of media connection.
|
media interface-id
|
(Optional) Display the type of media connection on a specific interface.
|
pruning
|
(Optional) Display interface trunk VTP pruning information.
|
stats
|
(Optional) Display the input and output packets by switching path for the interface.
|
status
|
(Optional) Display the status of the interface.
|
err-disabled
|
(Optional) Display interfaces in error-disabled state.
|
switchport
|
(Optional) Display the administrative and operational status of a switching (nonrouting) port.
|
trunk
|
Display interface trunk information. If you do not specify an interface, only information for active trunking ports appears.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|

Note
Though visible in the command-line help strings, the crb, fair-queue, irb, mac-accounting, precedence, random-detect, rate-limit, and shape options are not supported.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
12.1(11)YJ
|
Additional keywords were added to support LRE switches.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show interfaces accounting command:
Switch# show interfaces accounting
Protocol Pkts In Chars In Pkts Out Chars Out
IP 17950 2351279 3205 411175
Interface Vlan5 is disabled
Protocol Pkts In Chars In Pkts Out Chars Out
Spanning Tree 2956958 179218508 34383 2131700
CDP 14301 5777240 14307 5722418
This is an example of output from the show interfaces gigabitethernet0/1 command:
Switch# show interfaces gigabitethernet0/1
FastEthernet0/1 is up, line protocol is down
Hardware is Fast Ethernet, address is 0005.7428.09c1 (bia 0005.7428.09c1)
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
input flow-control is off, output flow-control is off
Last input never, output 4d21h, output hang never
Last clearing of "show interface" counters never
Input queue:0/75/0/0 (size/max/drops/flushes); Total output drops:0
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1 packets input, 64 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
1 packets output, 64 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out
This is an example of output from the show interfaces gigabitethernet0/2 description command when the interface has been described as Connects to Marketing by using the description interface configuration command.
Switch# show interfaces gigabitethernet0/2 description
Interface Status Protocol Description
G10/2 up down Connects to Marketing
This is an exampleof output from the show interfaces fastethernet0/1 pruning command when pruning is enabled in the VTP domain:
Switch# show interfaces fastethernet0/1 pruning
Port Vlans pruned for lack of request by neighbor
Port Vlan traffic requested of neighbor
This is an example of output from the show interfaces stats command:
Switch# show interfaces stats
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 3224706 223689126 3277307 280637322
Total 3224706 223689126 3277307 280637322
Interface Vlan5 is disabled
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 3286423 231672787 179501 17431060
Total 3286423 231672787 179501 17431060
This is an example of output from the show interfaces status command. It displays the status of all interfaces. The prefix a in the Duplex and Speed columns shows the result of autonegotiation for that function.
Switch# show interfaces status
Port Name Status Vlan Duplex Speed Type
Fa0/1 notconnect 1 auto auto 10/100BaseTX
Fa0/2 notconnect 1 auto auto 10/100BaseTX
Fa0/3 disabled 100 auto auto 10/100BaseTX
Fa0/4 connected trunk a-full a-100 10/100BaseTX
Fa0/5 notconnect 1 auto auto 10/100BaseTX
Fa0/6 connected trunk a-full a-100 10/100BaseTX
Fa0/7 notconnect 1 auto auto 10/100BaseTX
Fa0/8 connected 1 a-full a-100 10/100BaseTX
Fa0/9 disabled 1 auto auto 10/100BaseTX
Fa0/10 notconnect 5 auto 100 10/100BaseTX
Fa0/11 disabled 1 auto auto 10/100BaseTX
Fa0/12 disabled 1 auto auto 10/100BaseTX
Gi0/1 disabled 1 auto auto unknown
Gi0/2 notconnect 1 auto auto unknown
Po1 notconnect 1 auto auto
This is an example of output from the show interfaces status command for a specific interface:
Switch# show interfaces gi0/1 status
Port Name Status Vlan Duplex Speed Type
Gi0/1 connected 1 a-full a-100 10/100/1000BasX
This example shows output from the show interfaces status err-disabled command. It displays the status of interfaces in error-disabled state.
switch#show interfaces fa0/15 status err-disabled
Fa0/15 err-disabled psecure-violation
This is an example of output from the show interfaces etherchannel command when port channels are configured on the switch:
Switch# show interfaces etherchannel
Port state = Up Mstr In-Bndl
Channel group = 1 Mode = On/FEC Gcchange = 0
Port-channel = Po1 GC = 0x00010001 Pseudo port-channel = Po1
Port index = 0 Load = 0x00
Age of the port in the current state:00d:00h:06m:54s
Age of the Port-channel = 09d:22h:45m:14s
Logical slot/port = 1/0 Number of ports = 1
GC = 0x00010001 HotStandBy port = null
Port state = Port-channel Ag-Inuse
Ports in the Port-channel:
------+------+------+------------
Time since last port bundled: 00d:00h:06m:54s Fa0/1
This is an example of output from the show interfaces switchport command for a single interface. Table 2-15 describes the fields in the output.
Switch# show interfaces gigabitethernet0/1 switchport
Administrative Mode:static access
Administrative Trunking Encapsulation:dot1q
Negotiation of Trunking:Off
Access Mode VLAN:1 (default)
Trunking Native Mode VLAN:1 (default)
Trunking VLANs Enabled:ALL
Pruning VLANs Enabled:2-1001
Voice VLAN:dot1p (Inactive)
This is an example of output from the show interfaces command for port 5 on an LRE switch:
Switch# show interfaces lo0/5
LongReachEthernet0/5 is up, line protocol is up
Hardware is Ethernet over LRE, address is 0006.2871.5902 (bia 0006.2871.5902)
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Half-duplex, Auto Speed (10), 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:21, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
8272 packets input, 852898 bytes, 0 no buffer
Received 1182 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 1182 multicast
0 input packets with dribble condition detected
61899 packets output, 17981033 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
This is an example of output from the show interfaces command for all interfaces on a CPE device:
Switch# show interfaces lo0/2 cpe
---- ------------ ----- ------
This is an example of output from the show interfaces command for port 5 on a CPE device:
Switch# show interfaces lo0/2 cpe port 5
---- ------------ ----- ------
This is an example of output from the show interfaces interface-id media command:
Switch# show interfaces gi0/1 media
Port Media-configured Active Attached
Gi0/1 auto-select rj45 1000BaseSX-10/100/1000BaseTX
This is an example of output from the show interfaces media command:
Switch# show interfaces media
Port Media-configured Active Attached
Gi0/1 auto-select rj45 1000BaseSX-10/100/1000BaseTX
Gi0/2 prefer-sfp sfp 1000BaseSX-10/100/1000BaseTX
Table 2-15 show interfaces switchport Field Descriptions
Field
|
Description
|
Name
|
Displays the port name.
|
Switchport
|
Displays the administrative and operational status of the port. In this output, the port is in switchport mode.
|
Administrative Mode
Operational Mode
|
Displays the administrative and operational mode.
|
Administrative Trunking Encapsulation
Operation Trunking Encapsulation
Negotiation of Trunking
|
Displays the administrative and operational encapsulation method and whether trunking negotiation is enabled.
|
Access Mode VLAN
|
Displays the VLAN ID to which the port is configured.
|
Trunking Native Mode VLAN
Trunking VLANs Enabled
Trunking VLANs Active
|
Lists the VLAN ID of the trunk that is in native mode. Lists the allowed VLANs on the trunk. Lists the active VLANs on the trunk.
|
Pruning VLANs Enabled
|
Lists the VLANs that are pruning-eligible.
|
Protected
|
Displays whether or not protected port is enabled (True) or disabled (False) on the interface.
|
Voice VLAN
|
Displays the VLAN ID on which voice VLAN is enabled.
|
Appliance trust
|
Displays the class of service (CoS) setting of the data packets of the IP phone.
|
This example shows output from the show interfaces trunk command:
Switch# show interfaces trunk
Port Mode Encapsulation Status Native vlan
Fa0/4 on 802.1q trunking 1
Fa0/6 on 802.1q trunking 1
Port Vlans allowed on trunk
Port Vlans allowed and active in management domain
Port Vlans in spanning tree forwarding state and not pruned
This example shows output from the show interfaces fastethernet0/1 trunk command. It displays trunking information for the interface.
Switch# show interfaces fastethernet0/1 trunk
Port Mode Encapsulation Status Native vlan
Fa0/1 desirable 802.1q trunking 1
Port Vlans allowed on trunk
Port Vlans allowed and active in management domain
Port Vlans in spanning tree forwarding state and not pruned
Related Commands
Command
|
Description
|
switchport access
|
Configures a port as a static-access or dynamic-access port.
|
switchport protected
|
Isolates Layer 2 unicast, multicast, and broadcast traffic from other protected ports on the same switch.
|
switchport trunk pruning
|
Configures the VLAN pruning-eligible list for ports in trunking mode.
|
show interfaces counters
Use the show interfaces counters privileged EXEC command to display various counters for a specific interface or for all interfaces.
show interfaces [interface-id | vlan vlan-id] counters [broadcast | errors | multicast | trunk |
unicast] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) ID of the physical interface, including type and slot and port number.
|
vlan vlan-id
|
(Optional) VLAN number of the management VLAN. Valid IDs are from 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1001 when the standard software image (SI) is installed. Do not enter leading zeros.
|
broadcast
|
(Optional) Display discarded broadcast traffic.
|
errors
|
(Optional) Display error counters.
|
multicast
|
(Optional) Display discarded multicast traffic.
|
trunk
|
(Optional) Display trunk counters.
|
unicast
|
(Optional) Display discarded unicast traffic.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
If you do not enter any keywords, all counters for all interfaces are included.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show interfaces counters command. It displays all the counters for the switch.
Switch# show interfaces counters
Port InOctets InUcastPkts InMcastPkts InBcastPkts
Gi0/1 23324617 10376 185709 126020
Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts
Gi0/1 4990607 28079 21122 10
This is an example of output from the show interfaces counters broadcast command. It displays the dropped broadcast traffic for all interfaces.
Switch# show interfaces counters broadcast
This is an example of output from the show interfaces gigabitethernet0/1 counters broadcast command. It displays the dropped broadcast traffic for an interface.
Switch# show interfaces gigabitethernet0/1 counters broadcast
This is an example of output from the show interfaces counters errors command. It displays the interface error counters for all interfaces.
Switch# show interfaces counters errors
Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize
Port Single-Col Multi-Col Late-Col Excess-Col Carri-Sen Runts Giants
This is an example of output from the show interfaces counters multicast command. It displays the dropped multicast traffic for all interfaces.
Switch# show interfaces counters multicast
This is an example of output from the show interfaces counters trunk command. It displays the trunk counters for all interfaces.
Switch# show interfaces counters trunk
Port TrunkFramesTx TrunkFramesRx WrongEncap
This is an example of output from the show interfaces counters unicast command. It displays the dropped unicast traffic for all interfaces.
Switch# show interfaces counters unicast
Related Commands
Command
|
Description
|
show interfaces
|
Displays interface characteristics.
|
speed
|
Configures broadcast, multicast, and unicast storm control for an interface.
|
show ip access-lists
Use the show ip access-lists privileged EXEC command to display IP access control lists (ACLs) configured on the switch.
show ip access-lists [name | number] [ | {begin | exclude | include} expression]
Syntax Description
name
|
(Optional) ACL name.
|
number
|
(Optional) ACL number. The range is from 1 to 199 and from 1300 to 2699.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ip access-lists command:
Switch# show ip access-lists
Standard IP access list testingacl
Standard IP access list wizard_1-1-1-2
Extended IP access list 103
permit tcp any any eq www
Extended IP access list CMP-NAT-ACL
Dynamic Cluster-HSRP deny ip any any
Dynamic Cluster-NAT permit ip any any
permit ip host 10.245.155.128 any
permit ip host 10.245.137.0 any
permit ip host 10.146.106.192 any
permit ip host 10.216.25.128 any
permit ip host 10.228.215.0 any
permit ip host 10.221.111.64 any
permit ip host 10.123.222.192 any
permit ip host 10.169.110.128 any
permit ip host 10.186.122.64 any
This is an example of output from the show ip access-lists 103 command:
Switch# show ip access-lists 103
Extended IP access list 103
permit tcp any any eq www
Related Commands
show ip igmp snooping
Use the show ip igmp snooping privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping configuration of the switch or the VLAN.
show ip igmp snooping [vlan vlan-id] [ | {begin | exclude | include} expression]
show ip igmp snooping [vlan vlan-id] [ | {begin | exclude | include} expression]
Syntax Description
vlan vlan-id
|
(Optional) Keyword and variable to specify a VLAN; valid values are 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1001 when the standard software image (SI) is installed. Do not enter leading zeros.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
Use this command to display snooping characteristics for the switch or for a specific VLAN.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ip igmp snooping command:
Switch# show ip igmp snooping
IGMP snooping is globally enabled
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is enabled on this Vlan
IGMP snooping mrouter learn mode is pim-dvmrp on this Vlan
IGMP snooping is globally enabled
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is enabled on this Vlan
IGMP snooping mrouter learn mode is cgmp on this Vlan
IGMP snooping is globally enabled
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is disabled on this Vlan
IGMP snooping mrouter learn mode is cgmp on this Vlan
IGMP snooping is globally enabled
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is disabled on this Vlan
IGMP snooping mrouter learn mode is cgmp on this Vlan
IGMP snooping is globally enabled
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is disabled on this Vlan
IGMP snooping mrouter learn mode is pim-dvmrp on this Vlan
IGMP snooping is globally enabled
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is disabled on this Vlan
IGMP snooping mrouter learn mode is pim-dvmrp on this Vlan
This is an example of output from the show ip igmp snooping vlan 1 command:
Switch# show ip igmp snooping vlan 1
IGMP snooping is globally enabled
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is enabled on this Vlan
IGMP snooping mrouter learn mode is pim-dvmrp on this Vlan
Related Commands
show ip igmp snooping mrouter
Use the show ip igmp snooping mrouter privileged EXEC command to display information on dynamically learned and manually configured multicast router ports.
show ip igmp snooping mrouter [vlan vlan-id] [ | {begin | exclude | include} expression]
Syntax Description
vlan vlan-id
|
(Optional) Keyword and variable to specify a VLAN; valid values are 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1001 when the standard software image (SI) is installed. Do not enter leading zeros.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
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 Internet Group Management Protocol (IGMP) snooping enabled.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ip igmp snooping mrouter vlan 1 command:
Note
In this example, Fa0/3 is a dynamically learned router port, and Fa0/2 is a configured static router port.
Switch# show ip igmp snooping mrouter vlan 1
1 Fa0/2(static), Fa0/3(dynamic)
Related Commands
show lre upgrade binaries
show lre upgrade binaries [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
•
The device family. A device family could be an LRE switch or a customer premises equipment (CPE) device.
•
The function of the firmware, such as an upgrade for an application, the bootloader, or for the LRE chipset.
•
The firmware version.
Files marked with an exclamation point (!) are version description files. A version description file is only for informational purposes and is not a candidate for upgrade. Version description files are used to determine whether or not a CPE device on an LRE link is running a supported LRE binary version.
Examples
This example shows output from the show lre upgrade binaries command:
Switch# show lre upgrade binaries
Path containing LRE binaries is flash:/c2950lre-i6l2q4-mz.121-0.18.YJ/lre-bin;
zflash:/c2950lre-i6l2q4-mz.121-0.18.YJ/lre-bin
LRE Binary: CISCO585-LRE_vdslsngl_51.00.00,
Flash file name: CISCO585-LRE_vd slsngl_51.00.00.bin
LRE Binary: CISCO585-LRE_MC8051boot_01.03.00,
Flash file name: CISCO585-LRE_MC 8051boot_01.03.00.bin!
LRE Binary: CISCO585-LRE_MC8051boot_01.02.00,
Flash file name: CISCO585-LRE_MC 8051boot_01.02.00.bin!
LRE Binary: CISCO585-LRE_MC8051appl_01.03.00,
Flash file name: CISCO585-LRE_MC 8051appl_01.03.00.bin!
LRE Binary: CISCO585-LRE_MC8051appl_01.02.00,
Flash file name: CISCO585-LRE_MC 8051appl_01.02.00.bin!
LRE Binary: CISCO575-LRE_vdslsngl_50.00.00,
Flash file name: CISCO575-LRE_vd slsngl_50.00.00.bin
LRE Binary: CISCO2950-LRE_vdsloctl_02.60.00,
Flash file name: CISCO2950-LRE_v dsloctl_02.60.00.bin
LRE Binary: CISCO2950-LRE_vdsloctl_02.51.00,
Flash file name: CISCO2950-LRE_v dsloctl_02.51.00.bin
LRE Binary: CISCO2950-LRE_vdsloctl_02.50.00,
Flash file name: CISCO2950-LRE_v dsloctl_02.50.00.bin
Related Commands
show lre upgrade status
show lre upgrade status [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
•
The device family. A device family could be an LRE switch or a customer premises equipment (CPE) device.
•
The function of the firmware, such as an upgrade for an application, for the bootloader, or for the LRE or CPE chipsets.
•
The firmware version.
During data transfer but before the upgrade completes, the status also shows the time in hours and minutes that the upgrade has been in progress and the number of attempts that were made.
Examples
This example shows the status of an upgrade after it starts, but before the data transfer begins:
Switch# show lre upgrade status
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/9
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO585-LRE_vdslsngl_52.00.00 new:CISCO585-LRE_vdslsngl_51.00.00
rmt curr:CISCO585-LRE_MC8051appl_00.30.00 new:CISCO585-LRE_MC8051appl_00.30.00
rmt curr:CISCO585-LRE_MC8051boot_00.30.00 new:CISCO585-LRE_MC8051boot_00.30.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/20
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/21
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/22
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/23
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/24
This example shows the status of an upgrade after data transfer is in progress.
Switch# show lre upgrade status
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
10 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
09 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
22 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
10 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
10 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
10 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
09 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
09 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/9
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
08 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
07 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
06 HHMM:0000, Attempt:003
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
08 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
08 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
08 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
05 HHMM:0000, Attempt:003
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
07 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
07 HHMM:0000, Attempt:001
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO585-LRE_vdslsngl_52.00.00 new:CISCO585-LRE_vdslsngl_51.00.00
22 HHMM:0000, Attempt:001
rmt curr:CISCO585-LRE_MC8051appl_00.30.00 new:CISCO585-LRE_MC8051appl_00.30.00
rmt curr:CISCO585-LRE_MC8051boot_00.30.00 new:CISCO585-LRE_MC8051boot_00.30.00
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/20
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/21
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/22
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/23
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
No remote devices on Lo0/24
Related Commands
show lre upgrade version
show lre upgrade version [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
•
The device family
•
The function of the firmware, such as an upgrade for an application, for the bootloader, or for the LRE chipsets of a CPE device
•
The firmware version
Examples
This example shows output from the show lre upgrade version command:
Switch# show lre upgrade version
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family NONE, Model NONE, Rev NONE
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model CISCO575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
CPE:Family CISCO585-LRE, Model CISCO585-LRE ¯¯, Rev A0
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
rmt curr:CISCO585-LRE_vdslsngl_51.00.00 cfg:CISCO585-LRE_vdslsngl_51.00.00
rmt curr:CISCO585-LRE_MC8051appl_00.30.00 cfg:CISCO585-LRE_MC8051appl_00.30.00
rmt curr:CISCO585-LRE_MC8051boot_00.30.00 cfg:CISCO585-LRE_MC8051boot_00.30.00
CPE:Family NONE, Model NONE, Rev NONE
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
CPE:Family NONE, Model NONE, Rev NONE
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
CPE:Family NONE, Model NONE, Rev NONE
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
CPE:Family NONE, Model NONE, Rev NONE
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
CPE:Family NONE, Model NONE, Rev NONE
lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00
Related Commands rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00
show mac access-group
Use the show mac access-group user EXEC command to display the MAC access control lists (ACLs) configured for an interface or a switch.
show mac access-group [interface interface-id] [ | {begin | exclude | include} expression]
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
interface interface-id
|
(Optional) Display the ACLs configured on a specific interface (only available in privileged EXEC mode).
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Use the show mac access-group command without keywords to display MAC ACLs for all interfaces.
Use this command with the interface keyword to display ACLs for a specific interface.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac access-group command:
Switch> show mac access-group
Interface FastEthernet0/1:
Inbound access-list is not set
Interface FastEthernet0/2:
Inbound access-list is not set
Interface FastEthernet0/3:
Inbound access-list is not set
Interface FastEthernet0/4:
Inbound access-list is not set
Interface FastEthernet0/47:
Inbound access-list is not set
Interface FastEthernet0/48:
Inbound access-list is not set
Interface GigabitEthernet0/1:
Inbound access-list is not set
Interface GigabitEthernet0/2:
Inbound access-list is 101
This is an example of output from the show mac access-group interface gigabitethernet 0/2 command:
Switch# show mac access-group interface gigabitethernet 0/2
Interface GigabitEthernet0/2:
Inbound access-list is 101
Related Commands
show mac address-table
Use the show mac address-table user EXEC command to display the MAC address table.
show mac address-table [aging-time | count | dynamic | static] [address hw-addr]
[interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression]
Note
Beginning with Release 12.1(11)EA1, the show mac address-table command replaces the show mac-address-table command (with the hyphen). The show mac-address-table command (with the hyphen) will become obsolete in a future release.
Syntax Description
aging-time
|
(Optional) Display aging time for dynamic addresses for all VLANs.
|
count
|
(Optional) Display the count for different kinds of MAC addresses (only available in privileged EXEC mode).
|
dynamic
|
(Optional) Display only the dynamic addresses.
|
static
|
(Optional) Display only the static addresses.
|
address hw-addr
|
(Optional) Display information for a specific address (only available in privileged EXEC mode).
|
interface interface-id
|
(Optional) Display addresses for a specific interface.
|
vlan vlan-id
|
(Optional) Display addresses for a specific VLAN. Valid IDs are from 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1001 when the standard software image (SI) is installed. Do not enter leading zeros.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
12.1(6)EA2
|
The show mac-address table secure command was replaced by the show port-security command. The self keyword is not supported in this release or later.
|
12.1(11)EA1
|
The show mac-address-table command was replaced by the show mac address-table command.
|
Usage Guidelines
This command displays the MAC address table for the switch. Specific views can be defined by using the optional keywords and values. If more than one optional keyword is used, all of the conditions must be true in order for that entry to appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table command:
Switch> show mac-address-table
Dynamic Addresses Count: 9
Secure Addresses (User-defined) Count: 0
Static Addresses (User-defined) Count: 0
System Self Addresses Count: 41
Non-static Address Table:
Destination Address Address Type VLAN Destination Port
------------------- ------------ ---- --------------------
0010.0de0.e289 Dynamic 1 FastEthernet0/1
0010.7b00.1540 Dynamic 2 FastEthernet0/5
0010.7b00.1545 Dynamic 2 FastEthernet0/5
0060.5cf4.0076 Dynamic 1 FastEthernet0/1
0060.5cf4.0077 Dynamic 1 FastEthernet0/1
0060.5cf4.1315 Dynamic 1 FastEthernet0/1
0060.70cb.f301 Dynamic 1 FastEthernet0/1
00e0.1e42.9978 Dynamic 1 FastEthernet0/1
00e0.1e9f.3900 Dynamic 1 FastEthernet0/1
This is an example of output from the show mac address-table static interface fastethernet0/2 vlan 1 command:
Switch> show mac address-table static interface fastethernet0/2 vlan 1
vlan mac address type ports
-----+---------------+--------+---------
1 abcd.2345.0099 static Fa0/2
1 abcd.0070.0070 static Fa0/2
1 abcd.2345.0099 static Fa0/2
1 abcd.2345.0099 static Fa0/2
1 00d0.d333.7f34 static Fa0/2
1 abcd.2345.0099 static Fa0/2
1 0005.6667.0007 static Fa0/2
This is an example of output from the show mac address-table count vlan 1 command:
Switch# show mac address-table count vlan 1
Static Address (User-defined) Count: 41
Total MAC Addresses In Use:42
Remaining MAC addresses: 8150
This is an example of output from the show mac address-table aging-time command:
Switch> show mac address-table aging-time
This is an example of output from the show mac address-table aging-time vlan 1 command:
Switch> show mac address-table aging-time vlan 1
Related Commands
Command
|
Description
|
clear mac address-table dynamic
|
Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN.
|
show mac address-table multicast
Use the show mac address-table multicast user EXEC command to display the Layer 2 multicast entries for the switch or for the VLAN.
show mac address-table multicast [vlan vlan-id] [count] [igmp-snooping | user] [ | {begin |
exclude | include} expression]
Note
Beginning with Release 12.1(11)EA1, the show mac address-table multicast command replaces the show mac-address-table multicast command (with the hyphen). The show mac-address-table multicast command (with the hyphen) will become obsolete in a future release.
Syntax Description
vlan vlan-id
|
(Optional) Specify a VLAN; valid values are 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros. (This keyword is only available in privileged EXEC mode.)
|
count
|
(Optional) Display total number of entries for the specified criteria instead of the actual entries (only available in privileged EXEC mode).
|
igmp-snooping
|
(Optional) Display only entries learned through Internet Group Management Protocol (IGMP) snooping (only available in privileged EXEC mode).
|
user
|
(Optional) Display only the user-configured multicast entries (only available in privileged EXEC mode).
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) 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
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
12.1(11)EA1
|
The show mac-address-table multicast command was replaced by the show mac address-table multicast command.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table multicast vlan 1 command:
Switch# show mac address-table multicast vlan 1
Vlan Mac Address Type Ports
---- ----------- ---- -----
1 0100.5e00.0128 IGMP Fa0/11
1 0100.5e01.1111 USER Fa0/5, Fa0/6, Fa0/7, Fa0/11
This is an example of output from the show mac address-table multicast count command:
Switch# show mac address-table multicast count
Multicast Mac Entries for all vlans: 10
This is an example of output from the show mac address-table multicast vlan 1 count command:
Switch# show mac address-table multicast vlan 1 count
Multicast Mac Entries for vlan 1: 2
This is an example of output from the show mac address-table multicast vlan 1 user command:
Switch# show mac address-table multicast vlan 1 user
vlan mac address type ports
-----+----------------+-------+---------------------
1 0100.5e02.0203 user Fa0/1,Fa0/2,Fa0/4
This is an example of output from the show mac address-table multicast vlan 1 igmp-snooping count command:
Switch# show mac address-table multicast vlan 1 igmp-snooping count
Number of igmp-snooping programmed entries : 1
show mac address-table notification
Use the show mac address-table notification user EXEC command to display parameters for the MAC notification feature.
show mac address-table notification [interface interface-id] [ | {begin | exclude | include}
expression]
Note
Beginning with Release 12.1(11)EA1, the show mac address-table notification command replaces the show mac-address-table notification command (with the hyphen). The show mac-address-table notification command (with the hyphen) will become obsolete in a future release.
Syntax Description
interface interface-id
|
(Optional) Specify an interface.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) 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
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
12.1(11)EA1
|
The show mac-address-table notification command was replaced by the show mac address-table notification command.
|
Usage Guidelines
Use the show mac address-table notification command without keywords to display parameters for all interfaces.
Use this command with the interface keyword to display parameters for a specific interface.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table notification command:
Switch> show mac address-table notification
MAC Notification Feature is Disabled on the switch
Related Commands
show mls masks
Use the show mls masks user EXEC command to display the details of the Access Control Parameters (ACPs) used for quality of service (QoS) and security access control lists (ACLs).
show mls masks [qos | security] [ | {begin | exclude | include} expression]
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
qos
|
(Optional) Display ACPs used for QoS ACLs.
|
security
|
(Optional) Display ACPs used for security ACLs.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Note
ACPs are called masks in the command-line interface (CLI) commands and output.
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Use the show mls mask command without keywords to display all ACPs configured on the switch.
Use this command with the qos keyword to display the ACPs used for QoS ACLs.
Use this command with the security keyword to display the ACPs used for security ACLs.
Note
You can configure up to four ACPs (QoS and security) on a switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mls masks command:
Fields : ip-sa(0.0.0.255), ip-da(host), dest-port, ip-dscp
Interfaces: Fa0/1, Fa0/5, Fa0/13
Fields : mac-sa (host), ethertype, ip-dscp
In this example, Mask 1 is a QoS ACP consisting an IP source address (with wildcard bits 0.0.0.255), an IP destination address, and Layer 4 destination port fields. This ACP is used by the QoS policy maps pmap1 and pmap2.
Mask 2 is a security ACP consisting of a MAC source address and ethertype fields. This ACP is used by the MAC security access groups 3 and macag1.
Related Commands
Command
|
Description
|
ip access-group
|
Applies an IP ACL to an interface.
|
mac access-group
|
Applies a named extended MAC ACL to an interface.
|
policy-map
|
Creates or modifies a policy map that can be attached to multiple interfaces and enters policy-map configuration mode.
|
show mls qos interface
Use the show mls qos interface user EXEC command to display quality of service (QoS) information at the interface level.
show mls qos interface [interface-id] [policers] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) Display QoS information for the specified interface.
|
policers
|
(Optional) Display all the policers configured on the interface, their settings, and the number of policers unassigned (available only when the switch is running the enhanced software image (EI) ).
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Note
Though visible in the command-line help strings, the vlan vlan-id option is not supported.
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Though visible in the command-line help string, the policers keyword is available only when your switch is running the EI.
Use the show mls qos interface command without keywords to display parameters for all interfaces.
Use the show mls qos interface interface-id command to display the parameters for a specific interface.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mls qos interface command when the Cisco IP Phone is a trusted device:
Switch> show mls qos interface fastethernet0/1
This is an example of output from the show mls qos interface command when pass-through mode is configured on an interface:
Switch> show mls qos interface fastethernet0/2
Related Commandstrust device:nonetrust device:cisco-phone
Command
|
Description
|
mls qos cos
|
Defines the default class of service (CoS) value of a port or assigns the default CoS to all incoming packets on the port.
|
mls qos map
|
Defines the class of service (CoS)-to-Differentiated Services Code Point (DSCP) map and DSCP-to-CoS map.
|
mls qos trust
|
Configures the port trust state. Ingress traffic can be trusted and classification is performed by examining the CoS or DSCP value.
|
show mls qos maps
Use the show mls qos maps user EXEC command to display quality of service (QoS) mapping information. Maps are used to generate an internal Differentiated Services Code Point (DSCP) value, which represents the priority of the traffic.
show mls qos maps [cos-dscp | dscp-cos] [ | {begin | exclude | include} expression]
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
cos-dscp
|
(Optional) Display class of service (CoS)-to-DSCP map.
|
dscp-cos
|
(Optional) Display DSCP-to-CoS map.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Use the show mls qos maps command without keywords to display all maps.
Use this command with the cos-dscp keyword to display the CoS-to-DSCP map.
Use this command with the dscp-cos keyword to display the DSCP-to-CoS map.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mls qos maps cos-dscp command:
Switch> show mls qos maps cos-dscp
--------------------------------
dscp: 8 8 8 8 24 32 56 56
This is an example of output from the show mls qos maps dscp-cos command:
Switch> show mls qos maps dscp-cos
dscp: 0 8 10 16 18 24 26 32 34 40 46 48 56
-----------------------------------------------
cos: 0 1 1 1 2 2 3 3 4 4 5 6 7
This is an example of output from the show mls qos maps command:
Switch> show mls qos maps
dscp: 0 8 10 16 18 24 26 32 34 40 46 48 56
-----------------------------------------------
cos: 0 1 1 2 2 3 7 4 4 5 5 7 7
--------------------------------
dscp: 0 8 16 24 32 40 48 56
Related Commands
Command
|
Description
|
mls qos map
|
Defines the CoS-to-DSCP map and DSCP-to-CoS map.
|
show monitor
Use the show monitor user EXEC command to display Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) session information.
show monitor [session {session_number | all | local | remote}] [ | {begin | exclude | include} expression]
Syntax Description
session session_number
|
(Optional) Specify the session number identified with this SPAN or RSPAN session.
|
all
|
Specify all sessions.
|
local
|
Specify local sessions.
|
remote
|
Specify remote sessions.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA1
|
This command was introduced.
|
12.1(11)EA1
|
The all, local, and remote keywords were added.
|
Usage Guidelines
Expressions are 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 is an example of output for the show monitor privileged EXEC command for RSPAN source session 1:
Switch# show monitor session 1
Type: Remote Source Session
Related Commands
Command
|
Description
|
monitor session
|
Enables SPAN and RSPAN monitoring on a port and configures a port as a source or destination port.
|
show mvr
Use the show mvr privileged EXEC command without keywords to display the Multicast VLAN Registration (MVR) global parameter values, including whether or not MVR is enabled, the MVR multicast VLAN, the maximum query response time, the number of multicast groups, and the MVR mode (dynamic or compatible).
show mvr [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mvr command:
MVR Max Multicast Groups: 256
MVR Current multicast groups: 256
MVR Global query response time: 5 (tenths of sec)
In the previous example, the maximum number of multicast groups is 256. The MVR mode is either compatible (for interoperability with Catalyst 2900 XL and Catalyst 3500 XL switches) or dynamic (where operation is consistent with Internet Group Management Protocol [IGMP] snooping operation, and dynamic MVR membership on source ports is supported).
Related Commands
Command
|
Description
|
mvr
|
Enables and configures multicast VLAN registration on the switch.
|
mvr type
|
Configures an MVR port as a receiver or a source port.
|
show mvr interface
|
Displays the configured MVR interfaces, status of the specified interface, or all multicast groups to which the interface belongs.
|
show mvr members
|
Displays all ports that are members of an MVR multicast group.
|
show mvr interface
Use the show mvr interface privileged EXEC command without keywords to display the Multicast VLAN Registration (MVR) receiver and source ports. Use the command with keywords to display MVR parameters for a specific receiver port.
show mvr interface [interface-id [members [vlan vlan-id]] [ | {begin | exclude | include}
expression]
Syntax Description
interface-id
|
(Optional) Display MVR type, status, and Immediate-Leave setting for the interface.
|
members
|
(Optional) Display all MVR groups to which the specified interface belongs.
|
vlan vlan-id
|
(Optional) Display the VLAN to which the receiver port belongs.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
If the entered port identification is a non-MVR port or a source port, the command returns an error message. For receiver ports, it displays the port type, per port status, and Immediate-Leave setting.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mvr interface command:
Switch# show mvr interface
Port Type Status Immediate Leave
---- ---- ------- ---------------
Gi0/1 SOURCE ACTIVE/UP DISABLED
Gi0/2 RECEIVER ACTIVE/DOWN DISABLED
In the previous example, Status is defined as:
•
Active means the port is part of a VLAN.
•
Up/Down means that the port is forwarding/nonforwarding.
•
Inactive means that the port is not part of any VLAN.
This is an example of output from the show mvr interface gigabitethernet0/2 command:
Switch# show mvr interface gigabitethernet0/2
Type: RECEIVER Status: ACTIVE Immediate Leave: DISABLED
This is an example of output from the show mvr interface fastethernet0/6 member command:
Switch# show mvr interface fastethernet0/6 member
239.255.0.0 DYNAMIC ACTIVE
239.255.0.1 DYNAMIC ACTIVE
239.255.0.2 DYNAMIC ACTIVE
239.255.0.3 DYNAMIC ACTIVE
239.255.0.4 DYNAMIC ACTIVE
239.255.0.5 DYNAMIC ACTIVE
239.255.0.6 DYNAMIC ACTIVE
239.255.0.7 DYNAMIC ACTIVE
239.255.0.8 DYNAMIC ACTIVE
239.255.0.9 DYNAMIC ACTIVE
Related Commands
Command
|
Description
|
mvr
|
Enables and configures multicast VLAN registration on the switch.
|
mvr type
|
Configures an MVR port as a receiver or a source port.
|
show mvr
|
Displays the global MVR configuration on the switch.
|
show mvr members
|
Displays all receiver ports that are members of an MVR multicast group.
|
show mvr members
Use the show mvr members privileged EXEC command to display all receiver ports that are members of an IP multicast group.
show mvr members [ip-address] [ | {begin | exclude | include} expression]
Syntax Description
ip-address
|
(Optional) The IP multicast address. If the address is entered, all receiver ports that are members of the multicast group appear. If no address is entered, all members of all Multicast VLAN Registration (MVR) groups are listed. If a group has no members, the group is listed as Inactive.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
The show mvr members command only applies to receiver ports. All source ports are members of all multicast groups.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mvr members command:
MVR Group IP Status Members
------------ ------ -------
239.255.0.1 ACTIVE Gi0/1(d), Gi0/2(s)
239.255.0.2 INACTIVE None
239.255.0.3 INACTIVE None
239.255.0.4 INACTIVE None
239.255.0.5 INACTIVE None
239.255.0.6 INACTIVE None
239.255.0.7 INACTIVE None
239.255.0.8 INACTIVE None
239.255.0.9 INACTIVE None
239.255.0.10 INACTIVE None
239.255.0.255 INACTIVE None
239.255.1.0 INACTIVE None
This is an example of output from the show mvr members 239.255.0.2 command. It shows how to view the members of the IP multicast group 239.255.0.2.
Switch# show mvr member 239.255.0.2
239.255.0.2 ACTIVE Gi0/1(d), Gi0/2(d)
Related Commands
Command
|
Description
|
mvr
|
Enables and configures multicast VLAN registration on the switch.
|
mvr type
|
Configures an MVR port as a receiver or a source port.
|
show mvr
|
Displays the global MVR configuration on the switch.
|
show mvr interface
|
Displays the configured MVR interfaces, status of the specified interface, or all multicast groups to which the interface belongs.
|
show pagp
Use the show pagp user EXEC command to display Port Aggregation Protocol (PAgP) channel-group information.
show pagp [channel-group-number] {counters | internal | neighbor} [ | {begin | exclude |
include} expression]
Syntax Description
channel-group-number
|
(Optional) Number of the channel group. Valid numbers range from 1 to 6.
|
counters
|
Display traffic information.
|
internal
|
Display internal information.
|
neighbor
|
Display neighbor information.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
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 number.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show pagp 1 counters command:
Switch> show pagp 1 counters
--------------------------------------
This is an example of output from the show pagp 1 internal command:
Switch> 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.
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Gi0/1 SC U6/S7 H 30s 1 128 Any 16
Gi0/2 SC U6/S7 H 30s 1 128 Any 16
This is an example of output from the show pagp 1 neighbor command:
Switch> show pagp 1 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.
Gi0/1 device-p2 0002.4b29.4600 Gi0/1 9s SC 10001
Gi0/2 device-p2 0002.4b29.4600 Gi0/2 24s SC 10001
Related Commands
Command
|
Description
|
clear pagp
|
Clears PAgP channel-group information.
|
pagp learn-method
|
Sets the source-address learning method of incoming packets received from an EtherChannel port.
|
show policy-map
Use the show policy-map user EXEC command to display quality of service (QoS) policy maps, which define classification criteria for incoming traffic. Policy maps can include policers that specify the bandwidth limitations and the action to take if the limits are exceeded.
show policy-map [policy-map-name [class class-name]] [ | {begin | exclude | include} expression]
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
policy-map-name
|
(Optional) Display the specified policy-map name.
|
class class-name
|
(Optional) Display QoS policy actions for a individual class.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Use the show policy-map command without keywords to display all policy maps configured on the switch.
Note
In a policy map, the class named class-default is not supported. The switch does not filter traffic based on the policy map defined by the class class-default policy-map configuration command.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show policy-map command:
Description: this is a description.
Policy Map wizard_policy3
police 10000000 8192 exceed-action drop
This is an example of output from the show policy-map policytest command:
Switch> show policy-map policytest
police 10000000 8192 exceed-action drop
This is an example of output from the show policy-map policytest class classtest command:
Switch> show policy-map policytest class classtest
police 10000000 8192 exceed-action drop
Related Commands
Command
|
Description
|
policy-map
|
Creates or modifies a policy map that can be attached to multiple interfaces to specify a service policy.
|
show port-security
Use the show port-security privileged EXEC command to display the port security settings defined for an interface or for the switch.
show port-security [interface interface-id] [address] [ | {begin | exclude | include} expression]
Syntax Description
interface interface-id
|
(Optional) Display the port security settings for the specified interface.
|
address
|
(Optional) Display all the secure addresses on all ports.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced. It replaced the show port security and show mac-address-table secure commands.
|
Usage Guidelines
If you enter this command without keywords, the output includes the administrative and the operational status of all secure ports on the switch.
If you enter an interface-id, the show port-security command displays port security settings for the interface.
If you enter the address keyword, the show port-security address command displays the secure MAC addresses for all interfaces and the aging information for each secure address.
If you enter an interface-id and the address keyword, the show port-security interface interface-id address command displays all the MAC addresses for the interface with aging information for each secure address. You can also use this command to display all the MAC addresses for an interface even if you have not enabled port security on it.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show port-security command:
Switch# show port-security
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Total Addresses in System :21
Max Addresses limit in System :1024
This is an example of output from the show port-security interface fastethernet0/2 command:
Switch# show port-security interface fastethernet0/2
Maximum MAC Addresses :11
Configured MAC Addresses :3
SecureStatic address aging :Enabled
Security Violation count :0
This is an example of output from the show port-security address command:
Switch# show port-security address
-------------------------------------------------------------------
Vlan Mac Address Type Ports Remaining Age
---- ----------- ---- ----- -------------
1 0001.0001.0001 SecureDynamic Fa0/1 15 (I)
1 0001.0001.0002 SecureDynamic Fa0/1 15 (I)
1 0001.0001.1111 SecureConfigured Fa0/1 16 (I)
1 0001.0001.1112 SecureConfigured Fa0/1 -
1 0001.0001.1113 SecureConfigured Fa0/1 -
1 0005.0005.0001 SecureConfigured Fa0/5 23
1 0005.0005.0002 SecureConfigured Fa0/5 23
1 0005.0005.0003 SecureConfigured Fa0/5 23
1 0011.0011.0001 SecureConfigured Fa0/11 25 (I)
1 0011.0011.0002 SecureConfigured Fa0/11 25 (I)
-------------------------------------------------------------------
Total Addresses in System :10
Max Addresses limit in System :1024
This is an example of output from the show port-security interface fastethernet0/5 address command:
Switch# show port-security interface fastethernet0/5 address
-------------------------------------------------------------------
Vlan Mac Address Type Ports Remaining Age
---- ----------- ---- ----- -------------
1 0005.0005.0001 SecureConfigured Fa0/5 19 (I)
1 0005.0005.0002 SecureConfigured Fa0/5 19 (I)
1 0005.0005.0003 SecureConfigured Fa0/5 19 (I)
-------------------------------------------------------------------
Related Commands
Command
|
Description
|
switchport port-security
|
Enables port security on a port, restricts the use of the port to a user-defined group of stations, and configures secure MAC addresses.
|
show remote lre
Use the show remote lre priviledged exec command to display the switch registers on a customer premises equipment (CPE) device connected on an Long-Reach Ethernet (LRE) link.
show remote lre interface-id switch address length value [ | {begin | exclude | include}
expression]
Syntax Description
interface-id
|
ID of the LRE port.
|
address
|
Register address. Valid values are between 0 and 65535.
|
value
|
The number of bytes being read.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Defaults
A default is not defined.
Command Modes
Privileged Exec
Command History
Release
|
Modification
|
12.1(11)YJ
|
This command was introduced.
|
Usage Guidelines
Caution 
Use this command only under the direction of a technical support representative. Setting a CPE device switch address while the switch is functioning in a network can disrupt network operation. Only technical personnel who have access to source code and detailed memory maps can interpret the data displayed by this command.
This command is supported when the interface is connected to a Cisco 585 LRE CPE. This operation can fail if the LRE link is not stable.
Examples
No examples are provided because this command needs to be run with information from technical support personnel who have access to source code and detailed memory maps.
Related Commands
Command
|
Description
|
show access-lists
|
Configures a switch register on a CPE device connected through an LRE link.
|
show rps
Use the show rps privileged EXEC command to display the status of the Cisco Redundant Power System (RPS).
show rps [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show rps command. Table 2-16 describes the possible output.
Table 2-16 show rps Output Description
Display
|
Description
|
BLACK
|
The RPS is off or not properly connected.
|
GREEN
|
The RPS is connected and ready to provide back-up power, if required.
|
ALT_GREEN_BLACK
|
The RPS is connected but is unavailable because it is providing power to another device (redundancy has been allocated to a neighboring device).
|
ALT_AMBER_BLACK
|
The internal power supply in the switch has failed, and the RPS is providing power to the switch (redundancy has been allocated to this device).
|
AMBER
|
The RPS is in standby mode, or the RPS has detected a failure.
Press the Standby/Active button on the RPS to put the RPS in active mode. If the RPS LED on the switch remains amber, the RPS has detected a failure.
If the failure is minor, the RPS might be in any of the previously described modes. If the failure is critical, the RPS will be down.
RPS failures include these modes:
• The RPS +12V or -48V voltages exceed the specified thresholds.
• The RPS has a fan failure.
• The RPS detects excessive temperature.
• The RPS has a faulty connection to the switch.
|
show running-config vlan
Use the show running-config vlan privileged EXEC command to display all or a range of VLAN-related configurations on the switch.
show running-config vlan [vlan-ids] [ | {begin | exclude | include} expression]
Syntax Description
vlan-ids
|
(Optional) Display configuration information for a single VLAN identified by VLAN ID number or a range of VLANs separated by a hyphen. For vlan-id, the range is 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
Expressions are 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 is an example of output from the show running-config vlan command:
Switch# show running-config vlan 900-2005
Building configuration...
Related Commands
Command
|
Description
|
show running-config vlan
|
Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
|
vlan (global configuration)
|
Enters config-vlan mode for creating and editing VLANs. When VLAN Trunking Protocol (VTP) mode is transparent, you can use this mode to create extended-range VLANs (VLAN IDs greater than 1005).
|
vlan database
|
Enters VLAN configuration mode for creating and editing normal-range VLANs.
|
show spanning-tree
Use the show spanning-tree user EXEC command to display spanning-tree state information.
show spanning-tree [active [detail] | backbonefast | blockedports | bridge | detail [active] |
inconsistentports | interface interface-id | mst | pathcost method | root | summary [totals] |
uplinkfast | vlan vlan-id] [ | {begin | exclude | include} expression]
show spanning-tree vlan vlan-id [active [detail] | blockedports | bridge | detail [active] |
inconsistentports | interface interface-id | root | summary] [ | {begin | exclude | include}
expression
show spanning-tree {vlan vlan-id} bridge [address | detail | forward-time | hello-time | id |
max-age | priority [system-id] | protocol] [ | {begin | exclude | include} expression]
show spanning-tree {vlan vlan-id} root [address | cost | detail | forward-time | hello-time | id |
max-age | port | priority [system-id] [ | {begin | exclude | include} expression]
show spanning-tree interface interface-id [active [detail] | cost | detail [active] | inconsistency |
portfast | priority | rootcost | state] [ | {begin | exclude | include} expression]
show spanning-tree mst [configuration | instance-id] [detail | interface interface-id [detail]]
[ | {begin | exclude | include} expression]
Syntax Description
active [detail]
|
(Optional) Display spanning-tree information only on active interfaces (only available in privileged EXEC mode).
|
backbonefast
|
(Optional) Display spanning-tree BackboneFast status (only available in privileged EXEC mode).
|
blockedports
|
(Optional) Display blocked port information (only available in privileged EXEC mode).
|
bridge [address | detail | forward-time | hello-time | id | max-age | priority [system-id] | protocol]
|
(Optional) Display status and configuration of this switch (only available in privileged EXEC mode).
|
detail [active]
|
(Optional) Display a detailed summary of interface information (only available in privileged EXEC mode).
|
inconsistentports
|
(Optional) Display inconsistent port information (only available in privileged EXEC mode).
|
interface interface-id [active [detail] | cost | detail [active] | inconsistency | portfast | priority | rootcost | state]
|
(Optional) Display spanning-tree information for the specified interface (all options only available in privileged EXEC mode). Enter each interface separated by a space. Ranges are not supported. Valid interfaces include physical ports, VLANs, and port channels. The valid VLAN range is 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros. The valid port-channel range is 1 to 6.
|
mst [configuration | instance-id] [detail | interface interface-id [detail]]
|
These keywords and options are available only if your switch is running the EI.
(Optional) Display the multiple spanning-tree (MST) region configuration and status (all options only available in privileged EXEC mode).
Valid interfaces include physical ports, VLANs, and port channels. The valid VLAN range is 1 to 4094; do not enter leading zeros. The valid port-channel range is 1 to 6.
|
pathcost method
|
(Optional) Display the default path cost method (only available in privileged EXEC mode).
|
root [address | cost | detail | forward-time | hello-time | id | max-age | port | priority [system-id]]
|
(Optional) Display root switch status and configuration (all options only available in privileged EXEC mode).
|
summary [totals]
|
(Optional) Display a summary of port states or the total lines of the spanning-tree state section (only available in privileged EXEC mode).
|
uplinkfast
|
(Optional) Display spanning-tree UplinkFast status (only available in privileged EXEC mode).
|
vlan vlan-id [active [detail] | backbonefast | blockedports | bridge [address | detail | forward-time | hello-time | id | max-age | priority [system-id] | protocol]
|
(Optional) Display spanning-tree information for the specified VLAN (only available in privileged EXEC mode). The range is 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC; indicated keywords available only in privileged EXEC mode
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
12.1(6)EA2
|
The active, backbonefast, blockedports, bridge, inconsistentports, pathcost method, root, total, and uplinkfast keywords were added.
|
12.1(9)EA1
|
The mst keyword and options were added. The brief keyword was removed, and the detail keyword was added.
|
Usage Guidelines
If the vlan-id variable is omitted, the command applies to the spanning-tree instance for all VLANs.
Expressions are 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 is an example of output from the show spanning-tree active command:
Switch# show spanning-tree active
Spanning tree enabled protocol ieee
Port 1 (GigabitEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Interface Port ID Designated Port ID
Name Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr
---------------- -------- --------- --- --------- -------------------- --------
Gi0/1 128.1 19 FWD 38 32768 0030.9441.62c1 128.25
Gi0/2 128.2 19 FWD 57 32769 0002.4b29.7a00 128.2
Po1 128.65 19 FWD 57 32769 0002.4b29.7a00 128.65
This is an example of output from the show spanning-tree detail command:
Switch> show spanning-tree detail
VLAN0001 is executing the ieee compatible Spanning Tree protocol
Bridge Identifier has priority 32768, sysid 1, address 0002.4b29.7a00
Configured hello time 2, max age 20, forward delay 15
Current root has priority 32768, address 0001.4297.e000
Root port is 1 (GigabitEthernet0/1), cost of root path is 57
Topology change flag not set, detected flag not set
Number of topology changes 2 last change occurred 2d18h ago
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 0, topology change 0, notification 0, aging 300
Port 1 (GigabitEthernet0/1) of VLAN0001 is forwarding
Port path cost 19, Port priority 128, Port Identifier 128.1.
Designated root has priority 32768, address 0001.4297.e000
Designated bridge has priority 32768, address 0030.9441.62c1
Designated port id is 128.25, designated path cost 38
Timers: message age 4, forward delay 0, hold 0
Number of transitions to forwarding state: 1
BPDU: sent 2, received 120638
This is an example of output from the show spanning-tree interface fastethernet 0/1 command:
Switch> show spanning-tree interface fastethernet0/1
Vlan Port ID Designated Port ID
Name Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr
---------------- -------- --------- --- --------- -------------------- --------
VLAN0001 128.1 19 FWD 38 32768 0030.9441.62c1 128.25
This is an example of output from the show spanning-tree summary command:
Switch> show spanning-tree summary
Extended system ID is enabled
PortFast BPDU Guard is disabled
EtherChannel misconfiguration guard is enabled
Default pathcost method used is short
Name Blocking Listening Learning Forwarding STP Active
-------------------- -------- --------- -------- ---------- ----------
This is an example of output from the show spanning-tree mst configuration command:
Switch# show spanning-tree mst configuration
-------- ------------------
----------------------------
This is an example of output from the show spanning-tree mst interface fastethernet0/1 command:
Switch# show spanning-tree mst interface fastethernet0/1
FastEthernet0/1 of MST00 is root forwarding
Edge port: no (default) port guard : none (default)
Link type: point-to-point (auto) bpdu filter: disable (default)
Boundary : boundary (STP) bpdu guard : disable (default)
Bpdus sent 5, received 74
Instance role state cost prio vlans mapped
-------- ---- ----- --------- ---- --------------------------------------------
0 root FWD 200000 128 1,12,14-4094
This is an example of output from the show spanning-tree mst 0 command:
Switch# show spanning-tree mst 0
###### MST00 vlans mapped: 1-9,21-4094
Bridge address 0002.4b29.7a00 priority 32768 (32768 sysid 0)
Root address 0001.4297.e000 priority 32768 (32768 sysid 0)
port Gi0/1 path cost 200038
Operational hello time 2, forward delay 15, max age 20, max hops 20
Configured hello time 2, forward delay 15, max age 20, max hops 20
Interface role state cost prio type
-------------------- ---- ----- --------- ---- --------------------------------
GigabitEthernet0/1 root FWD 200000 128 P2P bound(STP)
GigabitEthernet0/2 desg FWD 200000 128 P2P bound(STP)
Port-channel1 desg FWD 200000 128 P2P bound(STP)
Related Commands
show storm-control
Use the show storm-control user EXEC command to display the packet-storm control information. This command also displays the action that the switch takes when the thresholds are reached.
show storm-control [interface-id] [{broadcast | history | multicast | unicast }] [ | {begin | exclude
| include} expression]
Syntax Description
interface-id
|
(Optional) Port for which information is to be displayed.
|
broadcast
|
(Optional) Display broadcast storm information.
|
history
|
(Optional) Display storm history on a per-port basis.
|
multicast
|
(Optional) Display multicast storm information.
|
unicast
|
(Optional) Display unicast storm information.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced. It replaced the show port storm-control command.
|
Usage Guidelines
If the variable interface-id is omitted, the show storm-control command displays storm-control settings for all ports on the switch.
You can display broadcast, multicast, or unicast packet-storm information by using the corresponding keyword. When no option is specified, the default is to display broadcast storm-control information.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show storm-control broadcast command:
Switch> show storm-control broadcast
Interface Filter State Trap State Upper Lower Current Traps Sent
--------- ------------- ------------- ------- ------- ------- ----------
Fa0/1 <inactive> <inactive> 100.00% 100.00% 0.00% 0
Fa0/2 <inactive> <inactive> 100.00% 100.00% 0.00% 0
Fa0/3 <inactive> <inactive> 100.00% 100.00% 0.00% 0
Fa0/4 Forwarding Below rising 30.00% 20.00% 20.32% 17
Table 2-17 lists the show storm-control field descriptions.
Table 2-17 show storm-control Field Descriptions
Field
|
Description
|
Interface
|
Displays the ID of the interface.
|
Filter State
|
Displays the status of the filter:
• Blocking—Storm control is enabled, action is filter, and a storm has occurred.
• Forwarding—Storm control is enabled, and a storm has not occurred.
• Inactive—Storm control is disabled.
• Shutdown—Storm control is enabled, the action is to shut down, and a storm has occurred.
Note If an interface is disabled by a broadcast, multicast, or unicast storm, the filter state for all traffic types is shutdown.
|
Trap State
|
Displays the status of the SNMP trap:
• Above rising—Storm control is enabled, and a storm has occurred.
• Below rising—Storm control is enabled, and a storm has not occurred.
• Inactive—The trap option is not enabled.
|
Upper
|
Displays the rising suppression level as a percentage of total available bandwidth.
|
Lower
|
Displays the falling suppression level as a percentage of total available bandwidth.
|
Current
|
Displays the bandwidth utilization of a specific traffic type as a percentage of total available bandwidth. This field is valid only when storm control is enabled.
|
Traps Sent
|
Displays the number traps sent on an interface for a specific traffic type.
|
This is an example of output from the show storm-control fastethernet0/4 history command, which displays the ten most recent storm events for an interface.
Switch> show storm-control fastethernet0/4 history
Interface Fa0/4 Storm Event History
Event Type Event Start Time Duration (seconds)
------------------ ---------------- ------------------
Note
The duration field could be n/a when a storm is still present or when a new storm of a different type occurs before the current storm ends.
Related Commands
Command
|
Description
|
speed
|
Enables broadcast, multicast, or unicast storm control on a port.
|
show system mtu
Use the show system mtu privileged EXEC command to display the global maximum packet size or maximum transmission unit (MTU) set for the switch.
show system mtu [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show system mtu command:
System MTU size is 1500 bytes
Related Commands
Command
|
Description
|
system mtu
|
Sets the MTU size for the switch.
|
show udld
Use the show udld user EXEC command to display UniDirectional Link Detection (UDLD) status for all ports or the specified port.
show udld [interface-id] [ | {begin | exclude | include} expression]
Syntax Description
interface-id
|
(Optional) ID of the interface and port number. Valid interfaces include physical ports and VLANs. The VLAN range is 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1001 when the standard software image (SI) is installed. Do not enter leading zeros.
|
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
If you do not enter an interface-id, the administrative and the operational UDLD status for all interfaces appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show udld gigabitethernet0/1 command. In this example, UDLD is enabled on both ends of the link, and UDLD detects that the link is bidirectional. Table 2-18 describes the fields in this example.
Switch> show udld gigabitethernet0/1
Port enable administrative configuration setting: Follows device default
Port enable operational state: Enabled
Current bidirectional state: Bidirectional
Current operational state: Advertisement - Single Neighbor detected
Current neighbor state: Bidirectional
Device name: 0050e2826000
Neighbor echo 1 device: SAD03160954
Neighbor echo 1 port: Gi0/1
CDP Device name: 066527791
Table 2-18 show udld Field Descriptions
Field
|
Description
|
Interface
|
The interface on the local device configured for UDLD.
|
Port enable administrative configuration setting
|
How UDLD is configured on the port. If UDLD is enabled or disabled, the port enable configuration setting is the same as the operational enable state. Otherwise, the enable operational setting depends on the global enable setting.
|
Port enable operational state
|
Operational state that shows whether UDLD is actually running on this port.
|
Current bidirectional state
|
The bidirectional state of the link. An unknown state appears if the link is down or if it is connected to an UDLD-incapable device. A bidirectional state appears if the link is a normal two-way connection to a UDLD-capable device. All other values mean miswiring.
|
Current operational state
|
The phase of the UDLD state machine. For a normal bidirectional link, the state machine is usually in the Advertisement phase.
|
Message interval
|
How often advertisement messages are sent from the local device. Measured in seconds.
|
Time out interval
|
The time period, in seconds, that UDLD waits for echoes from a neighbor device during the detection window.
|
Entry 1
|
Information from the first cache entry, which contains a copy of echo information received from the neighbor.
|
Expiration time
|
The amount of time in seconds remaining before this cache entry is aged out.
|
Device ID
|
The neighbor device identification.
|
Current neighbor state
|
The neighbor's state. If both the local and neighbor devices are running UDLD, the neighbor state and the local state is bidirectional. If the link is down or the neighbor is not UDLD-capable, no cache entries appear.
|
Device name
|
The neighbor MAC address.
|
Port ID
|
The neighbor port ID enabled for UDLD.
|
Neighbor echo 1 device
|
The MAC address of the neighbors' neighbor from which the echo originated.
|
Neighbor echo 1 port
|
The port number ID of the neighbor from which the echo originated.
|
Message interval
|
The rate, in seconds, at which the neighbor is sending advertisement messages.
|
CDP1 device name
|
CDP name of the device.
|
This is an example of output from the show udld interface configuration command when the aggressive mode is configured:
Port enable administrative configuration setting:Enabled / in aggressive mode
Port enable operational state:Enabled / in aggressive mode
Current bidirectional state:Unknown
Current operational state:Link down
No neighbor cache information stored
Related Commands
show version
Use the show version user EXEC command to display version information for the hardware and firmware.
show version [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show version command:
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(9)EA1
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 27-Feb-02 06:51 by antonino
Image text-base:0x80010000, data-base:0x804E2000
ROM:Bootstrap program is C2950 boot loader
Switch uptime is 1 hour, 54 minutes
System returned to ROM by power-on
System image file is "flash:c2950-i6q4l2-mz.121-0.0.9.EA1.bin"
cisco WS-C2950G-12-EI (RC32300) processor with 20830K bytes of memory.
Last reset from system-reset
12 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)
32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address:00:05:74:28:09:C0
Configuration register is 0xF
show vlan
Use the show vlan user EXEC command to display the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) on the switch.
show vlan [brief | id vlan-id | name vlan-name | remote-span | summary] [ | {begin | exclude |
include} expression]
Syntax DescriptionN
brief
|
(Optional) Display one line for each VLAN with the VLAN name, status, and its ports.
|
id vlan-id
|
(Optional) Display information about a single VLAN identified by VLAN ID number. For vlan-id, the range is 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros.
|
name vlan-name
|
(Optional) Display information about a single VLAN identified by VLAN name. The VLAN name is an ASCII string from 1 to 32 characters.
|
remote-span
|
(Optional) Display information about Remote SPAN (RSPAN) VLANs.
|
summary
|
(Optional) Display VLAN summary information. This keyword is available only if your switch is running the EI.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|

Note
Though visible in the command-line help string when the EI is installed, the internal usage, ifindex, and private-vlan keywords are not supported.
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
12.1(9)EA1
|
The summary keyword was added.
|
12.1(11)EA1
|
The remote-span keyword was added.
|
Usage Guidelines
Expressions are 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 is an example of output from the show vlan command. Table 2-19 describes each field in the display.
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/5, Fa0/7
Fa0/8, Fa0/9, Fa0/11, Fa0/12
100 VLAN0100 suspended Fa0/3
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
2 enet 100002 1500 - - - - - 0 0
51 enet 100051 1500 - - - - - 0 0
52 enet 100052 1500 - - - - - 0 0
100 enet 100100 1500 - - - - - 0 0
400 enet 100400 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 3276 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ieee - 0 0
1005 trnet 101005 1500 - - 15 ibm - 0 0
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Table 2-19 show vlan Command Output Fields
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 source-route bridging (SRB) and source-route transparent (SRT); the default is SRB.
|
Trans1
|
Translation bridge 1.
|
Trans2
|
Translation bridge 2.
|
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 or not the Token Ring concentrator relay function (TrCRF) is a backup path for traffic.
|
This is an example of output from the show vlan brief command:
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
This is an example of output from the show vlan id command. The specified VLAN is in the extended VLAN range.
Switch# show vlan id 2005
---- -------------------------------- --------- -------------------------------
2005 VLAN2005 active Fa0/2
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
2005 enet 102005 1500 - - - - - 0 0
This is an example of output from the show vlan summary command:
Switch> show vlan summary
Number of existing VLANs : 7
Number of existing VTP VLANs : 7
Number of existing extended VLANs : 0
Related Commands
Command
|
Description
|
switchport mode
|
Configures the VLAN membership mode of a port.
|
vlan (global configuration)
|
Enables config-vlan mode where you can configure VLANs 1 to 4094 when the EI is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros.
|
vlan (VLAN configuration)
|
Configures VLAN characteristics in the VLAN database. Only available for normal-range VLANs (VLAN IDs 1 to 1005). Do not enter leading zeros.
|
show vmps
Use the show vmps user EXEC command without keywords to display the VLAN Query Protocol (VQP) version, reconfirmation interval, retry count, VLAN Membership Policy Server (VMPS) IP addresses, and the current and primary servers, or use the statistics keyword to display client-side statistics.
show vmps [statistics] [ | {begin | exclude | include} expression]
Syntax Description
statistics
|
(Optional) Display VQP client-side statistics and counters.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show vmps command:
Reconfirm Interval: 60 min
This is an example of output from the show vmps statistics command. Table 2-20 describes each field in the example.
Switch> show vmps statistics
VQP Insufficient Resource: 0
Table 2-20 show vmps statistics Field Descriptions
Field
|
Description
|
VQP Queries
|
Number of queries sent by the client to the VMPS.
|
VQP Responses
|
Number of responses sent to the client from the VMPS.
|
VMPS Changes
|
Number of times that the VMPS changed from one server to another.
|
VQP Shutdowns
|
Number of times the VMPS sent a response to shut down the port. The client disables the port and removes all dynamic addresses on this port from the address table. You must administratively re-enable the port to restore connectivity.
|
VQP Denied
|
Number of times the VMPS denied the client request for security reasons. When the VMPS response denies an address, no frame is forwarded to or from the workstation with that address. (Broadcast or multicast frames are delivered to the workstation if the port on the switch has been assigned to a VLAN.) The client keeps the denied address in the address table as a blocked address to prevent further queries from being sent to the VMPS for each new packet received from this workstation. The client ages the address if no new packets are received from this workstation on this port within the aging time period.
|
VQP Wrong Domain
|
Number of times the management domain in the request does not match the one for the VMPS. Any previous VLAN assignments of the port are not changed. This response means that the server and the client have not been configured with the same VTP management domain.
|
VQP Wrong Version
|
Number of times the version field in the query packet contains a value that is higher than the version supported by the VMPS. The previous VLAN assignment of the port is not changed. The switches send only VMPS version 1 requests.
|
VQP Insufficient Resource
|
Number of times the VMPS is unable to answer the request because of a resource availability problem. If the retry limit has not yet been reached, the client repeats the request with the same server or with the next alternate server, depending on whether the per-server retry count has been reached.
|
Related Commands
show vtp
Use the show vtp user EXEC command to display general information about the VLAN Trunking Protocol (VTP) management domain, status, and counters.
show vtp {counters | status} [ | {begin | exclude | include} expression]
Syntax Description
counters
|
Display the VTP statistics for the switch.
|
status
|
Display general information about the VTP management domain status.
|
| begin
|
(Optional) Display begins with the line that matches the expression.
|
| exclude
|
(Optional) Display excludes lines that match the expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
Expressions are 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 is an example of output from the show vtp counters command. Table 2-21 describes each field in the display.
Switch> show vtp counters
Summary advertisements received : 38
Subset advertisements received : 0
Request advertisements received : 0
Summary advertisements transmitted : 13
Subset advertisements transmitted : 3
Request advertisements transmitted : 0
Number of config revision errors : 0
Number of config digest errors : 0
Number of V1 summary errors : 0
Trunk Join Transmitted Join Received Summary advts received from
non-pruning-capable device
---------------- ---------------- ---------------- ---------------------------
Table 2-21 show vtp counters Field Descriptions
Field
|
Description
|
Summary advertisements received
|
Number of summary advertisements received by this switch on its trunk ports. Summary advertisements contain the management domain name, the configuration revision number, the update timestamp and identity, the authentication checksum, and the number of subset advertisements to follow.
|
Subset advertisements received
|
Number of subset advertisements received by this switch on its trunk ports. Subset advertisements contain all the information for one or more VLANs.
|
Request advertisements received
|
Number of advertisement requests received by this switch on its trunk ports. Advertisement requests normally request information on all VLANs. They can also request information on a subset of VLANs.
|
Summary advertisements transmitted
|
Number of summary advertisements sent by this switch on its trunk ports. Summary advertisements contain the management domain name, the configuration revision number, the update timestamp and identity, the authentication checksum, and the number of subset advertisements to follow.
|
Subset advertisements transmitted
|
Number of subset advertisements sent by this switch on its trunk ports. Subset advertisements contain all the information for one or more VLANs.
|
Request advertisements transmitted
|
Number of advertisement requests sent by this switch on its trunk ports. Advertisement requests normally request information on all VLANs. They can also request information on a subset of VLANs.
|
Number of configuration revision errors
|
Number of revision errors.
Whenever you define a new VLAN, delete an existing one, suspend or resume an existing VLAN, or modify the parameters on an existing VLAN, the configuration revision number of the switch increments.
Revision errors increment whenever the switch receives an advertisement whose revision number matches the revision number of the switch, but the MD5 digest values do not match. This error means that the VTP password in the two switches is different or that the switches have different configurations.
These errors means that the switch is filtering incoming advertisements, which causes the VTP database to become unsynchronized across the network.
|
Number of configuration digest errors
|
Number of MD5 digest errors.
Digest errors increment whenever the MD5 digest in the summary packet and the MD5 digest of the received advertisement calculated by the switch do not match. This error usually means that the VTP password in the two switches is different. To solve this problem, make sure the VTP password on all switches is the same.
These errors mean that the switch is filtering incoming advertisements, which causes the VTP database to become unsynchronized across the network.
|
Number of V1 summary errors
|
Number of version 1 errors.
Version 1 summary errors increment whenever a switch in VTP V2 mode receives a VTP version 1 frame. These errors mean that at least one neighboring switch is either running VTP version 1 or VTP version 2 with V2-mode disabled. To solve this problem, change the configuration of the switches in VTP V2-mode to disabled.
|
Join Transmitted
|
Number of VTP pruning messages sent on the trunk.
|
Join Received
|
Number of VTP pruning messages received on the trunk.
|
Summary Advts Received from non-pruning-capable device
|
Number of VTP summary messages received on the trunk from devices that do not support pruning.
|
This is an example of output from the show vtp status command. Table 2-22 describes each field in the display.
Configuration Revision : 0
Maximum VLANs supported locally : 250
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Pruning Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xBF 0x86 0x94 0x45 0xFC 0xDF 0xB5 0x70
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 172.20.135.196 on interface Vl1 (lowest numbered VLAN interface found)
Table 2-22 show vtp status Field Descriptions
Field
|
Description
|
VTP Version
|
Displays the VTP version operating on the switch. By default, the switch implements version 1 but can be set to version 2.
|
Configuration Revision
|
Current configuration revision number on this switch.
|
Maximum VLANs Supported Locally
|
Maximum number of VLANs supported locally.
|
Number of Existing VLANs
|
Number of existing VLANs.
|
VTP Operating Mode
|
Displays the VTP operating mode, which can be server, client, or transparent.
Server: a switch in VTP server mode is enabled for VTP and sends advertisements. You can configure VLANs on it. The switch guarantees that it can recover all the VLAN information in the current VTP database from nonvolatile RAM (NVRAM) after reboot. By default, every switch is a VTP server.
Note The switch automatically changes from VTP server mode to VTP client mode if it detects a failure while writing the configuration to NVRAM and cannot return to server mode until the NVRAM is functioning.
Client: a switch in VTP client mode is enabled for VTP, can send advertisements, but does not have enough nonvolatile storage to store VLAN configurations. You cannot configure VLANs on it. When a VTP client starts up, it does not send VTP advertisements until it receives advertisements to initialize its VLAN database.
Transparent: a switch in VTP transparent mode is disabled for VTP, does not send or learn from advertisements sent by other devices, and cannot affect VLAN configurations on other devices in the network. The switch receives VTP advertisements and forwards them on all trunk ports except the one on which the advertisement was received.
|
VTP Domain Name
|
Name that identifies the administrative domain for the switch.
|
VTP Pruning Mode
|
Displays whether pruning is enabled or disabled. Enabling pruning on a VTP server enables pruning for the entire management domain. Pruning restricts flooded traffic to those trunk links that the traffic must use to access the appropriate network devices.
|
VTP V2 Mode
|
Displays if VTP version 2 mode is enabled. All VTP version 2 switches operate in version 1 mode by default. Each VTP switch automatically detects the capabilities of all the other VTP devices. A network of VTP devices should be configured to version 2 only if all VTP switches in the network can operate in version 2 mode.
|
VTP Traps Generation
|
Displays whether VTP traps are sent to a network management station.
|
MD5 Digest
|
A 16-byte checksum of the VTP configuration.
|
Configuration Last Modified
|
Displays the date and time of the last configuration modification. Displays the IP address of the switch that caused the configuration change to the database.
|
Related Commands
show wrr-queue bandwidth
Use the show wrr-queue bandwidth user EXEC command to display the weighted round-robin (WRR) bandwidth allocation for the four class of service (CoS) priority queues.
show wrr-queue bandwidth [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show wrr-queue bandwidth command:
Switch> show wrr-queue bandwidth
Related Commands
show wrr-queue cos-map
Use the show wrr-queue cos-map user EXEC command to display the mapping of the class of service (CoS) priority queues.
show wrr-queue cos-map [ | {begin | exclude | include} expression]
Syntax Description
| begin
|
(Optional) Display begins with the line that matches the specified expression.
|
| exclude
|
(Optional) Display excludes lines that match the specified expression.
|
| include
|
(Optional) Display includes lines that match the specified expression.
|
expression
|
Expression in the output to use as a reference point.
|
Command Modes
User EXEC
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show wrr-queue cos-map command:
Switch> show wrr-queue cos-map
CoS Value : 0 1 2 3 4 5 6 7
Priority Queue : 1 1 2 2 3 3 4 4
Related Commands
shutdown
Use the shutdown interface configuration command to disable a port and to shut down the management VLAN. On an LRE model, this command disables the LRE interface by deactivating the MAC interface and the LRE chipset transmitter. Use the no form of this command to enable a disabled port or to activate the management VLAN.
shutdown
no shutdown
Syntax Description
This command has no arguments or keywords.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
The shutdown command for a port causes it to stop forwarding. You can enable the port with the no shutdown command.
The no shutdown command has no effect if the port is a static-access port assigned to a VLAN that has been deleted, suspended, or shut down. The port must first be a member of an active VLAN before it can be re-enabled.
Only one management VLAN interface can be active at a time. The remaining VLANs are shut down. In the show running-config command output, the active management VLAN interface is the one without the shutdown command displayed.
On LRE switches, this command disables the LRE transmitter of an LRE interface. Under some circumstances, the power emitted by switch LRE ports can affect other switch LRE ports. We recommend that ports that are not connected to CPE devices be shut down by using this command. Also use this command to disable access to the switch from a particular port.
Examples
This example shows how to disable fixed Fast Ethernet port 0/8 and how to re-enable it:
Switch(config)# interface fastethernet0/8
Switch(config-if)# shutdown
Switch(config-if)# no shutdown
You can verify your settings by entering the show interfaces privileged EXEC command.
shutdown vlan
Use the shutdown vlan global configuration command to shut down (suspend) local traffic on the specified VLAN. Use the no form of this command to restart local traffic on the VLAN.
shutdown vlan vlan-id
no shutdown vlan vlan-id
Syntax Description
vlan-id
|
ID of the VLAN to be locally shut down. Valid IDs are from 2 to 1001. VLANs defined as default VLANs under the VLAN Trunking Protocol (VTP), as well as extended-range VLANs (greater than 1005) cannot be shut down. The default VLANs are 1 and 1002 to 1005. Do not enter leading zeros.
|
Defaults
No default is defined.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
The shutdown vlan command does not change the VLAN information in the VTP database. It shuts down traffic locally, but the switch still advertises VTP information.
Examples
This example shows how to shutdown traffic on VLAN 2:
Switch(config)# shutdown vlan 2
You can verify your setting by entering the show vlan privileged EXEC command.
Related Commands
Command
|
Description
|
shutdown (config-vlan mode)
|
Shuts down local traffic on the VLAN when in config-VLAN mode (accessed by the vlan vlan-id global configuration command).
|
vlan (VLAN configuration)
|
Enables config-vlan mode.
|
vlan database
|
Enters VLAN configuration mode.
|
snmp-server enable traps
Use the snmp-server enable traps global configuration command to enable the switch to send Simple Network Management Protocol (SNMP) notification for various trap types to the network management system (NMS). Use the no form of this command to return to the default setting.
snmp-server enable traps [c2900 | cluster | config | entity | hsrp | mac-notification | rtr | snmp |
syslog | vlan-membership | vtp]
no snmp-server enable traps [c2900 | cluster | config | entity | hsrp | mac-notification | rtr | snmp
| syslog | vlan-membership | vtp]
Note
Though visible in the command-line help strings, the snmp-server enable informs command has no funtionality. To enable sending SNMP inform notifications, use the snmp-server enable traps command combined with the snmp-server host host-addr informs command.
Syntax Description
c2900
|
(Optional) Enable SNMP configuration traps.
|
cluster
|
(Optional) Enable cluster traps.
|
config
|
(Optional) Enable SNMP configuration traps.
|
entity
|
(Optional) Enable SNMP entity traps.
|
hsrp
|
(Optional) Enable Hot Standby Router Protocol (HSRP) traps.
|
mac-notification
|
(Optional) Enable MAC address notification traps.
|
rtr
|
(Optional) Enable SNMP Response Time Reporter traps.
|
snmp
|
(Optional) Enable SNMP traps.
|
syslog
|
(Optional) Enable SNMP syslog traps.
|
vlan-membership
|
(Optional) Enable SNMP VLAN membership traps.
|
vtp
|
(Optional) Enable VLAN Trunking Protocol (VTP) traps.
|
Defaults
The sending of SNMP traps is disabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
12.1(9)EA1
|
The vlan-membership keyword was added.
|
Usage Guidelines
Specify the host (NMS) that receives the traps by using the snmp-server host global configuration command. If no trap types are specified, all trap types are sent.
Use the snmp-server enable traps command to enable sending of traps or informs, when supported.
Note
Informs are not supported in SNMPv1.
To enable more than one type of trap, you must issue a separate snmp-server enable traps command for each trap type.
Examples
This example shows how to send VTP traps to the NMS:
Switch(config)# snmp-server enable traps vtp
You can verify your setting by entering the show vtp status privileged EXEC or the show running-config privileged EXEC command.
Related Commands
Command
|
Description
|
show running-config
|
Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
|
snmp-server host
|
Specifies the host that receives SNMP traps.
|
snmp-server host
Use the snmp-server host global configuration command to specify the recipient (host) of a Simple Network Management Protocol (SNMP) notification operation. Use the no form of this command to remove the specified host.
snmp-server host host-addr [informs | traps] [version {1 | 2c | 3 [auth | noauth | priv]}]
community-string [c2900 | cluster | config | entity | hsrp | mac-notification | rtr | snmp | tty |
udp-port | vlan-membership | vtp]
no snmp-server host host-addr [informs | traps] [version {1 | 2c | 3 [auth | noauth | priv]}]
community-string [c2900 | cluster | config | entity | hsrp | mac-notification | rtr | snmp | tty |
udp-port | vlan-membership | vtp]
Syntax Description
host-addr
|
Name or Internet address of the host (the targeted recipient).
|
informs | traps
|
(Optional) Send SNMP traps or informs to this host.
|
version 1 | 2c | 3
|
(Optional ) Version of SNMP used to send the traps.
These keywords are supported:
1—SNMPv1. This option is not available with informs.
2c—SNMPv2C.
3—SNMPv3. These three optional keywords can follow the version 3 keyword:
• auth (Optional). Enables Message Digest 5 (MD5) and Secure Hash Algorithm (SHA) packet authentication.
• noauth (Default). The noAuthNoPriv security level. This is the default if the [auth | noauth | priv] keyword choice is not specified.
• priv (Optional). Enables Data Encryption Standard (DES) packet encryption (also called privacy).
Note The priv keyword is available only when the enhanced crypto (encrypted) software image is installed.
|
community-string
|
Password-like community string sent with the notification operation. Though you can set this string by using the snmp-server host command, we recommend that you define this string by using the snmp-server community global configuration command before using the snmp-server host command.
|
c2900
|
(Optional) Send SNMP switch traps.
|
cluster
|
(Optional) Send cluster member status traps.
|
config
|
(Optional) Send SNMP configuration traps.
|
entity
|
(Optional) Send SNMP entity traps.
|
hsrp
|
(Optional) Send Hot Standby Router Protocol (HSRP) traps.
|
mac-notification
|
(Optional) Send MAC notification traps.
|
rtr
|
(Optional) Send SNMP Response Time Reporter traps.
|
snmp
|
(Optional) Send SNMP-type traps.
|
tty
|
(Optional) Send Transmission Control Protocol (TCP) connection traps.
|
udp-port
|
(Optional) Send notification host's User Datagram Protocol (UDP) port number.
|
vlan-membership
|
(Optional) Send SNMP VLAN membership traps.
|
vtp
|
(Optional) Send VLAN Trunking Protocol (VTP) traps.
|
Defaults
This command is disabled by default. No notifications are sent.
If you enter this command with no keywords, the default is to send all trap types to the host. No informs are sent to this host.
If no version keyword is present, the default is version 1.
If version 3 is selected and no authentication keyword is entered, the default is the noauth (noAuthNoPriv) security level.
Note
If the community-string is not defined by using the snmp-server community global configuration command before using this command, the default form of the snmp-server community command is automatically inserted into the configuration. The password (community-string) used for this automatic configuration of the snmp-server community will be the same as that specified in the snmp-server host command.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
12.1(6)EA2
|
The cluster, mac-notification, and rtr keywords were added.
|
12.1(9)EA1
|
The vlan-membership keyword was added.
|
12.1(11)EA1
|
The version 3 option was added, with the auth and noauth keywords.
|
Usage Guidelines
SNMP notifications can be sent as traps or inform requests. Traps are unreliable because the receiver does not send acknowledgments when it receives traps. The sender cannot determine if the traps were received. However, an SNMP entity that receives an inform request acknowledges the message with an SNMP response PDU. If the sender never receives the response, the inform request can be sent again. Thus, informs are more likely to reach their intended destinations.
However, informs consume more resources in the agent and in the network. Unlike a trap, which is discarded as soon as it is sent, an inform request must be held in memory until a response is received or the request times out. Traps are also sent only once, but an inform might be retried several times. The retries increase traffic and contribute to a higher overhead on the network.
If you do not enter an snmp-server host command, no notifications are sent. To configure the switch to send SNMP notifications, you must enter at least one snmp-server host command. If you enter the command with no keywords, all trap types are enabled for the host. To enable multiple hosts, you must enter a separate snmp-server host command for each host. You can specify multiple notification types in the command for each host.
When multiple snmp-server host commands are given for the same host and kind of notification (trap or inform), each succeeding command overwrites the previous command. Only the last snmp-server host command is in effect. For example, if you enter an snmp-server host inform command for a host and then enter another snmp-server host inform command for the same host, the second command replaces the first.
The snmp-server host command is used with the snmp-server enable traps global configuration command. Use the snmp-server enable traps command to specify which SNMP notifications are sent globally. For a host to receive most notifications, at least one snmp-server enable traps command and the snmp-server host command for that host must be enabled. Some notification types cannot be controlled with the snmp-server enable traps command. For example, some notification types are always enabled. Other notification types are enabled by a different command.
The no snmp-server host command with no keywords disables traps, but not informs, to the host. To disable informs, use the no snmp-server host informs command.
Examples
This example shows how to configure a unique SNMP community string named comaccess for traps and prevent SNMP polling access with this string through access-list 10:
Switch(config)# snmp-server community comaccess ro 10
Switch(config)# snmp-server host 172.20.2.160 comaccess
Switch(config)# access-list 10 deny any
This example shows how to send the SNMP traps to the host specified by the name myhost.cisco.com. The community string is defined as comaccess:
Switch(config)# snmp-server enable traps
Switch(config)# snmp-server host myhost.cisco.com comaccess snmp
This example shows how to enable the switch to send all traps to the host myhost.cisco.com using the community string public:
Switch(config)# snmp-server enable traps
Switch(config)# snmp-server host myhost.cisco.com public
Related Commands
Command
|
Description
|
show running-config
|
Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
|
snmp-server enable traps
|
Enables SNMP notification for various trap types.
|
snmp trap mac-notification
Use the snmp trap mac-notification interface configuration command to enable the MAC notification traps on a port. Use the no form of this command to disable the traps and to return the port to default settings.
snmp trap mac-notification [added | removed]
no snmp trap mac-notification [added | removed]
Syntax Description
added
|
(Optional) Enable MAC notification traps when a MAC address is added to a port.
|
removed
|
(Optional) Enable MAC notification traps when a MAC address is removed from a port.
|
Defaults
The Simple Network Management Protocol (SNMP) address-addition and address-removal traps are disabled.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
Even though you enable the notification trap for a specific interface by using the snmp trap mac-notification command, the trap is generated only when you enter the snmp-server enable traps mac-notification and the mac address-table notification global configuration commands.
Examples
This example shows how to enable an address-addition trap on a port:
Switch(config-if)# snmp trap mac-notification added
This example shows how to enable an address-removal trap on a port:
Switch(config-if)# snmp trap mac-notification removed
You can verify your settings by entering the show mac address-table notification privileged EXEC command.
Related Commands
spanning-tree backbonefast
Use the spanning-tree backbonefast global configuration command to enable the BackboneFast feature. Use the no form of this command to return to the default setting.
spanning-tree backbonefast
no spanning-tree backbonefast
Syntax Description
This command has no arguments or keywords.
Defaults
BackboneFast is disabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
Usage Guidelines
The BackboneFast feature is supported only when the switch is running per-VLAN spanning-tree (PVST).
BackboneFast is started when a root port or blocked port on a switch receives inferior bridge protocol data units (BPDUs) from its designated bridge. An inferior BPDU identifies one switch as both the root bridge and the designated bridge. When a switch receives an inferior BPDU, it means that a link to which the switch is not directly connected (an indirect link) has failed (that is, the designated bridge has lost its connection to the root switch). If there are alternate paths to the root switch, BackboneFast causes the maximum aging time on the ports on which it received the inferior BPDU to expire and allows a blocked port to move immediately to the listening state. BackboneFast then transitions the interface to the forwarding state. For more information, refer to the software configuration guide for this release.
Enable BackboneFast on all supported switches to allow the detection of indirect link failures and to start the spanning-tree reconfiguration sooner.
Examples
This example shows how to enable BackboneFast on the switch:
Switch(config)# spanning-tree backbonefast
You can verify your setting by entering the show spanning-tree summary privileged EXEC command.
Related Commands
Command
|
Description
|
show spanning-tree summary
|
Displays a summary of the spanning-tree port states.
|
spanning-tree bpdufilter
Use the spanning-tree bpdufilter interface configuration command to prevent a port from sending or receiving bridge protocol data units (BPDUs). Use the no form of this command to return to the default setting.
spanning-tree bpdufilter {disable | enable}
no spanning-tree bpdufilter
Syntax Description
disable
|
Disable BPDU filtering on the specified interface.
|
enable
|
Enable BPDU filtering on the specified interface.
|
Defaults
BPDU filtering is disabled.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
You can enable the BPDU filtering feature when the switch is operating in the per-VLAN spanning-tree (PVST) or the multiple spanning-tree (MST) mode. The MST mode is available only if you have the enhanced software image (EI) installed on your switch.
Caution 
Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in spanning-tree loops.
You can globally enable BPDU filtering on all Port Fast-enabled ports by using the spanning-tree portfast bpdufilter default global configuration command.
You can use the spanning-tree bpdufilter interface configuration command to override the setting of the spanning-tree portfast bpdufilter default global configuration command.
Examples
This example shows how to enable the BPDU filtering feature on a port:
Switch(config)# interface fastethernet0/1
Switch(config-if)# spanning-tree bpdufilter enable
You can verify your setting by entering the show running-config privileged EXEC command.
Related Commands
Command
|
Description
|
show running-config
|
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
|
spanning-tree portfast (global configuration)
|
Globally enables the BPDU filtering or the BPDU guard feature on Port Fast-enabled ports or enables the Port Fast feature on all nontrunking ports.
|
spanning-tree portfast (interface configuration)
|
Enables the Port Fast feature on an interface and all its associated VLANs.
|
spanning-tree bpduguard
Use the spanning-tree bpduguard interface configuration command to put a port in the error-disabled state when it receives a bridge protocol data unit (BPDU). Use the no form of this command to return to the default setting.
spanning-tree bpduguard {disable | enable}
no spanning-tree bpduguard
Syntax Description
disable
|
Disable BPDU guard on the specified interface.
|
enable
|
Enable BPDU guard on the specified interface.
|
Defaults
BPDU guard is disabled.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
The BPDU guard feature provides a secure response to invalid configurations because you must manually put the port back in service. Use the BPDU guard feature in a service-provider network to prevent a port from being included in the spanning-tree topology.
You can enable the BPDU guard feature when the switch is operating in the per-VLAN spanning-tree (PVST) or the multiple spanning-tree (MST) mode. The MST mode is available only if you have the enhanced software image (EI) installed on your switch.
You can globally enable BPDU guard on all Port Fast-enabled ports by using the spanning-tree portfast bpduguard default global configuration command.
You can use the spanning-tree bpduguard interface configuration command to override the setting of the spanning-tree portfast bpduguard default global configuration command.
Examples
This example shows how to enable the BPDU guard feature on a port:
Switch(config)# interface fastethernet0/1
Switch(config-if)# spanning-tree bpduguard enable
You can verify your setting by entering the show running-config privileged EXEC command.
Related Commands
Command
|
Description
|
show running-config
|
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
|
spanning-tree portfast (global configuration)
|
Globally enables the BPDU filtering or the BPDU guard feature on Port Fast-enabled ports or enables the Port Fast feature on all nontrunking ports.
|
spanning-tree portfast (interface configuration)
|
Enables the Port Fast feature on an interface and all its associated VLANs.
|
spanning-tree cost
Use the spanning-tree cost interface configuration command to set the path cost for spanning-tree calculations. If a loop occurs, spanning tree considers the path cost when selecting an interface to place in the forwarding state. Use the no form of this command to return to the default setting.
spanning-tree [vlan vlan-id] cost cost
no spanning-tree [vlan vlan-id] cost
Syntax Description
vlan vlan-id
|
(Optional) VLAN ID associated with a spanning-tree instance. The range is 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros.
|
cost
|
Path cost can range from 1 to 200000000, with higher values meaning higher costs.
|
Defaults
The default path cost is computed from the interface bandwidth setting. These are the IEEE default path cost values:
•
10 Mbps—100
•
100 Mbps—19
•
155 Mbps—14
•
1000 Mbps—4
•
1 Gbps—4
•
10 Gbps—2
•
Speeds greater than 10 Gbps—1
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
12.1(9)EA1
|
The range for the cost variable increased.
|
Usage Guidelines
When you configure the cost, higher values represent higher costs.
You can set a cost on a VLAN that does not exist. The setting takes effect when the VLAN exists.
Examples
This example shows how to set a path cost of 250 on an interface (an access port):
Switch(config)# interface fastethernet0/4
Switch(config-if)# spanning-tree cost 250
This example shows how to set a path cost of 300 for VLAN 10 on an interface that is a trunk port:
Switch(config-if)# spanning-tree vlan 10 cost 300
You can verify your settings by entering the show spanning-tree interface interface-id privileged EXEC command.
Related Commands
spanning-tree extend system-id
Use the spanning-tree extend system-id global configuration command to enable the extended system ID feature.
spanning-tree extend system-id
Note
Though visible in the command-line help strings, the no version of this command is not supported. You cannot disable the extended system ID feature.
Syntax Description
This command has no arguments or keywords.
Defaults
The extended system ID is enabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
In Release 12.1(9)EA1 and later, the switches support the 802.1T spanning-tree extensions, and some of the bits previously used for the switch priority are now used for the extended system ID (VLAN identifier for the per-VLAN spanning-tree [PVST] or an instance identifier for the multiple spanning tree [MST]). In earlier releases, the switch priority is a 16-bit value.
The spanning tree uses the extended system ID, the switch priority, and the allocated spanning-tree MAC address to make the bridge ID unique for each VLAN or multiple spanning-tree instance. With earlier releases, spanning tree used one MAC address per VLAN to make the bridge ID unique for each VLAN.
Support for the extended system ID affects how you manually configure the root switch, the secondary root switch, and the switch priority of a VLAN. For more information, see the "spanning-tree mst root" and the "spanning-tree vlan" sections.
If your network consists of switches that do not support the extended system ID and switches that do support it, it is unlikely that the switch with the extended system ID support will become the root switch. The extended system ID increases the switch priority value every time the VLAN number is greater than the priority of the connected switches running older software.
Related Commands
Command
|
Description
|
show spanning-tree summary
|
Displays a summary of spanning-tree port states.
|
spanning-tree mst root
|
Configures the multiple spanning-tree (MST) root switch priority and timers based on the network diameter.
|
spanning-tree vlan priority
|
Sets the switch priority for the specified spanning-tree instance.
|
spanning-tree guard
Use the spanning-tree guard interface configuration command to enable root guard or loop guard on all the VLANs associated with the selected interface. Root guard restricts which interface is allowed to be the spanning-tree root port or the path-to-the root for the switch. Loop guard prevents alternate or root ports from becoming designated ports when a failure creates a unidirectional link. Use the no form of this command to return to the default setting.
spanning-tree guard {loop | none | root}
no spanning-tree guard
Syntax Description
loop
|
Enable loop guard.
|
none
|
Disable root guard or loop guard.
|
root
|
Enable root guard.
|
Defaults
Root guard is disabled.
Loop guard is configured according to the spanning-tree loopguard default global configuration command (globally disabled).
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced. It replaced the spanning-tree rootguard command.
|
12.1(9)EA1
|
The loop keyword was added.
|
Usage Guidelines
You can enable root guard or loop guard when the switch is operating in the per-VLAN spanning-tree (PVST) or the multiple spanning-tree (MST) mode. However, you cannot enable both features at the same time. The MST mode is available only if you have the enhanced software image (EI) installed on your switch.
When root guard is enabled, if spanning-tree calculations cause a port to be selected as the root port, the port transitions to the root-inconsistent (blocked) state to prevent the customer's switch from becoming the root switch or being in the path to the root. The root port provides the best path from the switch to the root switch.
When the no spanning-tree guard or the no spanning-tree guard none command is entered, root guard is disabled for all VLANs on the selected interface. If this interface is in the root-inconsistent (blocked) state, it automatically transitions to the listening state.
Do not enable root guard on interfaces that will be used by the UplinkFast feature. With UplinkFast, the backup interfaces (in the blocked state) replace the root port in the case of a failure. However, if root guard is also enabled, all the backup interfaces used by the UplinkFast feature are placed in the root-inconsistent state (blocked) and prevented from reaching the forwarding state. The UplinkFast feature is not available when the switch is operating in MST mode.
Loop guard is most effective when it is configured on the entire switched network. When the switch is operating in PVST mode, loop guard prevents alternate and root ports from becoming designated ports, and spanning tree does not send bridge protocol data units (BPDUs) on root or alternate ports. When the switch is operating in MST mode, BPDUs are not sent on nonboundary ports only if the port is blocked by loop guard in all MST instances. On a boundary port, loop guard blocks the port in all MST instances.
To disable root guard or loop guard, use the spanning-tree guard none interface configuration command. You cannot enable both root guard and loop guard at the same time.
You can override the setting of the spanning-tree loopguard default global configuration command by using the spanning-tree guard loop interface configuration command.
Examples
This example shows how to enable root guard on all the VLANs associated with the specified interface:
Switch(config)# interface fastethernet0/3
Switch(config-if)# spanning-tree guard root
This example shows how to enable loop guard on all the VLANs associated with the specified interface:
Switch(config)# interface fastethernet0/3
Switch(config-if)# spanning-tree guard loop
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands
Command
|
Description
|
show running-config
|
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
|
spanning-tree cost
|
Sets the path cost for spanning-tree calculations.
|
spanning-tree loopguard default
|
Prevents alternate or root ports from becoming designated ports because of a failure that leads to a unidirectional link.
|
spanning-tree mst cost
|
Configures the path cost for MST calculations.
|
spanning-tree mst port-priority
|
Configures an interface priority.
|
spanning-tree mst root
|
Configures the MST root switch priority and timers based on the network diameter.
|
spanning-tree port-priority
|
Configures an interface priority.
|
spanning-tree vlan priority
|
Sets the switch priority for the specified spanning-tree instance.
|
spanning-tree link-type
Use the spanning-tree link-type interface configuration command to override the default link-type setting, which is determined by the duplex mode of the port, and to enable Rapid Spanning-Tree Protocol (RSTP) transitions to the forwarding state. Use the no form of this command to return to the default setting.
spanning-tree link-type {point-to-point | shared}
no spanning-tree link-type
Syntax Description
point-to-point
|
Specify that the link type of a port is point-to-point.
|
shared
|
Specify that the link type of a port is shared.
|
Defaults
The switch derives the link type of a port from the duplex mode. A full-duplex port is considered a point-to-point link, and a half-duplex port is considered a shared link.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
You can override the default setting of the link type by using the spanning-tree link-type command; for example, a half-duplex link can be physically connected point-to-point to a single port on a remote switch running RSTP and be enabled for rapid transitions.
Examples
This example shows how to specify the link type as shared (regardless of the duplex setting) and to prevent RSTP rapid transitions to the forwarding state:
Switch(config-if)# spanning-tree link-type shared
You can verify your settings by entering the show spanning-tree mst interface interface-id privileged EXEC command.
Related Commands
Command
|
Description
|
show spanning-tree mst interface interface-id
|
Displays multiple spanning-tree (MST) information for the specified interface.
|
spanning-tree loopguard default
Use the spanning-tree loopguard default global configuration command to prevent alternate or root ports from becoming designated ports because of a failure that leads to a unidirectional link. Use the no form of this command to return to the default setting.
spanning-tree loopguard default
no spanning-tree loopguard default
Syntax Description
This command has no arguments or keywords.
Defaults
Loop guard is disabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
You can enable the loop guard feature when the switch is operating in the per-VLAN spanning-tree (PVST) or the multiple spanning-tree (MST) mode. The MST mode is available only if you have the enhanced software image (EI) installed on your switch.
Loop guard is most effective when it is configured on the entire switched network. When the switch is operating in PVST mode, loop guard prevents alternate and root ports from becoming designated ports, and spanning tree does not send bridge protocol data units (BPDUs) on root or alternate ports. When the switch is operating in MST mode, BPDUs are not sent on nonboundary ports only if the port is blocked by loop guard in all MST instances. On a boundary port, loop guard blocks the port in all MST instances.
Loop guard operates only on ports that are considered point-to-point by the spanning tree.
You can override the setting of the spanning-tree loopguard default global configuration command by using the spanning-tree guard loop interface configuration command.
Examples
This example shows how to globally enable loop guard:
Switch(config)# spanning-tree loopguard default
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands
Command
|
Description
|
show running-config
|
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
|
spanning-tree guard loop
|
Enables the loop guard feature on all the VLANs associated with the specified interface.
|
spanning-tree mode
Use the spanning-tree mode global configuration command to enable either per-VLAN spanning-tree (PVST) or multiple spanning tree (MST) on your switch. Use the no form of this command to return to the default setting.
spanning-tree mode {mst | pvst}
no spanning-tree mode
Syntax Description
mst
|
Enable MST. This keyword is available only if your switch is running the enhanced software image (EI).
|
pvst
|
Enable PVST.
|
Defaults
The default mode is PVST.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
You cannot run both PVST and MST at the same time.
Caution 
Changing spanning-tree modes can disrupt traffic because all spanning-tree instances are stopped for the previous mode and restarted in the new mode.
Examples
This example shows to enable MST on the switch:
Switch(config)# spanning-tree mode mst
You can verify your setting by entering the show running-config privileged EXEC command.
Related Commands
Command
|
Description
|
show running-config
|
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
|
spanning-tree mst configuration
Use the spanning-tree mst configuration global configuration command to enter multiple spanning-tree (MST) configuration mode through which you configure the MST region. Use the no form of this command to return to the default settings.
spanning-tree mst configuration
no spanning-tree mst configuration
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
This command has no arguments or keywords.
Defaults
The default mapping is that all VLANs are mapped to the common and internal spanning tree (CIST) instance (instance 0).
The default name is an empty string.
The revision number is 0.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
Entering the spanning-tree mst configuration command enables the MST configuration mode. These configuration commands are available:
•
abort: exits the MST region configuration mode without applying configuration changes.
•
exit: exits the MST region configuration mode and applies all configuration changes.
•
instance instance-id vlan vlan-range: maps VLANs to an MST instance. The range for the instance-id is 1 to 15; the range for vlan-range is 1 to 4094. Do not enter leading zeros.
•
name name: sets the configuration name. The name string has a maximum length of 32 characters and is case sensitive.
•
no: negates the instance, name, and revision commands or sets them to their defaults.
•
private-vlan: Though visible in the command-line help strings, this command is not supported.
•
revision version: sets the configuration revision number. The range is 0 to 65535.
•
show [current | pending]: displays the current or pending MST region configuration.
When you map VLANs to an MST instance, the mapping is incremental, and the range of VLANs specified is added or removed to the existing ones. To specify a range, use a hyphen; for example, instance 1 vlan 1-63 maps VLANs 1 to 63 to MST instance 1. To specify a series, use a comma; for example, instance 1 vlan 10, 20, 30 maps VLANs 10, 20, and 30 to MST instance 1.
All VLANs that are not explicitly mapped to an MST instance are mapped to the common and internal spanning tree (CIST) instance (instance 0) and cannot be unmapped from the CIST by using the no form of the command.
For two or more switches to be in the same MST region, they must have the same VLAN mapping, the same configuration revision number, and the same name.
Examples
This example shows how to enter MST configuration mode, map VLAN 10 to 20 to MST instance 1, name the region region1, set the configuration revision to 1, display the pending configuration, apply the changes, and return to global configuration mode:
Switch# spanning-tree mst configuration
Switch(config-mst)# instance 1 vlan 10-20
Switch(config-mst)# name region1
Switch(config-mst)# revision 1
Switch(config-mst)# show pending
Pending MST configuration
-------- ---------------------
-------------------------------
This example shows how to add VLANs 1 to 100 to the ones already mapped (if any) to instance 2, to move VLANs 40 to 60 that were previously mapped to instance 2 to the CIST instance, to add VLAN 10 to instance 10, and to remove all the VLANs mapped to instance 2 and map them to the CIST instance:
Switch(config-mst)# instance 2 vlan 1-100
Switch(config-mst)# no instance 2 vlan 40-60
Switch(config-mst)# instance 10 vlan 10
Switch(config-mst)# no instance 2
You can verify your settings by entering the show pending MST configuration command.
Related Commands
Command
|
Description
|
show spanning-tree mst configuration
|
Displays the MST region configuration.
|
spanning-tree mst cost
Use the spanning-tree mst cost interface configuration command to set the path cost for multiple spanning-tree (MST) calculations. If a loop occurs, spanning tree considers the path cost when selecting an interface to put in the forwarding state. Use the no form of this command to return to the default setting.
spanning-tree mst instance-id cost cost
no spanning-tree mst instance-id cost
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
instance-id
|
ID associated with a spanning-tree instance. The range is 0 to 15.
|
cost
|
Path cost is 1 to 200000000, with higher values meaning higher costs.
|
Defaults
The default path cost is computed from the interface bandwidth setting. These are the IEEE default path cost values:
•
1000 Mbps—20000
•
100 Mbps—200000
•
10 Mbps—2000000
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
When you configure the cost, higher values represent higher costs.
Examples
This example shows how to set a path cost of 250 on an interface associated with instance 2:
Switch(config)# interface fastethernet0/4
Switch(config-if)# spanning-tree mst 2 cost 250
You can verify your settings by entering the show spanning-tree mst interface interface-id privileged EXEC command.
Related Commands
spanning-tree mst forward-time
Use the spanning-tree mst forward-time global configuration command to set the forward-delay time for all multiple spanning-tree (MST) instances. The forwarding time determines how long each of the listening and learning states last before the interface begins forwarding. Use the no form of this command to return to the default setting.
spanning-tree mst forward-time seconds
no spanning-tree mst forward-time
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
seconds
|
Length of the listening and learning states. The range is 4 to 30 seconds.
|
Defaults
The default is 15 seconds.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
Changing the spanning-tree mst forward-time command affects all spanning-tree instances.
Examples
This example shows how to set the spanning-tree forwarding time to 18 seconds for all MST instances:
Switch(config)# spanning-tree mst forward-time 18
You can verify your settings by entering the show spanning-tree mst privileged EXEC command.
Related Commands
spanning-tree mst hello-time
Use the spanning-tree mst hello-time global configuration command to set the interval between hello bridge protocol data units (BPDUs) sent by root switch configuration messages. Use the no form of this command to return to the default setting.
spanning-tree mst hello-time seconds
no spanning-tree mst hello-time
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
seconds
|
Interval between hello BPDUs sent by root switch configuration messages. The range is 1 to 10 seconds.
|
Defaults
The default is 2 seconds.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
After you set the spanning-tree mst max-age seconds global configuration command, if a switch does not receive BPDUs from the root switch within the specified interval, the switch recomputes the spanning-tree topology. The max-age setting must be greater than the hello-time setting.
Changing the spanning-tree mst hello-time command affects all spanning-tree instances.
Examples
This example shows how to set the spanning-tree hello time to 3 seconds for all MST instances:
Switch(config)# spanning-tree mst hello-time 3
You can verify your settings by entering the show spanning-tree mst privileged EXEC command.
Related Commands
spanning-tree mst max-age
Use the spanning-tree mst max-age global configuration command to set the interval between messages that the spanning tree receives from the root switch. If a switch does not receive a bridge protocol data unit (BPDU) message from the root switch within this interval, it recomputes the spanning-tree topology. Use the no form of this command to return to the default setting.
spanning-tree mst max-age seconds
no spanning-tree mst max-age
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
seconds
|
Interval between messages the spanning tree receives from the root switch. If a switch does not receive a BPDU message from the root switch within this interval, it recomputes the spanning-tree topology. The range is 6 to 40 seconds.
|
Defaults
The default is 20 seconds.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
After you set the spanning-tree mst max-age seconds global configuration command, if a switch does not receive BPDUs from the root switch within the specified interval, the switch recomputes the spanning-tree topology. The max-age setting must be greater than the hello-time setting.
Changing the spanning-tree mst max-age command affects all spanning-tree instances.
Examples
This example shows how to set the spanning-tree max-age to 30 seconds for all MST instances:
Switch(config)# spanning-tree mst max-age 30
You can verify your settings by entering the show spanning-tree mst privileged EXEC command.
Related Commands
spanning-tree mst max-hops
Use the spanning-tree mst max-hops global configuration command to set the number of hops in a region before the bridge protocol data unit (BPDU) is discarded and the information held for a port is aged. Use the no form of this command to return to the default setting.
spanning-tree mst max-hops hop-count
no spanning-tree mst max-hops
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
hop-count
|
Number of hops in a region before the BPDU is discarded. The range is 1 to 40 hops.
|
Defaults
The default is 20 hops.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
The root switch of the instance always sends a BPDU (or M-record) with a cost of 0 and the hop count set to the maximum value. When a switch receives this BPDU, it decrements the received remaining hop count by one and propagates the decremented count as the remaining hop count in the generated M-records. A switch discards the BPDU and ages the information held for the port when the count reaches 0.
Changing the spanning-tree mst max-hops command affects all spanning-tree instances.
Examples
This example shows how to set the spanning-tree max-hops to 10 for all MST instances:
Switch(config)# spanning-tree mst max-hops 10
You can verify your settings by entering the show spanning-tree mst privileged EXEC command.
Related Commands
spanning-tree mst port-priority
Use the spanning-tree mst port-priority interface configuration command to configure an interface priority. If a loop occurs, the Multiple Spanning Tree Protocol (MSTP) can determine which interface to put in the forwarding state. Use the no form of this command to return to the default setting.
spanning-tree mst instance-id port-priority priority
no spanning-tree mst instance-id port-priority
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
instance-id
|
ID associated with a spanning-tree instance. The range is 0 to 15.
|
priority
|
Number from 0 to 255. The lower the number, the higher the priority.
|
Defaults
The default is 128.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
You can assign higher priority values (lower numerical values) to interfaces that you want selected first and lower priority values (higher numerical values) that you want selected last. If all interfaces have the same priority value, the MST puts the interface with the lowest interface number in the forwarding state and blocks other interfaces.
Examples
This example shows how to increase the likelihood that the interface associated with spanning-tree instance 20 is placed into the forwarding state if a loop occurs:
Switch(config)# interface fastethernet0/2
Switch(config-if)# spanning-tree mst 20 port-priority 0
You can verify your settings by entering the show spanning-tree mst interface interface-id privileged EXEC command.
Related Commands
spanning-tree mst priority
Use the spanning-tree mst priority global configuration command to set the switch priority for the specified spanning-tree instance. Use the no form of this command to return to the default setting.
spanning-tree mst instance-id priority priority
no spanning-tree mst instance-id priority
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
instance-id
|
ID associated with a spanning-tree instance. The range is 0 to 15.
|
priority
|
Set the switch priority for the specified spanning-tree instance. This setting affects the likelihood that the switch is selected as the root switch. A lower value increases the probability that the switch is selected as the root switch.
The range is 0 to 61440 in increments of 4096. Valid priority values are 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, and 61440. All other values are rejected.
|
Defaults
The default is 32768.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Examples
This example shows how to set the spanning-tree priority to 8192 for multiple spanning-tree (MST) instance 20:
Switch(config)# spanning-tree mst 20 priority 8192
You can verify your settings by entering the show spanning-tree mst instance-id privileged EXEC command.
Related Commands
spanning-tree mst root
Use the spanning-tree mst root global configuration command to configure the multiple spanning-tree (MST) root switch priority and timers based on the network diameter. Use the no form of this command to return to the default setting.
spanning-tree mst instance-id root {primary | secondary} [diameter net-diameter
[hello-time seconds]]
no spanning-tree mst instance-id root
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
instance-id
|
ID associated with a MST instance. The range is 0 to 15.
|
root primary
|
Force this switch to be the root switch.
|
root secondary
|
Set this switch to be the root switch should the primary root switch fail.
|
diameter net-diameter
|
Set the maximum number of switches between any two end stations. The range is 2 to 7. This keyword is available only for MST instance 0.
|
hello-time seconds
|
Set the interval between hello bridge protocol data units (BPDUs) sent by the root switch configuration messages. The range is 1 to 10 seconds. This keyword is available only for MST instance 0.
|
Defaults
The primary root switch priority is 24576.
The secondary root switch priority is 28672.
The hello time is 2 seconds.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(9)EA1
|
This command was introduced.
|
Usage Guidelines
Use the spanning-tree mst instance-id root command used only on backbone switches.
When you enter the spanning-tree mst instance-id root command, the software tries to set a high enough priority to make this switch the root of the spanning-tree instance. Because of the extended system ID support, the switch sets the switch priority for the instance to 24576 if this value will cause this switch to become the root for the specified instance. If any root switch for the specified instance has a switch priority lower than 24576, the switch sets its own priority to 4096 less than the lowest switch priority. (4096 is the value of the least-significant bit of a 4-bit switch priority value.)
When you enter the spanning-tree mst instance-id root secondary command, because of support for the extended system ID, the software changes the switch priority from the default value (32768) to 28672. If the root switch fails, this switch becomes the next root switch (if the other switches in the network use the default switch priority of 32768 and are therefore unlikely to become the root switch).
Examples
This example shows how to configure the switch as the root switch for instance 10 with a network diameter of 4:
Switch(config)# spanning-tree mst 10 root primary diameter 4
This example shows how to configure the switch as the secondary root switch for instance 10 with a network diameter of 4:
Switch(config)# spanning-tree mst 10 root secondary diameter 4
You can verify your settings by entering the show spanning-tree mst instance-id privileged EXEC command.
Related Commands
spanning-tree port-priority
Use the spanning-tree port-priority interface configuration command to configure an interface priority. If a loop occurs, spanning tree can determine which interface to put in the forwarding state. Use the no form of this command to return to the default setting.
spanning-tree [vlan vlan-id] port-priority priority
no spanning-tree [vlan vlan-id] port-priority
Syntax Description
vlan vlan-id
|
(Optional) VLAN ID associated with a spanning-tree instance. The range is 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros.
|
priority
|
Number from 0 to 255. The lower the number, the higher the priority.
|
Defaults
The default is 128.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.0(5.2)WC(1)
|
This command was introduced.
|
Usage Guidelines
If the variable vlan-id is omitted, the command applies to the spanning-tree instance associated with VLAN 1.
You can set the priority on a VLAN that has no interfaces assigned to it. The setting takes effect when you assign the interface to the VLAN.
Examples
This example shows how to increase the likelihood that the Fast Ethernet interface 0/2 will be put in the forwarding state if a loop occurs:
Switch(config)# interface fastethernet0/2
Switch(config-if)# spanning-tree vlan 20 port-priority 0
You can verify your settings by entering the show spanning-tree interface interface-id privileged EXEC command.
Related Commands
Command
|
Description
|
show spanning-tree interface interface-id
|
Displays spanning-tree information for the specified interface.
|
spanning-tree cost
|
Sets the path cost for spanning-tree calculations.
|
spanning-tree vlan priority
|
Sets the switch priority for the specified spanning-tree instance.
|
spanning-tree portfast (global configuration)
Use the spanning-tree portfast global configuration command to globally enable bridge protocol data unit (BPDU) filtering on Port Fast-enabled ports, the BPDU guard feature on Port Fast-enabled ports, or the Port Fast feature on all nontrunking ports. The BPDU filtering feature prevents the switch port from sending or receiving BPDUs. The BPDU guard feature puts Port Fast-enabled ports that receive BPDUs in an error-disabled state. Use the no form of this command to return to the default setting.
spanning-tree portfast {bpdufilter default | bpduguard default | default}
no spanning-tree portfast {bpdufilter default | bpduguard default | default}
Syntax Description
bpdufilter default
|
Globally enable BPDU filtering on Port Fast-enabled ports and prevent the switch port connected to end stations from sending or receiving BPDUs.
|
bpduguard default
|
Globally enable the BPDU guard feature on Port Fast-enabled ports and place the ports that receive BPDUs in an error-disabled state.
|
default
|
Globally enable the Port Fast feature on all nontrunking ports. When the Port Fast feature is enabled, the port changes directly from a blocking state to a forwarding state without making the intermediate spanning-tree state changes.
|
Defaults
The BPDU filtering, the BPDU guard, and the Port Fast features are disabled on all ports unless they are individually configured.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(6)EA2
|
This command was introduced.
|
12.1(9)EA1
|
The bpdufilter default and default keywords were added.
|
Usage Guidelines
You can enable these features when the switch is operating in the per-VLAN spanning-tree (PVST) or the multiple spanning-tree (MST) mode. The MST mode is available only if you have the enhanced software image (EI) installed on your switch.
Use the spanning-tree portfast bpdufilter default global configuration command to globally enable BPDU filtering on ports that are Port Fast-enabled (the ports are in a Port Fast-operational state). The ports still send a few BPDUs at link-up before the switch begins to filter outbound BPDUs. You should globally enable BPDU filtering on a switch so that hosts connected to switch ports do not receive BPDUs. If a BPDU is received on a Port Fast-enabled port, the port loses its Port Fast-operational status and BPDU filtering is disabled.
You can override the spanning-tree portfast bpdufilter default global configuration command by using the spanning-tree bdpufilter interface configuration command.
Caution 
Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in spanning-tree loops.
Use the spanning-tree portfast bpduguard default global configuration command to globally enable BPDU guard on ports that are in a Port Fast-operational state. In a valid configuration, Port Fast-enabled ports do not receive BPDUs. Receiving a BPDU on a Port Fast-enabled port signals an invalid configuration, such as the connection of an unauthorized device, and the BPDU guard feature puts the port in the error-disabled state. The BPDU guard feature provides a secure response to invalid configurations because you must manually put the port back in service. Use the BPDU guard feature in a service-provider network to prevent an access port from participating in the spanning tree.
You can override the spanning-tree portfast bpduguard default global configuration command by using the spanning-tree bdpuguard interface configuration command.
Use the spanning-tree portfast default global configuration command to globally enable the Port Fast feature on all nontrunking ports. Configure Port Fast only on ports that connect to end stations; otherwise, an accidental topology loop could cause a data packet loop and disrupt switch and network operation. A Port Fast-enabled port moves directly to the spanning-tree forwarding state when linkup occurs without waiting for the standard forward-delay time.
You can override the spanning-tree portfast default global configuration command by using the spanning-tree portfast interface configuration command. You can use the no spanning-tree portfast default global configuration command to disable Port Fast on all ports unless they are individually configured with the spanning-tree portfast interface configuration command.
Examples
This example shows how to globally enable the BPDU filtering feature:
Switch(config)# spanning-tree portfast bpdufilter default