Catalyst 2950 and Catalyst 2955 Switch Command Reference, 12.1(14)EA1
Cisco IOS Commands - s

Table Of Contents

service-policy

set

setup express

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

show controllers lre actual

show controllers lre admin

show controllers lre link monitor

show controllers lre log

show controllers lre profile

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 lacp

show lre upgrade

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 rps

show running-config vlan

show setup express

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 etherchannel guard misconfig

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 block

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 first 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 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 first 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 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.


setup express

Use the setup express global configuration command to enable Express Setup mode on the switch. This is the default setting. Use the no form of this command to disable Express Setup mode.

setup express

no setup express

Syntax Description

This command has no arguments or keywords.

Defaults

Express Setup is enabled.

Command Modes

Global configuration

Command History

Release
Modification

12.1(14)EA1

This command was introduced.


Usage Guidelines

When Express Setup is enabled on a new (unconfigured) switch, pressing the Mode button for 2 seconds activates Express Setup. You can access the switch through an Ethernet port by using the IP address 10.0.0.1 and then can configure the switch with the web-based Express Setup program or the command-line interface (CLI)-based setup program.

When you press the Mode button for 2 seconds on a configured switch, the mode LEDs start flashing. If you press the Mode button for a total of 10 seconds, the switch configuration is deleted, and the switch reboots. The switch can then be configured like a new switch, either through the web-based Express Setup program or the CLI-based setup program.


Note As soon as you make any change to the switch configuration (including entering no at the beginning of the CLI-based setup program), configuration by Express Setup is no longer available. You can only run Express Setup again by pressing the Mode button for 10 seconds. This deletes the switch configuration and reboots the switch.


If Express Setup is active on the switch, entering the write memory or copy running-configuration startup-configuration privileged EXEC commands deactivates Express Setup. The IP address 10.0.0.1 is no longer valid on the switch, and your connection using this IP address ends.

The primary purpose of the no setup express command is to prevent someone from deleting the switch configuration by pressing the Mode button for 10 seconds.

Examples

This example shows how to enable Express Setup mode:

Switch(config)# setup express

You can verify that Express Setup mode is enabled by pressing the Mode button:

On an unconfigured switch, the mode LEDs begin flashing green after 2 seconds.

On a configured switch, the mode LEDs turn solid green after a total of 10 seconds.


Caution If you hold the Mode button down for a total of 10 seconds, the configuration is deleted, and the switch reboots.

This example shows how to disable Express Setup mode:

Switch(config)# no setup express

You can verify that Express Setup mode is disabled by pressing the Mode button. The mode LEDs only turn solid green or begin flashing green if Express Setup mode is enabled on the switch.

Related Commands

Command
Description

clear setup express

Exits Express Setup mode without saving the configuration.

show setup express

Displays if Express Setup mode is active on the switch.


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 first 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
    permit 10.10.10.2
Standard IP access list wizard_1-1-1-2
    permit 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

Command
Description

access-list (IP extended)

Configures an extended IP ACL on the switch.

access-list (IP standard)

Configures a standard IP ACL on the switch.

ip access-list

Configures an IP ACL on the switch.

mac access-list extended

Creates an ACL based on MAC addresses.

show ip access-lists

Displays the IP ACLs configured on a switch.


show auto qos

Use the show auto qos user EXEC command to display the automatic quality of service (auto-QoS) configuration that is applied.

show auto qos [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.

| 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(12c)EA1

This command was first introduced.


Usage Guidelines

The show auto qos [interface [interface-id]] command displays the auto-QoS configuration; it does not display any user changes to the configuration that might be in effect.

To display information about the QoS configuration that might be affected by auto-QoS, use one of these commands:

show mls qos

show mls qos map cos-dscp

show mls qos interface

show running-config

show wrr-queue bandwidth

show wrr-queue 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 auto qos command when auto-QoS is enabled:

Switch> show auto qos
Initial configuration applied by AutoQoS:
wrr-queue bandwidth 20 1 80 0
no wrr-queue cos-map 
wrr-queue cos 1 0 1 2 4
wrr-queue cos 3 3 6 7
wrr-queue cos 4 5
mls qos map cos-dscp 0 8 16 26 32 46 48 56
!
interface FastEthernet0/3
 mls qos trust device cisco-phone 
 mls qos trust cos

This is an example of output from the show auto qos interface command when the auto qos voip cisco-phone interface configuration command is entered:

Switch> show auto qos interface
Initial configuration applied by AutoQoS:
!
interface FastEthernet0/3
 mls qos trust device cisco-phone
 mls qos trust cos

This is an example of output from the show auto qos interface fastethernet0/3 command when the 
auto qos voip cisco-phone interface configuration command is entered:

Switch> show auto qos interface fastethernet0/3
Initial configuration applied by AutoQoS:
!
interface FastEthernet0/3
 mls qos trust device cisco-phone
 mls qos trust cos

This is an example of output from the show auto qos command when auto-QoS is disabled:

Switch> show auto qos
AutoQoS 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 first 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.


Note Only the software can read and write a copy of the private configuration file. You cannot read, write, delete, or display a copy of this file.


Examples

This is an example of output from the show boot command. Table 2-8 describes each field in the output.

Switch# show boot
BOOT path-list:      flash:boot
Config file:         flash:config.text
Private Config file: flash:private-config.text
Enable Break:        no
Manual Boot:         yes
HELPER path-list:
NVRAM/Config file
      buffer size:   32768 

Table 2-8 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 the software uses to read and write a nonvolatile copy of the system configuration.

Private Config file

Displays the filename that the software 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 the software 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 the software 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 first 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:

Switch> show class-map
 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)
   Match any

 Class Map match-all class1 (id 5)
   Match access-group  103

 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 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.0(5.2)WC(1)

This command was first 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:

Switch# show cluster
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
        Redundancy:                     Enabled
                Standby command switch: Member 1
                Standby Group:          Switch1_standby
                Standby Group Number:   110
        Heartbeat interval:             8
        Heartbeat hold-time:            80
        Extended discovery hop count:   3 

This is an example of output when this command is entered on a member switch:

Switch# show cluster
Member switch for cluster "commander"
        Member number:                  3
        Management IP address:          192.192.192.192
        Command switch mac address:     0000.0c07.ac14
        Heartbeat interval:             8
        Heartbeat hold-time:            80 

This is an example of output when this command is entered on a member switch that is configured as the standby command switch:

Switch# show cluster
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
        Heartbeat interval:             8
        Heartbeat hold-time:            80 

This is an example of output when this command is entered on the command switch that has lost connectivity from member 1:

Switch# show cluster
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
        Redundancy:                     Disabled
        Heartbeat interval:             8
        Heartbeat hold-time:            80
        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:

Switch# show cluster
Member switch for cluster "commander"
        Member number:                  <UNKNOWN>
        Management IP address:          192.192.192.192
        Command switch mac address:     0000.0c07.ac14
        Heartbeat interval:             8
        Heartbeat hold-time:            80 

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 first 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
                                                      |---Upstream---|
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
        Device type:            cisco 1900
        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 first 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
                                                |---Upstream---|
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 MAC address:
        Local port:                     FEC number:
        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
        Device type:            cisco 2820
        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 without keywords to display per-interface transmit and receive statistics read from the hardware. Use this command with keywords to display the interface internal registers or to display the statistics read from Long-Reach Ethernet (LRE) and customer premises equipment (CPE) ports.

show controllers ethernet-controller interface-id [asic | cpe [port port-id] | phy] [ | {begin | exclude | include} expression]

Syntax Description

interface-id

ID of the switch interface.

asic

(Optional) Display the state of the internal registers on the forwarding application-specific integrated circuit (ASIC) for the interface. This keyword is available only on non-LRE switches.

cpe

(Optional) Display statistics from the LRE and Fast Ethernet ports on connected devices. This keyword is available only on LRE switches.

port port-id

(Optional) Display the Ethernet statistics of the designated CPE Ethernet port. Valid values vary from 1 to 4, depending on the CPE device. This keyword is available only on LRE switches.

phy

(Optional) Display the status of the internal registers on the switch physical layer device (PHY) for the interface. This keyword is available only on non-LRE switches.

| 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.

12.1(11)YJ

The cpe and port port-id keywords were added.


Usage Guidelines

Use this command without keywords to display traffic statistics, basically the RMON statistics for the interface. If this command is entered on a Catalyst 2950 LRE switch, the command output also shows the statistics for the LRE switch interfaces.

When you enter the asic or phy keyword, the displayed information is useful primarily for Cisco technical support representatives troubleshooting the switch.

When you enter the cpe keyword, the displayed information shows the traffic statistics for the connected CPE devices. The CPE Ethernet link on an LRE switch 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 LRE switch port and the LRE CPE device.

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 controllers ethernet-controller command on a non-LRE switch. For this example, Table 2-9 describes the Transmit fields, Table 2-10 describes the Receive fields, and Table 2-11 describes the Transmit and Receive fields.

Switch# show controllers ethernet-controller fastethernet0/2
Transmit                                Receive
 19555003 Bytes                         23485398 Bytes
   222479 Frames                          313530 Frames
   161490 Multicast frames                     0 FCS errors
      256 Broadcast frames                313467 Multicast frames
        0 Pause frames                         1 Broadcast frames
        0 Single defer frames                  0 Control frames
        0 Multiple defer frames                0 Pause frames
        0 1 collision frames                   0 Unknown opcode frames
        0 2-15 collisions                      0 Alignment errors
        0 Late collisions                      0 Length out of range
        0 Excessive collisions                 0 Symbol error frames
        0 Total collisions                     0 False carrier errors
        0 Control frames                       0 Valid frames, too small
        0 VLAN discard frames                  0 Valid frames, too large
        0 Too old frames                       0 Invalid frames, too small
        0 Tagged frames                        0 Invalid frames, too large
        0 Aborted Tx frames                    0 Discarded frames

Transmit and Receive
    384595 Minimum size frames
    131178 65 to 127 byte frames
         6 128 to 255 byte frames
     20229 256 to 511 byte frames
         1 512 to 1023 byte frames
         0 1024 to 1518 byte frames
         0 1519 to 1522 byte frames

Table 2-9 Transmit Field Descriptions  

Field
Description

Bytes

The total number of bytes transmitted on an interface.

Frames

The total number of frames transmitted on an interface.

Multicast frames

The total number of frames transmitted to multicast addresses.

Broadcast frames

The total number of frames transmitted to broadcast addresses.

Pause frames

The number of pause frames transmitted on an interface.

Single defer frames

The number of frames for which the first transmission attempt on an interface is not successful. This value excludes frames in collisions.

Multiple defer frames

The number of frames that are not transmitted after the time exceeds 2*maximum-packet time.

1 collision frames

The number of frames that are successfully transmitted on an interface after one collision occurs.

2-15 collisions

The number of frames that are successfully transmitted on an interface after more than one collision occurs.

Late collisions

After a frame is transmitted, the number of times that a collision is detected on an interface later than 512 bit times.

Excessive collisions

The number of frames that could not be transmitted on an interface because more than 16 collisions occurred.

Total collisions

The total number of collisions on an interface.

Control frames

The number of control frames transmitted on an interface, such as STP1 BPDUs2 .

VLAN discard frames

The number of frames dropped on an interface because the CFI3 bit is set.

Too old frames

The number of frames dropped on the egress port because the packet is aged out.

Tagged frames

The number of tagged frames transmitted on an interface.

Aborted Tx frames

The number of aborted transmission attempts on the interface.

1 STP = Spanning Tree Protocol

2 BPDU = bridge protocol data unit

3 CFI = Canonical Format Indicator


Table 2-10 Receive Field Descriptions 

Field
Description

Bytes

The total amount of memory (in bytes) used by frames received on an interface, including the FCS1 value and the incorrectly-formed frames. This value excludes the frame header bits.

Frames

The total number of frames received on an interface, including multicast frames, broadcast frames, and incorrectly-formed frames.

FCS errors

The total number of frames received on an interface that have a valid length (in bytes) but do not have the correct FCS values.

Multicast frames

The total number of frames successfully received on the interface that are directed to multicast addresses.

Broadcast frames

The total number of frames successfully received on an interface that are directed to broadcast addresses.

Control frames

The number of control frames received on an interface, such as STP BPDUs.

Pause frames

The number of pause frames received on an interface.

Unknown opcode frames

The number of frames received with an unknown operation code.

Alignment errors

The total number of frames received on an interface that have alignment errors.

Length out of range

The number of frames received on an interface that have an out-of-range length.

Symbol error frames

The number of frames received on an interface that have symbol errors.

False carrier errors

The number of occurrences in which the interface detects a false carrier when frames are not transmitted or received.

Valid frames, too small

The number of frames received on an interface that are less than 64 bytes (or 68 bytes for VLAN tagged frames) and have valid FCS values. The frame size includes the FCS bits but excludes the frame header bits.

Valid frames, too large

The number of frames received on an interface that are larger than the maximum allowed frame size.

Invalid frames, too small

The number of frames received that are less than 64 bytes (including the FCS bits and excluding the frame header) and have either an FCS error or an alignment error.

Invalid frames, too large

The number of frames received that were longer than maximum allowed MTU2 size (including the FCS bits and excluding the frame header) and have either an FCS error or an alignment error.

Note For information about the maximum allowed MTU size on the Catalyst 2950 swtiches, see the system mtu global configuration command.

Discarded frames

The number of frames discarded because of lack of receive buffer memory.

1 FCS = frame check sequence

2 MTU = maximum transmission unit


Table 2-11 Transmit and Receive Field Descriptions  

Field
Description

Minimum size frames

The total number of frames that are the minimum frame size.

65 to 127 byte frames

The total number of frames that are from 65 to 127 bytes.

128 to 255 byte frames

The total number of frames that are from 128 to 255 bytes.

256 to 511 byte frames

The total number of frames that are from 256 to 511 bytes.

512 to 1023 byte frames

The total number of frames that are from 512 to 1023 bytes.

1024 to 1518 byte frames

The total number of frames that are from 1024 to 1518 bytes.

1519 to 1522 byte frames

The total number of frames that are from 1519 to 1522 bytes.


This is an example of output from the show controllers ethernet-controller command on an LRE switch. For this example, Table 2-9 describes the Transmit fields, Table 2-10 describes the Receive fields, Table 2-11 describes the Transmit and Receive fields, and Table 2-12 describes the LRE Enet Stats on Switch fields.

Switch# show controllers ethernet-controller longreachethernet0/4

  Transmit                                Receive
        64 Bytes                               64 Bytes
         1 Frames                               1 Frames
         0 Multicast frames                     0 FCS errors
         0 Broadcast frames                     0 Multicast frames
         0 Pause frames                         0 Broadcast frames
         0 Single defer frames                  0 Control frames
         0 Multiple defer frames                0 Pause frames
         0 1 collision frames                   0 Unknown opcode frames
         0 2-15 collisions                      0 Alignment errors
         0 Late collisions                      0 Length out of range
         0 Excessive collisions                 0 Symbol error frames
         0 Total collisions                     0 False carrier errors
         0 Control frames                       0 Valid frames, too small
         0 VLAN discard frames                  0 Valid frames, too large
         0 Too old frames                       0 Invalid frames, too small
         0 Tagged frames                        0 Invalid frames, too large
         0 Aborted Tx frames                    0 Discarded frames

Transmit and Receive
         2 Minimum size frames
         0 65 to 127 byte frames
         0 128 to 255 byte frames
         0 256 to 511 byte frames
         0 512 to 1023 byte frames
         0 1024 to 1518 byte frames
         0 1519 to 1522 byte frames

LRE Enet Stats on Switch:

  Transmit                           Receive
         0 Bytes                           0 Bytes
         0 Frames                          0 Frames
                                           0 Broadcast frames
         0 Pause frames                    0 Pause frames
         0 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
         0 Deferred frames
         0 Carrier sense errors

Table 2-12 LRE Enet Stats on Switch Field Descriptions 

Field
Description

Transmit

Bytes

The total number of bytes transmitted on an interface.

Frames

The total number of frames transmitted on an interface.

Pause frames

The number of pause frames transmitted on an interface.

1 collision frames

The number of frames that are successfully transmitted on an interface after one collision occurs.

Multiple collisions

The number of frames that are transmitted after more than one collisison occurs.

Late collisions

After a frame is transmitted, the number of times that a collision is detected on an interface later than 512 bit times.

Excessive collisions

The number of frames that could not be transmitted on an interface because more than 16 collisions occurred.

Deferred frames

The number of frames that are not transmitted on an interface.

Carrier sense errors

The number of frames with carrier sense errors.

Receive

Bytes

The total amount of memory (in bytes) used by frames received on an interface, including the FCS value and the incorrectly-formed frames. This value excludes the frame header bits.

Frames

The total number of frames received on an interface, including broadcast frames and incorrectly-formed frames.

Broadcast frames

The total number of frames successfully received on an interface that are directed to broadcast addresses.

Pause frames

The number of pause frames received on an interface.

Alignment errors

The total number of frames received on an interface that have alignment errors.

Collisions and Runts

The number of frames that could not be received on an interface because of collisions because the frame length (in bytes) is too small.

Receive

Oversize frames

The total number of frames that are the larger than the maximum allowed frame size.

FCS errors

The total number of frames received on an interface that have a valid length (in bytes) but do not have the correct FCS values.


This is an example of ouput from the show controllers ethernet-controller longreachethernet0/4 cpe command. It shows the statistics of the LRE chipset and the all the LRE ports on the CPE. For this example, Table 2-13 describes the LRE Enet Stats on CPE fields, and Table 2-14 describes the CPE Fast Ethernet Port fields.

Switch# show controllers ethernet-controller longreachethernet0/4 cpe
LRE Enet Stats on CPE:

  Transmit                           Receive
         0 Bytes                           0 Bytes
         0 Frames                          0 Frames
                                           0 Broadcast frames
         0 Pause frames                    0 Pause frames
         0 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
         0 Deferred frames
         0 Carrier sense errors

CPE Fast Ethernet Port: 1
  Transmit                           Receive
         0 Bytes                          0 Bytes
                                          0 Good Bytes
         0 Unicast Frames                 0 Unicast Frames
         0 Multicast Frames               0 Multicast Frames
         0 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
         0 Deferred Frames                0 Jabbers
                                          0 Source Address Chang
                                          0 Symbol Errors
                                          0 64 Byte Frames
                                          0 65-127 Byte Frames
                                          0 128-255 Byte Frames
                                          0 256-511 Byte Frames
                                          0 512-1023 Byte Frames
                                          0 1024-1522 Byte Frame

This is an example of ouput from the show controllers ethernet-controller longreachethernet0/4 cpe port 1 command. It shows the statistics for a specific LRE port on the CPE. For this example, Table 2-14 describes the CPE Fast Ethernet Port fields.

Switch# show controllers ethernet-controller longreachethernet0/4 cpe port 1
CPE Fast Ethernet Port: 1

Transmit                           Receive
42308326 Bytes                    8264733 Bytes               
                                    8264733 Good 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             
                                          1 Source Address Change
                                          0 Symbol Errors       
                                      68745 64 Byte Frames      
                                          0 65-127 Byte Frames  
                                          0 128-255 Byte Frames 
                                      11469 256-511 Byte Frames 
                                          0 512-1023 Byte Frames
                                          0 1024-1522 Byte Frame

Table 2-13 LRE Enet Stats on CPE Field Descriptions for LRE and CPE Interfaces 

Field
Description

Transmit

Bytes

The total number of bytes transmitted on an interface.

Frames

The total number of frames transmitted on an interface.

Pause frames

The number of pause frames transmitted on an interface.

1 collision frames

The number of frames that are successfully transmitted on an interface after one collision occurs.

Multiple collisions

The number of frames that are transmitted after more than one collisison occurs.

Late collisions

After a frame is transmitted, the number of times that a collision is detected on an interface later than 512 bit times.

Excessive collisions

The number of frames that could not be transmitted on an interface because more than 16 collisions occurred.

Deferred frames

The number of frames for which the first transmission attempt on an interface is not successful. This value excludes frames in collisions.

Carrier sense errors

The number of frames with carrier sense errors.

Receive

Bytes

The total amount of memory (in bytes) used by frames received on an interface, including the FCS value and the incorrectly-formed frames. This value excludes the frame header bits.

Frames

The total number of frames received on an interface, including multicast frames, broadcast frames, and incorrectly-formed frames.

Receive

Broadcast frames

The total number of frames successfully received on an interface that are directed to broadcast addresses.

Pause frames

The number of pause frames received on an interface.

Alignment errors

The total number of frames received on an interface that have alignment errors.

Collisions and Runts

The number of frames that could not be received on an interface because of collisions because the frame length (in bytes) is too small.

Oversize frames

The total number of frames that are the larger than the maximum frame size.

FCS errors

The total number of frames received on an interface that have a valid length (in bytes) but do not have the correct FCS values.


Table 2-14 CPE Fast Ethernet Port Field Descriptions for LRE and CPE Interfaces 

Field
Description

Transmit

Bytes

The total number of bytes transmitted on an interface.

Unicast Frames

The total number of frames transmitted to unicast addresses.

Multicast Frames

The total number of frames transmitted to multicast addresses.

Broadcast Frames

The total number of frames transmitted to broadcast addresses.

Dropped Frames

The total number of frames that are not transmitted.

Pause Frames

The number of pause frames transmitted on an interface.

Collisions Frames

The total number of frames that are not transmitted on an interface because of collisions.

One Collision Frames

The number of frames that are successfully transmitted on an interface after one collision occurs.

Multiple Collisions

The number of frames that are transmitted after more than one collisison occurs.

Late Collisions

After a frame is transmitted, the number of times that a collision is detected on an interface later than 512 bit times.

Excessive Collisions

The number of frames that could not be transmitted on an interface because more than 16 collisions occurred.

Deferred Frames

The number of frames for which the first transmission attempt on an interface is not successful. This value excludes frames in collisions.

Receive

Bytes

The total amount of memory (in bytes) used by frames received on an interface, including the FCS value and the incorrectly-formed frames. This value excludes the frame header bits.

Good Bytes

The total amount of memory (in bytes) used by frames received on an interface, including the FCS value and the correctly-formed frames. This value excludes the frame header bits.

Unicast Frames

The total number of frames successfully received on an interface that are directed to unicast addresses.

Multicast Frames

The total number of frames successfully received on an interface that are directed to multicast addresses.

Broadcast Frames

The total number of frames successfully received on an interface that are directed to broadcast addresses.

Dropped Frames

The total number of frames successfullyreceived on an interface that are dropped.

Pause Frames

The number of pause frames received on an interface.

Alignment Errors

The total number of frames received on an interface that have alignment errors.

Fragments

The number of frames received on the interface that have less than 64 bytes and an invalid FCS value.

Undersize Frames

The total number of frames received on an interface that are less than 64 bytes.

Oversize Frames

The total number of frames received on an interface that are the larger than 1518 bytes.

FCS Errors

The total number of frames received on an interface that have a valid length (in bytes) but do not have the correct FCS values.

Excess Size Discards

The total number of frames received on an interface that are dropped because they are larger than 1518 bytes.

Jabbers

The total number of frames received on an interface that are larger than 1522 bytes and have either an FCS or alignment error.

Source Address Chang

The total number of frames received on an interface for which the source address changed.

Symbol Errors

The total number of frames received on an interface that have a valid length (in bytes) but have the symbol errors.

65 to 127 byte Frames

The total number of frames that are from 65 to 127 bytes.

128 to 255 byte Frames

The total number of frames that are from 128 to 255 bytes.

256 to 511 byte Frames

The total number of frames that are from 256 to 511 bytes.

512 to 1023 byte Frames

The total number of frames that are from 512 to 1023 bytes.

1024 to 1518 byte Frames

The total number of frames that are from 1024 to 1518 bytes.

1519 to 1522 byte Frames

The total number of frames that are from 1519 to 1522 bytes.


Related Commands

Command
Description

clear controllers ethernet-controller

Deletes the Ethernet link send and receive statistics on a Fast Ethernet or an LRE switch port on an LRE switch.

show interfaces

Displays the administrative and operational status of all interfaces or a specified interface.


show controllers lre cpe

Use the show controllers lre cpe privileged EXEC command to display information about the Cisco Long-Reach Ethernet (LRE) customer premises equipment (CPE) devices connected to an LRE switch.

show controllers lre cpe {identity | mfg | protected | version}[interface-id] [ | {begin | exclude | include} expression]

This command is available only on Catalyst 2950 LRE switches.

Syntax Description

identity

Display the model numbers of the LRE CPE devices connected to an LRE switch and whether or not the connected CPE devices meet the minimum requirements for management by the LRE switch.

mfg

Display the revision and serial numbers of the connected LRE CPE board, assembly, and system.

protected

Display Cisco 585 LRE CPE Ethernet ports that are configured as protected.

version

Display the version numbers of the various components (hardware, firmware, patch software, and bootloader firmware and application firmware) of the LRE CPE interfaces.

interface-id

(Optional) ID of the LRE switch 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 show controllers lre cpe identity privileged EXEC command output 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 a Cisco 585 LRE CPE, Cisco 576 LRE 997 CPE, or a Cisco 575 LRE CPE, use the show controllers lre cpe mfg privileged EXEC command to verify the CPE manufacturing fields.

An NA status means that there is not a link or there is not any information about that port.

Use the show controllers lre cpe identity privileged EXEC command without specifying an LRE switch port to display the model numbers and status of all connected CPE devices.

Use the show controllers lre cpe mfg privileged EXEC command output to display fields specific to each CPE device unit. The software uses the model number field to identify the kind of CPE device attached to an LRE interface. The System Serial Number is also unique to each CPE device unit.

Use the show controllers lre cpe protected privileged EXEC command without specifying an LRE interface to display the protected port setting for all CPE ports. The Cisco 575 LRE CPE or Cisco 576 LRE 997 CPE devices display a protected field output of NA.

Use the show controllers lre cpe version privileged EXEC command without specifying an LRE switch port to display the version numbers of all CPE interfaces.

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 controllers lre cpe identity command for the Cisco 575 LRE and Cisco 585 LRE CPE devices:

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/4              NA               NA  NA
Lo0/5              NA               NA  NA
Lo0/6    Cisco575-LRE        CERTIFIED  CISCO575-LRE
Lo0/7              NA               NA  NA
Lo0/8    Cisco575-LRE        CERTIFIED  CISCO575-LRE
Lo0/9              NA               NA  NA
Lo0/10             NA               NA  NA
Lo0/11   CISCO585-LRE        CERTIFIED  CISCO585-LRE
Lo0/12   CISCO585-LRE        CERTIFIED  CISCO585-LRE
Lo0/13   CISCO585-LRE        CERTIFIED  CISCO585-LRE
Lo0/14             NA               NA  NA
Lo0/15             NA               NA  NA
Lo0/16                   NON-CERTIFIED  UNSUPPORTED-MAC-MODE

<output truncated>

This is an example of output from the show controllers lre cpe mfg command that shows the manufacturing information for the Cisco 575 LRE and Cisco 585 CPE devices:

Switch# show controllers lre cpe mfg

CPE Manufacturer Information:

Lo0/1    
Assembly Revision Number:               
Model Number            :CISCO585-LRE   
Model Revision Number   :A0             
Board Assembly Number   :               
Board Serial Number     :               
System Serial Number    :ACT0613004E    

Lo0/2    
Assembly Revision Number:               
Model Number            :CISCO585-LRE   
Model Revision Number   :A0             
Board Assembly Number   :               
Board Serial Number     :               
System Serial Number    :ACT0613005B    
<output truncated>

This is an example of output from the show controllers lre cpe protected command that shows the CPE protected-port information for an LRE interface:

Switch# show controllers lre cpe protected longreachethernet0/9
Interface     Port    Protected
---------     ----    ---------
    Lo0/9       1      true
    Lo0/9       2      true
    Lo0/9       3      true
    Lo0/9       4      true

This is an example of output from the show controllers lre cpe protected command that shows the CPE protected-port information for all LRE interfaces:

Switch# show controllers lre cpe protected
Interface     Port    Protected
---------     ----    ---------
    Lo0/1       1      NA
    Lo0/2       1      NA
    Lo0/3       1      NA
    Lo0/4       1      NA
    Lo0/5       1      NA
    Lo0/6       1      NA
    Lo0/7       1      NA
    Lo0/8       1      false
    Lo0/8       2      false

<output truncated>

This is an example of output from the show controllers lre cpe version command:

Switch# show controllers lre cpe version longreachethernet0/5

Interface     Hw  Sw  Patch  Boot  App
---------     --- --- ------ ----- -----
Lo0/5 				 52	 	B4		51	 1.02		 1.02

Related Commands

Command
Description

cpe protected

Restricts data traffic to individual ports on Cisco 585 LRE CPE ports.

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 actual

Use the show controllers lre actual privileged EXEC command to display the actual values of the Long-Reach Ethernet (LRE) link on a specific LRE switch port.

show controllers lre interface-id actual {dsrserrs | link | rxpower | snr | txpower | usrserrs}
[
| {begin | exclude | include} expression]

This command is available only on Catalyst 2950 LRE switches.

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

You can 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 interleave feature 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 "Configuring LRE" chapter of the switch software configuration guide for this release.

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 controllers lre interface-id actual dsrserrs command on LRE port 2:

Switch# show controllers lre longreachethernet0/2 actual dsrserrs
0
Switch#

This is an example of output from the show controllers lre interface-id actual link command on LRE port 2:

Switch# show controllers lre longreachethernet0/2 actual link
UP
Switch#

This is an example of output from the show controllers lre interface-id actual rxpower command on LRE port 2:

Switch# show controllers lre longreachethernet0/2 actual rxpower
26.0
Switch#

This is an example of output from the show controllers lre interface-id actual snr command on LRE port 2:

Switch# show controllers lre longreachethernet0/2 actual snr
27
Switch#

This is an example of output from the show controllers lre interface-id actual txpower command on LRE port 2:

Switch# show controllers lre longreachethernet0/2 actual txpower
-89.7
Switch#

This is an example of output from the show controllers lre interface-id actual usrserrs command on LRE port 2:

Switch# show controllers lre longreachethernet0/2 actual usrserrs
0
Switch#

This is an example of output from the show controllers lre interface-id actual link command on LRE port 1:

Switch# show controllers lre longreachethernet0/1 actual link
DOWN
Switch#

Related Commands

Command
Description

show controllers lre admin

Displays the administrative settings of the LRE link on a specific switch LRE port.


show controllers lre 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]

This command is available only on Catalyst 2950 LRE switches.

Syntax Description

interface-id

ID of the switch LRE port.

admin

Display the administrative settings, which might not be the same as the actual values.

dsrate

Display the downstream rate (in Mbps) of the LRE link.

usrate

Display the upstream rate (in Mbps) 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 an LRE switch 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 switch software configuration guide for this release.

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 controllers lre interface-id admin dsrate and show controllers lre interface-id admin usrate commands on LRE ports 1 and 2:

Switch# show controllers lre longreachethernet0/1 admin usrate
18.750
Switch# show controllers lre longreachethernet0/1 admin dsrate
16.667
Switch# show controllers lre longreachethernet0/2 admin usrate
12.500
Switch# show controllers lre longreachethernet0/2 admin dsrate
12.500

Related Commands

Command
Description

show controllers lre cpe identity

Displays the actual values of the LRE link on a specific switch LRE port.

lre profile

Assigns a profile to all switch LRE ports.

profile (interface configuration)

Assigns a profile to a specific switch LRE port.


show controllers lre link monitor

Use the show controllers lre link monitor privileged EXEC command to display Long-Reach Ethernet (LRE) link monitor information.

show controllers lre monitor {errors | parameters | statistics} {local [interface-id] | remote [interface-id]} [ | {begin | exclude | include} expression]

This command is available only on Catalyst 2950 LRE switches.

Syntax Description

errors

Display the LRE Reed-Solomon (RS) errors and Ethernet errors

parameters

Display the LRE operating parameter data collected by the link monitor.

statistics

Display the LRE link monitor statistics.

local

(Optional) Display data from the LRE switch controller.

remote

(Optional) Display 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.

Local monitoring collects data from the LRE switch. Remote monitoring collects data from attached CPE device.

The Time heading in the show controllers lre link monitor errors command output shows the timestamp for the last collection sequence. The 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.

The Time heading in the show controllers lre link monitor parameters command 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.

The Time heading in the show controllers lre link monitor statistics command output shows the timestamp for the last collection sequence. The 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 privileged EXEC command is entered. The RS error alarm shows the number of 1 minute intervals that had RS errors above the configured threshold.

Use the show controllers lre monitor {errors | parameters | statistics} privileged EXEC command without specifying a switch interface to display data for all interfaces.

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 that shows how to display LRE RS and Ethernet errors for the LRE switch on LRE port 0/1:

Switch#  show controllers lre link monitor errors local longreachethernet0/1

LongReachEthernet0/1:LRE Link Health Monitor Error counts :
Time     RS Errors  Align Errs FCS Errs   Rcv Errs   Oversz Errs
-------- ---------- ---------- ---------- ---------- -----------
14:42:28 			41216			 	0			 0			0				0
14:30:28 			40960		 		0 			 0 			0          0
14:15:28 			40960		 		0 			 0 			0          0
14:00:29			40704		 		0 			 0 			0          0
13:45:28			40704		 		0 			 0 			0          0
13:30:29			40448		 		0 			 0 			0          0
13:15:29		 	40448		 		0 			 0 			0          0
13:00:28	 		40448		 		0 			 0 			0          0

This is an exampleof output that shows Reed-Solomon and Ethernet errors for a CPE device connected to LRE port 0/1:

Switch#  show controllers lre link monitor errors remote longreachethernet0/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

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 :
                  SNR            Tx Power        SwAGCGain
 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 

<output truncated>

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 
-------- ------- --------------- ---------- ----------
06:58:30   13          0    0          2          3 
06:45:30   15          0    0          2          3 
06:30:30   15          0    0          2          3 
06:15:30   15          0    0          2          3 
06:00:30   15          0    0          2          3 
05:45:30   15          0    0          2          3 
05:30:30   15          0    0          2          3 
05:15:30   15          0    0          2          3 

Related Commands

Command
Description

clear controllers lre link monitor

Deletes LRE link monitor data.

link monitor

Enables the LRE link monitor on a port.

link monitor logging

Enables link monitor event logging per port.

link monitor threshold rserr

Sets a Reed-Solomon error threshold for the LRE link monitor.

link monitor threshold snr

Sets an signal-to-noise margin for the LRE link monitor.


show controllers lre log

Use the show controllers lre log user EXEC command without keywords to display the history of link, configuration, and timer events for a specific Long-Reach Ethernet (LRE) port or for all switch LRE ports. Use this command with keywords to display information about the LRE event log level.

show controllers lre log [level] [interface-id] [ | {begin | exclude | include} expression]

This command is available only on Catalyst 2950 LRE switches.

Syntax Description

level

(Optional) Display information about the LRE event log level.

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

User EXEC

Command History

Release
Modification

12.1(11)YJ

This command was introduced.


Usage Guidelines

Use the show controllers lre log command without specifying a switch LRE port to display the events for all LRE switch ports. The time-stamped and sequentially tagged log entries can be helpful in confirming LRE link drops and configuration changes.

Use the show controllers lre log level command without specifying an LRE switch port to list the log level for each LRE port on the 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 controllers lre log command that shows events on an LRE interface:

Switch> show controllers lre log longreachethernet0/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

This is an example of output from the show controllers lre log level command that displays the log level on an LRE port:

Switch> show controllers lre log level longreachethernet0/1
Port   Log Level
================
Lo0/1  Logging disabled

Related Commands

Command
Description

clear controllers ethernet-controller

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

Displays the log level for a specific switch LRE port or for all LRE ports on the switch.


show controllers lre profile

Use the show controllers lre profile privileged EXEC command to display information about the Long-Reach Ethernet (LRE) profiles and sequences available on the switch.

show controllers lre profile {details | names} [ | {begin | exclude | include} expression]

This command is available only on Catalyst 2950 LRE switches.

Syntax Description

details

Display information about the LRE profiles and sequences available on the switch.

names

Display information about the Long-Reach Ethernet (LRE) profiles available on the switch.

| 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 profile details privileged EXEC command to see the profiles and sequences running on each port. This command also shows global profiles and sequences.

For information about LRE profiles supported on your switch and about LRE links, refer to the "LRE Profiles" section in the "Configuring LRE" chapter of the switch software configuration guide for this release.


Note Use the information in the software configuration guide only as a guideline. 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 are slightly less than the gross data rates displayed by the show controllers lre profile names command output.


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 controllers lre profile details command on the
Catalyst 2950ST-8 LRE and 2950ST-24 LRE switches:

Switch# show controllers lre profile details

Global Profile:LRE-10-3

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

<output truncated>

This is an example of output from the show controllers lre profile details command on the
Catalyst 2950ST-24 LRE 997 switch:

Switch# show controllers lre profile details
Global Profile:LRE-6

Interface  Configured Profile  Running Profile     Type
---------  ------------------  ---------------     ------
Lo0/1      LRE-6               LRE-6               Global Profile
Lo0/2      LRE-6               LRE-6               Global Profile
Lo0/3      LRE-6               LRE-6               Global Profile
Lo0/4      LRE-6               LRE-6               Global Profile
Lo0/5      LRE-6               LRE-6               Global Profile
Lo0/6      LRE-6               LRE-6               Global Profile
Lo0/7      LRE-6               LRE-6               Global Profile
Lo0/8      LRE-6               LRE-6               Global Profile
Lo0/9      LRE-6               LRE-6               Global Profile
Lo0/10     LRE-6               LRE-6               Global Profile
Lo0/11     LRE-6               LRE-6               Global Profile
Lo0/12     LRE-6               LRE-6               Global Profile

<output truncated>

This is an example of output from the show controllers lre profile names command on the
Catalyst 2950ST-8 LRE and 2950ST-24 LRE switches:

Switch# show controllers lre profile names

Profile Name         Type               Downstream    Upstream
                                        Rate(Mbps)    Rate(Mbps)
------------         -----------------  ----------    ----------
 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 

This is an example of output from the show controllers lre profile names command on the
Catalyst 2950ST-24 LRE 997 switch:

Switch# show controllers lre profile names
Profile Name         Type               Downstream    Upstream
                                        Rate(Mbps)    Rate(Mbps)
------------         -----------------  ----------    ----------
 LRE-12-9            System-Configured    12.500        9.375
 LRE-12-3            System-Configured    12.500        3.125
 LRE-9               System-Configured     9.375        9.375
 LRE-9-6             System-Configured     9.375        6.250
 LRE-9-4             System-Configured     9.375        4.688
 LRE-9-3             System-Configured     9.375        3.125
 LRE-6               System-Configured     6.250        6.250
 LRE-6-4             System-Configured     6.250        4.688
 LRE-6-3             System-Configured     6.250        3.125
 LRE-4               System-Configured     4.688        4.688

Related Commands

Command
Description

lre profile

Assigns an LRE profile to all the LRE ports on the switch.


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]

This command is available only on Catalyst 2950 LRE switches.

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.

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 controllers lre sequence command on the
Catalyst 2950ST-8 LRE and 2950ST-24 LRE switches:

Switch# show controllers lre sequence

Global Sequence:LRE-SEQ-COMPLETE-REACH

Sequence:LRE-SEQ-COMPLETE-REACH     Type:System-Configured

                  Profile Name    Downstream    Upstream
                                  Rate(Mbps)    Rate(Mbps)
                  --------------  ----------    ----------
                 LRE-15            16.667       18.750 
                 LRE-10            12.500       12.500 
                 LRE-15-5          16.667        6.250 
                 LRE-10-5          12.500        6.250 
                 LRE-8              9.375        9.375 
                 LRE-7              8.333        8.333 
                 LRE-15-3          16.667        3.125 
                 LRE-10-3          12.500        3.125 
                 LRE-5              6.250        6.250 
                 LRE-15-1          16.667        1.563 
                 LRE-10-1          12.500        1.563 
                 LRE-4              4.167        4.167 
                 LRE-3              3.125        3.125 
                 LRE-2              2.083        2.083 
                 LRE-4-1            4.167        1.563 

Sequence:LRE-SEQ-DOWNSTREAM         Type:System-Configured
                  Profile Name    Downstream    Upstream
                                  Rate(Mbps)    Rate(Mbps)
                  --------------  ----------    ----------
                 LRE-15            16.667       18.750 
                 LRE-15-5          16.667        6.250 
                 LRE-15-3          16.667        3.125 
                 LRE-15-1          16.667        1.563 
                 LRE-10            12.500       12.500 

<output truncated>

This is an example of output from the show controllers lre sequence command on the
Catalyst 2950ST-24 LRE 997 switch:

Switch# show controllers lre sequence

Global Sequence:N/A

Sequence:LRE-SEQ-COMPLETE-REACH     Type:System-Configured

                  Profile Name    Downstream    Upstream
                                  Rate(Mbps)    Rate(Mbps)
                  --------------  ----------    ----------
                 LRE-12-9          12.500        9.375
                 LRE-12-3          12.500        3.125
                 LRE-9              9.375        9.375
                 LRE-9-6            9.375        6.250
                 LRE-9-4            9.375        4.688
                 LRE-6              6.250        6.250
                 LRE-6-4            6.250        4.688
                 LRE-9-3            9.375        3.125
                 LRE-4              4.688        4.688
                 LRE-6-3            6.250        3.125
                 LRE-4-3            4.688        3.125

Sequence:LRE-SEQ-DOWNSTREAM         Type:System-Configured

                  Profile Name    Downstream    Upstream
                                  Rate(Mbps)    Rate(Mbps)
                  --------------  ----------    ----------
                 LRE-12-9          12.500        9.375
                 LRE-12-3          12.500        3.125
                 LRE-9              9.375        9.375
                 LRE-9-6            9.375        6.250
                 LRE-9-4            9.375        4.688

<output truncated> 

Related Commands

Command
Description

lre rate selection sequence

Assigns a rate selection sequence to the entire switch.

lre sequence

Defines a user-defined sequence.


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 {cpe | interleave | link | profile | psd | sequence [detail ]} [interface-id]
[
| {begin | exclude | include} expression]

This command is available only on Catalyst 2950 LRE switches.

Syntax Description

cpe

Display information about the customer premises equipment (CPE) 10/100 Ethernet ports.

interleave

Display the interleave block size values on the LRE interfaces.

link

Display the various parameters and status associated with the LRE link.

profile

Display the various administrative parameters and status associated with the LRE link.

psd

Display the power-related status.

sequence

Display the status of profiles in a sequence. Possible status values are converged, waiting on link, executing, and locked.

detail

(Optional) Display additional information about the sequences, such as margins, locked profiles, and convergence times.

interface-id

(Optional) ID of the switch LRE port.

| 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.

12.1(11)YJ4

The interleave keyword was added.

12.1(14)EA1

The cpe keyword was added.


Usage Guidelines

Use the show controllers lre status privileged EXEC 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 that you enter the show controllers lre status link command.


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 "Configuring LRE" chapter of the switch software configuration guide for this release.

The sequence and sequence detail keywords 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 interface configuration command.

Use the show controllers lre status cpe [interface-id] privileged EXEC command to display information about a specific CPE port or all the CPE ports.

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 that shows link information for an LRE interface:

Switch# show controller lre status link longreachethernet0/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 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/2   N/A                      N/A             N/A                  
Lo0/3   LRE-SEQ-SYM              Converged       LRE-15 

This is an example of output from the show controllers lre status interleave command:

Switch# show controllers lre status interleave longreachethernet0/2

Port    Link Profile           Line Rate      Block Size   Delay(mSec)
                              DS        US    DS      US   DS       US
------  ---- ---------------- --------------  -----------  -------------
Lo0/2   UP   LRE-6             6.250   6.250   16     16   20.316 20.316

This is an example of output using the details keyword to obtain further information about the sequence:

Switch# show controllers lre status sequence detail

Lo0/1 :
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

Lo0/2 :
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

<output truncated>

This is an example of output from the show controllers lre status cpe command:

Switch# show controllers lre status cpe
Lo0/1 :                    CPE-TYPE:Cisco575-LRE
Port      Status      Speed   Duplex     Protected
----   ------------   -----   ------     ---------
  1    notconnected      NA       NA     false

Lo0/2 :                    CPE-TYPE:NA
Port      Status      Speed   Duplex     Protected
----   ------------   -----   ------     ---------
  1    NA                NA       NA      NA

Lo0/3 :                    CPE-TYPE:CISCO585-LRE
Port      Status      Speed   Duplex     Protected
----   ------------   -----   ------     ---------
  1    notconnected    auto       NA     false
  2    notconnected    auto       NA     true
  3    notconnected    auto       NA     false
  4    notconnected    auto       NA     false
  5    connected        100     half     false

Related Commands

Command
Description

margin

Specifies the margin value used to determine link quality during LRE rate selection.

show controllers lre sequence

Displays the sequence running on a specific switch LRE port.

show controllers lre profile

Displays information about the LRE profiles available on the switch.

show controllers lre cpe

Displays the actual values of the LRE link on a specific switch LRE port.

show controllers lre admin

Displays the administrative settings of the LRE link on a specific switch LRE port.

show controllers lre profile

Displays information about the LRE profiles available on the switch.


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 Long-Reach Ethernet (LRE) switch interface.

show controllers lre version [interface-id] [ | {begin | exclude | include} expression]

This command is available only on Catalyst 2950 LRE switches.

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

Use the show controllers lre version command without specifying a switch LRE port to display the version numbers of all switch LRE interfaces.

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 that shows the version information for an LRE interface:

Switch# show controllers lre version longreachethernet0/2
Interface Hw  Sw  Patch   
--------  --- --- -----
Lo0/2     32  B4  50    

Related Commands

Command
Description

show controllers lre cpe

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 802.1X statistics, administrative status, and operational status for the switch or for the specified interface.

show dot1x [all] | [interface interface-id] | [statistics [interface interface-id]] [ | {begin | exclude | include} expression]

Syntax Description

all

(Optional) Display the 802.1X status for all interfaces.

interface interface-id

(Optional) Display the 802.1X status for the specified interface.

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 first introduced.

12.1(14)EA1

The all keyword was added.


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 are not displayed, but the lines that contain Output are displayed.

Examples

This is an example of output from the show dot1x and the show dot1x all privileged EXEC commands:

Switch# show dot1x 
Sysauthcontrol                    = Enabled 
Dot1x Protocol Version            = 1 
Dot1x Oper Controlled Directions  = Both 
Dot1x Admin Controlled Directions = Both 

Switch# show dot1x all
Dot1x Info for interface FastEthernet 0/3 
----------------------------------------------------
Supplicant MAC 00d0.b71b.35de
   AuthSM State      = CONNECTING
   BendSM State      = IDLE
PortStatus        = UNAUTHORIZED
MaxReq            = 2 
HostMode          = Single 
Port Control      = Auto
QuietPeriod       = 60 Seconds 
Re-authentication = Disabled 
ReAuthPeriod      = 3600 Seconds
ServerTimeout     = 30 Seconds 
SuppTimeout       = 30 Seconds 
TxPeriod          = 30 Seconds 
Guest-Vlan        = 0 

Dot1x Info for interface FastEthernet 0/7 
----------------------------------------------------
PortStatus        = UNAUTHORIZED
MaxReq            = 2 
HostMode          = Multi 
Port Control      = Auto
QuietPeriod       = 60 Seconds 
Re-authentication = Disabled 
ReAuthPeriod      = 3600 Seconds
ServerTimeout     = 30 Seconds 
SuppTimeout       = 30 Seconds 
TxPeriod          = 30 Seconds 
Guest-Vlan        = 0 

This is an example of output from the show dot1x interface fastethernet 0/3 privileged EXEC command.

Switch# show dot1x interface fastethernet 0/3
Supplicant MAC 00d0.b71b.35de
   AuthSM State      = AUTHENTICATED
   BendSM State      = IDLE
PortStatus        = AUTHORIZED
MaxReq            = 2 
HostMode          = Single 
Port Control      = Auto
QuietPeriod       = 60 Seconds 
Re-authentication = Disabled 
ReAuthPeriod      = 3600 Seconds
ServerTimeout     = 30 Seconds 
SuppTimeout       = 30 Seconds 
TxPeriod          = 30 Seconds 
Guest-Vlan        = 0 

This is an example of output from the show dot1x statistics interface fastethernet 0/3 command. Table 2-15 describes the fields in the display.

Switch# show dot1x statistics interface fastethernet 0/3
PortStatistics Parameters for Dot1x 
--------------------------------------------
TxReqId = 15    TxReq = 0       TxTotal = 15 
RxStart = 4     RxLogoff = 0    RxRespId = 1    RxResp = 1
RxInvalid = 0   RxLenErr = 0    RxTotal= 6
RxVersion = 1   LastRxSrcMac 00d0.b71b.35de 

Table 2-15 show dot1x statistics Field Descriptions 

Field
Description

TxReqId

Number of Extensible Authentication Protocol (EAP)-request/identity frames that have been sent.

TxReq

Number of EAP-request frames (other than request/identity frames) that have been sent.

TxTotal

Number of Extensible Authentication Protocol over LAN (EAPOL) frames of any type that have been sent.

RxStart

Number of valid EAPOL-start frames that have been received.

RxLogoff

Number of EAPOL-logoff frames that have been received.

RxRespId

Number of EAP-response/identity frames that have been received.

RxResp

Number of valid EAP-response frames (other than response/identity frames) that have been received.

RxInvalid

Number of EAPOL frames that have been received and have an unrecognized frame type.

RxLenErr

Number of EAPOL frames that have been received in which the packet body length field is invalid.

RxTotal

Number of valid EAPOL frames of any type that have been received.

RxVersion

Received packets in the 802.1X version 1 format.

LastRxSrcMac

Source MAC address carried in the most recently received EAPOL frame.


Related Commands

Command
Description

dot1x default

Resets the configurable 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 | power | rps} [ | {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).

power

Display the internal power supply status.

rps

Display the Redundant Power System (RPS) status.

| 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 first introduced.

12.1(12c)EA1

The fan and power keywords were added.


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:

Switch> show env all
FAN is OK
Internal POWER supply is FAULTY
RPS is present
RPS is supplying power

This is an example of output from the show env fan command:

Switch# show env fan
FAN 1 is FAULTY

This is an example of output from the show env power command:

Switch> show env power
Internal POWER supply is FAULTY

This is an example of output from the show env rps command:

Switch> sho env rps
RPS is supplying power

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 first 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
-----------------    --------------
udld                 Enabled
bpduguard            Enabled
channel-misconfig    Enabled
pagp-flap            Enabled
dtp-flap             Enabled
link-flap            Enabled
psecure-violation    Enabled
gbic-invalid         Enabled

Timer interval:300 seconds

Interfaces that will be enabled at the next timeout:

Interface    Errdisable reason    Time left(sec)
---------    -----------------    --------------
Gi0/4           link-flap             279 

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] {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.

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 first introduced. It replaced the show port group command.

12.1(14)EA1

The brief keyword was removed.


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
Group state = L2
Ports: 1   Maxports = 8
Port-channels: 1 Max Port-channels = 1
                Ports in the group:
                -------------------
Port: Fa0/3
------------

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.
        d - PAgP is down.
Timers: H - Hello timer is running.        Q - Quit timer is running.
        S - Switching timer is running.    I - Interface timer is running.

Local information:
                                Hello    Partner  PAgP     Learning  Group
Port      Flags State   Timers  Interval Count   Priority   Method  Ifindex
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:
                ----------------------

Port-channel: Po1
------------

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
        R - Layer3      S - Layer2
		u - unsuitable for bundling
        U - port-channel in use 
		d - default port
Group Port-channel  Ports
-----+------------+-----------------------------------------------------------
1     Po1(SU)     Fa0/6(Pd)		 Fa0/15(P)

This is an example of output from the show etherchannel 1 port command:

Switch> show etherchannel 1 port
                Ports in the group:
                -------------------
Port: Fa0/3
------------

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.
        d - PAgP is down.
Timers: H - Hello timer is running.        Q - Quit timer is running.
        S - Switching timer is running.    I - Interface timer is running.

Local information:
                                Hello    Partner  PAgP     Learning  Group
Port      Flags State   Timers  Interval Count   Priority   Method  Ifindex
Fa0/3     dA    U1/S1           1s       0        200        Any      0

Age of the port in the current state: 10d:23h:13m:21s

Related Commands

Command
Description

channel-group

Assigns an Ethernet interface to an EtherChannel group.

interface port-channel

Accesses or creates the port channel.


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 first 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
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-16 describes the fields in the show file descriptors command output.

Table 2-16 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
nvram:startup-config:
  type is ascii text

Table 2-17 lists the possible file types for the previous example.

Table 2-17 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
File Systems:

     Size(b)     Free(b)      Type  Flags  Prefixes
*    7741440      433152     flash     rw   flash:
     7741440      433152   unknown     rw   zflash:
       32768       25316     nvram     rw   nvram:
           -           -   network     rw   tftp:
           -           -    opaque     rw   null:
           -           -    opaque     rw   system:
           -           -    opaque     ro   xmodem:
           -           -    opaque     ro   ymodem:
           -           -   network     rw   rcp:
           -           -   network     rw   ftp:

For this example, Table 2-18 describes the fields in the show file systems command output. Table 2-19 lists the file system types. Table 2-20 lists the file system flags.

Table 2-18 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-19 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-20 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 | capabilities [module {module-number]} | cpe [port port-id] | description | etherchannel | flowcontrol | 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.

accounting

(Optional) Display interface accounting information.

capabilities

(Optional) Display the capabilities of the ports.

cpe

(Optional) Display link status, speed, and duplex of all the customer premises equipment (CPE) Ethernet ports. This keyword is available only on Long-Reach Ethernet (LRE) switches.

Note You must enter an interface ID to display this keyword.

port port-id

(Optional) Display only the designated CPE Ethernet port. Valid values are 1 to 4.

This keyword is available only on LRE switches.

description

(Optional) Display the administrative status and description set for an interface.

etherchannel

(Optional) Display interface EtherChannel information.

flowcontrol

(Optional) Display interface flowcontrol information.

media [interface-id]

(Optional) Display the type of media connection. This keyword is available only on LRE switches.

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, information for only 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.

| module module-number

(Optional) The module or interface number. If you do not specify a module number, the information is displayed for all ports.

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 first introduced.

12.1(11)YJ

The cpe, port port-id, and media keywords were added.

12.1(12c)EA1

The capabilities keyword was added.


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
Vlan1 
                Protocol    Pkts In   Chars In   Pkts Out  Chars Out
                      IP      17950    2351279       3205     411175
                     ARP       8626     552064         62       3720
Interface Vlan5 is disabled

FastEthernet0/1 
                Protocol    Pkts In   Chars In   Pkts Out  Chars Out
           Spanning Tree    2956958  179218508      34383    2131700
                     CDP      14301    5777240      14307    5722418
                     VTP          0          0       1408     145908
                     DTP      28592    1572560          0          0

<output truncated>

This is an example of output from the show interfaces capabilities command:

Switch# show interfaces fastethernet0/1 capabilities 
FastEthernet0/1
  Model:                 WS-C2950G-48-EI
  Type:                  10/100BaseTX
  Speed:                 10,100,auto
  Duplex:                half,full,auto
  UDLD:                  yes
  Trunk encap. type:     802.1Q
  Trunk mode:            on,off,desirable,nonegotiate
  Channel:               yes
  Broadcast suppression: percentage(0-100)
  Flowcontrol:           rx-(none),tx-(none)
  Fast Start:            yes
  CoS rewrite:           yes
  ToS rewrite:           yes
  Inline power:          no
  SPAN:                  source/destination
  PortSecure:            Yes
  Dot1x:                 Yes

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
  Keepalive set (10 sec)
  Auto-duplex, Auto-speed
  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
  Queueing strategy:fifo
  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 example of 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
Fa0/1     4,196

Port      Vlan traffic requested of neighbor
Fa0/1     1,4

This is an example of output from the show interfaces stats command:

Switch# show interfaces stats
Vlan1
          Switching path    Pkts In   Chars In   Pkts Out  Chars Out
               Processor    3224706  223689126    3277307  280637322
             Route cache          0          0          0          0
                   Total    3224706  223689126    3277307  280637322
Interface Vlan5 is disabled

FastEthernet0/1
          Switching path    Pkts In   Chars In   Pkts Out  Chars Out
               Processor    3286423  231672787     179501   17431060
             Route cache          0          0          0          0
                   Total    3286423  231672787     179501   17431060

This is an example of output from the show interfaces status command. It displays the status of all interfaces.

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 err-disabled command. It displays the status of interfaces in error-disabled state.

switch# show interfaces fastethernet0/15 status err-disabled 

Port    Name               Status       Reason
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
----
FastEthernet0/1:
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
----
Port-channel1:
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:

Index   Load   Port    EC state
------+------+------+------------
  0     00     Fa0/1    on         

Time since last port bundled:   00d:00h:06m:54s    Fa0/1

This is an example of output from the show interfaces flowcontrol command. Table 2-21 lists the fields in this display.

Switch# show interfaces flowcontrol
Port    Send FlowControl  Receive FlowControl  RxPause TxPause
        admin    oper     admin    oper
-----   -------- -------- -------- --------    ------- -------
Fa0/1   Unsupp.  Unsupp.  off      off         0       0
Fa0/2   Unsupp.  Unsupp.  off      off         0       0
<output truncated>
Gi0/1   desired  off      off      off         0       0
Gi0/2   desired  off      off      off         0       0
Po1     Unsupp.  Unsupp.  off      off         0       0
Po2     Unsupp.  Unsupp.  off      off         0       0

Table 2-21 show interfaces flowcontrol Field Descriptions 

Field
Description

Port

Displays the port name.

Send FlowControl

Admin

Displays the administrative (configured) setting for the flow control send mode.

Oper

Displays the operational (running) setting for the flow control send mode.

Receive FlowControl

Admin

Displays the administrative (configured) setting for the flow control receive mode.

Oper

Displays the operational (running) setting for the flow control receive mode.

RxPause

Displays the number of pause frames received.

TxPause

Displays the number of pause frames sent.

On

Flow control is enabled.

Off

Flow control is disabled.

Desired

Flow control is enabled if the other end supports it.

Unsupp.

Flow control is not supported.


This is an example of output from the show interfaces switchport command for a single interface. Table 2-22 describes the fields in the output.

Switch# show interfaces gigabitethernet0/1 switchport
Name: Gi0/1
Switchport:Enabled
Administrative Mode:dynamic desirable
Operational Mode:static access
Administrative Trunking Encapsulation:negotiate
Negotiation of Trunking:On
Access Mode VLAN:1 (default)
Trunking Native Mode VLAN:1 (default)
Voice VLAN:none
Administrative private-vlan host-association:none
Administrative private-vlan mapping:none
Operational private-vlan:none
Trunking VLANs Enabled:ALL
Pruning VLANs Enabled:2-1001
Capture Mode: Disabled
Capture VLANs Allowed:ALL

Protected:true
Unknown unicast blocked:disabled
Unknown multicast blocked:disabled

Voice VLAN:none (Inactive)
Appliance trust:none

Table 2-22 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

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.

Administrative private-vlan host-association

Administrative private-vlan mapping

Operational private-vlan

Displays the administrative and operational status of the private VLAN, and displays the private-VLAN mapping.

Capture Mode

Captured VLANs Allowed

Displays the capture mode and the number of captured VLANs allowed.

Note Because the switch does not support the capture feature, the values for these fields do not change.

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 is an example of 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
Fa0/4     1-4094
Fa0/6     1-4094

Port      Vlans allowed and active in management domain
Fa0/4     1-2,51-52
Fa0/6     1-2,51-52

Port      Vlans in spanning tree forwarding state and not pruned
Fa0/4     1
Fa0/6     1-2,51-52

This is an example of 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
Fa0/1     1-4094

Port      Vlans allowed and active in management domain
Fa0/1     1,4,196,306

Port      Vlans in spanning tree forwarding state and not pruned
Fa0/1     1,306

This is an example of output from the show interfaces command for LRE port 5 on an LRE switch:

Switch# show interfaces longreachethernet0/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
  Keepalive 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
  Queueing strategy: fifo
  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 longreachethernet0/2 cpe

Port      Status      Speed   Duplex
----   ------------   -----   ------
  1    notconnected    auto       NA
  2    notconnected    auto       NA
  3    notconnected    auto       NA
  4    notconnected    auto       NA
  5    connected        100     half
Switch#

This is an example of output from the show interfaces command for port 5 on a CPE device:

Switch# show interfaces longreachethernet0/2  cpe port 5

Port      Status      Speed   Duplex
----   ------------   -----   ------
  5    connected        100     half
Switch#

This is an example of output from the show interfaces media command on an interface:

Switch# show interfaces gigabitethernet0/1 media

Port    Media-configured   Active      Attached
Gi0/1   auto-select        rj45        1000BaseSX-10/100/1000BaseTX
Switch#

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

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.

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 first 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. Table 2-23 describes the fields in the output.

Switch# show interfaces counters
Port            InOctets   InUcastPkts   InMcastPkts   InBcastPkts
Gi0/1           23324617         10376        185709        126020
Gi0/2                  0             0             0             0

Port           OutOctets  OutUcastPkts  OutMcastPkts  OutBcastPkts
Gi0/1            4990607         28079         21122            10
Gi0/2            1621568         25337             0             0

Table 2-23 show interfaces counters Field Descriptions 

Field
Description

InOctets

Displays the number of bytes received on an interface.

InUcastPkts

Displays the number of unicast packets received on an interface.

InMcastPkts

Displays the number of multicast packets received on an interface.

InBcastPkts

Displays the number of broadcast packets received on the interface.

OutOctets

Displays the number of bytes transmitted on an interface.

OutUcastPkts

Displays the number of unicast packets transmitted on an interface.

OutMcastPkts

Displays the number of multicast packets transmitted on an interface.

OutBcastPkts

Displays the number of broadcast packets transmitted on an interface.


This is an example of output from the show interfaces counters broadcast command. It displays the dropped broadcast traffic for all interfaces. The BcastSuppDiscards field displays the number of broadcast packets dropped on the interface because of broadcast suppression.

Switch# show interfaces counters broadcast
Port      BcastSuppDiscards
Gi0/1                     1
Gi0/2                     0

This is an example of output from the show interfaces gigabitethernet0/1 counters broadcast command. It displays the dropped broadcast traffic for an specific interface.

Switch# show interfaces gigabitethernet0/1 counters broadcast

Port      BcastSuppDiscards
Gi0/1                     0 

This is an example of output from the show interfaces counters errors command. It displays the interface error counters for all interfaces. Table 2-24 describes the fields in the output.

Switch# show interfaces counters errors

Port        Align-Err    FCS-Err   Xmit-Err    Rcv-Err UnderSize
Gi0/1               0          0          0          0         0
Gi0/2               0          0          0          0         0

Port      Single-Col Multi-Col  Late-Col Excess-Col Carri-Sen     Runts    Giants
Gi0/1         0        0       0        0       0       0       0
Gi0/2         0        0       0        0       0       0       0

Table 2-24 show interfaces counters errors Field Descriptions 

Field
Description

Align-Err

Displays the total number of frames that are received on an interface and have alignment errors.

FCS-Err

Displays the total number of frames that are received on an interface, have a valid length (in bytes), but do not have the correct FCS1 values.

Xmit-Err

Displays the total number of frames that have errors during transmission.

Rcv-Err

Displays the total number of frames that are received on an interface and have errors.

Undersize

Displays the total number of frames received that are less than 64 bytes (including the FCS bits and excluding the frame header) and have either an FCS or an alignment error.

Single-col

Displays the total number of frames that are successfully transmitted on an interface after one collision occurs.

Multi-col

Displays the total number of frames that are successfully transmitted on an interface after more than one collision occurs.

Late-col

After a frame is transmitted, displays the number of times that a collision is detected on an interface after 512 bit times.

Excess-col

Display the number of frames that could not be transmitted on an interface because more than 16 collisions occurred.

Carri-Sen

Displays the number of occurrences in which the interface detects a false carrier when frames are not transmitted or received.

Runts

Displays the number of frames received on an interface that are smaller than 64 bytes and have an invalid FCS value.

Giants

Displays the number of frames that are larger than the maximum allowed frame size and have a valid FCS value.

1 FCS = frame check sequence


This is an example of output from the show interfaces counters multicast command. It displays the dropped multicast traffic for all interfaces. The McastSuppDiscards displays the number of multicast packets dropped on the interface because of multicast suppression.

Switch# show interfaces counters multicast

Port      McastSuppDiscards
Gi0/1                     0
Gi0/2                     0

This is an example of output from the show interfaces counters trunk command. It displays the trunk counters for all interfaces. Table 2-25 describes the fields in the output.

Switch# show interfaces counters trunk

Port        TrunkFramesTx  TrunkFramesRx  WrongEncap
Gi0/1                   0              0           0
Gi0/2                   0              0           0 

Table 2-25 show interfaces counters trunk Field Descriptions 

Field
Description

TrunkFrameTx

Displays the number of frames transmitted on a trunk interface.

TrunkFrameRx

Displays the number of frames received on a trunk interface.

WrongEncap

Displays the number of frames that are received on an interface and have the incorrect encapsulation type.


This is an example of output from the show interfaces counters unicast command. It displays the dropped unicast traffic for all interfaces. The UcastSuppDiscards field displays the number of unicast packets dropped on the interface because of unicast suppression.

Switch# show interfaces counters unicast

Port      UcastSuppDiscards
Gi0/1                  6872
Gi0/2                     0

Related Commands

Command
Description

show interfaces

Displays interface characteristics.

storm-control

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 first 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
    permit 10.10.10.2
Standard IP access list wizard_1-1-1-2
    permit 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

Command
Description

access-list (IP extended)

Configures an extended IP ACL on the switch.

access-list (IP standard)

Configures a standard IP ACL on the switch.

ip access-list

Configures an IP ACL on the switch.

show access-lists

Displays ACLs configured on a switch.


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.

| 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 first 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 

vlan 1
----------
 IGMP snooping is globally enabled
 IGMP snooping TCN solicit query is globally disabled
 IGMP snooping global TCN flood query count is 2
 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 source only learning age timer is 10
 IGMP snooping is running in IGMP_ONLY mode on this Vlan
 IGMP snooping report suppression is enabled on this Vlan
vlan 2
----------
 IGMP snooping is globally enabled
 IGMP snooping TCN solicit query is globally disabled
 IGMP snooping global TCN flood query count is 2
 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 source only learning age timer is 10
 IGMP snooping is running in IGMP_ONLY mode on this Vlan
 IGMP snooping report suppression is enabled on this Vlan

<output truncated>

This is an example of output from the show ip igmp snooping vlan 1 command:

Switch# show ip igmp snooping vlan 1

vlan 1
----------
 IGMP snooping is globally enabled
 IGMP snooping TCN solicit query is globally disabled
 IGMP snooping global TCN flood query count is 2
 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 source only learning age timer is 10
 IGMP snooping is running in IGMP_ONLY mode on this Vlan
 IGMP snooping report suppression is enabled on this Vlan

Related Commands

Command
Description

ip igmp snooping

Enables IGMP snooping.

ip igmp snooping vlan vlan-id

Enables IGMP snooping on the VLAN interface.

ip igmp snooping vlan immediate-leave

Configures IGMP Immediate-Leave processing.

ip igmp snooping vlan mrouter

Configures a Layer 2 port as a multicast router port.

show mac address-table multicast

Displays the Layer 2 multicast entries for a VLAN.


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.

| 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 first 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

Vlan    ports
----    -----
   1    Fa0/2(static), Fa0/3(dynamic) 

Related Commands

Command
Description

ip igmp snooping

Enables IGMP snooping.

ip igmp snooping vlan

Enables IGMP snooping on the VLAN interface.

ip igmp snooping vlan immediate-leave

Configures IGMP Immediate-Leave processing.

ip igmp snooping vlan mrouter

Configures a Layer 2 port as a multicast router port.

show mac address-table multicast

Displays the Layer 2 multicast entries for a VLAN.



show lacp

Use the show lacp user EXEC command to display Link Aggregation Control Protocol (LACP) channel-group information.

show lacp {channel-group-number {counters | internal | neighbor} | {counters | internal | neighbor | sys-id }} [ | {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.

sys-id

Display the system identifier that is being used by LACP. The system identifier is made up of the LACP system priority and a MAC address.

| 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(12c)EA1

This command was first introduced.


Usage Guidelines

You can enter any show lacp command to display the active port-channel information. To display the nonactive information, enter the show lacp 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 lacp counters command:

Switch> show lacp counters
LACPDUs         Marker      Marker Response    LACPDUs
Port       Sent   Recv     Sent   Recv     Sent   Recv      Pkts Err
---------------------------------------------------------------------
Channel group:1
Fa0/5      19     10       0      0        0      0         0     
Fa0/6      14     6        0      0        0      0         0     
Fa0/7      8      7        0      0        0      0         0 

This is an example of output from the show lacp 1 internal command:

Switch> show lacp internal 
Flags: S - Device is sending Slow LACPDUs F - Device is sending Fast LACPDUs
        A - Device is in Active mode       P - Device is in Passive mode     
Channel group 1
                            LACP port     Admin     Oper    Port     Port
Port      Flags   State     Priority      Key       Key     Number   State
Fa0/5     SP      indep     32768         0x1       0x1     0x4      0x7C  
Fa0/6     SP      indep     32768         0x1       0x1     0x5      0x7C  
Fa0/7     SP      down      32768         0x1       0x1     0x6      0xC 

This is an example of output from the show lacp neighbor command:

Switch> show lacp neighbor

Flags: S - Device is sending Slow LACPDUs F - Device is sending Fast LACPDUs
        A - Device is in Active mode       P - Device is in Passive mode     
Channel group 1 neighbors
Partner's information:
          Partner               Partner                     Partner
Port      System ID             Port Number     Age         Flags
Fa0/5     00000,0000.0000.0000  0x0             85947s        SP
          LACP Partner         Partner         Partner
          Port Priority        Oper Key        Port State
          0                    0x0             0x0 

Partner's information:
          Partner               Partner                     Partner
Port      System ID             Port Number     Age         Flags
Fa0/6     00000,0000.0000.0000  0x0             86056s        SP
          LACP Partner         Partner         Partner
          Port Priority        Oper Key        Port State
          0                    0x0             0x0 
Partner's information:
          Partner               Partner                     Partner
Port      System ID             Port Number     Age         Flags
Fa0/7     00010,0008.a343.b580  0x6             86032s        SA
          LACP Partner         Partner         Partner
          Port Priority        Oper Key        Port State
          32768                0x1             0x35

This is an example of output from the show lacp sys-id command:

Switch> show lacp sys-id 
32765,0002.4b29.3a00

Related Commands

Command
Description

clear lacp

Clears LACP channel-group information.


show lre upgrade

show lre upgrade {binaries | status | version} [ | {begin | exclude | include} expression]

This command is available only on Catalyst 2950 LRE switches.

Syntax Description

binaries

Display the LRE binaries present on the system Flash memory.

status

Display the upgrade status on all ports in the switch.

version

Display the version of binaries on local and remote ends of an 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

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.

None—An upgrade is not in progress.

Pending—An upgrade is initialized, but transfer has not begun.

Active—Data transfer is in progress.

Cmplt—An upgrade is complete.

The device family. A device family could be an LRE switch or a 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.

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 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

This example shows the status of an upgrade after it starts, but before the data transfer begins:

Switch# show lre upgrade status
Lo0/1:
   lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
   Status:Pending
   rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
   Status:Pending
Lo0/2:
   lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
   Status:Pending
   rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
   Status:Pending
Lo0/3:
   lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
   Status:Pending
   rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
   Status:Pending
Lo0/4:
   lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
   Status:Pending
   rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
   Status:Pending

<output truncated>

This example shows the status of an upgrade after data transfer is in progress.

Switch# show lre upgrade status
Lo0/1:
   lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
   Status:Pending
   rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
   Status:Active
   10 HHMM:0000, Attempt:001
Lo0/2:
   lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
   Status:Pending
   rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
   Status:Active
   09 HHMM:0000, Attempt:001
Lo0/3:
   lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00
   Status:Pending
   rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00
   Status:Active
   22 HHMM:0000, Attempt:001
Lo0/4:
   lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00

<output truncated>

This example shows output from the show lre upgrade version command:

Switch# show lre upgrade version

Lo0/1:
   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
Lo0/2:
   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
Lo0/3:
   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
Lo0/4:
   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
Lo0/5:
   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

<output truncated>

Related Commands

Command
Description

show lre upgrade

Displays the upgrade status on all ports in the switch or the versions of binaries on local and remote ends on all ports.


show mac access-group

Use the show mac access-group user EXEC command to display the MAC access control lists (ACLs) configured for an interfa