Catalyst 2950 Desktop Switch Command Reference, 12.1(11)YJ4
Cisco IOS Commands - s

Table Of Contents

service-policy

set

show access-lists

show boot

show class-map

show cluster

show cluster candidates

show cluster members

show controllers ethernet-controller

show controllers lre cpe identity

show controllers lre cpe mfg

show controllers lre cpe protected

show controllers lre cpe version

show controllers lre interface-id actual

show controllers lre interface-id admin

show controllers lre link monitor errors

show controllers lre link monitor parameters

show controllers lre link monitor statistics

show controllers lre log

show controllers lre log level

show controllers lre profile names

show controllers lre profile details

show controllers lre sequence

show controllers lre status

show controllers lre version

show dot1x

show env

show errdisable recovery

show etherchannel

show file

show interfaces

show interfaces counters

show ip access-lists

show ip igmp snooping

show ip igmp snooping mrouter

show lre upgrade binaries

show lre upgrade status

show lre upgrade version

show mac access-group

show mac address-table

show mac address-table multicast

show mac address-table notification

show mls masks

show mls qos interface

show mls qos maps

show monitor

show mvr

show mvr interface

show mvr members

show pagp

show policy-map

show port-security

show rps

show running-config vlan

show spanning-tree

show storm-control

show system mtu

show udld

show version

show vlan

show vmps

show vtp

show wrr-queue bandwidth

show wrr-queue cos-map

shutdown

shutdown vlan

snmp-server enable traps

snmp-server host

snmp trap mac-notification

spanning-tree backbonefast

spanning-tree bpdufilter

spanning-tree bpduguard

spanning-tree cost

spanning-tree extend system-id

spanning-tree guard

spanning-tree link-type

spanning-tree loopguard default

spanning-tree mode

spanning-tree mst configuration

spanning-tree mst cost

spanning-tree mst forward-time

spanning-tree mst hello-time

spanning-tree mst max-age

spanning-tree mst max-hops

spanning-tree mst port-priority

spanning-tree mst priority

spanning-tree mst root

spanning-tree port-priority

spanning-tree portfast (global configuration)

spanning-tree portfast (interface configuration)

spanning-tree stack-port

spanning-tree uplinkfast

spanning-tree vlan

speed

storm-control

switchport access

switchport mode

switchport nonegotiate

switchport port-security

switchport port-security aging

switchport priority extend

switchport protected

switchport trunk

switchport voice vlan

system mtu


2

service-policy

Use the service-policy interface configuration command to apply a policy map defined by the policy-map command to the input of a particular interface. Use the no form of this command to remove the policy map and interface association.

service-policy input policy-map-name

no service-policy input policy-map-name

This command is available only if your switch is running the enhanced software image (EI).

Syntax Description

policy-map-name

Apply the specified policy map to the input of an interface.


Defaults

No policy maps are attached to the interface.

Command Modes

Interface configuration

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

Only one policy map per ingress interface is supported.

Service policy maps cannot be defined on egress interfaces.


Note For more information about configuring access control lists (ACLs), refer to the "Configuring Network Security with ACLs" chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release.


Examples

This example shows how to apply plcmap1 to an ingress interface:

Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy input plcmap1

You can verify your settings by entering the show policy-map privileged EXEC command.

Related Commands

Command
Description

policy-map

Creates or modifies a policy map that can be attached to multiple interfaces to specify a service policy.

show policy-map

Displays quality of service (QoS) policy maps.


set

Use the set policy-map class configuration command to classify IP traffic by setting a Differentiated Services Code Point (DSCP) value. Use the no form of this command to remove traffic classification.

set ip dscp new-dscp

no set ip dscp new-dscp

This command is available only if your switch is running the enhanced software image (EI).

Syntax Description

new-dscp

New DSCP value assigned to the classified traffic.

The supported DSCP values are 0, 8, 10, 16, 18, 24, 26, 32, 34, 40, 46, 48, and 56.


Defaults

No traffic classification is defined.

Command Modes

Policy-map class configuration

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

The set command can be used in a policy with a match command.

The set command sets the DSCP value for in-profile packets.


Note This command does not support IP precedence.


To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command.


Note For more information about configuring access control lists (ACLs), refer to the "Configuring Network Security with ACLs" chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release.


Examples

This example shows to assign a DSCP value of 10 to all FTP traffic without any policers:

Switch(config)# policy-map policy_ftp
Switch(config-pmap)# class ftp_class
Switch(config-pmap-c)# set ip dscp 10
Switch(config-pmap)# exit

You can verify your settings by entering the show policy-map privileged EXEC command.

Related Commands

Command
Description

police

Defines a policer for classified traffic.

policy-map

Creates or modifies a policy map that can be attached to multiple interfaces to specify a service policy.

show policy-map

Displays quality of service (QoS) policy maps.


show access-lists

Use the show access-lists privileged EXEC command to display access control lists (ACLs) configured on the switch.

show access-lists [name | number] [ | {begin | exclude | include} expression]

Syntax Description

name

(Optional) Name of the ACL.

number

(Optional) ACL number. The range is from 1 to 2699.

| begin

(Optional) Display begins with the line that matches the expression.

| exclude

(Optional) Display excludes lines that match the expression.

| include

(Optional) Display includes lines that match the specified expression.

expression

Expression in the output to use as a reference point.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.

Examples

This is an example of output from the show access-lists command:

Switch# show access-lists
Standard IP access list testingacl
    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 boot

Use the show boot privileged EXEC command to display the settings of the boot environment variables.

show boot [ | {begin | exclude | include} expression]

Syntax Description

| begin

(Optional) Display begins with the line that matches the expression.

| exclude

(Optional) Display excludes lines that match the expression.

| include

(Optional) Display includes lines that match the specified expression.

expression

Expression in the output to use as a reference point.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(11)EA1

This command was introduced.


Usage Guidelines

Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.

Examples

This example shows output from the show boot command. Table 2-5 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-5 show boot Field Descriptions

Field
Description

BOOT path-list

Displays a semicolon-separated list of executable files to load and to execute when automatically booting.

If the BOOT environment variable is not set, the system attempts to load and execute the first executable image it can find by using a recursive, depth-first search through the Flash file system. In a depth-first search of a directory, each encountered subdirectory is completely searched before continuing the search in the original directory.

If the BOOT variable is set but the specified images cannot be loaded, the system attempts to boot the first bootable file that it can find in the Flash file system.

Config file

Displays the filename that IOS uses to read and write a nonvolatile copy of the system configuration.

Private Config file

Displays the filename that IOS uses to read and write a nonvolatile copy of the private configuration.

Enable Break

Displays whether a break during booting is enabled or disabled. If it is set to yes, on, or 1, you can interrupt the automatic boot process by pressing the Break key on the console after the Flash file system is initialized.

Manual Boot

Displays whether the switch automatically or manually boots. If it is set to no or 0, the boot loader attempts to automatically boot the system. If it is set to anything else, you must manually boot the switch from the boot loader mode.

Helper path-list

Displays a semicolon-separated list of loadable files to dynamically load during the boot loader initialization. Helper files extend or patch the functionality of the boot loader.

NVRAM/Config file buffer size

Displays the buffer size that IOS uses to hold a copy of the configuration file in memory. The configuration file cannot be larger than the buffer size allocation.


Related Commands

Command
Description

boot private-config-file

Specifies the filename that IOS uses to read and write a nonvolatile copy of the private configuration.


show class-map

Use the show class-map user EXEC command to display quality of service (QoS) class maps, which define the match criteria to classify traffic.

show class-map [class-map-name] [ | {begin | exclude | include} expression]

This command is available only if your switch is running the enhanced software image (EI).

Syntax Description

class-map-name

(Optional) Display the contents of the specified class map.

| begin

(Optional) Display begins with the line that matches the expression.

| exclude

(Optional) Display excludes lines that match the expression.

| include

(Optional) Display includes lines that match the specified expression.

expression

Expression in the output to use as a reference point.


Command Modes

User EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

If you do not specify a class-map-name, all class maps appear.

Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.

Examples

This is an example of output from the show class-map test command:

Switch> show class-map test
 Class Map match-all test (id 2)
   Match access-group name testingacl

This is an example of output from the show class-map command:

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

| exclude

(Optional) Display excludes lines that match the specified expression.

| include

(Optional) Display includes lines that match the specified expression.

expression

Expression in the output to use as a reference point.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.0(5.2)WC(1)

This command was introduced.


Usage Guidelines

On a member switch, this command displays the identity of the command switch, the switch member number, and the state of its connectivity with the command switch.

On a command switch, this command displays the cluster name and the total number of members. It also shows the cluster status and time since the status changed. If redundancy is enabled, it displays the primary and secondary command-switch information.

If you enter this command on a switch that is not a cluster member, the error message Not a management cluster member appears.

Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.

Examples

This is an example of output when this command is entered on the active command switch:

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 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 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 to display the Ethernet link send and receive statistics on a Fast Ethernet or Long-Reach Ethernet (LRE) port.

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

Syntax Description

interface-id

(Optional) ID of the Fast Ethernet or LRE port.

cpe

(Optional) Display both LRE and all Fast Ethernet ports on connected devices.

port

(Optional) CPE port keywords display the Ethernet statistics of the designated customer premises equipment (CPE) Ethernet port.

port-id

CPE Ethernet port identifier. Valid values vary from 1 to 4, depending on CPE device.

| begin

(Optional) Display begins with the line that matches the specified expression.

| exclude

(Optional) Display excludes lines that match the specified expression.

| include

(Optional) Display includes lines that match the specified expression.

expression

Expression in the output to use as a reference point.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(11)YJ

This command was introduced.


Usage Guidelines

Using the show controllers ethernet-controller command without specifying a Fast Ethernet or LRE port displays the Ethernet link statistics of all Ethernet ports on the switch. The output shows the internal switch statistics, the statistics collected by the LRE interface on the switch, and if the CPE option is specified, the statistics collected by the LRE interface on the connected customer premises equipment (CPE) devices.

The CPE Ethernet link on a switch LRE port is the connection between the Cisco LRE CPE and the remote Ethernet device (such as a PC) connected to it. It is not the link between the switch LRE port and the LRE CPE device.

Examples

This is an example of output from the show controllers ethernet-controller command on Long-Reach Ethernet port 2:


Switch# show controllers ethernet-controller lo0/2

  Transmit                           Receive
  18230744 Bytes                      901461 Bytes                    
      9014 Unicast frames                 40 Unicast frames           
     55624 Multicast frames             1249 Multicast frames         
       285 Broadcast frames                0 Broadcast frames         
         0 Discarded frames                0 No bandwidth frames      
         0 Too old frames                  0 No buffers frames        
         0 Deferred frames              7456 No dest, unicast         
         0  1 collision frames             0 No dest, multicast       
         0  2 collision frames             0 No dest, broadcast       
         0  3 collision frames             0 Alignment errors         
         0  4 collision frames             0 FCS errors               
         0  5 collision frames             0 Collision fragments      
         0  6 collision frames 
         0  7 collision frames             0 Undersize frames         
         0  8 collision frames          7473 Minimum size frames      
         0  9 collision frames            25 65 to 127 byte frames    
         0 10 collision frames             0 128 to 255 byte frames   
         0 11 collision frames          1247 256 to 511 byte frames   
         0 12 collision frames             0 512 to 1023 byte frames  
         0 13 collision frames             0 1024 to 1518 byte frames 
         0 14 collision frames             0 Oversize frames          
         0 15 collision frames 
         0 Excessive collisions
         0 Late collisions 

LRE Enet Stats on Switch:

    592145 Bytes                      114825 Bytes               
      7107 Frames                       1116 Frames              
                                          26 Broadcast frames    
         0 Pause frames                    0 Pause frames        
       128 1 collision frames              0 Alignment errors    
         0 Multiple collisions             0 Collisions and Runts
         0 Late collisions                 0 Oversize frames     
         0 Excessive collisions            0 FCS errors          
         0 Deferred frames     
         0 Carrier sense errors


This is an example of output from the Ethernet statistics of the LRE chipset and all the LRE Ethernet ports on the CPE device:


Switch# show controllers ethernet-controller lo0/5 cpe

Transmit                           Receive
LRE Enet Stats on CPE:

    592145 Bytes                      114825 Bytes               
      7108 Frames                       1116 Frames              
                                           0 Broadcast frames    
         0 Pause frames                    0 Pause frames        
       177 1 collision frames              0 Alignment errors    
         0 Multiple collisions             2 Collisions and Runts
         0 Late collisions                 0 Oversize frames     
         0 Excessive collisions            0 FCS errors          
         0 Deferred frames     
         0 Carrier sense errors

CPE Fast Ethernet Port: 1
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

CPE Fast Ethernet Port: 2
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

CPE Fast Ethernet Port: 3
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

CPE Fast Ethernet Port: 4
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

This is an example of output of the Ethernet statistics from port 3 on the CPE device:

Switch# show controllers ethernet-controller lo0/5 cpe port 3

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

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.


show controllers lre cpe identity

Use the show controllers lre cpe identity privileged EXEC command to display the model numbers of the Long-Reach Ethernet (LRE) customer premises equipment (CPE) devices connected to the LRE switch. This command also shows whether or not the connected CPE devices meet the minimum requirements for management by the LRE switch.

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

Syntax Description

interface-id

(Optional) ID of the switch LRE port.

| begin

(Optional) Display begins with the line that matches the specified expression.

| exclude

(Optional) Display excludes lines that match the specified expression.

| include

(Optional) Display includes lines that match the specified expression.

expression

Expression in the output to use as a reference point.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(11)YJ

This command was introduced.


Usage Guidelines

This command shows the type of CPE device attached to each LRE interface. For all Cisco supported CPE devices, the status can be certified, non-certified, or NA:

A certified status means that the CPE device meets the minimum requirements (such as having a certain CPE device patch version) for management by the LRE switch.

A non-certified status means that the CPE device did not meet the minimum requirements. If a CPE device shows a status of non-certified, or if the family is not a Cisco 585 LRE CPE, Cisco 576 LRE 997 CPE, or a Cisco 575 LRE CPE, use the show controllers lre cpe mfg command to verify the validity of the CPE manufacturing fields.

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

Using the show controllers lre cpe identity command without specifying a switch LRE port displays the model numbers and status of all connected CPE devices.

Examples

This is an example of output from the show controllers lre cpe identity command 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