Table Of Contents
sdm prefer
service-policy
set
setup
show access-lists
show boot
show changes
show class-map
show cluster
show cluster candidates
show cluster members
show current
show env
show errdisable recovery
show etherchannel
show fm interface
show fm label
show fm vlan
show forward
show interface
show interface counters
show ip igmp snooping
show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table static
show mac-address-table vlan
show mls qos
show mls qos aggregate-policer
show mls qos interface
show mls qos maps
show mvr
show mvr interface
show mvr members
show pagp
show policy-map
show port led
show proposed
show rps
show sdm prefer
show spanning-tree
show udld
show version
show vlan
show vlan access-map
show vlan filter
show vmps
show vtp
shutdown
shutdown vlan
snmp-server enable traps
snmp-server host
spanning-tree backbonefast
spanning-tree cost
spanning-tree guard
spanning-tree port-priority
spanning-tree portfast
spanning-tree portfast bpduguard
spanning-tree stack-port
spanning-tree uplinkfast
spanning-tree vlan
speed
standby mac-address
switchport
switchport access
switchport block
switchport broadcast
switchport mode
switchport multicast
switchport nonegotiate
switchport protected
switchport trunk
switchport unicast
2
sdm prefer
Use the sdm prefer global configuration command to configure the template used in Switch Database Management (SDM) resource allocation. A template allows you to allocate system memory to best support the features being used in your application. It allows you to approximate the maximum number of unicast MAC addresses, Internet Group Management Protocol (IGMP) groups, quality of service (QoS) access control lists (ACLs), security ACLs, unicast routes, multicast routes, subnet VLANs (routed interfaces), and Layer 2 VLANs that can be configured on the switch. Use the no form of the command without keywords to return to the default settings.
sdm prefer {access | default | routing | vlan}
no sdm prefer
Syntax Description
access
|
Provide maximum system utilization for multicast traffic, QoS classification ACLs, and security ACLs, typical for an access switch at the network edge.
|
default
|
Provide balanced system utilization for unicast MAC addresses, IGMP groups, QoS ACLs, security ACLs, unicast and multicast routes, routed interfaces, and Layer 2 VLANs.
|
routing
|
Provide maximum system utilization for unicast routing, minimizing QoS classification ACLs and security ACLs, typical for a router or aggregator in the middle of a network.
|
vlan
|
Provide maximum system utilization for VLANs, with routing disabled. This template maximizes system memory for use as a Layer 2 switch with no routing.
|
Defaults
The default template provides a balance to all features.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
The switch must reload for the configuration to take effect.
Table 2-10 lists the approximate number of each resource supported in each of the four templates. The actual number of supported resources might vary, depending on the actual number of other features configured. For example, in the default template, if your switch had more than 16 routed interfaces (subnet VLANs), the number of possible unicast MAC addresses might be less than 6000.
The first six rows in the table (unicast MAC addresses through multicast routes) represent hardware boundaries set when a template is selected. If a section of a hardware resource is full, all processing overflow is sent to the CPU, seriously impacting switch performance.
The last two rows, the total number of routed ports and SVIs and the number of Layer 2 VLANs, are guidelines used to calculate hardware resource consumption related to the other resource parameters. If the number of subnet VLANs or Layer 2 VLANs are greater than shown in the table, hardware resources might be used up before the other limits shown in the table are reached. This results in poor performance because overflows are always sent to the switch CPU.
Table 2-10 Approximate Number of Feature Resources Allowed by Each Template
Resource
|
Default Template
|
Access Template
|
Routing Template
|
VLAN Template
|
Unicast MAC addresses
|
6 K
|
2 K
|
6 K
|
12 K
|
IGMP groups managed by Layer 2 multicast features such as MVR and IGMP snooping
|
6 K
|
8 K
|
6 K
|
6 K
|
QoS ACLs
|
2 K
|
2 K
|
1 K
|
2 K
|
Security ACLs
|
2 K
|
4 K
|
1 K
|
2 K
|
Unicast routes
|
12 K
|
4 K
|
24 K
|
0
|
Multicast routes
|
6 K
|
7 K
|
6 K
|
0
|
Subnet VLANs (routed ports and SVIs)
|
16
|
16
|
16
|
16
|
Layer 2 VLANs
|
256
|
256
|
256
|
1 K
|
Examples
The following example shows how to configure the routing template on the switch:
Switch(config)# sdm prefer routing
The following example shows how to remove the routing template and use the default template:
Switch(config)# no sdm prefer routing
Related Commands
Command
|
Description
|
show sdm prefer
|
Displays the current SDM template in use or displays the templates that can be used, with approximate resource allocation per feature.
|
service-policy
Use the service-policy interface configuration command to apply a policy map defined by the policy-map command to the input or output of a particular interface. Use the no form of this command to remove the policy map and interface association.
service-policy {history | input policy-map-name | output policy-map-name}
no service-policy {history | input policy-map-name | output policy-map-name}
Syntax Description
history
|
Keep history of quality of service (QoS) metrics.
|
input policy-map-name
|
Apply the specified policy-map to the input of an interface.
|
output policy-map-name
|
Apply the specified policy-map to the output of an interface.
|
Defaults
No policy maps are attached to the interface.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
Only one policy map per interface per direction is supported.
You cannot attach policy maps that contain set or trust policy-map class configuration commands or that have an access control list (ACL) classification to an egress interface by using the service-policy interface configuration command.
Examples
The following example shows how to apply plcmap1 to an ingress interface:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy input plcmap1
The following example shows how to apply plcmap2 to an egress interface:
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# service-policy output plcmap2
The following example shows how to detach plcmap2 from an interface2:
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# no service-policy input plcmap2
You can verify the previous commands by entering the show running-config 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) or IP-precedence value in the packet. Use the no form of this command to remove traffic classification.
set {ip dscp new-dscp | ip precedence new-precedence}
no set {ip dscp new-dscp | ip precedence new-precedence}
Syntax Description
ip dscp new-dscp
|
New DSCP value assigned to the classified traffic. The range is 0 to 63.
|
ip precedence new-precedence
|
New IP-precedence value assigned to the classified traffic. The range is 0 to 7.
|
Defaults
No traffic classification is defined.
Command Modes
Policy-map class configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
The set command is mutually exclusive with the trust command within the same policy map.
You cannot attach policy maps that contain set or trust policy-map class configuration commands or that have an access control list (ACL) classification to an egress interface by using the service-policy interface configuration command.
If your switch is running the Layer 3 image, the set command is not supported with the sdm prefer vlan global configuration command. IP routing is required for the set command with the Layer 3 image, but IP routing cannot be enabled for this template.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command.
Examples
The following example shows how to assign DSCP 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 the previous commands by entering the show policy-map user 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.
|
trust
|
Defines a trust state for traffic classified by the class or the class-map command.
|
setup
Use the setup privileged EXEC command to configure the switch with its initial configuration.
setup
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
When you use the setup command, make sure that you have this information:
•
IP address and network mask
•
Password strategy for your environment
•
Whether the switch will be used as the command switch in a cluster and the cluster name
When you enter the setup command, an interactive dialog, called the System Configuration Dialog, appears. It guides you through the configuration process and prompts you for information. The values shown in brackets next to each prompt are the default values last set by using either the setup command facility or the configure privileged EXEC command.
Help text is provided for each prompt. To access help text, press the question mark (?) key at a prompt.
To return to the privileged EXEC prompt without making changes and without running through the entire System Configuration Dialog, press Ctrl-C.
When you complete your changes, the setup program shows you the configuration command script that was created during the setup session. You can save the configuration in nonvolatile RAM (NVRAM), return to the setup program without saving, or return to the command-line prompt without saving the configuration.
Examples
The following is sample output from the setup command
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: yes
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system.
Would you like to enter basic management setup? [yes/no]: yes
Configuring global parameters:
Enter host name [Switch]:host-name
The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: enable-secret-password
The enable password is used when you do not specify an
enable secret password, with some older software versions, and
Enter enable password: enable-password
The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: terminal-password
Configure SNMP Network Management? [no]: yes
Community string [public]:
Current interface summary
Any interface listed with OK? value "NO" does not have a valid configuration
Interface IP-Address OK? Method Status Protocol
Vlan1 172.20.135.202 YES NVRAM up up
GigabitEthernet0/1 unassigned YES unset up up
GigabitEthernet0/2 unassigned YES unset up down
GigabitEthernet0/3 unassigned YES unset administratively down down
GigabitEthernet0/4 unassigned YES unset up down
GigabitEthernet0/5 unassigned YES NVRAM up down
GigabitEthernet0/6 unassigned YES NVRAM up down
GigabitEthernet0/7 unassigned YES unset up down
GigabitEthernet0/8 unassigned YES unset up down
GigabitEthernet0/9 unassigned YES unset administratively down down
GigabitEthernet0/10 10.1.2.3 YES NVRAM up down
GigabitEthernet0/11 unassigned YES unset up down
GigabitEthernet0/12 unassigned YES unset up down
Port-channel1 unassigned YES unset up down
Enter interface name used to connect to the
management network from the above interface summary: vlan1
Configuring interface vlan1:
Configure IP on this interface? [yes]: yes
IP address for this interface: 10.4.120.106
Subnet mask for this interface [255.0.0.0]: 255.255.255.0
Would you like to enable as a cluster command switch? [yes/no]: yes
Enter cluster name: cluster-name
The following configuration command script was created:
enable secret 5 $1$LiBw$0Xc1wyT.PXPkuhFwqyhVi0
enable password enable-password
password terminal-password
snmp-server community public
interface GigabitEthernet0/1
interface GigabitEthernet0/2
interface GigabitEthernet0/12
cluster enable cluster-name
Use this configuration? [yes/no]: yes
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Enter your selection [2]:
Related Commands
Command
|
Description
|
show running-config
|
Displays the running configuration on the switch.
|
show version
|
Displays version information for the hardware and firmware.
|
show access-lists
Use the show access-lists privileged EXEC command to display router access control lists (ACLs) configured on the switch.
show access-lists [name| number | hardware counters] [ | {begin | exclude | include} expression]
Syntax Description
name
|
(Optional) Name of the ACL.
|
number
|
(Optional) ACL number. The range is from 1 to 2699.
|
hardware counters
|
(Optional) Display global hardware ACL statistics for switched and routed packets.
|
| 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(4)EA1
|
This command was first introduced.
|
Usage Guidelines
The Catalyst 3550 multilayer switch supports only IP standard and extended access lists. Therefore, the only allowed numbers are 1 to 199 and 1300 to 2699.
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
The following is sample output from the show access-lists command:
Switch# show access-lists
Standard IP access list 13
Standard IP access list permit Any
Extended IP access list 101
permit icmp any any conversion-error
permit 234 host 172.30.40.1 host 123.23.23.2
Extended IP access list 102
permit eigrp any any tos min-monetary-cost
Extended IP access list 103
permit icmp any any 40 60
Extended IP access list CMP-NAT-ACL
Dynamic Cluster-NAT permit ip any any
Extended MAC access list abc2
permit host 1100.bb00.00cc host 2234.0123.2345
Related Commands
Command
|
Description
|
access list
|
Configures a standard or extended numbered access list on the switch.
|
ip access list
|
Configures a named IP access list on the switch.
|
mac access-list extended
|
Configures a named or numbered MAC access list on the 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(4)EA1
|
This command was first introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
The following is sample output from the show boot command. Table 2-11 describes each field in the display.
BOOT path-list: flash:c3550-i5q3l2-mz-121.4.EA1/c3550-i5q3l2-mz-121.4.EA1.bin
Config file: flash:config.text
Table 2-11 show boot Field Descriptions
Field
|
Description
|
BOOT path-list
|
Displays a semicolon separated list of executable files to try to load and 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.
|
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 buffersize
|
Specifies the size of the file system-simulated NVRAM in Flash memory.
|
boot config-file
|
Specifies the filename that IOS uses to read and write a nonvolatile copy of the system configuration.
|
boot enable-break
|
Enables interrupting the automatic boot process.
|
boot manual
|
Enables manually booting the switch during the next boot cycle.
|
boot system
|
Specifies the IOS image to load during the next boot cycle.
|
show changes
Use the show changes VLAN configuration command to display the differences between the virtual LAN (VLAN) database currently on the switch and the proposed VLAN database. You can also display the differences between the two for a selected VLAN.
show changes [vlan-id]
Syntax Description
vlan-id
|
(Optional) ID of the VLAN in the current or proposed database. If this variable is omitted, all the differences between the two VLAN databases are displayed, including the pruning state and Version 2 mode. Valid IDs are from 1 to 1005; do not enter leading zeroes.
|
Command Modes
VLAN configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Examples
The following is sample output from the show changes command. It displays the differences between the current and proposed databases.
Switch(vlan)# show changes
Current State: Operational
Modified State: Suspended
The following is sample output from the show changes 7 command. It displays the differences between VLAN 7 in the current database and the proposed database.
Switch(vlan)# show changes 7
Current State: Operational
Modified State: Suspended
Related Commands
Command
|
Description
|
show current
|
Displays the current VLAN database on the switch or a selected VLAN from it.
|
show proposed
|
Displays the proposed VLAN database or a selected VLAN from it.
|
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]
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(4)EA1
|
This command was first introduced.
|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
The following is sample output from the show class-map command:
Switch# show class-map class1
Class Map match-any class1 (id 4)
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 (access control lists [ACLs], IP precedence, or IP Differentiated Services Code Point [DSCP] values) to classify traffic.
|
show cluster
Use the show cluster user 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
User EXEC
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
If the switch is not a command switch or a member switch, the command displays an empty line at the prompt.
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 is displayed.
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
The following is sample output when this command is executed on the active command switch:
Command switch for cluster "Ajang"
Total number of members: 7
Status: 1 members are unreachable
Time since last status change: 0 days, 0 hours, 2 minutes
Standby command switch: Member 1
Standby Group: Ajang_standby
Standby Group Number: 110
Extended discovery hop count: 3
The following is sample output when this command is executed on a member switch:
Member switch for cluster "hapuna"
Management IP address: 192.192.192.192
Command switch mac address: 0000.0c07.ac14
The following is sample output when this command is executed on a member switch that is configured as the standby command switch:
Member switch for cluster "hapuna"
Member number: 3 (Standby command switch)
Management IP address: 192.192.192.192
Command switch mac address: 0000.0c07.ac14
The following is sample output when this command is executed on the command switch that is separated from member 1:
Command switch for cluster "Ajang"
Total number of members: 7
Status: 1 members are unreachable
Time since last status change: 0 days, 0 hours, 5 minutes
Extended discovery hop count: 3
The following is sample output when this command is executed on a member switch that is separated from the command switch:
Member switch for cluster "hapuna"
Management IP address: 192.192.192.192
Command switch mac address: 0000.0c07.ac14
Related Commands
Command
|
Description
|
cluster enable
|
Enables a command-capable switch as the cluster command switch, assigns a cluster name, and optionally assigns a member number to it.
|
show cluster candidates
|
Displays a list of candidate switches.
|
show cluster members
|
Displays information about the cluster members.
|
show cluster candidates
Use the show cluster candidates user 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) MAC address of the cluster candidate.
|
| 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(4)EA1
|
This command was first introduced.
|
Usage Guidelines
You should enter this command only 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 display means switch member number. If E is displayed in the SN column, it means that the switch is discovered through extended discovery. 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 are not displayed, but the lines that contain Output are displayed.
Examples
The following is sample output from the show cluster candidates command:
Switch# show cluster candidates
MAC Address Name Device Type PortIf FEC Hops SN PortIf FEC
00d0.7961.c4c0 StLouis-2 WS-C3550-12T Gi0/1 2 1 Fa0/11
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 Surfers-24 WS-C2924-XL Fa0/5 1 0 Fa0/3
00e0.1e9f.8c00 Surfers-12-2 WS-C2912-XL Fa0/4 1 0 Fa0/7
00e0.1e9f.8c40 Surfers-12-1 WS-C2912-XL Fa0/1 1 0 Fa0/9
The following is sample 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 'Tahiti-12' with mac address number 00d0.7961.c4c0
Device type: cisco WS-C3512-XL
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
The following is sample 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 'Ventura' with mac address number 0010.7bb6.1cc0
Device type: cisco WS-C2912MF-XL
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: -
The following is sample output from the show cluster candidates detail command:
Switch# show cluster candidates detail
Device 'Tahiti-12' with mac address number 00d0.7961.c4c0
Device type: cisco WS-C3512-XL
Upstream MAC address: 00d0.796d.2f00 (Cluster Member 1)
Local port: Fa0/3 FEC number:
Upstream port: Fa0/13 FEC Number:
Hops from cluster edge: 1
Hops from command device: 2
Device '1900_Switch' with mac address number 00e0.1e7e.be80
Upstream MAC address: 00d0.796d.2f00 (Cluster Member 2)
Local port: 3 FEC number: 0
Upstream port: Fa0/11 FEC Number:
Hops from cluster edge: 1
Hops from command device: 2
Device 'Surfers-24' 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 user 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 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(4)EA1
|
This command was first introduced.
|
Usage Guidelines
You should enter this command only 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 are not displayed, but the lines that contain Output are displayed.
Examples
The following is sample output from the show cluster members command. The SN in the display means switch number.
Switch# show cluster members
SN MAC Address Name PortIf FEC Hops SN PortIf FEC State
0 0002.4b29.2e00 StLouis1 0 Up (Cmdr)
1 0030.946c.d740 tal-switch-1 Fa0/13 1 0 Gi0/1 Up
2 0002.b922.7180 nms-2820 10 0 2 1 Fa0/18 Up
3 0002.4b29.4400 SanJuan2 Gi0/1 2 1 Fa0/11 Up
4 0002.4b28.c480 GenieTest Gi0/2 2 1 Fa0/9 Up
5 00b0.6404.f8c0 Palpatine Gi2/1 1 0 Gi0/7 Up
The following is sample output from the show cluster members 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
The following is sample output from the show cluster members detail command:
Switch# show cluster members detail
Device 'StLouis1' with member number 0 (Command Switch)
Device type: cisco WS-C3550-12T
MAC address: 0002.4b29.2e00
Upstream port: FEC Number:
Hops from command device: 0
Device 'tal-switch-14' with member number 1
Device type: cisco WS-C3548-XL
MAC address: 0030.946c.d740
Upstream MAC address: 0002.4b29.2e00 (Cluster member 0)
Local port: Fa0/13 FEC number:
Upstream port: Gi0/1 FEC Number:
Hops from command device: 1
Device 'nms-2820' with member number 2
MAC address: 0002.b922.7180
Upstream MAC address: 0030.946c.d740 (Cluster member 1)
Local port: 10 FEC number: 0
Upstream port: Fa0/18 FEC Number:
Hops from command device: 2
Device 'SanJuan2' with member number 3
Device type: cisco WS-C3550-12T
MAC address: 0002.4b29.4400
Upstream MAC address: 0030.946c.d740 (Cluster member 1)
Local port: Gi0/1 FEC number:
Upstream port: Fa0/11 FEC Number:
Hops from command device: 2
Device 'GenieTest' 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 current
Use the show current VLAN configuration command to display the current virtual LAN (VLAN) database on the switch or a selected VLAN from it.
show current [vlan-id]
Syntax Description
vlan-id
|
(Optional) ID of the VLAN in the current database. If this variable is omitted, the entire VLAN database displays, included the pruning state and Version 2 mode. Valid IDs are from 1 to 1005; do not enter leading zeroes.
|
Command Modes
VLAN configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Examples
The following is sample output from the show current command. It displays the current VLAN database.
Switch(vlan)# show current
Translational Bridged VLAN: 1002
Translational Bridged VLAN: 1003