Cisco ME 3800X and ME 3600X Switch Command Reference Cisco IOS Release 15.2(2)S May 2012 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
CONTENTS Preface xiii Audience Purpose xiii xiii Conventions xiv Related Publications xiv Obtaining Documentation and Submitting a Service Request CHAPTER 1 Using the Command-Line Interface xv 1-1 CLI Command Modes 1-1 User EXEC Mode 1-2 Privileged EXEC Mode 1-3 Global Configuration Mode 1-3 Interface Configuration Mode 1-4 VLAN Configuration Mode 1-4 Line Configuration Mode 1-4 CHAPTER 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands 2-1 action 2-1 aggregate interval 2-2 aggrega
Contents channel-protocol class 2-27 2-28 class-map clear ipc 2-30 2-32 clear lacp 2-33 clear logging onboard 2-34 clear mac address-table clear pagp 2-35 2-37 clear rep counters 2-38 clear spanning-tree counters conform-action 2-39 2-41 controller BITS input applique 2-43 controller BITS output applique controller BITS shutdown 2-47 copy logging onboard module define interface-range delete 2-45 2-48 2-50 2-52 deny (MAC access-list configuration) diagnostic schedule test diagnosti
Contents history interval 2-85 hw-module module logging onboard interface port-channel interface range 2-88 2-90 interface vlan 2-92 ip access-group ip address 2-86 2-94 2-97 ip igmp filter 2-99 ip igmp max-groups ip igmp profile 2-100 2-102 ip igmp snooping 2-104 ip igmp snooping last-member-query-interval ip igmp snooping report-suppression ip igmp snooping tcn 2-107 2-109 ip igmp snooping tcn flood 2-110 ip igmp snooping vlan immediate-leave ip igmp snooping vlan mrouter ip igmp s
Contents mac address-table notification mac address-table static macro apply 2-150 2-152 2-154 macro description macro global 2-156 2-157 macro global description 2-159 match (access-map configuration) match access-group match cos 2-162 2-163 match discard-class match ip dscp 2-165 2-166 match ip precedence 2-168 match mpls experimental topmost match qos-group match vlan 2-174 max-delay 2-176 mdix auto 2-179 mtu 2-160 2-170 2-172 2-181 network-clock hold-off 2-182 network-cloc
Contents policy-map 2-208 port-channel load-balance port-type priority 2-211 2-213 2-214 ql-enabled rep-segment queue-limit 2-216 2-217 random-detect 2-220 random-detect cos 2-223 random-detect cos-based random-detect dscp 2-225 2-226 random-detect exponential-weighting-constant random-detect precedence rep admin vlan 2-234 rep lsl-age-timer 2-237 rep preempt delay 2-239 rep preempt segment rep stcn 2-231 2-233 rep block port rep segment 2-229 2-241 2-242 2-245 reserved-only
Contents show boot 3-30 show cable-diagnostics tdr show class-map 3-32 3-34 show controllers bits 3-35 show controllers cpu-interface 3-36 show controllers ethernet-controller show controllers utilization show diagnostic show env 3-43 3-45 3-49 show errdisable detect 3-52 show errdisable flap-values show errdisable recovery show etherchannel 3-54 3-56 3-58 show ethernet service evc show flowcontrol show interfaces 3-61 3-62 3-64 show interfaces counters show interfaces rep 3-71 3-74
Contents show mac address-table interface 3-115 show mac address-table learning 3-117 show mac address-table move update show mac address-table notification show mac address-table static show mac address-table vlan show network-clocks show pagp show policy-map 3-124 3-126 3-130 3-135 show rep topology 3-137 show spanning-tree 3-140 show storm-control 3-146 show udld 3-148 show version 3-150 3-152 3-154 show vlan access-map show vlan filter shutdown 3-122 3-132 show port-type show v
Contents spanning-tree mst configuration spanning-tree mst cost 4-30 4-32 spanning-tree mst forward-time spanning-tree mst hello-time 4-34 4-35 spanning-tree mst max-age 4-36 spanning-tree mst max-hops 4-37 spanning-tree mst port-priority 4-38 spanning-tree mst pre-standard spanning-tree mst priority spanning-tree mst root 4-40 4-41 4-42 spanning-tree port-priority 4-44 spanning-tree portfast (global configuration) spanning-tree portfast (interface configuration) spanning-tree vlan speed s
Contents vlan dot1q tag native vlan filter vpn id 4-96 4-97 xconnect APPENDIX A 4-95 4-98 Cisco ME 3800X and ME 3600X Switch Boot Loader Commands A-1 arp A-2 boot cat A-3 A-5 copy A-6 delete dir A-7 A-8 flash_init format A-10 A-11 fsck A-12 help A-13 memory A-14 mgmt_clr A-15 mgmt_init A-16 mgmt_show mkdir A-18 more A-19 peek A-20 ping A-21 poke A-22 rename A-23 reset A-24 rmdir A-25 set A-17 A-26 set_param sleep type unset version A-29 A-30 A-31 A-32 A-34
Contents APPENDIX B Cisco ME 3800X and ME 3600X Switch Debug Commands B-1 debug bridge-domain debug etherchannel B-2 B-3 debug ethernet service debug interface B-4 B-6 debug ip igmp filter B-7 debug ip igmp max-groups debug ip igmp snooping debug lacp B-8 B-9 B-10 debug mac-notification debug matm B-11 B-12 debug matm move B-13 debug network-clock debug nvram B-14 B-15 debug pagp B-16 debug pm B-17 debug rep B-19 debug qos B-20 debug spanning-tree B-21 debug spanning-tree bpdu
Preface Audience This guide is for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Cisco Metro Ethernet (ME) 3800X and ME 3600X switches, hereafter referred to as the switch. Before using this guide, you should have experience working with the Cisco IOS commands and the switch software features. You should also have experience working with the concepts and terminology of Ethernet and local area networking.
Preface This guide does not describe system messages you might encounter. For more information, see the system message guide for this release. For the latest documentation updates, see the release notes for this release. Conventions This publication uses these conventions to convey instructions and information: Command descriptions use these conventions: • Commands and keywords are in boldface text. • Arguments for which you supply values are in italic.
Preface Note Before installing, configuring, or upgrading the switch, see these documents: • For initial configuration information, see the “Configuring the Switch with the CLI-Based Setup Program” appendix in the hardware installation guide. • For upgrading information, see the “Downloading Software” section in the release notes. • Release Notes for the Cisco ME 3800X and ME 3600X Switch Note See the release notes on Cisco.com for the latest information.
Preface Cisco ME 3800X and ME 3600X Switch Command Reference xvi OL-23401-02
CH A P T E R 1 Using the Command-Line Interface The Cisco Metro Ethernet (ME)3600 and 3800 Series switch is supported by Cisco IOS software. This chapter describes how to use the switch command-line interface (CLI) to configure software features. For a complete description command descriptions, see these sections: • For the configuration and monitoring commands that support these features, see Chapter 2, “Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands.
Chapter 1 Using the Command-Line Interface CLI Command Modes Table 1-1 lists the main command modes, how to access each mode, the prompt you see in that mode, and how to exit that mode. The prompts listed use the default name Switch. Table 1-1 Command Modes Summary Command Mode Access Method Prompt Exit or Access Next Mode User EXEC This is the first level of access. Switch> Enter the logout command.
Chapter 1 Using the Command-Line Interface CLI Command Modes Privileged EXEC Mode Because many of the privileged commands configure operating parameters, privileged access should be password-protected to prevent unauthorized use. The privileged command set includes those commands contained in user EXEC mode, as well as the configure privileged EXEC command through which you access the remaining command modes.
Chapter 1 Using the Command-Line Interface CLI Command Modes Interface Configuration Mode Interface configuration commands modify the operation of the interface. Interface configuration commands always follow a global configuration command, which defines the interface type. Use the interface interface-id command to access interface configuration mode. The new prompt means interface configuration mode. Switch(config-if)# The supported commands can vary depending on the version of software in use.
Chapter 1 Using the Command-Line Interface CLI Command Modes To exit line configuration mode and to return to global configuration mode, use the exit command. To exit line configuration mode and to return to privileged EXEC mode, enter the end command, or press Ctrl-Z.
Chapter 1 Using the Command-Line Interface CLI Command Modes Cisco ME 3800X and ME 3600X Switch Command Reference 1-6 OL-23401-02
CH A P T E R 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands action To set the action for the VLAN access map entry, use the action command in access-map configuration mode. To set the action to the default value, which is to forward, use the no form of this command. action {drop | forward} no action Syntax Description drop Drops the packet when the specified conditions are matched. forward Forwards the packet when the specified conditions are matched.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands aggregate interval Examples This example shows how to identify and apply a VLAN access map vmap4 to VLANs 5 and 6 that causes the VLAN to forward an IP packet if the packet matches the conditions defined in access list al2: Switch(config)# vlan access-map vmap4 Switch(config-access-map)# match ip address al2 Switch(config-access-map)# action forward Switch(config-access-map)# exit Switch(config)# vlan filter vmap4 vlan-list 5-6 Related Com
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands aggregate interval burst-cycles Usage Guidelines An aggregate interval is the length of time during which the performance measurements are conducted and the results stored. Use this command to change the number of intervals for a delay, delay variation, or frame loss operation from the default (900 seconds) to the specified value. The aggregate interval value must be less than the life value of the IP SLAs schedule.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands aggregate interval burst-cycles Command History Usage Guidelines Release Modification 15.2(4)S1 This command was introduced. An aggregate interval burst-cycle is the number of burst cycles on which the performance measurements are conducted and teh resultes stored. Use this command to change the number of intervals for a frame loss operation from the default (1 second) to the specified value.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands alarm-contact alarm-contact To configure triggers and severity levels for external alarms, use the alarm-contact command in global configuration mode. To remove the configuration, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands alarm-contact Examples This example shows how to configure alarm contact number 1 to report a critical alarm when the contact is open. Switch(config)# alarm-contact 1 description main_lab_door Switch(config)# alarm-contact 1 severity critical Switch(config)# alarm-contact 1 trigger open Dec 4 10:34:09.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands archive download-sw archive download-sw To download a new image from a TFTP server to the switch and to overwrite or keep the existing image, use the archive download-sw command in privileged EXEC mode.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands archive download-sw Defaults The current software image is not overwritten with the downloaded image. Both the software image and HTML files are downloaded. The new image is downloaded to the flash: file system. The BOOT environment variable is changed to point to the new software image on the flash: file system. Image names are case sensitive; the image file is provided in tar format.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands archive download-sw Related Commands Command Description archive tar Creates a tar file, lists the files in a tar file, or extracts the files from a tar file. archive upload-sw Uploads an existing image on the switch to a server. delete Deletes a file or directory on the flash memory device.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands archive tar archive tar To create a tar file, list files in a tar file, or extract the files from a tar file, use the archive tar command in privileged EXEC mode. archive tar {/create destination-url flash:/file-url} | {/table source-url} | {/xtract source-url flash:/file-url [dir/file...]} Syntax Description /create destination-url flash:/file-url Creates a new tar file on the local or network file system.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands archive tar /xtract source-url flash:/file-url [dir/file...] Extracts files from a tar file to the local file system. For source-url, specify the source URL alias for the local file system. These options are supported: • The syntax for the local flash file system: flash: • The syntax for the FTP: ftp:[[//username[:password]@location]/directory]/tar-filename.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands archive tar This example shows how to display only the html directory and its contents: Switch# archive tar /table flash:image_name-mz.122-release.tar image_name-mz.122-release/html image_name-mz.122-release/html/ (directory) image_name-mz.122-release/html/const.htm (556 bytes) image_name-mz.122-release/html/xhome.htm (9373 bytes) image_name-mz.122-release/html/menu.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands archive upload-sw archive upload-sw To upload an existing switch image to a server, use the archive upload-sw command in privileged EXEC mode. archive upload-sw [/version version_string] destination-url Syntax Description /version version_string (Optional) Specifies the specific version string of the image to be uploaded. destination-url The destination URL alias for a local or network file system.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands archive upload-sw Related Commands Command Description archive download-sw Downloads a new image to the switch. archive tar Creates a tar file, lists the files in a tar file, or extracts the files from a tar file.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands bandwidth bandwidth To configure class-based weighted fair queuing (CBWFQ) by setting the output bandwidth for a policy-map class, use the bandwidth command in policy-map class configuration mode. To remove the bandwidth setting for the class, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands bandwidth • Configuring bandwidth as a percentage of remaining bandwidth determines the portion of the excess bandwidth of the target that is allocated to the class. This means that the class is allocated bandwidth only if there is excess bandwidth on the target, and if there is no minimum bandwidth guarantee for this traffic class. By default the total excess bandwidth is divided equally among the classes.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands bandwidth Switch(config-pmap)# class outclass3 Switch(config-pmap-c)# bandwidth remaining percent 20 Switch(config-pmap-c)# exit Switch(config-pmap)# exit Switch(config)# interface gigabitethernet 0/1 Switch(config-if)# service-policy output out-policy Switch(config-if)# exit Related Commands Command Description class Defines a traffic classification match criteria for the specified class-map name.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands boot config-file boot config-file To specify the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration, use the boot config-file command in global configuration mode. To return to the default setting, use the no form of this command. boot config-file file-name no boot config-file Syntax Description file-name The name of the configuration file.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands boot helper boot helper To dynamically load files during boot loader initialization to extend or patch the functionality of the boot loader, use the boot helper command in global configuration mode. To return to the default, use the no form of this command. boot helper filesystem:/file-url ... no boot helper Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands boot helper-config-file boot helper-config-file To specify the name of the configuration file to be used by the Cisco IOS helper image, use the boot helper-config-file command in global configuration mode. If this is not set, the file specified by the CONFIG_FILE environment variable is used by all versions of Cisco IOS that are loaded. To return to the default setting, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands boot manual boot manual To enable manually booting the switch during the next boot cycle, use the boot manual command in global configuration mode. To return to the default setting, use the no form of this command. boot manual no boot manual Syntax Description This command has no arguments or keywords. Defaults Manual booting is disabled. Command Modes Global configuration Command History Release Modification 12.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands boot private-config-file boot private-config-file To specify the filename that Cisco IOS uses to read and write a nonvolatile copy of the private configuration, use the boot private-config-file command in global configuration mode. To return to the default setting, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands boot system boot system To specify the Cisco IOS image to load during the next boot cycle, use the boot system command in global configuration mode. To return to the default setting, use the no form of this command. boot system filesystem:/file-url ... no boot system Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url The path (directory) and name of a bootable image.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands channel-group channel-group To assign an Ethernet port to an EtherChannel group, use the channel-group command in interface configuration mode. To remove an Ethernet port from an EtherChannel group, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands channel-group Defaults No channel groups are assigned. No mode is configured. Command Modes Interface configuration Command History Release Modification 12.2(52)EY This command was introduced. Usage Guidelines For Layer 2 EtherChannels, you do not have to create a port-channel interface first by using the interface port-channel global configuration command before assigning a physical port to a channel group.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands channel-group If you set the protocol by using the channel-protocol interface configuration command, the setting is not overridden by the channel-group interface configuration command. For a complete list of configuration guidelines, see the “Configuring EtherChannels” chapter in the software configuration guide for this release. Caution Do not enable Layer 3 addresses on the physical EtherChannel ports.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands channel-protocol channel-protocol To restrict the protocol used on a port to manage channeling, use the channel-protocol command in interface configuration mode. To return to the default setting, use the no form of this command. channel-protocol {lacp | pagp} no channel-protocol Syntax Description lacp Configures an EtherChannel with the Link Aggregation Control Protocol (LACP).
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands class class To specify the name of the class whose policy you want to create or to change or to specify the system default class before you configure a policy and to enter policy-map class configuration mode, use the class command in policy-map configuration mode. To remove the class from a policy map, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands class • priority: sets the strict scheduling priority for this class or, when used with the police keyword, sets priority with police. For more information, see the priority policy-map class command. • queue-limit: sets the queue maximum threshold for Weighted Tail Drop (WTD). For more information, see the queue-limit command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands class-map class-map To create a class map to be used for matching packets to a specified criteria and to enter class-map configuration mode, use the class-map command in global configuration mode. To delete an existing class map, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands class-map • match: configures classification criteria. For more information, see the match class-map configuration commands. • no: removes a match statement from a class map. You can verify your settings by entering the show class-map privileged EXEC command. Examples This example shows how to configure the class map called class1. By default, the class map is match-all and therefore can contain no other match criteria.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands clear ipc clear ipc To clear Interprocess Communications Protocol (IPC) statistics, use the clear ipc command in privileged EXEC mode. clear ipc {queue-statistics | statistics} Syntax Description queue-statistics Clears the IPC queue statistics. statistics Clears the IPC statistics. Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.2(52)EY This command was introduced.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands clear lacp clear lacp To clear Link Aggregation Control Protocol (LACP) channel-group counters, use the clear lacp command in privileged EXEC mode. clear lacp {channel-group-number counters | counters} Syntax Description channel-group-number (Optional) Channel group number. The range is 1 to 26. counters Clears traffic counters. Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands clear logging onboard clear logging onboard To clear all the on-board failure logging (OBFL) data except for the uptime and CLI-command information stored in the flash memory, use the clear logging onboard command in privileged EXEC mode. clear logging onboard [module {slot-number | all}] Syntax Description module (Optional) The slot number is always 1 and is not relevant for the ME-3400E.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands clear mac address-table clear mac address-table To delete a specific dynamic address from the MAC address table, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN, use the clear mac address-table command in privileged EXEC mode. This command also clears the MAC address notification global counters.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands clear mac address-table Related Commands Command Description mac address-table notification Enables the MAC address notification feature. show mac address-table Displays the MAC address table static and dynamic entries. show mac address-table notification Displays the MAC address notification settings for all interfaces or the specified interface.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands clear pagp clear pagp To clear Port Aggregation Protocol (PAgP) channel-group information, use the clear pagp command in privileged EXEC mode. clear pagp {channel-group-number counters | counters} Syntax Description channel-group-number (Optional) Channel group number. The range is 1 to 48. counters Clear traffic counters. Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands clear rep counters clear rep counters To clear Resilient Ethernet Protocol (REP) counters for the specified interface or all interfaces, use the clear rep counters command in privileged EXEC mode. clear rep counters [interface interface-id] Syntax Description interface interface-id Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.2(52)EY This command was introduced.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands clear spanning-tree counters clear spanning-tree counters To clear the spanning-tree counters or to restart the protocol migration processor on all spanning-tree interfaces or on the specified interface, use the clear spanning-tree counters command in privileged EXEC mode. clear spanning-tree {counters [interface interface-id] | detected-protocols [interface interface-id]} Syntax Description counters Clears the spanning-tree counters.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands clear spanning-tree counters This example shows how to restart the protocol migration process on a port: Switch# clear spanning-tree detected-protocols interface gigabitethernet0/1 Related Commands Command Description show spanning-tree Displays spanning-tree state information. spanning-tree link-type Overrides the default link-type setting and enables rapid spanning-tree transitions to the forwarding state.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands conform-action conform-action To set actions for a policy-map class for packets that conform to the committed information rate (CIR), use the conform-action command in policy-map class police configuration mode. To cancel the action or to return to the default action, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands conform-action Usage Guidelines You configure conform actions for packets when the packet rate conforms to the configured conform burst. The switch also supports simultaneously marking multiple QoS parameters for the same class and configuring conform-action, exceed-action, and violate-action marking. Access policy-map class police configuration mode by entering the police policy-map class command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands controller BITS input applique controller BITS input applique To configure the Building Integrated Timing Supply (BITS) clock input link type and characteristics, use the controller BITS input applique command in global configuration mode. To remove the configuration, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands controller BITS input applique Examples This example shows how to set the input line type to T1 with ESF framing and B8ZS line coding: Switch(config)# controller BITS input applique T1 framing esf linecode ami b8zs Switch(config)# exit Related Commands Command Description show controller bits Displays BITS configuration for the switch.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands controller BITS output applique controller BITS output applique To configure the Building Integrated Timing Supply (BITS) clock output link type and characteristics, use the controller BITS output applique command in global configuration mode. To remove the configuration, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands controller BITS output applique Command History Examples Release Modification 12.2(52)EY This command was introduced.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands controller BITS shutdown controller BITS shutdown To shut down the Building Integrated Timing Supply (BITS) clock controller, use the controller BITS shutdown command in global configuration mode.To reverse the shutdown, use the no form of this command. controller BITS shutdown no controller BITS shutdown Syntax Description This command has no keywords. Defaults The clock controller is on by default.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands copy logging onboard module copy logging onboard module To copy on-board failure logging (OBFL) data to the local network or a specific file system, use the copy logging onboard module command in privileged EXEC mode. copy logging onboard module [slot-number] destination Syntax Description slot-number (Optional) The slot number is always 1 and is not relevant for the ME-3400E.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands copy logging onboard module Usage Guidelines For information about OBFL, see the global configuration command. Examples This example shows how to copy the OBFL data messages to the obfl_file file on the flash file system: Switch# copy logging onboard module flash:obfl_file OBFL copy successful Related Commands Command Description hw-module module logging onboard Enables OBFL. show logging onboard Displays OBFL information.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands define interface-range define interface-range To create an interface-range macro, use the define interface-range command in global configuration mode. To delete the defined macro, use the no form of this command. define interface-range macro-name interface-range no define interface-range macro-name interface-range Syntax Description macro-name Name of the interface-range macro; up to 32 characters.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands define interface-range For physical interfaces: • module is always 0. • the range is type 0/number - number (for example, gigabitethernet 0/1 - 2). When you define a range, you must enter a space before the hyphen (-), for example: gigabitethernet0/1 - 2 You can also enter multiple ranges. When you define multiple ranges, you must enter a space after the first entry before the comma (,).
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands delete delete To delete a file or directory on the flash memory device, use the delete command in privileged EXEC mode. delete [/force] [/recursive] {flash | nvram} Syntax Description /force (Optional) Suppresses the prompt that confirms the deletion. /recursive (Optional) Deletes the named directory and all subdirectories and the files contained in it. flash Deletes the flash directory. nvram Deletes NVRAM.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands deny (MAC access-list configuration) deny (MAC access-list configuration) To prevent non-IP traffic from being forwarded if the conditions are matched, use the deny command in MAC access-list configuration mode. To remove a deny condition from the named MAC access list, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands deny (MAC access-list configuration) lsap lsap-number mask (Optional) Uses the LSAP number (0 to 65535) of a packet with IEEE 802.2 encapsulation to identify the protocol of the packet. mask is a mask of don’t care bits applied to the LSAP number before testing for a match. Note mop-console (Optional) Selects EtherType DEC-MOP Remote Console. mop-dump (Optional) Selects EtherType DEC-MOP Dump.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands deny (MAC access-list configuration) Usage Guidelines You enter MAC-access list configuration mode by using the mac access-list extended global configuration command. If you use the host keyword, you cannot enter an address mask; if you do not use the host keyword, you must enter an address mask. When an access control entry (ACE) is added to an access control list, an implied deny-any-any condition exists at the end of the list.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands diagnostic schedule test diagnostic schedule test To configure the diagnostic test schedule, use the diagnostic schedule test command in global configuration mode. to remove the schedule, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands diagnostic schedule test Examples This example shows how to schedule diagnostic testing for a specific day and time: Switch(config)# diagnostic schedule test 1,2,4-6 on november 3 2006 23:10 This example shows how to schedule diagnostic testing to occur weekly at a specific time: Switch(config)# diagnostic schedule test TestPortAsicMem weekly friday 09:23 Related Commands Command Description show diagnostic Displays online diagnostic t
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands diagnostic start test diagnostic start test To run an online diagnostic test, use the diagnostic start test command in privileged EXEC mode. diagnostic start test {name | test-id | test-id-range | all | basic} Syntax Description name Specifies the name of the test. To display the test names in the test-ID list, enter the show diagnostic content privileged EXEC command. test-id Specifies the ID number of the test.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands diagnostic start test Examples This example shows how to start diagnostic test 1: Switch# diagnostic start test 1 Switch# 06:27:50: %DIAG-6-TEST_RUNNING: Running TestPortAsicMem {ID=1} ... 06:27:51: %DIAG-6-TEST_OK: TestPortAsicSMem {ID=1} has completed successfully This example shows how to start diagnostic test 3. Running this test disrupts the normal system operation and then reloads the switch.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands distribution distribution To configure statistics distributions for an IP Service Level Agreements (SLAs) Metro-Ethernet 3.0 (ITU-T Y.1731) operation, use the distribution command in IP SLA Y.1731 delay configuration mode. To return to the default value, use the no form of the command. distribution {delay | delay-variation} {one-way | two-way} number-of-bins boundary[,...
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands distribution Statistics distributions are defined by number and range of bins per interval. A bin is a counter that counts the number of measurements initiated and completed during a specified length of time for each operation. The results of performance measurements falling within a specified range are stored in each bin.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands duplex duplex To specify the duplex mode of operation for a port, use the duplex command in interface configuration mode. To return the port to its default value, use the no form of this command. duplex {auto | full | half} no duplex Note Syntax Description Defaults This command is not available on 10 Gigabit Ethernet ports.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands duplex Note Half-duplex mode is supported on Gigabit Ethernet interfaces if duplex mode is auto and the connected device is operating at half duplex. However, you cannot configure these interfaces to operate in half-duplex mode. If both ends of the line support autonegotiation, we highly recommend using the default autonegotiation settings.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands errdisable detect cause errdisable detect cause To enable error-disabled detection for a specific cause or all causes, use the errdisable detect cause command in global configuration mode. To disable the error-disabled detection feature, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands errdisable detect cause When a port is error-disabled, it is effectively shut down, and no traffic is sent or received on the port. For the BPDU guard and port-security features, you can configure the switch to shut down just the offending VLAN on the port when a violation occurs, instead of shutting down the entire port.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands errdisable recovery errdisable recovery To configure the recover mechanism variables, use the errdisable recovery command in global configuration mode. To return to the default setting, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands errdisable recovery interval interval Specifies the time to recover from the specified error-disabled state. The range is 30 to 86400 seconds. The same interval is applied to all causes. The default interval is 300 seconds. Note Note Defaults The error-disabled recovery timer is initialized at a random differential from the configured interval value.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands errdisable recovery Related Commands Command Description show errdisable recovery Displays errdisable recovery timer information. show interfaces status err-disabled Displays interface status or a list of interfaces in error-disabled state.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ethernet evc ethernet evc To define an Ethernet virtual connection (EVC) and to enter EVC configuration mode, use the ethernet evc command in global configuration mode.To delete the EVC, use the no form of this command. ethernet evc evc-id no ethernet evc evc-id Syntax Description evc-id Defaults No EVCs are defined. Command Modes Global configuration Command History Release Modification 12.2(52)EY This command was introduced.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ethernet lmi ethernet lmi To configure enable Ethernet Local Management Interface (E-LMI) and to configure the switch as a customer-edge (CE) device, use the ethernet lmi command in global configuration mode. To disable E-LMI globally or to disable E-LMI CE, use the no form of this command. ethernet lmi {ce | global} no ethernet lmi {ce | global} Syntax Description ce Enables the switch as an E-LMI CE device.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ethernet lmi When the switch is configured as an Ethernet LMI CE device, these interface configuration commands and keywords are visible, but not supported: Examples • service instance • ethernet uni • ethernet lmi t392 This example shows how to configure the switch as an Ethernet LMI CE device: Switch(config)# ethernet lmi global Switch(config)# ethernet lmi ce Related Commands Command Description ethernet lmi interface configura
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ethernet oam remote-failure ethernet oam remote-failure To configure Ethernet operations, maintenance, and administration (EOM) remote failure indication, use the ethernet oam remote-failure command in interface configuration or configuration template mode. To remove the configuration, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ethernet uni id ethernet uni id To create an Ethernet user-network interface (UNI) ID, use the ethernet uni command in interface configuration mode.To remove the UNI ID, use the no form of this command. ethernet uni id name no ethernet uni id Syntax Description name Defaults No UNI IDs are created. Command Modes Interface configuration Command History Release Modification 12.2(52)EY This command was introduced.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ethernet y1731 delay ethernet y1731 delay To configure a sender Maintenance End Point (MEP) for an IP Service Level Agreements (SLAs) Metro Ethernet 3.0 (UIT-T Y.1731) delay or delay variation operation, use the ethernet y1731delay command in IP SLA configuration mode.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ethernet y1731 delay Switch# enable Switch# configure terminal Switch(config)# ip sla 1 Switch(config-ip-sla)# ethernet y1731 delay DMM domain ifm_400 evc e1 mpid 401 cos 4 source mpid 1 Switch(config-sla-y1731-delay)# Related Commands Command Description no ip sla Deletes an existing configuration for a Cisco IP SLAs operation Cisco ME 3800X and ME 3600X Switch Command Reference OL-23401-02 2-75
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ethernet y1731 loss ethernet y1731 loss To configure a sender Maintenance End Point (MEP) for an IP Service Level Agreements (SLAs) Metro Ethernet 3.0 (UIT-T Y.1731) frame loss operation, use the ethernet y1731 loss command in IP SLA configuration mode.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ethernet y1731 loss Examples This example shows how configure an MEP for synthetic loss measurement. Switch# enable Switch# configure terminal Switch(config)# ip sla 1 Switch(config-ip-sla)# ethernet y1731 loss SLM domain r3 vlan 10 mpid 3 cos 1 source mpid 1 Switch(config-sla-y1731-loss)# Related Commands Command Description monitor loss counters Enables COS-level monitoring.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands exceed-action exceed-action To set actions for a policy-map class for packets that conform to the peak information rate (PIR) but not the committed information rate (CIR), use the exceed-action command in policy-map class police configuration mode. To cancel the action or to return to the default action, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands exceed-action Usage Guidelines You configure exceed actions for packets that conform to the peak information rate but not the committed information rate (CIR). The switch also supports simultaneously marking multiple QoS parameters for the same class and configuring conform-action, exceed-action, and violate-action marking. Access policy-map class police configuration mode by entering the police policy-map class command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands flowcontrol flowcontrol To set the receive flow-control state for an interface, use the flowcontrol command in interface configuration mode. When flow control send is operable and on for a device and it detects any congestion at its end, it notifies the link partner or the remote device of the congestion by sending a pause frame. When flow control receive is on for a device and it receives a pause frame, it stops sending any data packets.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands flowcontrol You can verify your settings by entering the show interfaces privileged EXEC command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands frame consecutive frame consecutive To configure the number of consecutive measurements to be used to determine status for an IP Service Level Agreements (SLAs) Metro-Ethernet 3.0 (ITU-T Y.1731) frame loss operation, use the frame consecutive command in IP SLA Y.1731 loss configuration mode. To return to the default, use the no form of the command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands frame interval frame interval To configure the rate at which an IP Service Level Agreements (SLAs) Metro-Ethernet 3.0 (ITU-T Y.1731) operation sends synthetic frames, use the frame interval command in the IP SLA Y.1731 delay or IP SLA Y.1731 loss configuration mode. To return to the default, use the no form of the command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands frequency (IP SLA) frequency (IP SLA) To set the rate at which a specified IP Service Level Agreements (SLAs) operation repeats, use the frequency (IP SLA) command in the appropriate submode of IP SLA configuration or IP SLA monitor configuration mode. To return to the default value, use the no form of this command. frequency seconds no frequency Syntax Description seconds Defaults The default for frequency is 60 seconds.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands history interval history interval To set the number of statistics distributions kept during the lifetime of an IP Service Level Agreements (SLAs) Metro Ethernet 3.0 (ITU-T Y.1731) operation, use the history interval command in the IP SLA Y.1731 delay configuration or IP SLA Y.1731 loss configuration mode. To return to the default value, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands hw-module module logging onboard hw-module module logging onboard To enable on-board failure logging (OBFL), use the hw-module module logging onboard command in global configuration mode.To disable this feature, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands hw-module module logging onboard Related Commands Command Description clear logging onboard Removes the OBFL data in the flash memory. show logging onboard Displays OBFL information.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands interface port-channel interface port-channel To access or create the port-channel logical interface, use the interface port-channel command in global configuration mode. To remove the port-channel, use the no form of this command. interface port-channel port-channel-number no interface port-channel port-channel-number Syntax Description port-channel-number Defaults No port-channel logical interfaces are defined.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands interface port-channel For a complete list of configuration guidelines, see the “Configuring EtherChannels” chapter in the software configuration guide for this release. You can verify your setting by entering the show running-config privileged EXEC or show etherchannel channel-group-number detail privileged EXEC command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands interface range interface range To enter interface range configuration mode and to execute a command on multiple ports at the same time, use the interface range command in global configuration mode. To remove an interface range, use the no form of this command. interface range {port-range | macro name} no interface range {port-range | macro name} Syntax Description port-range Port range.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands interface range • gigabitethernet module/{first port} - {last port}, where module is always 0 • tengigabitethernet module/{first port} - {last port}, where module is always 0 For physical interfaces: – module is always 0 – the range is type 0/number - number (for example, gigabitethernet0/1 - 2) • Note port-channel port-channel-number - port-channel-number, where port-channel-number is from 1 to 48 When you use the interface range comm
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands interface vlan interface vlan To create or access a switch virtual interface (SVI) and to enter interface configuration mode, use the interface vlan command in global configuration mode. To delete an SVI, use the no form of this command. interface vlan vlan-id no interface vlan vlan-id Syntax Description vlan-id Defaults The default VLAN interface is VLAN 1.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands interface vlan Related Commands Command Description show interfaces vlan vlan-id Displays the administrative and operational status of all interfaces or the specified VLAN.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip access-group ip access-group To control access to a Layer 2 or Layer 3 interface, use the ip access-group command in interface configuration mode.To remove all access groups or the specified access group from the interface, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip access-group You can use this command to apply an access list to a Layer 2 interface (port ACL) or Layer 3 interface. However, note these limitations for port ACLs: • You can only apply ACLs in the inbound direction; the out keyword is not supported for Layer 2 interfaces. • You cannot apply an ACL to a port configured with a service instance. Layer 2 ACLs are not supported on these ports.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip access-group the switch continues to process the packet. If the access list denies the packet, the switch discards the packet. If the access list has been applied to a Layer 3 interface, discarding a packet (by default) causes the generation of an Internet Control Message Protocol (ICMP) Host Unreachable message. ICMP Host Unreachable messages are not generated for packets discarded on a Layer 2 interface.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip address ip address To set an IP address for the Layer 2 switch or to set an IP address for each switch virtual interface (SVI) or routed port on the Layer 3 switch, use the ip address command in interface configuration mode. To remove an IP address or to disable IP processing, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip address If your switch receives its IP address from a Bootstrap Protocol (BOOTP) or a DHCP server and you remove the switch IP address by using the no ip address command, IP processing is disabled, and the BOOTP or the DHCP server cannot reassign the address. You can verify your settings by entering the show running-config privileged EXEC command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp filter ip igmp filter To control whether or not all hosts on a Layer 2 interface can join one or more IP multicast groups by applying an Internet Group Management Protocol (IGMP) profile to the interface, use the ip igmp filter command in interface configuration mode. To remove the specified profile from the interface, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp max-groups ip igmp max-groups To set the maximum number of Internet Group Management Protocol (IGMP) groups that a Layer 2 interface can join, or to configure the IGMP throttling action when the maximum number of entries is in the forwarding table, use the ip igmp max-groups command in interface configuration mode.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp max-groups • If you configure the throttling action as replace and set the maximum group limitation, the entries that were previously in the forwarding table are removed. When the maximum number of entries is in the forwarding table, the switch replaces a randomly-selected multicast entry with the received IGMP report.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp profile ip igmp profile To create an Internet Group Management Protocol (IGMP) profile and enter IGMP profile configuration mode, use the ip igmp profile command in global configuration mode. In enter IGMP profile configuration mode, you can specify the configuration of the IGMP profile to be used for filtering IGMP membership reports from a switchport. To delete the IGMP profile, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp profile Related Commands Command Description ip igmp filter Applies the IGMP profile to the specified interface. show ip igmp profile Displays the characteristics of all IGMP profiles or the specified IGMP profile number.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping ip igmp snooping To globally enable Internet Group Management Protocol (IGMP) snooping on the switch or to enable it on a per-VLAN basis, use the ip igmp snooping command in global configuration mode. To return to the default setting, use the no form of this command. ip igmp snooping [vlan vlan-id] no ip igmp snooping [vlan vlan-id] Syntax Description vlan vlan-id Defaults IGMP snooping is globally enabled on the switch.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping last-member-query-interval ip igmp snooping last-member-query-interval To enable the Internet Group Management Protocol (IGMP) configurable-leave timer globally or on a per-VLAN basis, use the ip igmp snooping last-member-query-interval command in global configuration command. To the default setting, use the no form of this command to return.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping last-member-query-interval Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN. ip igmp snooping vlan immediate-leave Enables IGMP Immediate-Leave processing. ip igmp snooping vlan mrouter Configures a Layer 2 port as a multicast router port. ip igmp snooping vlan static Configures a Layer 2 port as a member of a group.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping report-suppression ip igmp snooping report-suppression To enable Internet Group Management Protocol (IGMP) report suppression, use the ip igmp snooping report-suppression command in global configuration mode. To disable IGMP report suppression and to forward all IGMP reports to multicast routers, u se the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping report-suppression Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN. show ip igmp snooping Displays the IGMP snooping configuration of the switch or the VLAN.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping tcn ip igmp snooping tcn To configure the Internet Group Management Protocol (IGMP) Topology Change Notification (TCN) behavior, use the ip igmp snooping tcn command in global configuration mode. To return to the default settings, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping tcn flood ip igmp snooping tcn flood To specify multicast flooding as the Internet Group Management Protocol (IGMP) snooping spanning-tree Topology Change Notification (TCN) behavior, use the ip igmp snooping tcn flood command in interface configuration mode. To disable the multicast flooding, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping vlan immediate-leave ip igmp snooping vlan immediate-leave To enable Internet Group Management Protocol (IGMP) snooping immediate-leave processing on a per-VLAN basis, use the ip igmp snooping vlan vlan-id immediate-leave command in global configuration mode.To return to the default setting, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping vlan mrouter ip igmp snooping vlan mrouter To add a multicast router port or to configure the multicast learning method, use the ip igmp snooping vlan vlan-id mrouter command in global configuration mode. To return to the default settings, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping vlan mrouter Related Commands Command Description ip igmp snooping report-suppression Enables IGMP report suppression. show ip igmp snooping Displays the snooping configuration. show ip igmp snooping groups Displays IGMP snooping multicast information. show ip igmp snooping mrouter Displays the IGMP snooping router ports.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping vlan static ip igmp snooping vlan static To enable Internet Group Management Protocol (IGMP) snooping and to statically add a Layer 2 port as a member of a multicast group, use the ip igmp snooping vlan vlan-id static command in global configuration mode. To remove ports specified as members of a static multicast group, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip igmp snooping vlan static Related Commands Command Description ip igmp snooping report-suppression Enables IGMP report suppression. show ip igmp snooping Displays the snooping configuration. show ip igmp snooping groups Displays IGMP snooping multicast information. show ip igmp snooping mrouter Displays the IGMP snooping router ports.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip sla ip sla To begin configuring a Cisco IOS IP Service Level Agreements (SLAs) operation and enter IP SLA configuration mode, use the ip slacommand in global configuration mode. To remove all configuration information for an operation, including the schedule of the operation, reaction configuration, and reaction triggers, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip sla Examples In the following example, operation 99 is configured as a UDP jitter operation in an IPv4 network and scheduled to start running in 5 hours. The example shows the ip sla command being used in an IPv4 network. Switch(config-term)# ip sla 99 Switch(config-ip-sla)# udp-jitter 172.29.139.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip sla reaction-configuration ip sla reaction-configuration To configure proactive threshold monitoring parameters for an IP Service Level Agreements (SLAs) operation, use the ip sla reaction-configuration command in global configuration mode. To disable all the threshold monitoring configuration for a specified IP SLAs operation, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip sla reaction-configuration threshold-type never (Optional) Do not calculate threshold violations. This is the default threshold type. threshold-value upper-threshold lower-threshold Optional) Specifies the upper-threshold and lower-threshold values of the applicable monitored elements. See the Default Threshold Values for Monitored Elements table in the "Usage Guidelines" section for a list of the default values.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip sla reaction-configuration Command Description Cisco ME 3800X and ME 3600X Switch Command Reference 2-120 OL-23401-02
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip sla schedule ip sla schedule To configure the scheduling parameters for a single Cisco IOS IP Service Level Agreements (SLAs) operation, use the ip sla schedulecommand in global configuration mode. To stop the operation and place it in the default state (pending), use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip sla schedule Usage Guidelines After you schedule the operation with the ip sla schedule command, you cannot change the configuration of the operation. To change the configuration of the operation, use the no form of the ip sla global configuration command and reenter the configuration information.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip sla schedule ip sla schedule 3 start-time now life forever In the following example, operation 15 begins automatically collecting data every day at 1:30 a.m.: ip sla schedule 15 start-time 01:30:00 recurring Related Commands Command Description ip sla Begins configuration for an IP SLAs operation and enters IP SLA configuration mode. ip sla group schedule Configures the group scheduling parameters for multiple IP SLAs operations.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ip ssh ip ssh To configure the switch to run Secure Shell (SSH) Version 1 or SSH Version 2, use the ip ssh global configuration command. To return to the default setting, use the no form of this command. ip ssh version [1 | 2] no ip ssh version [1 | 2] This command is available only when your switch is running the cryptographic (encrypted) software image. Syntax Description 1 (Optional) Configures the switch to run SSH Version 1 (SSHv1).
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands l2protocol l2protocol To tunnel Layer 2 control packets as data over an Ethernet flow point (EFP) service instance or to allow Layer 2 protocols to peer over an interface configured with a service instance, use the l2protocol command in service-instance configuration mode. To remove the configuration, use the no form of the command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands l2protocol In ME3800X platform, Cisco IOS Release 12.2(52)EY, the forward keyword is not supported for the l2protocol command. Therefore, it is impossible to forward Layer 2 control packets from a ME3800X switch to a Cisco 7600 router and vice versa.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands l2 vfi l2 vfi To create a virtual forwarding infrastructure (VFI) and to enter manual VFI configuration mode, use the l2 vfi command in global configuration mode. A VFI is a logical switching entity used to implement hierarchical virtual private LAN service (H-VPLS) over a multiprotocol label switching (MPLS) backbone. All interfaces attached to the VFI can participate in the switching. To delete the VFI, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands l2 vfi Note Examples For more information about MPLS and VPLS, see the software configuration guide for this release. This example shows how to configure a VLAN-based VPLS (VFI abc) between provider edge (PE) switch PE1’s VLAN 3 interface and switch PE2’s VLAN 4 interface. PE1 has IP address 10.0.0.1/32, and PE2 has IP address 20.0.01l/32.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands lacp port-priority lacp port-priority To configure the port priority for the Link Aggregation Control Protocol (LACP), use the lacp port-priority command in interface configuration mode. To return to the default setting, use the no form of this command. lacp port-priority priority no lacp port-priority Syntax Description priority Defaults The default is 32768.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands lacp port-priority Examples This example shows how to configure the LACP port priority on a port: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# lacp port-priority 1000 Related Commands Command Description channel-group Assigns an Ethernet port to an EtherChannel group. lacp system-priority Configures the LACP system priority.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands lacp system-priority lacp system-priority To configure the system priority for the Link Aggregation Control Protocol (LACP), use the lacp system-priority command in global configuration mode. To return to the default setting, use the no form of this command. lacp system-priority priority no lacp system-priority Syntax Description priority Defaults The default is 32768.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands lacp system-priority Examples This example shows how to set the LACP system priority: Switch(config)# lacp system-priority 20000 Related Commands Command Description channel-group Assigns an Ethernet port to an EtherChannel group. lacp port-priority Configures the LACP port priority. show lacp sys-id Displays the system identifier that is being used by LACP.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands location (global configuration) location (global configuration) To configure location information for a Link Layer Discovery Protocol (LLDP) endpoint, use the location command in global configuration mode. To remove the location information, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands location (global configuration) Examples This example shows how to configure civic location information on the switch: Switch(config)# location civic-location identifier 1 Switch(config-civic)# number 3550 Switch(config-civic)# primary-road-name "Cisco Way" Switch(config-civic)# city "San Jose" Switch(config-civic)# state CA Switch(config-civic)# building 19 Switch(config-civic)# room C6 Switch(config-civic)# county "Santa Clara" Switch(con
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands location (interface configuration) location (interface configuration) To enter Link Layer Discovery Protocol (LLDP) location information for an interface, use the location interface command in interface configuration mode. To remove the interface location information, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands location (interface configuration) Examples These examples show how to enter civic location information for an interface: Switch(config-if)# int g1/0/1 Switch(config-if)# location civic-location-id 1 Switch(config-if)# end Switch(config-if)# int g2/0/1 Switch(config-if)# location civic-location-id 1 Switch(config-if)# end This example shows how to enter emergency location information for an interface: Switch(config)# int g2/0/2 Switch(conf
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands logging event logging event To enable notification of interface link status changes, use the logging event command in interface configuration mode. To disable notification, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands logging file logging file To set logging file parameters, use the logging file command in global configuration mode. To return to the default setting, use the no form of this command. logging file filesystem:filename [max-file-size [min-file-size]] [severity-level-number | type] no logging file filesystem:filename [severity-level-number | type] Syntax Description filesystem:filename Alias for a flash file system.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands logging file Usage Guidelines The log file is stored in ASCII text format in an internal buffer on the switch. You can access logged system messages by using the switch command-line interface (CLI) or by saving them to a properly configured syslog server. If the switch fails, the log is lost unless you had previously saved it to flash memory by using the logging file flash:filename global configuration command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac access-group mac access-group To apply a MAC access control list (ACL) to a Layer 2 interface, use the mac access-group command in interface configuration mode. To remove all MAC ACLs or the specified MAC ACL from the interface, use the no form of this command. You create the MAC ACL by using the mac access-list extended global configuration command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac access-group You can verify MAC ACL configuration by entering the show mac access-group privileged EXEC command. You can see configured ACLs on the switch by entering the show access-lists privileged EXEC command. Note Examples For more information about configuring MAC extended ACLs, see the “Configuring Network Security with ACLs” chapter in the software configuration guide for this release.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac access-list extended mac access-list extended To create an access list based on MAC addresses for non-IP traffic, use the mac access-list extended command in global configuration mode. Using this command puts you in the extended MAC access-list configuration mode. To return to the default setting, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac access-list extended Note Examples For more information about MAC extended access lists, see the software configuration guide for this release.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac address-table aging-time mac address-table aging-time To set the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated, use the mac address-table aging-time command in global configuration mode. To return to the default setting, use the no form of this command. The aging time applies to all VLANs or a specified VLAN.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac address-table aging-time Related Commands Command Description show mac address-table aging-time Displays the MAC address table aging time for all VLANs or the specified VLAN.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac address-table learning mac address-table learning To enable MAC address learning on a VLAN or bridge domain, use the mac address-table learning command in global configuration mode. This is the default state. To disable MAC address learning to control which VLANs or bridge domains can learn MAC addresses, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac address-table learning Related Commands Command Description show mac address-table learning Displays the MAC address learning status on all VLANs or on the specified VLAN.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac address-table move update mac address-table move update To enable the MAC address-table move update feature, use the mac address-table move update command in global configuration mode. To return to the default setting, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac address-table move update Related Commands Command Description clear mac address-table move update Clears the MAC address-table move update global counters. debug matm move Debugs the MAC address-table move update message processing. show mac address-table move update Displays the MAC address-table move update information on the switch.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac address-table notification mac address-table notification To enable the MAC address notification feature on the switch, use the mac address-table notification command in global configuration mode. To return to the default setting, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac address-table notification When you configure the history-size option, the existing MAC address history table is deleted, and a new table is created. You enable the MAC address notification change feature by using the mac address-table notification change command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac address-table static mac address-table static To add static addresses to the MAC address table or to enable unicast MAC address filtering, use the mac address-table static command in global configuration mode. To remove static entries from the table or return to the default setting, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mac address-table static If you enter the mac address-table static mac-addr vlan vlan-id drop global configuration command followed by the mac address-table static mac-addr vlan vlan-id interface interface-id command, the switch adds the MAC address as a static address. You can verify your setting by entering the show mac address-table or show mac address-table static privileged EXEC command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands macro apply macro apply To apply a macro to an interface or to apply and trace a macro configuration on an interface, use the macro apply or macro trace command in interface configuration command. macro {apply | trace} macro-name [parameter value] [parameter value] [parameter value] Note Syntax Description There is not a no form of this command. apply Applies a macro to the specified interface.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands macro apply A macro applied to an interface range behaves the same way as a macro applied to a single interface. When you use an interface range, the macro is applied sequentially to each interface within the range. If a macro command fails on one interface, it is still applied to the remaining interfaces.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands macro description macro description To enter a description about which macros are applied to an interface, use the macro description command in interface configuration mode. To remove the description, use the no form of this command. macro description text no macro description text Syntax Description description text Defaults This command has no default setting.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands macro global macro global To apply a macro to a switch or to apply and trace a macro configuration on a switch, use the macro global command in global configuration mode. macro global {apply | trace} macro-namemacro-name [parameter value] [parameter value] [parameter value] Syntax Description apply Applies a macro to the switch. trace Applies a macro to a switch and to debug the macro. macro-name Specifies the name of the macro.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands macro global Examples After you have created a new macro by using the macro name global configuration command, you can apply it to a switch.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands macro global description macro global description To enter a description about the macros that are applied to the switch, use the macro global description in global configuration mode. To remove the description, use the no form of this command macro global description text no macro global description text Syntax Description description text Defaults This command has no default setting.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match (access-map configuration) match (access-map configuration) To match packets against one or more access lists, use the match command in access-map configuration command mode to set the VLAN map. To remove the match parameters, use the no form of this command. match {ip address {name | number} [name | number] [name | number]...} | {mac address {name} [name] [name]...} no match {ip address {name | number} [name | number] [name | number].
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match (access-map configuration) Examples This example shows how to define and apply a VLAN access map vmap4 to VLANs 5 and 6 that will cause the interface to drop an IP packet if the packet matches the conditions defined in access list al2.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match access-group match access-group To configure the match criteria for a class map on the basis of the specified access control list (ACL), use the match access-group command in class-map configuration mode. To remove the ACL match criteria, use the no form of this command. match access-group acl-index-or-name no match access-group acl-index-or-name Syntax Description acl-index-or-name Defaults No match criteria are defined.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match cos match cos To match a packet based on a Layer 2 class of service (CoS) marking, use the match cos command in class-map configuration mode. You can match on the outer VLAN tag or the inner (customer) tag). to remove the CoS match criteria, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match cos Related Commands Command Description class-map Creates a class map to be used for matching packets to the class whose name you specify. show class-map Displays quality of service (QoS) class maps.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match discard-class match discard-class To configure the match criteria for a class map based on the drop precedence of a packet during congestion management, use the match discard-class command in class-map configuration mode. To remove the match criteria, use the no form of this command. match discard-class value no match discard-class value Syntax Description value Defaults No match criteria are defined.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match ip dscp match ip dscp To identify a specific IPv4 Differentiated Service Code Point (DSCP) value as match criteria for a class, use the match ip dscp command inclass-map configuration mode. To remove the match criteria, use the no form of this command. match ip dscp dscp-list no match ip dscp dscp-list Syntax Description ip-dscp-list List of up to eight IPv4 DSCP values to match against incoming packets.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match ip dscp Examples This example shows how to create a class map called inclass, which matches all the incoming traffic with DSCP values of 10, 11, and 12: Switch(config)# class-map match-any in-class Switch(config-cmap)# match ip dscp 10 11 12 Switch(config-cmap)# exit Related Commands Command Description class-map Creates a class map to be used for matching packets to the class whose name you specify.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match ip precedence match ip precedence To identify IPv4 precedence values as match criteria for a class, use the match ip precedence command in class-map configuration mode. To remove the match criteria, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match ip precedence You can use match ip precedence classification in input and output policy maps. You can verify the configuration by entering the show class-map privileged EXEC command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match mpls experimental topmost match mpls experimental topmost To identify the outer multiprotocol label switching (MPLS) experimental label to use as the match criteria for a class, use the mpls experimental topmost command in class-map configuration mode. To remove the match criteria, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match mpls experimental topmost Examples This example shows how to create a class map called inclass, which matches all the incoming traffic with MPLS values of 5 and 6: Switch(config)# class-map match-any in-class Switch(config-cmap)# match mpls experimental topmost 5 6 Switch(config-cmap)# exit Related Commands Command Description class-map Creates a class map to be used for matching packets to the class whose name you specify.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match qos-group match qos-group To identify a specific quality of service (QoS) group value as a match criterion for a class, use the match qos-group command in class-map configuration mode. To remove the match criteria, use the no form of this command. match qos-group value no match qos-group value Syntax Description qos-group value Defaults No match criterion are defined.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match qos-group Related Commands Command Description class-map Creates a class map to be used for matching packets to the class whose name you specify. show class-map Displays QoS class maps.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match vlan match vlan To apply QoS policies to frames carried on a user-specified VLAN for a given interface, use the match vlan command in class-map configuration mode in the parent policy of a hierarchical policy map. You can use hierarchical policy maps for per-VLAN classification on trunk ports. To remove the match criteria, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands match vlan Before using the match vlan command, you must enter the class-map global configuration command to specify the name of the class whose match criteria you want to establish. You can verify your configuration by entering the show class-map privileged EXEC command. Examples This example shows how to create a class-map called parent-class, which matches incoming traffic with VLAN IDs in the range from 30 to 40.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands max-delay max-delay To configure the maximum length of time a Maintenance Endpoint (MEP) in an IP Service Level Agreements (SLAs) Metro-Ethernet 3.0 (ITU-T Y.1731) operation waits for a synthetic frame, use the max-delay command in IP SLA Y1731 delay configuration mode. To return to the default, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands max-delay .
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands max-delay Related Commands Command Description show controllers ethernet-controller interface-id phy Displays general information about internal registers of an interface, including the operational state of auto-MDIX.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mdix auto mdix auto To enable the automatic medium-dependent interface crossover (auto-MDIX) feature on the interface, use the mdix auto command in interface configuration mode. When auto-MDIX is enabled, the interface automatically detects the required cable connection type (straight-through or crossover) and configures the connection appropriately. To disable auto-MDIX, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mdix auto Related Commands Command Description show controllers ethernet-controller interface-id phy Displays general information about internal registers of an interface, including the operational state of auto-MDIX.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands mtu mtu To set the maximum packet size or maximum transmission unit (MTU) size for an interface, use the mtu command in interface configuration mode. To return to the default value, use the no form of this command. mtu bytes no mtu bytes Syntax Description bytes Defaults The default maximum transmission unit (MTU) size for frames received and sent on all interfaces on the switch is 1500 bytes.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock hold-off network-clock hold-off To configure the time that the switch waits when a SyncE reference clock goes down before removing it as the network clock, use the network-clock hold-off command in global configuration mode. To return to the default value, use the no form of this command. network-clock hold-off value no network-clock hold-off value Syntax Description value Sets the time in milliseconds.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock input-source network-clock input-source To configure the Synchronous Ethernet (SyncE) input clock and priority, use the network-clock input-source command in global configuration mode. To remove the priority, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock input-source Example 2 - BITS as Clock Source The following example shows how to configure BITS as the network clock input source. Switch(config)# network-clock input-source 1 external 1/0/0 e1 ? cas E1 Channel Associated Signal Mode crc4 E1 With CRC4 Signal Mode fas E1 Frame Alignment Signal Mode Related Commands Command Description show network-clocks Displays network clock configuration.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock revertive network-clock revertive To configure the Synchronous Ethernet (SyncE) input clock to determine the action to take if clock reference with higher priority than the selected reference clock becomes available, use the network-clock revertive command in global configuration mode. To return to the default value, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock synchronization ssm option network-clock synchronization ssm option To configure the Synchronous Status Message (SSM) option for a Synchronous Ethernet (SynchE) network clock, use the network-clock synchronization ssm option command in global configuration mode. To return to the default value, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock wait-to-restore network-clock wait-to-restore To configure the time that the switch waits before a previously failed Synchronous Ethernet (SyncE) input clock must be fault-free before it is considered available as a synchronization source, use the network-clock wait-to-restore command in global configuration mode. To return to the default value, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock-select network-clock-select To configure the Synchronous Ethernet (SyncE) input clock and priority, use the network-clock-select command in global configuration mode. To remove the priority, use the no form of this command. network-clock-select priority [BITS | SYNCE port-number] no network-clock-select priority Syntax Description priority Sets the priority of the device as a network clock.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock-select hold-off timeout network-clock-select hold-off timeout To configure the time that the switch should wait if a Synchronous Ethernet (SyncE) reference clock goes down before removing it as the reference clock, use the network-clock-select hold-off timeout command in global configuration mode. To return to the default value, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock-select hold-timeout network-clock-select hold-timeout To configure the time after which the switch moves from the holdover state to the free-run state for system timing, use the network-clock-select hold-timeout command in global configuration mode. To return to the default value, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock-select hold-timeout Related Commands Command Description show network-clocks Displays network clock configuration.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock-select mode network-clock-select mode To configure the Synchronous Ethernet (SyncE) input clock to determine the action to take if clock reference with higher priority than the selected reference clock becomes available, use the network-clock-select mode command in global configuration mode. To return to the default value, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock-select option network-clock-select option To configure the Synchronous Ethernet (SyncE) Ethernet Equipment Clock (EEC) option, use the network-clock-select option command in global configuration mode. To select the other (nonconfigured) option (E1 or T1), use the no form of this command. network-clock-select option {option1 | option2} no network-clock-select option {option1 | option2} Syntax Description option1 Selects 20.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock-select output network-clock-select output To set the priority and select the line interfaces to drive the output clock, use the network-clock-select output command in global configuration mode. To remove the configuration, use the no form of this command. network-clock-select output priority SYNCE port no network-clock-select output priority Syntax Description priority Sets the priority of the device as a network clock.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands network-clock-select wait-to-restore-timeout network-clock-select wait-to-restore-timeout To configure the time that the switch waits before a previously failed Synchronous Ethernet (SyncE) input clock must be fault-free before it is considered available as a synchronization source, use the network-clock-select wait-to-restore timeout command in global configuration mode. To return to the default value, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands oam protocol cfm svlan oam protocol cfm svlan To configure the Ethernet virtual connection (EVC) operation, administration, and maintenance (OAM) protocol as IEEE 801.2ag Connectivity Fault Management (CFM) and to identify the service provider VLAN-ID for a CFM domain level, use the oam protocol cfm svlan command in EVC configuration mode. To remove the OAM protocol configuration for the EVC, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands pagp learn-method pagp learn-method To learn the source address of incoming packets received from an EtherChannel port, use the pagp learn-method command in interface configuration mode. To return to the default setting, use the no form of this command. pagp learn-method {aggregation-port | physical-port} no pagp learn-method Syntax Description aggregation-port Specifies address learning on the logical port-channel.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands pagp learn-method Examples This example shows how to set the learning method to learn the address on the physical port within the EtherChannel: Switch(config-if)# pagp learn-method physical-port This example shows how to set the learning method to learn the address on the port-channel within the EtherChannel: Switch(config-if)# pagp learn-method aggregation-port Related Commands Command Description pagp port-priority Selects a port ov
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands pagp port-priority pagp port-priority To select a port over which all Port Aggregation Protocol (PAgP) traffic through the EtherChannel is sent, use the pagp port-priority command in interface configuration mode. If all unused ports in the EtherChannel are in hot-standby mode, they can be placed into operation if the currently selected port and link fails. To return to the default setting, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands pagp port-priority Related Commands Command Description pagp learn-method Provides the ability to learn the source address of incoming packets. show pagp Displays PAgP channel-group information. show running-config Displays the operating configuration.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands permit (MAC access-list configuration) permit (MAC access-list configuration) To allow non-IP traffic to be forwarded if the conditions are matched, use the permit command in MAC access-list configuration mode. To remove a permit condition from the extended MAC access list, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands permit (MAC access-list configuration) lsap lsap-number mask (Optional) Uses the LSAP number (0 to 65535) of a packet with 802.2 encapsulation to identify the protocol of the packet. The mask is a mask of don’t care bits applied to the LSAP number before testing for a match. mop-console (Optional) Selects EtherType DEC-MOP Remote Console. mop-dump (Optional) Selects EtherType DEC-MOP Dump. msdos (Optional) Selects EtherType DEC-MSDOS.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands permit (MAC access-list configuration) After an access control entry (ACE) is added to an access control list, an implied deny-any-any condition exists at the end of the list. That is, if there are no matches, the packets are denied. However, before the first ACE is added, the list permits all packets. You can verify the configuration by entering the show access-lists privileged EXEC command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands police police To define a policer for classified traffic and to enter policy-map class police configuration mode, use the police command in policy-map class configuration mode. A policer defines an average traffic rate, a committed information rate (CIR), a peak information rate (PIR), and an action to take if a maximum is exceeded. In policy-map class police configuration mode, you can specify multiple actions for a packet.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands police burst-ms (Optional) Specifies the normal burst size in milliseconds. The range is 1 to 2000. bc burst-ms (Optional) Specifies the conformed burst (bc) in milliseconds. The range is 1 to 2000. pir pir-bps (Optional) Specifies the peak information rate (PIR) for the policy. The range is 64000 to 10000000000. This parameter is used for configuring a 2-rate, 3-color policer.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands police Command History Usage Guidelines Release Modification 12.2(52)EY This command was introduced. You can enter a single conform-action, exceed-action, or violate-action as part of the command string following the police command. You can also press Enter after the police command to enter policy-map class police configuration mode, where you can enter multiple actions.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands police This example shows how to create policy map with a conform action of set dscp and a default exceed action, and attach it to an EFP.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands policy-map policy-map To create or to modify a policy map that can be attached to multiple physical ports and to enter policy-map configuration mode, use the policy-map command in global configuration mode. To delete an existing policy map, use the no form of this command. policy-map policy-map-name no policy-map policy-map-name Syntax Description policy-map-name Defaults No policy maps are defined.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands policy-map You can configure class policies in a policy map only if the classes have match criteria defined for them. To configure the match criteria for a class, use the class-map global configuration and match class-map configuration commands. You define packet classification on a physical-port basis.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands policy-map Related Commands Command Description class Defines a traffic classification match criteria for the specified class-map name. class-map Creates a class map to be used for matching packets to the class whose name you specify. service-policy (interface and service-instance configuration modes) Applies a policy map to a port. show policy-map Displays quality of service (QoS) policy maps.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands port-channel load-balance port-channel load-balance To set the load-distribution method among the ports in the EtherChannel, use the port-channel load-balance command in global configuration mode. To return to the default setting, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands port-channel load-balance Related Commands Command Description interface port-channel Accesses or creates the port channel. show etherchannel Displays EtherChannel information for a channel. show running-config Displays the operating configuration.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands port-type port-type To configure the port type on a Cisco ME switch, use the port-type command in interface configuration mode. Since all ports are network node interfaces (NNIs), this command has no effect. port-type {eni | nni | uni} no port-type Syntax Description eni Enhanced network interface. nni Network node interface. uni User network interface.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands priority priority To configure class-based priority queuing for a class of traffic belonging to an output policy map, use the priority command in policy-map class configuration mode. To remove a priority specified for a class, use the no form of this command. priority no priority Syntax Description This command has no arguments or keywords. Defaults No policers are defined.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands priority Examples This example shows how to configure the class out-class1 as a strict priority queue so that all packets in that class are sent before any other class of traffic. Other traffic queues are configured so that out-class-2 gets 50 percent of the remaining bandwidth and out-class3 gets 20 percent of the remaining bandwidth. The class class-default receives the remaining 30 percent with no guarantees.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands ql-enabled rep-segment ql-enabled rep-segment To configure a Synchronous Ethernet (SyncE) Resilient Ethernet Protocol (REP) workaround for network resiliency and to avoid timing loops when there are any network failures within the REP segment, use the ql-enabled rep-segment command in global configuration mode. To disable the workaround, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands queue-limit queue-limit To set the queue maximum threshold for Weighted Tail Drop (WTD) in an output policy map, use the queue-limit command in policy-map class configuration mode. To return to the default, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands queue-limit Command History Usage Guidelines Release Modification 12.2(52)EY This command was introduced. You use the queue-limit policy-map class command to control output traffic. Queue-limit settings are not supported in input policy maps. Use the other classification values to specify the subtype of traffic that needs to be mapped to the unique threshold on the queue. The switch supports one output policy map for each interface.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands queue-limit Switch(config-pmap-c)# queue-limit bytes 3000 Switch(config-pmap-c)# exit Switch(config-pmap)# exit Switch(config)# interface gigabitethernet0/1 Switch(config-if)# service-policy output gold-policy Switch(config-if)# exit There can be only three unique qualified queue-limit thresholds.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect random-detect To configure WRED for a class in a policy map, use the random-detect command in policy-map class configuration mode. To disable WRED, use the no form of this command. random-detect [dscp-based | prec-based|cos-based] no random-detect Syntax Description dscp-based (Optional) Specifies that WRED is to use the differentiated services code point (DSCP) value when it calculates the drop probability for a packet.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect Two Methods for Calculating the Drop Probability of a Packet This command includes two optional keywords, dscp-based and prec-based, that determine the method WRED uses to calculate the drop probability of a packet.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect Command Description random-detect exponential-weighting-constant Configures the WRED and DWRED exponential weight factor for the average queue size calculation. random-detect precedence Configures WRED and DWRED parameters for a particular IP Precedence.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect cos random-detect cos To specify the outer class of service (CoS) value of a packet, the minimum and maximum thresholds, and the maximum probability denominator used for enabling weighted random early detection (WRED), use the random-detect cos command in policy-map class configuration mode. To reset the thresholds and maximum probability denominator to the default values for the specified CoS, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect cos Examples In the following example, WRED has been enabled using the random-detect cos command. With the random-detect cos command, the CoS value has been specified, along with the minimum and maximum thresholds, and the maximum probability denominator.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect cos-based random-detect cos-based To enable weighted random early detection (WRED) on the basis of the class of service (CoS) value of a packet, use the random-detect cos-based command in policy-map class configuration mode. To disable WRED, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect dscp random-detect dscp To change the minimum and maximum packet thresholds for the differentiated services code point (DSCP) value, use the random-detect dscp command in QoS policy-map class configuration mode. To return the minimum and maximum packet thresholds to the default for the DSCP value, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect dscp This command must be used in conjunction with the random-detect (interface) command. Additionally, the random-detect dscp command is available only if you specified the dscp-based argument when using the random-detect (interface) command. Default Values Table 4 lists the default settings used by the random-detect dscp command for the DSCP value specified.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect dscp Related Commands Command Description random-detect Enables WRED Cisco ME 3800X and ME 3600X Switch Command Reference 2-228 OL-23401-02
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect exponential-weighting-constant random-detect exponential-weighting-constant To configure the exponential weight factor for the average queue size calculation for the queue reserved for a class, use the random-detect exponential-weighting-constant command in policy-map class configuration mode. To return the value to the default, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect exponential-weighting-constant policy-map policy12 class int10 bandwidth 2000 random-detect exponential-weighting-constant 12 Related Commands Command Description random-detect dscp Changes the minimum and maximum packet thresholds for the DSCP value. random-detect precedence Configures WRED and DWRED parameters for a particular IP Precedence.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect precedence random-detect precedence To configure WRED parameters for a particular IP Precedence for a class policy in a policy map, use the random-detect precedence command in policy-map class configuration mode. To return the values to the default for the precedence, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands random-detect precedence When you configure the random-detect command on a policy class, packets are given preferential treatment based on the IP Precedence of the packet. Use the random-detect precedence command to adjust the treatment for different precedences. If you want WRED to ignore the precedence when determining which packets to drop, enter this command with the same parameters for each precedence.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep admin vlan rep admin vlan To configure a Resilient Ethernet Protocol (REP) administrative VLAN for REP to transmit hardware flood layer (HFL) messages, use the rep admin vlan command in global configuration mode. To return to the default configuration with VLAN 1 as the administrative VLAN, use the no form of this command. rep admin vlan vlan-id no rep admin vlan Syntax Description vlan-id Defaults The administrative VLAN is VLAN 1.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep block port rep block port To configure Resilient Ethernet Protocol (REP) VLAN load balancing, use the rep block port command in interface configuration mode on the REP primary edge port. To return to the default configuration, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep block port When you select an alternate port by entering an offset number, this number identifies the downstream neighbor port of an edge port. The primary edge port has an offset number of 1; positive numbers above 1 identify downstream neighbors of the primary edge port. Negative numbers identify the secondary edge port (offset number -1) and its downstream neighbors. See Figure 2-1.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep block port STCN Propagate to: PDU/TLV statistics: LSL PDU rx: 107122, tx: 192493 Switch Switch Switch Switch B# config t (config)# interface gigabitethernet0/1 (config-if)# rep block port id 0080001647FB1780 vlan 1-100 (config-if)# exit This example shows how to configure VLAN load balancing by using a neighbor offset number and how to verify the configuration by entering the show interfaces rep detail privileged EXEC command: Switch#
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep lsl-age-timer rep lsl-age-timer To configure the Link Status Layer (LSL) age timer for the time period that the Resilient Ethernet Protocol (REP) interface remains up without receiving a hello from the REP neighbor, use the rep lsl-age-timer command in interface configuration mode on a REP port. To return to the default time, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep lsl-age-timer Related Commands Command Description show interfaces rep [detail] Displays REP configuration and status for all interfaces or the specified interface, including the configured LSL age-out timer value.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep preempt delay rep preempt delay To configure a waiting period after a segment port failure and recovery before Resilient Ethernet Protocol (REP) VLAN load balancing is triggered, use the rep preempt delay command in interface configuration mode on the REP primary edge port. To remove the configured delay, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep preempt delay Related Commands Command Description rep block port Configures VLAN load balancing. show interfaces rep Displays REP configuration and status for all interfaces or a specified interface.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep preempt segment rep preempt segment To manually start Resilient Ethernet Protocol (REP) VLAN load balancing on a segment, use the rep preempt segment command in privileged EXEC mode. rep preempt segment segment_id Syntax Description segment-id Defaults Manual preemption is the default behavior. Command Modes Privileged EXEC Command History Release Modification 12.2(52)EY This command was introduced.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep segment rep segment To enable Resilient Ethernet Protocol (REP) on an interface and to assign a segment ID to it, use the rep segment command in interface configuration mode. To disable REP on the interface, use the no form of this command. rep segment segment-id [edge [no-neighbor] [primary]] [preferred] no rep segment Syntax Description segment-id Assigns a segment ID to the interface. The range is from 1 to 1024.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep segment • REP ports follow these rules: – There is no limit to the number of REP ports on a switch; however, only two ports on a switch can belong to the same REP segment. – If only one port on a switch is configured in a segment, the port should be an edge port. – If two ports on a switch belong to the same segment, they must be both edge ports, both regular segment ports, or one regular port and one edge no-neighbor port.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep segment Related Commands Command Description show interfaces rep [detail] Displays REP configuration and status for all interfaces or the specified interface. show rep topology [detail] Displays information about all ports in the segment, including which one was configured and selected as the primary edge port.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep stcn rep stcn To configure a port to send Resilient Ethernet Protocol (REP) segment topology change notifications (STCNs) to another interface, to other segments, or to Spanning Tree Protocol (STP) networks, use the rep stcn command in interface configuration mode on a REP edge port. To disable the sending of STCNs to the interface, segment, or STP network, use the no form of this command.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands rep stcn Command Description show interfaces rep [detail] Displays REP configuration and status for all interfaces or the specified interface.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands reserved-only reserved-only To allocate only reserved addresses in the Dynamic Host Configuration Protocol (DHCP) address pool, use the reserved-only command in DHCP pool configuration mode. to return to the default, use the no form of the command. reserved-only no reserved-only Syntax Description This command has no arguments or keywords.
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands reserved-only Cisco ME 3800X and ME 3600X Switch Command Reference 2-248 OL-23401-02
2] Chapter rmon collection stats rmon collection stats To collect Ethernet group statistics, which include usage statistics about broadcast and multicast packets, and error statistics about cyclic redundancy check (CRC) alignment errors and collisions, use the rmon collection stats command in interface configuration mode. To return to the default setting, use the no form of this command.
Chapter service instance service instance To configure an Ethernet service instance on the interface and to enter Ethernet service-instance configuration mode, use the service instance command in interface configuration mode. To delete the service instance, use the no form of this command. service instance id ethernet [evc-id] no service instance id Syntax Description id Defines a service instance identifier, a per-interface service identifier that does not map to a VLAN. The range is 1 to 4000.
Chapter service instance Examples This example shows how to define an Ethernet service instance and to enter Ethernet service configuration mode for EVC test: Switch(config-if)# service instance 333 ethernet test Switch(config-if-srv)# Related Commands Command Description show ethernet service instance Displays information about configured Ethernet service instances.
Chapter service password-recovery service password-recovery To enable the password-recovery mechanism (the default), use the service password-recovery command in global configuration mode. This mechanism allows an end user with physical access to the switch to press the break key on the console terminal to interrupt the boot process while the switch is powering up and to assign a new password. To disable part of the password-recovery functionality, use the no form of this command.
Chapter service password-recovery If the password-recovery mechanism is disabled, this message appears: The password-recovery mechanism has been triggered, but is currently disabled. Access to the boot loader prompt through the password-recovery mechanism is disallowed at this point. However, if you agree to let the system be reset back to the default system configuration, access to the boot loader prompt can still be allowed.
Chapter service-policy (interface and service-instance configuration modes) service-policy (interface and service-instance configuration modes) To apply a policy map defined by the policy-map command to the incoming or outgoing traffic of a target, use the service-policy command in interface configuration mode or service-instance configuration mode. To remove the policy map and port association, use the no form of this command.
Chapter service-policy (interface and service-instance configuration modes) Examples This example shows how to apply plcmap1 as an output policy map to a port: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# service-policy output plcmap1 This example shows how to remove plcmap2 from a port: Switch(config)# interface gigabitethernet0/2 Switch(config-if)# no service-policy output plcmap2 This example shows how to apply plcmap1 as an output policy map to a service instance: Switch (config)#
Chapter set cos set cos To set a Layer 2 class of service (CoS) value in the packet, use the set cos command in policy-map class configuration mode. To remove traffic marking, use the no form of this command. set cos cos_value no set cos cos_value Syntax Description cos_value Defaults No traffic marking is defined. Command Modes Policy-map class configuration Command History Release Modification 12.2(52)EY This command was introduced. Usage Guidelines Enters an IEEE 802.
Chapter set cos Related Commands Command Description class Defines a traffic classification match criteria for the specified class-map name. policy-map Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. show policy-map Displays QoS policy maps.
Chapter set discard-class set discard-class To classify packets by entering the exact value to be marked for traffic to be discarded, use the set discard-class command in policy-map class configuration mode. To remove the discard-class value, use the no form of this command. set discard-class value no discard-class value Syntax Description value Sets the value to be marked for discarding traffic. The range is from 0 to 7. Defaults No traffic marking is defined.
Chapter set dscp set dscp To mark IPv4 traffic by setting a Differentiated Services Code Point (DSCP) value in the type of service (ToS) byte of the packet, use the set [ip] dscp command in policy-map class configuration mode. To remove the traffic marking, use the no form of this command. set [ip] dscp dscp_value no set [ip] dscp dscp_value Note Entering ip dscp is the same as entering dscp. Syntax Description dscp-value Defaults No traffic marking is defined.
Chapter set dscp Examples This example shows how to set all FTP traffic to DSCP 10: Switch(config)# policy-map policy_ftp Switch(config-pmap)# class ftp_class Switch(config-pmap-c)# set dscp 10 Switch(config-pmap-c)# exit Related Commands Command Description class Defines a traffic classification match criteria for the specified class-map name. policy-map Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. show policy-map Displays QoS policy maps.
Chapter set mpls set mpls To set an multiprotocol label switching (MPLS) experimental (EXP) value in the inbound packet to classify packets, use the set mpls command in policy-map class configuration mode. To remove the group MPLS value, use the no form of this command. set mpls experimental {imposition | topmost} experimental _value no set mpls experimental {imposition | topmost} experimental _value Syntax Description imposition Specifies that the MPLS experimental value is set at tag imposition.
Chapter set mpls Related Commands Command Description class Defines a traffic classification match criteria for the specified class-map name. policy-map Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. show policy-map Displays QoS policy maps.
Chapter set network-clocks set network-clocks To force selection of a particular Synchronous Ethernet (SyncE) network clock or to configure automatic clock selection, use the set network-clocks command in privileged EXEC mode. set network-clocks {automatic | force-select | next-select} Note Syntax Description There is not a no version of this command. automatic Selects automatic clock selection. The clock with the highest priority is always automatically selected as the input clock.
Chapter set network-clocks Related Commands Command Description network-clock-select Configures the network clock for the switch. show network-clocks Displays SyncE configuration on the switch.
Chapter set precedence set precedence To mark IPv4 traffic by setting an IP-precedence value in the packet, use the set [ip] precedence command in policy-map class configuration mode. To remove traffic marking, use the no form of this command. set [ip] precedence precedence_value no set [ip] precedence precedence_value Note Syntax Description Entering ip precedence is the same as entering precedence. precedence_value Specifies an IPv4 precedence value with which to classify traffic.
Chapter set precedence After precedence bits are set, other quality of service (QoS) features can then operate on the bit settings. The network gives priority (or some type of expedited handling) to marked traffic. Typically, you set the precedence value at the edge of the network (or administrative domain) and data is then queued according to the precedence. Class-based weighted fair queuing (CBWFQ) can speed up handling for high-precedence traffic at congestion points.
Chapter set qos-group set qos-group To set a quality of service (QoS) group identifier that can be used later to classify packets, use the set qos-group command in policy-map class configuration mode. To remove the group identifier, use the no form of this command. set qos-group value no set qos-group value Syntax Description value Sets the QoS group value to use to classify traffic. The range is from 0 to 99. Defaults No traffic marking is defined.
Chapter set qos-group Related Commands Command Description class Defines a traffic classification match criteria for the specified class-map name. policy-map Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. show policy-map Displays QoS policy maps.
Chapter setup setup To configure the switch with its initial configuration, use the setup command in privileged EXEC mode. setup Syntax Description This command has no arguments or keywords. Command Modes Privileged EXEC Command History Release Modification 12.2(52)EY This command was introduced.
Chapter setup 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 some boot images.
Chapter setup 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 operating configuration. show version Displays version information for the hardware and firmware.
Chapter shape average shape average To configure class-based or port shaping by specifying the average traffic shaping rate or percentage, use the shape average command in policy-map class configuration mode. To set port shaping, use the command with the class class-default. To remove traffic shaping, use the no form of this command.
Chapter shape average You can verify your settings by entering the show policy-map privileged EXEC command. Examples This example shows how to configure traffic shaping for outgoing traffic on a Gigabit Ethernet port so that outclass1, outclass2, and outclass3 get a maximum of 50, 20, and 10 Mb/s of the available port bandwidth.
Chapter show access-lists show access-lists To display access control lists (ACLs) configured on the switch, use the show access-lists command in privileged EXEC mode. show access-lists [name | number | hardware counters | ipc] [ | {begin | exclude | include} expression] Syntax Description Note name (Optional) Name of the ACL. number (Optional) ACL number. The range is 1 to 2699. hardware counters (Optional) Displays global hardware ACL statistics for switched and routed packets.
Chapter show access-lists Examples This is an example of output from the show access-lists command: Switch# show access-lists Standard IP access list 1 10 permit 1.1.1.1 20 permit 2.2.2.2 30 permit any 40 permit 0.255.255.255, wildcard bits 12.0.0.0 Standard IP access list videowizard_1-1-1-1 10 permit 1.1.1.1 Standard IP access list videowizard_10-10-10-10 10 permit 10.10.10.10 Extended IP access list 121 10 permit ahp host 10.10.10.10 host 20.20.10.
Chapter show access-lists L3 ACL OUTPUT Statistics Drop: Drop: Drop And Log: Drop And Log: Bridge Only: Bridge Only: Bridge Only And Log: Bridge Only And Log: Forwarding To CPU: Forwarding To CPU: Forwarded: Forwarded: Forwarded And Log: Forwarded And Log: Related Commands All All All All All All All All All All All All All All frame bytes frame bytes frame bytes frame bytes frame bytes frame bytes frame bytes count: count: count: count: count: count: count: count: count: count: count: count: count: co
Chapter show archive status show archive status To display the status of a new image being downloaded to a switch with the HTTP or the TFTP protocol, use the show archive status command in privileged EXEC mode. show archive status [ |{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.
Chapter show boot show boot To display the settings of the boot environment variables, use the show boot command in privileged EXEC mode. 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.
Chapter show boot Table 3-6 show boot Field Descriptions Field Description BOOT path-list Displays a semicolon-separated list of executable files 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.
Chapter show cable-diagnostics tdr show cable-diagnostics tdr To display the Time Domain Reflector (TDR) results, use the show cable-diagnostics tdr command in privileged EXEC mode. show cable-diagnostics tdr interface interface-id [ | {begin | exclude | include} expression] Syntax Description interface-id Specifies the interface on which TDR was run. | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression.
Chapter show cable-diagnostics tdr Table 2-7 lists the descriptions of the fields in the show cable-diagnostics tdr command output. Table 3-7 Fields Descriptions for the show cable-diagnostics tdr Command Output Field Description Interface Interface on which TDR was run. Speed Speed of connection. Local pair Name of the pair of wires that TDR is testing on the local interface. Pair length Location on the cable where the problem is, with respect to your switch.
Chapter show class-map show class-map To display quality of service (QoS) class maps, which define the match criteria to classify traffic, use the show class-map command in user EXEC mode. show class-map [class-map-name] [ | {begin | exclude | include} expression] Syntax Description class-map-name (Optional) Displays the contents of the specified class map. | begin (Optional) Display begins with the line that matches the expression.
Chapter show controllers bits show controllers bits To display the state of the Building Integrated Timing Supply (BITS) clock controller, use the show controllers bits in privileged EXEC mode. show controllers bits [ | {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.
Chapter show controllers cpu-interface show controllers cpu-interface To display the state of the CPU network interface ASIC and the send and receive statistics for packets reaching the CPU, use the show controllers cpu-interface command in privileged EXEC mode. show controllers cpu-interface [ | {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.
Chapter show controllers cpu-interface Related Commands Command Description show controllers ethernet-controller Displays per-interface send and receive statistics read from the hardware or the interface internal registers. show interfaces Displays the administrative and operational status of all interfaces or a specified interface.
Chapter show controllers ethernet-controller show controllers ethernet-controller To display per-interface send and receive statistics read from the hardware, use the show controllers ethernet-controller command in privileged EXEC mode without keywords. To display the interface internal registers, use with the phy keyword or use the port-asic keyword to display information about the port ASIC.
Chapter show controllers ethernet-controller Examples This is an example of output from the show controllers ethernet-controller command for an interface. Table 2-8 describes the Transmit fields, and Table 2-9 describes the Receive fields.
Chapter show controllers ethernet-controller Table 3-8 Transmit Field Descriptions (continued) Field Description 3 collision frames The number of frames that are successfully sent on an interface after three collisions occur. 4 collision frames The number of frames that are successfully sent on an interface after four collisions occur. 5 collision frames The number of frames that are successfully sent on an interface after five collisions occur.
Chapter show controllers ethernet-controller Table 3-9 Receive Field Descriptions (continued) Field Description Broadcast frames The total number of frames successfully received on an interface that are directed to broadcast addresses. Unicast bytes The total amount of memory (in bytes) used by unicast frames received on an interface, including the FCS value and the incorrectly formed frames. This value excludes the frame header bits.
Chapter show controllers ethernet-controller Table 3-9 Receive Field Descriptions (continued) Field Description System FCS error frames The total number of frames received on an interface that have a valid length (in bytes) but that do not have the correct FCS values. RxPortFifoFull drop frames The total number of frames received on an interface that are dropped because the ingress queue is full. 1. FCS = frame check sequence 2.
Chapter show controllers utilization show controllers utilization To display bandwidth utilization on the switch or specific ports, use the show controllers utilization command in user EXEC mode. show controllers [interface-id] utilization [ | {begin | exclude | include} expression] Syntax Description interface-id (Optional) ID of the switch interface. | begin (Optional) Display begins with the line that matches the specified expression.
Chapter show controllers utilization Gi0/24 Te0/1 Te0/2 0 0 0 0 0 0 Total Ports : 26 Switch Receive Bandwidth Percentage Utilization : 0 Switch Transmit Bandwidth Percentage Utilization : 0 Switch Fabric Percentage Utilization : 0 This is an example of output from the show controllers utilization command on a specific port: Switch> show controllers gigabitethernet0/1 utilization Receive Bandwidth Percentage Utilization : 0 Transmit Bandwidth Percentage Utilization : 0 Table 3-10 show controllers util
Chapter show diagnostic show diagnostic To display the online diagnostic test results and the supported test suites, use the show diagnostic command in user EXEC mode.
Chapter show diagnostic Command History Usage Guidelines Release Modification 12.2(52)EY This command was introduced. The show diagnostic post command output is the same as the show post command output. The show diagnostic result [detail] command output is the same as the show diagnostic switch [detail] 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.
Chapter show diagnostic This example shows how to display the online diagnostic test schedule for a switch: Switch> show diagnostic schedule Current Time = 14:39:49 PST Tue Jul 5 2005 Diagnostic for Switch 1: Schedule #1: To be run daily 12:00 Test ID(s) to be executed: 1. This example shows how to display the detailed results for a switch. You can also use the show diagnostic result test all detail command to display these results. Switch> show diagnostic result test all detail Test results: (.
Chapter show diagnostic ___________________________________________________________________________ 5) TestFpga ------------------------> U Error code ------------------> 0 (DIAG_SUCCESS) Total run count -------------> 0 Last test execution time ----> n/a First test failure time -----> n/a Last test failure time ------> n/a Last test pass time ---------> n/a Total failure count ---------> 0 Consecutive failure count ---> 0 ___________________________________________________________________________ Related
Chapter show env show env To display alarm contact, fan, temperature, and power information for the switch, use the show env command in user EXEC mode. show env {alarm-contact | all | fan | power| temperature [status]} [ | {begin | exclude | include} expression] Syntax Description alarm-contact Displays alarm contact status. all Displays fan, temperature, power supply, and alarm status. fan Displays the switch fan status, including the power-supply fan.
Chapter show env Examples This is an example of output from the show env alarm-contact command: Switch# show env alarm-contact ALARM CONTACT 1 Status: not asserted Description: external alarm Severity: minor Trigger: closed ALARM CONTACT 2 Status: not asserted Description: external alarm Severity: minor Trigger: closed ALARM CONTACT 3 Status: not asserted Description: external alarm Severity: minor Trigger: closed ALARM CONTACT 4 Status: not asserted Description: external alarm Severity: minor contact 1
Chapter show env These are examples of output from the show env temperature and show env temperature status commands: Switch> show env temperature SYSTEM TEMPERATURE is GREEN Switch> show env temperature status SYSTEM Temperature Value: 35.5 Degree Celsius SYSTEM Temperature State: GREEN SYSTEM Low Temperature Alert Threshold: 0.0 Degree Celsius SYSTEM Low Temperature Shutdown Threshold: -20.0 Degree Celsius SYSTEM High Temperature Alert Threshold: 58.
Chapter show errdisable detect show errdisable detect To display error-disable detection status, use the show errdisable detect command in user EXEC mode. show errdisable detect [ | {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.
Chapter show errdisable detect mac-limit pagp-flap port-mode-failure pppoe-ia-rate-limit psecure-violation security-violation sfp-config-mismatch storm-control udld vmps Note Related Commands Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled port port port port port port port port port port Though visible in the output, the dtp-flap and arp-inspection fields are not valid.
Chapter show errdisable flap-values show errdisable flap-values To display conditions that cause an error to be recognized for a cause, use the show errdisable flap-values command in user EXEC mode. show errdisable flap-values [ | {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.
Chapter show errdisable flap-values Related Commands Command Description errdisable detect cause Enables error-disable detection for a specific cause or all causes. show errdisable detect Displays error-disable detection status. show errdisable recovery Displays error-disable recovery timer information. show interfaces status Displays interface status or a list of interfaces in error-disabled state.
Chapter show errdisable recovery show errdisable recovery To display the error-disable recovery timer information, use the show errdisable recovery command in user EXEC mode. 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.
Chapter show errdisable recovery Timer interval: 300 seconds Interfaces that will be enabled at the next timeout: Interface Errdisable reason Time left(sec) -------------------------------------Gi0/2 link-flap 279 Note Related Commands Though visible in the output, the unicast-flood and DTP fields are not valid. Command Description errdisable recovery Configures the recover mechanism variables. show errdisable detect Displays error-disabled detection status.
Chapter show etherchannel show etherchannel To display EtherChannel information for a channel, use the show etherchannel command in user EXEC mode. show etherchannel [channel-group-number {detail | port | port-channel | protocol | summary}] {detail | load-balance | port | port-channel | protocol | summary} [ | {begin | exclude | include} expression] Syntax Description channel-group-number (Optional) Number of the channel group. The range is 1 to 26. detail Displays detailed EtherChannel information.
Chapter show etherchannel Examples This is an example of output from the show etherchannel 1 detail command: Switch> show etherchannel 1 detail Group state = L2 Ports: 2 Maxports = 16 Port-channels: 1 Max Port-channels = 16 Protocol: LACP Ports in the group: ------------------Port: Gi0/1 -----------Port state Channel group Port-channel Port index Flags: = = = = Up Mstr In-Bndl 1 Mode = Active Po1 GC = 0 Load = 0x00 Gcchange = Pseudo port-channel = Po1 Protocol = LACP S - Device is sending Slow LACPDUs
Chapter show etherchannel Group Port-channel Protocol Ports ------+-------------+-----------+---------------------------------------1 Po1(SU) LACP Gi0/1(P) Gi0/2(P) This is an example of output from the show etherchannel 1 port-channel command: Switch> show etherchannel 1 port-channel Port-channels in the group: ---------------------Port-channel: Po1 (Primary Aggregator) -----------Age of the Port-channel = 01d:20h:24m:50s Logical slot/port = 10/1 Number of ports = 2 HotStandBy port = null Port state = Po
Chapter show ethernet service evc show ethernet service evc To display information about Ethernet virtual connection (EVC) customer-service instances, use the show ethernet service evc command in privileged EXEC mode. show ethernet service evc [id evc-id | interface interface-id] [detail] [summary] [ | {begin | exclude | include} expression] Syntax Description id evc-id (Optional) Displays EVC information for the specified service. The EVC identifier can be a string of from 1 to 100 characters.
Chapter show flowcontrol show flowcontrol To display the flow control status and statistics, use the show flowcontrol command in user EXEC mode. show flowcontrol [interface interface-id | module number] [ | {begin | exclude | include} expression] Syntax Description interface interface-id (Optional) Displays the flow control status and statistics for a specific interface. module number (Optional) Displays the flow control status and statistics for all interfaces on the switch.
Chapter show flowcontrol This is an example of output from the show flowcontrol interface interface-id command: Switch> show flowcontrol interface gigabitethernet0/2 Port Send FlowControl Receive FlowControl RxPause TxPause admin oper admin oper --------- -------- -------- -------- -------------- ------Gi0/2 desired off off off 0 0 Related Commands Command Description flowcontrol Sets the receive flow-control state for an interface.
Chapter show interfaces show interfaces To display the administrative and operational status of all interfaces or a specified interface, use the show interfaces command in privileged EXEC mode.
Chapter show interfaces Note | 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. Though visible in the command-line help strings, the crb, private-vlan mapping, pruning random-detect, and rate-limit keywords are not supported.
Chapter show interfaces Received 16517 broadcasts (15276 multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 15276 multicast, 0 pause input 0 input packets with dribble condition detected 4186 packets output, 1322776 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 PAUSE output 0 output buffer failures, 0 output buffers swapped out This is an example of output
Chapter show interfaces This is an example of output from the show interfaces capabilities command for an interface. Switch# show interfaces gigabitethernet0/2 capabilities GigabitEthernet0/2 Model: ME-3800X-24FS-M Type: 10/100/1000BaseTX SFP Speed: 10,100,1000,auto Duplex: half,full,auto Trunk encap. type: 802.
Chapter show interfaces This is an example of partial output from the show interfaces status command. It displays the status of all interfaces.
Chapter show interfaces This is an example of output from the show interfaces status err-disabled command for an interface: Switch# show interfaces gigabitethernet0/2 status err-disabled Port Gi0/2 Name Status connected Reason elmi evc down Err-disabled Vlans 1,200 This is an example of output from the show interfaces switchport command for a single port. Table 2-12 describes the fields in the display. Note Private VLAN trunks are not supported in this release, so those fields are not applicable.
Chapter show interfaces Table 3-11 show interfaces switchport Field Descriptions (continued) Field Description Administrative private-vlan host-association Displays the administrative VLAN association for private-VLAN host ports. Administrative private-vlan mapping Displays the administrative VLAN mapping for private-VLAN promiscuous ports. Operational private-vlan Displays the operational private-VLAN status. Trunking VLANs enabled Lists the active VLANs on the trunk.
Chapter show interfaces counters show interfaces counters To display various counters for the switch or for a specific interface, use the show interfaces counters command in privileged EXEC mode. show interfaces [interface-id | vlan vlan-id] counters [errors | trunk] [module switch- number] | etherchannel | protocol status] [ | {begin | exclude | include} expression] Syntax Description interface-id (Optional) ID of the physical interface, including type, module, and port number.
Chapter show interfaces counters Examples This is an example of partial output from the show interfaces counters command. It displays all counters for the switch.
Chapter show interfaces counters This is an example of output from the show interfaces counters trunk command. It displays trunk counters for all interfaces.
Chapter show interfaces rep show interfaces rep To display Resilient Ethernet Protocol (REP) configuration and status for a specified interface or for all interfaces, use the show interfaces rep command in user EXEC mode. show interfaces [interface-id] rep [detail] [ | {begin | exclude | include} expression] Syntax Description interface-id (Optional) Displays REP configuration and status for a specified physical interface or port channel ID.
Chapter show interfaces rep Examples This is sample output from the show interface rep command: Switch # show interface rep Interface Seg-id Type LinkOp Role ---------------------- ------ ------------ ----------- ---GigabitEthernet 0/1 1 Primary Edge TWO_WAY Open GigabitEthernet 0/2 1 Edge TWO_WAY Open FastEthernet 0/4 2 INIT_DOWN Fail This is sample output from the show interface rep command when the edge port is configured to have no REP neighbor. Note the asterisk (*) next to Primary Edge.
Chapter show interfaces transceiver show interfaces transceiver To display the physical properties of a small form-factor pluggable (SFP) module interface, use the show interfaces transceiver command in privileged EXEC mode. show interfaces [interface-id] transceiver [detail | module number | properties | supported-list | threshold-table] [ | {begin | exclude | include} expression] Syntax Description interface-id (Optional) Displays configuration and status for a specified physical interface.
Chapter show interfaces transceiver Examples This is an example of output from the show interfaces interface-id transceiver properties command: Switch# show interfaces gigabitethernet0/1 transceiver properties Diagnostic Monitoring is not implemented.
Chapter show interfaces transceiver Min2 Max2 Max1 DWDM X2 Min1 Min2 Max2 Max1 DWDM XFP Min1 Min2 Max2 Max1 CWDM X2 Min1 Min2 Max2 Max1 Related Commands -1.29 3.29 3.50 -24.29 -6.69 4.00 5 60 70 N/A N/A N/A N/A N/A N/A -1.50 -1.29 3.29 3.50 -24.50 -24.29 -6.69 4.00 0 5 60 70 N/A N/A N/A N/A N/A N/A N/A N/A -1.50 -1.29 3.29 3.50 -24.50 -24.29 -6.69 4.
Chapter show inventory show inventory To display product identification (PID) information for the hardware, use the show inventory command in user EXEC mode. show inventory [entity-name | raw] [ | {begin | exclude | include} expression] Syntax Description entity-name (Optional) Displays the specified entity. For example, enter the interface (such as gigabitethernet 0/x) into which a small form-factor pluggable (SFP) module is installed to display its identity.
Chapter show ip igmp profile show ip igmp profile To display all configured Internet Group Management Protocol (IGMP) profiles or a specified IGMP profile, use the show ip igmp profile command in privileged EXEC mode. show ip igmp profile [profile number] [ | {begin | exclude | include} expression] Syntax Description profile number (Optional) The IGMP profile number to be displayed. The range is 1 to 4294967295. If no profile number is entered, all IGMP profiles are displayed.
Chapter show ip igmp snooping show ip igmp snooping To display the Internet Group Management Protocol (IGMP) snooping configuration of the switch or the VLAN, use the show ip igmp snooping command in user EXEC mode. show ip igmp snooping [groups | mrouter | querier [vlan vlan-id] [detail]] [vlan vlan-id] [detail] [ | {begin | exclude | include} expression] Syntax Description Note groups (Optional) See the show ip igmp snooping groups command.
Chapter show ip igmp snooping TCN solicit query :Disabled TCN flood query count :2 Last member query interval : 100 Vlan 1: -------IGMP snooping Immediate leave Multicast router learning mode Source only learning age timer CGMP interoperability mode Last member query interval : 100 Note :Enabled :Disabled :pim-dvmrp :10 :IGMP_ONLY Source-only learning are not supported, and information appearing for this feature is not valid. This is an example of output from the show ip igmp snooping command.
Chapter show ip igmp snooping groups show ip igmp snooping groups To display the Internet Group Management Protocol (IGMP) snooping multicast table or multicast information for the switch, use the show ip igmp snooping groups command in privileged EXEC command. To display the multicast table for a specified multicast VLAN or to diplay specific multicast information, use with the vlan keyword.
Chapter show ip igmp snooping groups Examples This is an example of output from the show ip igmp snooping groups command without any keywords. It displays the multicast table for the switch. Switch# show ip igmp snooping groups Vlan Group Type Version Port List ------------------------------------------------------------104 224.1.4.2 igmp v2 Gi0/1, Gi0/2 104 224.1.4.3 igmp v2 Gi0/1, Gi0/2 This is an example of output from the show ip igmp snooping groups count command.
Chapter show ip igmp snooping mrouter show ip igmp snooping mrouter To display the Internet Group Management Protocol (IGMP) snooping dynamically learned and manually configured multicast router ports for the switch or for the specified multicast VLAN, use the show ip igmp snooping mrouter command in privileged EXEC mode.
Chapter show ipc show ipc To display Interprocess Communications Protocol (IPC) configuration, status, and statistics, use the show ipc command in user EXEC mode. show ipc {hog-info | mcast {appclass | groups | status} | nodes | ports [open] | queue | rpc | session {all | rx | tx} [verbose] | status [cumlulative] | zones} [ | {begin | exclude | include} expression] Syntax Description mcast {appclass | groups | status} Displays the IPC multicast routing information.
Chapter show ipc 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.
Chapter show ipc This example shows how to display the contents of the IPC retransmission queue: Switch> show ipc queue There are 0 IPC messages waiting for acknowledgement in the transmit queue. There are 0 IPC messages waiting for a response. There are 0 IPC messages waiting for additional fragments. There are 0 IPC messages currently on the IPC inboundQ.
Chapter show ipc Total via Unreliable Connection-Less Service Total via Unreliable Sequenced Connection-Less Svc Total via Reliable Connection-Oriented Service 12783 0 17 171 0 116
Chapter show lacp show lacp To display Link Aggregation Control Protocol (LACP) channel-group information, use the show lacp command in user EXEC mode. show lacp [channel-group-number] {counters | internal | neighbor | sys-id} [ | {begin | exclude | include} expression] Syntax Description channel-group-number (Optional) Number of the channel group. The range is 1 to 26. counters Displays traffic information. internal Displays internal information. neighbor Displays neighbor information.
Chapter show lacp Table 3-12 show lacp counters Field Descriptions Field Description LACPDUs Sent and Recv The number of LACP packets sent and received by a port. Marker Sent and Recv The number of LACP marker packets sent and received by a port. Marker Response Sent and Recv The number of LACP marker response packets sent and received by a port. LACPDUs Pkts and Err The number of unknown and illegal packets received by LACP for a port.
Chapter show lacp Table 3-13 show lacp internal Field Descriptions (continued) Field Description Port Number Port number. Port State State variables for the port, encoded as individual bits within a single octet with these meanings: • bit0: LACP_Activity • bit1: LACP_Timeout • bit2: Aggregation • bit3: Synchronization • bit4: Collecting • bit5: Distributing • bit6: Defaulted • bit7: Expired Note In the above list, bit7 is the MSB and bit0 is the LSB.
Chapter show lacp Related Commands Command Description clear lacp Clears the LACP channel-group information. lacp port-priority Configures the LACP port priority. lacp system-priority Configures the LACP system priority.
Chapter show location show location To display location information for a Link Layer Discovery Protocol (LLDP) endpoint, use the show location command in user EXEC mode.
Chapter show location Examples This is an example of output from the show location civic-location command that displays location information for an interface: Switch> show location civic interface gigabitethernet 0/1 Civic location information -------------------------Identifier : 1 County : Santa Clara Street number : 3550 Building : 19 Room : C6 Primary road name : Cisco Way City : San Jose State : CA Country : US This is an example of output from the show location civic-location command that displays
Chapter show location This is an example of output from the show location elin static command that displays all emergency location information: Switch> show location elin static Elin location information -------------------------Identifier : 1 Elin : 14085553881 Ports : Gi0/2 -------------------------Identifier : 2 Elin : 18002228999 -------------------------- Related Commands Command Description location (global configuration) Configures the global location information for an endpoint.
Chapter show logging onboard show logging onboard To display the on-board failure logging (OBFL) information, use the show logging onboard command in privileged EXEC mode.
Chapter show logging onboard Usage Guidelines When OBFL is enabled, the switch records all the OBFL data in a continuous, circular file. When the continuous file is full, the switch combines the data into a summary file, which is also known as a historical file. The switch then continues to write new data to the continuous file. Use the start and end keywords to display data collected only during a particular time period.
Chapter show logging onboard This is an example of output from the show logging onboard status command: Switch# show logging onboard status Devices registered with infra Slot no.: 0 Subslot no.
Chapter show logging onboard 05/13/2006 07:25:24 05/13/2006 08:25:24
Chapter show mac access-group show mac access-group To display the MAC access control lists (ACLs) configured for an interface or a switch, use the show mac access-group command in user EXEC mode. show mac access-group [interface interface-id] [ | {begin | exclude | include} expression] Syntax Description interface interface-id (Optional) Displays the MAC ACLs configured on a specific interface.
Chapter show mac access-group This is an example of output from the show mac access-group interface gigabitethernet0/1 command: Switch# show mac access-group interface gigabitethernet0/1 Interface GigabitEthernet0/1: Inbound access-list is macl_e1 Related Commands Command Description mac access-group Applies a MAC access group to an interface.
Chapter show mac address-table show mac address-table To display a specific MAC address table static and dynamic entry, or the MAC address table static and dynamic entries on a specific interface or VLAN, use the show mac address-table command in user EXEC mode. show mac address-table [ | {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.
Chapter show mac address-table Related Commands Command Description clear mac address-table dynamic Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN. show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN.
Chapter show mac address-table address show mac address-table address To display MAC address table information for the specified MAC address, use the show mac address-table address command in user EXEC mode. show mac address-table address mac-address [bridge-domain number] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Syntax Description mac-address Specifies the 48-bit MAC address; the valid format is H.H.H.
Chapter show mac address-table address Related Commands Command Description show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN. show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN. show mac address-table dynamic Displays dynamic MAC address table entries only. show mac address-table interface Displays the MAC address table information for the specified interface.
Chapter show mac address-table aging-time show mac address-table aging-time To display the aging time of a specific address table instance, or all address table instances on a specified VLAN or bridge domain or on all VLANs and bridge domains, use the show mac address-table aging-time command in user EXEC mode.
Chapter show mac address-table aging-time This is an example of output from the show mac address-table aging-time for a bridge domain: Switch> show mac address-table aging-time bridge-domain 66 Global Aging Time: 300 BD Aging Time ------------66 200 Related Commands Command Description mac address-table aging-time Sets the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated.
Chapter show mac address-table bridge-domain show mac address-table bridge-domain To display the MAC address table information for the specified bridge domain, use the show mac address-table bridge-domain command in user EXEC mode. show mac address-table bridge-domain number [ | {begin | exclude | include} expression] Syntax Description number Specifies the Ethernet Flow Point (EFP) bridge domain number. The range is 1 to 8000.
Chapter show mac address-table bridge-domain All 0180.c200.000d STATIC CPU All 0180.c200.000e STATIC CPU All 0180.c200.000f STATIC CPU All 0180.c200.0010 STATIC CPU All ffff.ffff.ffff STATIC CPU Total Mac Addresses for this criterion: 24 Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
Chapter show mac address-table count show mac address-table count To display the number of addresses present in all VLANs or the specified VLAN, use the show mac address-table count command in user EXEC mode. show mac address-table count [bridge-domain number] [vlan vlan-id] [ | {begin | exclude | include} expression] Syntax Description bridge-domain number (Optional) Displays the number of addresses for a specific Ethernet Flow Point (EFP) bridge domain. The range is 1 to 8000.
Chapter show mac address-table count Mac Entries for vlan 44: --------------------------Dynamic Address Count : 0 Static Address Count : 0 Total Mac Addresses : 0 Total Mac Address Space Available: 255879 Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
Chapter show mac address-table dynamic show mac address-table dynamic To display only dynamic MAC address table entries, use the show mac address-table dynamic command in user EXEC mode. show mac address-table dynamic [address mac-address] [bridge-domain number] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Syntax Description address mac-address (Optional) Specifies a 48-bit MAC address; the valid format is H.H.H (available in privileged EXEC mode only).
Chapter show mac address-table dynamic 1 0011.1195.1574 DYNAMIC Gi0/5 1 0011.1195.157c DYNAMIC Gi0/5 1 0011.11f1.ee7c DYNAMIC Gi0/5 1 0011.929c.5f58 DYNAMIC Gi0/5
Chapter show mac address-table interface show mac address-table interface To display the MAC address table information for the specified interface in the specified VLAN, use the show mac address-table interface command in user EXEC mode. show mac address-table interface interface-id [vlan vlan-id] [ | {begin | exclude | include} expression] Syntax Description interface-id Specifies an interface type; valid interfaces include physical ports and port channels.
Chapter show mac address-table interface Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN. show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN. show mac address-table dynamic Displays dynamic MAC address table entries only.
Chapter show mac address-table learning show mac address-table learning To display the status of MAC address learning for all VLANs and bridge domains or the specified VLAN or bridge domain, use the show mac address-table learning command in user EXEC mode. show mac address-table learning [bridge-domain number] [vlan vlan-id] [ | {begin | exclude | include} expression] Syntax Description bridge-domain number (Optional) Displays information for a specific Ethernet Flow Point bridge domain.
Chapter show mac address-table move update show mac address-table move update To display the MAC address-table move update information on the switch, use the show mac address-table move update command in user EXEC mode. show mac address-table move update [ | {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.
Chapter show mac address-table move update Related Commands Command Description clear mac address-table move update Clears the MAC address-table move update counters. mac address-table move update {receive | transmit} Configures MAC address-table move update on the switch.
Chapter show mac address-table notification show mac address-table notification To display the MAC address notification settings for all interfaces or the specified interface, use the show mac address-table notification command in user EXEC mode. show mac address-table notification {change [interface [interface-id] | mac-move | threshold} [ | {begin | exclude | include} expression] Syntax Description change Displays the MAC change notification feature parameters and the history table.
Chapter show mac address-table notification Current History Table Length : 3 MAC Notification Traps are Enabled History Table contents ---------------------History Index 0, Entry Timestamp 1032254, Despatch Timestamp 1032254 MAC Changed Message : Operation: Added Vlan: 2 MAC Addr: 0000.0000.0001 Module: 0 Port: 1 History Index 1, Entry Timestamp 1038254, Despatch Timestamp 1038254 MAC Changed Message : Operation: Added Vlan: 2 MAC Addr: 0000.0000.
Chapter show mac address-table static show mac address-table static To display only static MAC address table entries, use the show mac address-table static command in user EXEC mode. show mac address-table static [address mac-address] [bridge-domain number] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Syntax Description address mac-address (Optional) Specifies a 48-bit MAC address; the valid format is H.H.H (available in privileged EXEC mode only).
Chapter show mac address-table static Related Commands Command Description mac address-table static Adds static addresses to the MAC address table. mac address-table static drop Enables unicast MAC address filtering and configures the switch to drop traffic with a specific source or destination MAC address. show mac address-table address Displays MAC address table information for the specified MAC address.
Chapter show mac address-table vlan show mac address-table vlan To display the MAC address table information for the specified VLAN, use the show mac address-table vlan command in user EXEC mode. show mac address-table vlan vlan-id [ | {begin | exclude | include} expression] Syntax Description vlan-id (Optional) Displays addresses for a specific VLAN. The range is 1 to 4094. | begin (Optional) Display begins with the line that matches the expression.
Chapter show mac address-table vlan Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN. show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN. show mac address-table dynamic Displays dynamic MAC address table entries only.
Chapter show network-clocks show network-clocks To display information about Synchronous Ethernet (SyncE) clock configuration for the switch, use the show network-clocks command in privileged EXEC mode. show network-clocks [ | {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.
Chapter show network-clocks System Clock State is Automatic --------------------------------------------------------------hold-timeout : infinite ESMC/SSM workaround using REP not configured --------------------------------------------------------------Measured offset freq for input BITS is +483.87ppm (3.8 ppm resolution) Measured offset freq for input Te0/1 is +0.0ppm (3.8 ppm resolution) Measured offset freq for input Te0/2 is +0.0ppm (3.
Chapter show pagp show pagp To display Port Aggregation Protocol (PAgP) channel-group information, use the show pagp command in user EXEC mode. show pagp [channel-group-number] {counters | internal | neighbor} [ | {begin | exclude | include} expression]] Syntax Description channel-group-number (Optional) Number of the channel group. The range is 1 to 26. counters Displays PAgP traffic information. internal Displays PAgP internal information. neighbor Displays PAgP neighbor information.
Chapter show pagp This is an example of output from the show pagp 1 internal command: Switch> show pagp 1 internal Flags: S - Device is sending Slow hello. A - Device is in Auto mode. Timers: H - Hello timer is running. S - Switching timer is running. C - Device is in Consistent state. Q - Quit timer is running. I - Interface timer is running.
Chapter show parser macro show parser macro To display the parameters for all configured macros or for one macro on the switch, use the show parser macro command in user EXEC mode. show parser macro [{brief | description [interface interface-id] | name macro-name}] [ | {begin | exclude | include} expression] Syntax Description brief (Optional) Displays the name of each macro. description [interface interface-id] (Optional) Displays all macro descriptions or the description of a specific interface.
Chapter show parser macro This is an example of output from the show parser macro name command: Switch# show parser macro name sample-macro1 Macro name : sample-macro1 Macro type : customizable duplex full speed auto mdix auto This is an example of output from the show parser macro brief command: Switch# show parser macro brief customizable : sample-macro1 customizable : test1 Related Commands Command Description macro apply Applies a macro on an interface or applies and traces a macro on an interfac
Chapter show policy-map show policy-map To display quality of service (QoS) policy maps, which define classification criteria for incoming and outgoing traffic and the actions to be performed on the classified traffic, use the show policy-map command in user EXEC mode.
Chapter show policy-map Examples This is an example of the output of the show policy-map interface command showing statistics for an output policy map.
Chapter show policy-map Table 2-18 describes the fields in the show policy-map interface display. The fields in the table are grouped according to the relevant QoS feature. Table 3-14 Field show policy-map interface Field Descriptions Description Fields associated with classes or service policies Service-policy input/output Name of the input or output service policy applied to the specified interface. Class-map Class of traffic shown. Output appears for each configured class in the policy.
Chapter show port-type show port-type To display interface type information for the Cisco ME switch, use the show port-type command in privileged EXEC mode. show port-type [eni | nni | uni] [ | {begin | exclude | include} expression] Note Syntax Description All ports on the switch are network node interfaces (NNIs), so only nni output is valid. eni Enhanced network interface. nni Network node interface. uni User network interface.
Chapter show port-type Gi0/10 Gi0/11 Gi0/12 Gi0/13 Gi0/14 Gi0/15 Gi0/16 Gi0/17 Gi0/18 Gi0/19 Gi0/20 Gi0/21 Gi0/22 Gi0/23 Gi0/24 Te0/1 Te0/2 testwhelshdevice 1 1 1 trunk 1 1 1 1 1 1 1 1 1 1 1 1 1 Network Network Network Network Network Network Network Network Network Network Network Network Network Network Network Network Network Node Node Node Node Node Node Node Node Node Node Node Node Node Node Node Node Node Interface Interface Interface Interface Interface Interface Interface Interface Interface
Chapter show rep topology show rep topology To display Resilient Ethernet Protocol (REP) topology information for a segment or for all segments, including the primary and secondary edge ports in the segment., use the show rep topology command in user EXEC mode. show rep topology [segment segment_id] [archive] [detail] [ | {begin | exclude | include} expression] Syntax Description segment-id (Optional) Displays REP topology information for the specified segment. The ID range is from 1 to 1024.
Chapter show rep topology sw5_multseg_3400 sw2_multseg_3750 sw2_multseg_3750 sw1_multseg_3750 Gi0/14 Gi1/1/2 Gi1/1/1 Gi1/1/2 Sec Open Open Open Open This is a sample output from the show rep topology command when the edge ports are configured to have no REP neighbor: Switch # show rep topology REP Segment 2 BridgeName PortName ---------------- ---------sw8-ts8-51 Gi0/2 sw9-ts11-50 Gi1/0/4 sw9-ts11-50 Gi1/0/2 sw1-ts11-45 Gi0/2 sw1-ts11-45 Po1 sw8-ts8-51 Gi0/1 Edge ---Pri* Sec* Role ---Open Open Open
Chapter show rep topology This example shows output from the show rep topology segment archive command: Switch# show rep REP Segment 1 BridgeName ---------------sw1_multseg_3750 sw3_multseg_3400 sw3_multseg_3400 sw4_multseg_3400 sw4_multseg_3400 sw5_multseg_3400 sw5_multseg_3400 sw2_multseg_3750 sw2_multseg_3750 sw1_multseg_3750 Related Commands topology segment 1 archive PortName ---------Gi1/1/1 Gi0/13 Gi0/14 Gi0/13 Gi0/14 Gi0/13 Gi0/14 Gi1/1/2 Gi1/1/1 Gi1/1/2 Edge Role ---- ---Pri Open Open Open Open
Chapter show spanning-tree show spanning-tree To display spanning-tree state information, use the show spanning-tree command in user EXEC mode.
Chapter show spanning-tree mst [configuration [digest]] [instance-id [detail | interface interface-id [detail]] (Optional) Display the multiple spanning-tree (MST) region configuration and status (available only in privileged EXEC mode). The keywords have these meanings: • digest—(Optional) Display the MD5 digest included in the current MST configuration identifier (MSTCI). Two separate digests, one for standard and one for prestandard switches, appear (available only in privileged EXEC mode).
Chapter show spanning-tree | 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.2(52)EY This command was introduced. Usage Guidelines If the vlan-id variable is omitted, the command applies to the spanning-tree instance for all VLANs. Expressions are case sensitive.
Chapter show spanning-tree Designated root has priority 32768, address 0001.42e2.cdd0 Designated bridge has priority 32768, address 00d0.bbf5.c680 Designated port id is 128.
Chapter show spanning-tree This is an example of output from the show spanning-tree mst interface interface-id command: Switch# show spanning-tree mst interface gigabitethernet0/1 GigabitEthernet0/1 of MST00 is root forwarding Edge port: no (default) port guard : none Link type: point-to-point (auto) bpdu filter: disable Boundary : boundary (STP) bpdu guard : disable Bpdus sent 5, received 74 Instance role state cost 0 root FWD 200000 (default) (default) (default) prio vlans mapped 128 1,12,14-4094 This
Chapter show spanning-tree Command Description spanning-tree mst max-hops Sets the number of hops in an MST region before the BPDU is discarded and the information held for an interface is aged. spanning-tree mst port-priority Configures an interface priority. spanning-tree mst priority Configures the switch priority for the specified spanning-tree instance. spanning-tree mst root Configures the MST root switch priority and timers based on the network diameter.
Chapter show storm-control show storm-control To display broadcast, multicast, or unicast storm control settings on the switch or on the specified interface, or to display storm-control history, use the show storm-control command in user EXEC mode. show storm-control [interface-id] [broadcast | multicast | unicast] [ | {begin | exclude | include} expression] Syntax Description interface-id (Optional) Interface ID for the physical port (including type, module, and port number).
Chapter show storm-control This is an example of output from the show storm-control command for a specified interface. Because no traffic-type keyword was entered, the broadcast storm control settings appear. Switch> show Interface --------Gi0/1 storm-control gigabitethernet 0/1 Filter State Upper Lower ------------- ---------- --------Forwarding 20 pps 10 pps Current --------5 pps Table 2-19 describes the fields in the show storm-control display.
Chapter show udld show udld To display UniDirectional Link Detection (UDLD) administrative and operational status for all ports or the specified port, use the show udld command in user EXEC mode. show udld [interface-id] [neighbors] [ | {begin | exclude | include} expression] Syntax Description interface-id (Optional) ID of the interface and port number. Valid interfaces include physical ports and VLANs. The VLAN range is 1 to 4094. neighbors (Optional) Displays a summary of UDLD neighbors.
Chapter show udld Table 3-16 show udld Field Descriptions Field Description Interface The interface on the local device configured for UDLD. Port enable administrative configuration setting How UDLD is configured on the port. If UDLD is enabled or disabled, the port enable configuration setting is the same as the operational enable state. Otherwise, the enable operational setting depends on the global enable setting.
Chapter show version show version To display version information for the switch hardware and firmware, use the show version command in user EXEC mode. show version [ | {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.
Chapter show version Processor board ID FOC1350X0NW Last reset from power-on Target IOS Version 12.2(46)EY 1 Virtual Ethernet interface 25 Gigabit Ethernet interfaces 2 Ten Gigabit Ethernet interfaces The password-recovery mechanism is enabled. 1536K bytes of flash-simulated non-volatile configuration memory.
Chapter show vfi show vfi To display information about a virtual forwarding infrastructure (VFI), use the show vfi command in user EXEC mode. VFIs are used to implement hierarchical virtual private LAN service (H-VPLS) over a multiprotocol label switching (MPLS) backbone. show vfi vfi-name [ forwarding] [ | {begin | exclude | include} expression] Syntax Description vfi-name Name of the configured VFI. forwarding (Optional) Displays the VFI Layer 2 forwarding table.
Chapter show vfi Related Commands Command Description l2vfi Creates a VFI and enters VFI configuration mode. debug vqpc Displays VFI error or event debug messages.
Chapter show vlan show vlan To display the parameters for all configured VLANs or a specified VLAN, use the show vlan command in user EXEC mode. show vlan [access-map | brief | counters | dot1q tag native | filter | id vlan-id | mtu | name vlan-name | summary] [ | {begin | exclude | include} expression] Syntax Description Note access-map See the show vlan access-map command. brief (Optional) Displays one line for each VLAN with the VLAN name, status, and its ports.
Chapter show vlan might be dropped. If the VLAN does not have a switch virtual interface (SVI), the hyphen (-) symbol appears in the SVI_MTU column. If the MTU-Mismatch column displays yes, the names of the port with the MinMTU and the port with the MaxMTU 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 vlan command.
Chapter show vlan Table 3-17 show vlan Command Output Fields (continued) Field Description BrdgNo Bridge number for the VLAN, if applicable. Stp Spanning Tree Protocol type used on the VLAN. BrdgMode Bridging mode for this VLAN—possible values are source-route bridging (SRB) and source-route transparent (SRT); the default is SRB. Trans1 Translation bridge 1. Trans2 Translation bridge 2. Remote SPAN VLANs Identifies any RSPAN VLANs that have been configured.
Chapter show vlan access-map show vlan access-map To display information about a particular VLAN access map or for all VLAN access maps, use the show vlan access-map command in privileged EXEC mode. show vlan access-map [mapname] [ | {begin | exclude | include} expression] Syntax Description mapname (Optional) Name of a specific VLAN access map. | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression.
Chapter show vlan filter show vlan filter To display information about all VLAN filters or about a particular VLAN or VLAN access map, use the show vlan filter command in privileged EXEC mode. show vlan filter [access-map name | vlan vlan-id] [ | {begin | exclude | include} expression] Syntax Description access-map name (Optional) Displays filtering information for the specified VLAN access map. vlan vlan-id (Optional) Displays filtering information for the specified VLAN. The range is 1 to 4094.
3] Chapter shutdown shutdown To disable an interface or Ethernet flow point (EFP) service instance, use the shutdown command in interface configuration or service-instance configuration mode. To restart a disabled interface or service instance, use the no form of this command. shutdown no shutdown Syntax Description This command has no arguments or keywords. Command Modes Interface configuration or service-instance configuration Command History Release Modification 12.
Chapter shutdown vlan shutdown vlan To shut down (suspend) local traffic on the specified VLAN, use the shutdown vlan command in global configuration mode. To restart local traffic on the VLAN, use the no form of this command. shutdown vlan vlan-id no shutdown vlan vlan-id Syntax Description vlan-id Defaults No default is defined. Command Modes Global configuration Command History Release Modification 12.2(52)EY This command was introduced.
Chapter snmp mib rep trap-rate snmp mib rep trap-rate To configure the sending of Resilient Ethernet Protocol (REP) SNMP traps when there is a link operational status or port role change, use the snmp mib rep trap-rate command in global configuration mode. To disable sending of the REP trap, use the no version of the command. snmp mib rep trap-rate value no snmp mib rep trap-rate Syntax Description trap-rate value Defaults Sending REP traps is disabled.
Chapter snmp-server enable traps snmp-server enable traps To enable the switch to send Simple Network Management Protocol (SNMP) notifications for various traps or inform requests to the network management system (NMS), use the snmp-server enable traps command in global configuration mode. To return to the default setting, use the no form of this command.
Chapter snmp-server enable traps cef type (Optional) Displays Cisco Express Forwarding (CEF) traps. You can optionally enter one of these keywords: • inconsistency—Enables SNMP CEF inconsistency traps. • peer-fib-state-change—Enables SNMP CEF peer FIB state-change traps. • peer-state-change—Enables SNMP CEF peer state-change traps. • resource-failure—Enables SNMP CEF resource-failure traps. config (Optional) Enables SNMP configuration traps.
Chapter snmp-server enable traps (Optional) Enables Protocol-Independent Multicast (PIM) traps. The pim [invalid-pim-message | keywords have these meanings: neighbor-change | • invalid-pim-message—(Optional) Enables invalid PIM message traps. rp-mapping-change] • neighbor-change—(Optional) Enables PIM neighbor-change traps. • rtr rp-mapping-change—(Optional) Enables rendezvous point (RP)-mapping change traps. (Optional) Enables SNMP Response Time Reporter traps.
Chapter snmp-server enable traps Command Modes Global configuration Command History Release Modification 12.2(52)EY This command was introduced. Usage Guidelines Specify the host (NMS) that receives the traps by using the snmp-server host global configuration command. If no trap types are specified, all trap types are sent. When supported, use the snmp-server enable traps command to enable sending of traps or informs. Note Informs are not supported in SNMPv1.
Chapter snmp-server host snmp-server host To specify the recipient (host) of a Simple Network Management Protocol (SNMP) notification operation, use the snmp-server host command in global configuration mode. To remove the specified host, use the no form of this command.
Chapter snmp-server host notification-type (Optional) Type of notification to be sent to the host. If no type is specified, all notifications are sent. • alarms—Sends SNMP alarms traps. • auth-framework—Sends NMP CISCO-AUTH-FRAMEWORK-MIB traps. • bgp—Sends Border Gateway Protocol (BGP) state change traps. This keyword is valid only when the metro IP access image is installed on the switch. • bridge—Sends SNMP Spanning Tree Protocol (STP) bridge MIB traps. • cef—Sends cef traps.
Chapter snmp-server host Note Defaults Though visible in the command-line help strings, the energywise, event manager, fru-ctrl, and vtp keywords are not supported. This command is disabled by default. No notifications are sent. If you enter this command with no keywords, the default is to send all trap types to the host. No informs are sent to this host. If no version keyword is present, the default is Version 1.
Chapter snmp-server host the snmp-server host command for that host must be enabled. Some notification types cannot be controlled with the snmp-server enable traps command. For example, some notification types are always enabled. Other notification types are enabled by a different command. The no snmp-server host command with no keywords disables traps, but not informs, to the host. To disable informs, use the no snmp-server host informs command.
Chapter snmp trap mac-notification change snmp trap mac-notification change To enable the Simple Network Management Protocol (SNMP) MAC address notification trap on a specific Layer 2 interface, use the snmp trap mac-notification change command in interface configuration mode. To return to the default setting, use the no form of this command.
Chapter snmp trap mac-notification change Related Commands Command Description clear mac address-table notification Clears the MAC address notification global counters. mac address-table notification Enables the MAC address notification feature. show mac address-table notification Displays the MAC address notification settings for all interfaces or on the specified interface when the interface keyword is appended.
Chapter spanning-tree bpdufilter spanning-tree bpdufilter To prevent an interface from sending or receiving bridge protocol data units (BPDUs), use the spanning-tree bpdufilter command in interface configuration mode. To return to the default setting, use the no form of this command. spanning-tree bpdufilter {disable | enable} no spanning-tree bpdufilter Syntax Description disable Disables BPDU filtering on the specified STP port. enable Enables BPDU filtering on the specified STP port.
Chapter spanning-tree bpdufilter Related Commands Command Description show running-config Displays the operating configuration. spanning-tree portfast (global configuration) Globally enables the BPDU filtering or the BPDU guard feature on Port Fast-enabled STP ports or enables the Port Fast feature on all nontrunking STP ports. spanning-tree portfast (interface configuration) Enables the Port Fast feature on an STP port and all its associated VLANs.
Chapter spanning-tree bpduguard spanning-tree bpduguard To put an interface in the error-disabled state when it receives a bridge protocol data unit (BPDU), use the spanning-tree bpduguard command in interface configuration mode. To return to the default setting, use the no form of this command. spanning-tree bpduguard {disable | enable} no spanning-tree bpduguard Syntax Description disable Disables BPDU guard on the specified STP port. enable Enables BPDU guard on the specified STP port.
Chapter spanning-tree bpduguard Related Commands Command Description show running-config Displays the operating configuration. spanning-tree portfast (global configuration) Globally enables the BPDU filtering or the BPDU guard feature on Port Fast-enabled STP ports or enables the Port Fast feature on all nontrunking STP ports. spanning-tree portfast (interface configuration) Enables the Port Fast feature on an STP port and all its associated VLANs.
Chapter spanning-tree cost spanning-tree cost To set the path cost for spanning-tree calculations. use the spanning-tree cost command in interface configuration mode. If a loop occurs, spanning tree considers the path cost when selecting an interface to place in the forwarding state. To return to the default setting, use the no form of this command.
Chapter spanning-tree cost Related Commands Command Description show spanning-tree interface interface-id Displays spanning-tree information for the specified interface. spanning-tree port-priority Configures an STP port priority. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance.
Chapter spanning-tree etherchannel guard misconfig spanning-tree etherchannel guard misconfig To display an error message when the switch detects an EtherChannel misconfiguration, use the spanning-tree etherchannel guard misconfig command in global configuration mode. To disable the feature, use the no form of this command. spanning-tree etherchannel guard misconfig no spanning-tree etherchannel guard misconfig Syntax Description This command has no arguments or keywords.
Chapter spanning-tree etherchannel guard misconfig Related Commands Command Description errdisable recovery cause channel-misconfig Enables the timer to recover from the EtherChannel misconfiguration error-disable state. show etherchannel summary Displays EtherChannel information for a channel as a one-line summary per channel-group. show interfaces status err-disabled Displays the interfaces in the error-disabled state.
Chapter spanning-tree extend system-id spanning-tree extend system-id To enable the extended system ID feature, use the spanning-tree extend system-id global configuration command. spanning-tree extend system-id Note Though visible in the command-line help strings, the no version of this command is not supported. You cannot disable the extended system ID feature. Syntax Description This command has no arguments or keywords. Defaults The extended system ID is enabled.
Chapter spanning-tree guard spanning-tree guard To enable root guard or loop guard on all the VLANs associated with the selected port, use the spanning-tree guard command in interface configuration mode. Root guard restricts which interface is allowed to be the spanning-tree root port or the path-to-the root for the switch. Loop guard prevents alternate or root ports from becoming designated ports when a failure creates a unidirectional link.
Chapter spanning-tree guard You can override the setting of the spanning-tree loopguard default global configuration command by using the spanning-tree guard loop interface configuration command on an STP interface. You can verify your settings by entering the show running-config privileged EXEC command.
Chapter spanning-tree link-type spanning-tree link-type To override the default link-type setting, which is determined by the duplex mode of the Spanning Tree Protocol (STP) port, and to enable rapid spanning-tree transitions to the forwarding state, use the spanning-tree link-type command in interface configuration mode. To return to the default setting, use the no form of this command.
Chapter spanning-tree link-type Related Commands Command Description clear spanning-tree counters Restarts the protocol migration process (force the renegotiation with neighboring switches) on all interfaces or on the specified interface. show spanning-tree interface interface-id Displays spanning-tree state information for the specified interface. show spanning-tree mst interface interface-id Displays MST information for the specified interface.
Chapter spanning-tree loopguard default spanning-tree loopguard default To enable loopguard by default on all interfaces with STP enabled, use the spanning-tree loopguard default command in global configuration mode. Enabling loopguard prevents alternate or root ports from becoming designated ports because of a failure that leads to a unidirectional link. To return to the default setting, use the no form of this command.
Chapter spanning-tree loopguard default Related Commands Command Description show running-config Displays the operating configuration. spanning-tree guard loop Enables the loop guard feature on all the VLANs associated with the specified STP port.
Chapter spanning-tree mode spanning-tree mode To enable per-VLAN spanning-tree plus (PVST+), rapid PVST+, or multiple spanning tree (MST), use the spanning-tree mode command in global configuration mode. To return to the default setting, use the no form of this command. spanning-tree mode {mst | pvst | rapid-pvst} no spanning-tree mode Syntax Description mst Enables MST and Rapid Spanning Tree Protocol (RSTP) (based on IEEE 802.1s and IEEE 802.1w). pvst Enables PVST+ (based on IEEE 802.1D).
Chapter spanning-tree mst configuration spanning-tree mst configuration To enter multiple spanning-tree (MST) configuration mode through which you configure the MST region, use the spanning-tree mst configuration command in global configuration mode. To return to the default settings, use the no form of this command. spanning-tree mst configuration no spanning-tree mst configuration Syntax Description This command has no arguments or keywords.
Chapter spanning-tree mst configuration When you map VLANs to an MST instance, the mapping is incremental, and VLANs specified in the command are added to or removed from the VLANs that were previously mapped. To specify a range, use a hyphen; for example, instance 1 vlan 1-63 maps VLANs 1 to 63 to MST instance 1. To specify a series, use a comma; for example, instance 1 vlan 10, 20, 30 maps VLANs 10, 20, and 30 to MST instance 1.
Chapter spanning-tree mst cost spanning-tree mst cost To set the path cost for multiple spanning-tree (MST) calculations, use the spanning-tree mst cost command in interface configuration mode. If a loop occurs, spanning tree considers the path cost when selecting an interface to put in the forwarding state. To return to the default setting, use the no form of this command.
Chapter spanning-tree mst cost Related Commands Command Description show spanning-tree mst interface interface-id Displays MST information for the specified interface. spanning-tree mst port-priority Configures an interface priority. spanning-tree mst priority Configures the switch priority for the specified spanning-tree instance.
Chapter spanning-tree mst forward-time spanning-tree mst forward-time To set the forward-delay time for all multiple spanning-tree (MST) instances, use the spanning-tree mst forward-time command in global configuration mode. The forwarding time specifies how long each of the listening and learning states last before the interface begins forwarding. To return to the default setting, use the no form of this command.
Chapter spanning-tree mst hello-time spanning-tree mst hello-time To set the interval between hello bridge protocol data units (BPDUs) sent by root switch configuration messages, use the spanning-tree mst hello-time command in global configuration mode. To return to the default setting, use the no form of this command. spanning-tree mst hello-time seconds no spanning-tree mst hello-time Syntax Description seconds Defaults The default is 2 seconds.
Chapter spanning-tree mst max-age spanning-tree mst max-age To set the interval between messages that the spanning tree receives from the root switch, use the spanning-tree mst max-age command in global configuration mode. If a switch does not receive a bridge protocol data unit (BPDU) message from the root switch within this interval, it recomputes the spanning-tree topology. To return to the default setting, use the no form of this command.
Chapter spanning-tree mst max-hops spanning-tree mst max-hops To set the number of hops in a region before the bridge protocol data unit (BPDU) is discarded and the information held for an interface is aged, use the spanning-tree mst max-hops command in global configuration mode. To return to the default setting, use the no form of this command. spanning-tree mst max-hops hop-count no spanning-tree mst max-hops Syntax Description hop-count Defaults The default is 20 hops.
Chapter spanning-tree mst port-priority spanning-tree mst port-priority To configure an interface priority, use the spanning-tree mst port-priority command in interface configuration mode. If a loop occurs, the Multiple Spanning Tree Protocol (MSTP) can find the interface to put in the forwarding state. To return to the default setting, use the no form of this command.
Chapter spanning-tree mst port-priority Related Commands Command Description show spanning-tree mst interface interface-id Displays MST information for the specified interface. spanning-tree mst cost Sets the path cost for MST calculations. spanning-tree mst priority Sets the switch priority for the specified spanning-tree instance.
Chapter spanning-tree mst pre-standard spanning-tree mst pre-standard To configure a port to send only prestandard bridge protocol data units (BPDUs), use the spanning-tree mst pre-standard command in interface configuration command. To return to the default setting, use the no form of this command. spanning-tree mst pre-standard no spanning-tree mst pre-standard Syntax Description This command has no arguments or keywords.
Chapter spanning-tree mst priority spanning-tree mst priority To set the switch priority for the specified spanning-tree instance, use the spanning-tree mst priority command in global configuration mode. To return to the default setting, use the no form of this command. spanning-tree mst instance-id priority priority no spanning-tree mst instance-id priority Syntax Description instance-id Range of spanning-tree instances.
Chapter spanning-tree mst root spanning-tree mst root Use the spanning-tree mst root global configuration command to configure the multiple spanning-tree (MST) root switch priority and timers based on the network diameter. Use the no form of this command to return to the default settings. spanning-tree mst instance-id root {primary | secondary} [diameter net-diameter [hello-time seconds]] no spanning-tree mst instance-id root Syntax Description Defaults instance-id Range of spanning-tree instances.
Chapter spanning-tree mst root When you enter the spanning-tree mst instance-id root secondary command, because of support for the extended system ID, the software changes the switch priority from the default value (32768) to 28672. If the root switch fails, this switch becomes the next root switch (if the other switches in the network use the default switch priority of 32768 and are therefore unlikely to become the root switch).
Chapter spanning-tree port-priority spanning-tree port-priority To configure an interface priority, use the spanning-tree port-priority command in interface configuration mode. If a loop occurs, spanning tree can find the interface to put in the forwarding state. To return to the default setting, use the no form of this command.
Chapter spanning-tree port-priority Related Commands Command Description show spanning-tree interface interface-id Displays spanning-tree information for the specified interface. spanning-tree cost Sets the path cost for spanning-tree calculations. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance.
Chapter spanning-tree portfast (global configuration) spanning-tree portfast (global configuration) To globally enable bridge protocol data unit (BPDU) filtering on Port Fast-enabled interfaces, the BPDU guard feature on Port Fast-enabled STP ports, or the Port Fast feature on all nontrunking STP ports., use the spanning-tree portfast command in global configuration mode. The BPDU filtering feature prevents the switch STP port from sending or receiving BPDUs.
Chapter spanning-tree portfast (global configuration) Caution Enabling BPDU filtering on an STP port is the same as disabling spanning tree on it and can result in spanning-tree loops. Use the spanning-tree portfast bpduguard default global configuration command to globally enable BPDU guard on STP ports that are in a Port Fast-operational state. In a valid configuration, Port Fast-enabled STP ports do not receive BPDUs.
Chapter spanning-tree portfast (interface configuration) spanning-tree portfast (interface configuration) To enable the Port Fast feature on an STP port in all its associated VLANs, use the spanning-tree portfast command in interface configuration mode. When the Port Fast feature is enabled, the STP port changes directly from a blocking state to a forwarding state without making the intermediate spanning-tree state changes. To return to the default setting, use the no form of this command.
Chapter spanning-tree portfast (interface configuration) Examples This example shows how to enable the Port Fast feature on a port: Switch(config)# interface gigabitethernet0/2 Switch(config-if)# spanning-tree portfast Related Commands Command Description show running-config Displays the operating configuration. spanning-tree bpdufilter Prevents an interface from sending or receiving bridge protocol data units (BPDUs).
Chapter spanning-tree vlan spanning-tree vlan To configure spanning tree on a per-VLAN basis, use the spanning-tree vlan command in global configuration mode. To return to the default setting, use the no form of this command.
Chapter spanning-tree vlan Command Modes Global configuration Command History Release Modification 12.2(52)EY This command was introduced. Usage Guidelines Disabling the STP causes the VLAN to stop participating in the spanning-tree topology. STP ports that are administratively down remain down. Received BPDUs are forwarded like other multicast frames. The VLAN does not detect and prevent loops when STP is disabled.
Chapter spanning-tree vlan This example shows how to set the spanning-tree hello-delay time to 3 seconds for VLANs 20 to 24: Switch(config)# spanning-tree vlan 20-24 hello-time 3 This example shows how to set spanning-tree max-age to 30 seconds for VLAN 20: Switch(config)# spanning-tree vlan 20 max-age 30 This example shows how to reset the max-age parameter to the default value for spanning-tree instance 100 and 105 to 108: Switch(config)# no spanning-tree vlan 100, 105-108 max-age This example shows h
Chapter speed speed To specify the speed of a 10/100/1000 Mbps port, use the speed interface configuration command. To return the port to its default value, use the no or default form of this command.
Chapter speed If the speed is set to auto, the switch negotiates with the device at the other end of the link for the speed setting and then forces the speed setting to the negotiated value. The duplex setting remains as configured on each end of the link, which could result in a duplex setting mismatch. If both ends of the line support autonegotiation, we highly recommend the default autonegotiation settings.
Chapter storm-control storm-control To enable broadcast, multicast, or unicast storm control and to set threshold levels on an interface, use the storm-control command in interface configuration mode. To return to the default setting, use the no form of this command.
Chapter storm-control level pps pps [pps-low] Specifies the rising and falling suppression levels as a rate in packets per second at which traffic is received on the port. • pps pps—The rising threshold level for broadcast, multicast, or unicast traffic in packets per second (up to one decimal place). The port blocks traffic when the rising threshold is reached. The range is 0.0 to 10000000000.0. • (Optional) pps-low,—The falling threshold level in packets per second (up to one decimal place).
Chapter storm-control Note When the storm control threshold for multicast traffic is reached, all multicast traffic except control traffic, such as bridge protocol data unit (BDPU) and Cisco Discovery Protocol (CDP) frames, are blocked. However, the switch does not differentiate between routing updates, such as Open Shortest Path First (OSPF) and regular multicast data traffic, so both types of traffic are blocked. The trap and shutdown options are independent of each other.
Chapter switchport switchport To put an interface that is in Layer 3 mode into Layer 2 mode for Layer 2 configuration, use the switchport command with no keywords in interface configuration mode. To put an interface in Layer 3 mode, use the no form of this command. switchport no switchport Note The switchport commands are not available on interfaces with service instances configured. Syntax Description This command has no arguments or keywords.
Chapter switchport Examples This example shows how to change an interface from a Layer 2 (switching) port to a Layer 3 (routed) port. Switch(config-if)# no switchport This example shows how to return the port to switching mode: Switch(config-if)# switchport Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port, including port blocking and port protection settings.
Chapter switchport access vlan switchport access vlan To configure a port as a static-access port, use the switchport access vlan command in interface configuration mode. If the switchport mode is set to access (by using the switchport mode interface configuration command), use this command to set the port to operate as a member of the specified VLAN. To reset the access VLAN mode to the default VLAN for the switch, use the no form of this command.
Chapter switchport access vlan Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port, including port blocking and port protection settings. switchport mode Configures the VLAN membership mode of a port.
Chapter switchport backup interface switchport backup interface To configure Flex Links, a pair of interfaces that provide backup to each other, use the switchport backup interface command in interface configuration mode on a Layer 2 interface. To remove the Flex Links configuration, use the no form of this command.
Chapter switchport backup interface Command History Usage Guidelines Release Modification 12.2(52)EY This command was introduced. With Flex Links configured, one link acts as the primary interface and forwards traffic, while the other interface is in standby mode, ready to begin forwarding traffic if the primary link shuts down. The interface being configured is referred to as the active link; the specified interface is identified as the backup link.
Chapter switchport backup interface This example shows how to configure preferred VLANs: Switch(config)# interface gigabitethernet 0/6 Switch(config-if)# switchport backup interface gigabitethernet 0/8 prefer vlan 60,100-120 In this example, VLANs 60, and 100 to 120 are configured on the switch: Switch(config)# interface gigabitEthernet 0/6 Switch(config-if)# switchport backup interface gigabitEthernet 0/8 prefer vlan 60,100-120 When both interfaces are up, Gi0/6 forwards traffic for VLANs 1 to 50, and G
Chapter switchport backup interface Switch# show interfaces switchport backup detail Switch Backup Interface Pairs: Active Interface Backup Interface State -----------------------------------------------------------------------GigabitEthernet0/11 GigabitEthernet0/12 Active Up/Backup Standby Preemption Mode : off Multicast Fast Convergence : On Bandwidth : 1000000 Kbit (Gi0/11), 1000000 Kbit (Gi0/12) Mac Address Move Update Vlan : auto Related Commands Command Description show interfaces [interface-id]
Chapter switchport block switchport block To prevent unknown multicast or unicast packets from being forwarded, use the switchport block command in interface configuration mode. To allow forwarding unknown multicast or unicast packets, use the no form of this command. switchport block {multicast | unicast} no switchport block {multicast | unicast} Note Syntax Description This command is not available on interfaces with service instances configured.
Chapter switchport block Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port.
Chapter switchport host switchport host To optimize a Layer 2 port for a host connection, use the switchport host command in interface configuration mode. The no form of this command has no affect on the system. switchport host Note This command is not available on interfaces with service instances configured. Syntax Description This command has no arguments or keywords. Defaults The default is for the port to not be optimized for a host connection.
Chapter switchport mode switchport mode To configure the VLAN membership mode of a port, use the switchport mode command in interface configuration mode. To reset the mode to the default, use the no form of this command. switchport mode {access | trunk} no switchport mode Note Syntax Description This command is not available on interfaces with service instances configured.
Chapter switchport mode Examples This example shows how to configure a port for access mode: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# switchport mode access This example shows how to configure a port for trunk mode: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# switchport mode trunk Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port.
Chapter switchport trunk switchport trunk To set the trunk characteristics when the interface is in trunking mode, use the switchport trunk command in interface configuration mode. To reset a trunking characteristic to the default, use the no form of this command. switchport trunk {allowed vlan vlan-list | native vlan vlan-id} no switchport trunk {allowed vlan | native vlan} Note Syntax Description This command is not available on interfaces with service instances configured.
Chapter switchport trunk Command History Usage Guidelines Release Modification 12.2(52)EY This command was introduced. Native VLANs: • All untagged traffic received on an IEEE 802.1Q trunk port is forwarded with the native VLAN configured for the port. • If a packet has a VLAN ID that is the same as the sending-port native VLAN ID, the packet is sent without a tag; otherwise, the switch sends the packet with a tag.
Chapter system env temperature threshold alert system env temperature threshold alert To configure the delta value from the shutdown threshold for a high or low alert to be generated, use the system env temperature threshold alert command in global configuration mode. To return to the default, use the no form of this command.
Chapter test cable-diagnostics tdr test cable-diagnostics tdr To run the Time Domain Reflector (TDR) feature on an interface, use the test cable-diagnostics tdr command in privileged EXEC mode. test cable-diagnostics tdr interface interface-id Note TDR is supported only on GigabitEthernet 10/100/100 ports. interface-id Specifies the interface on which to run TDR. Defaults There is no default. Command Modes Privileged EXEC Command History Release Modification 12.
Chapter traceroute mac traceroute mac To display the Layer 2 path taken by the packets from the specified source MAC address to the specified destination MAC address, use the traceroute mac command in privileged EXEC mode. traceroute mac [interface interface-id] {source-mac-address} [interface interface-id] {destination-mac-address} [vlan vlan-id] [detail] Syntax Description interface interface-id (Optional) Specifies an interface on the source or destination switch.
Chapter traceroute mac The Layer 2 traceroute feature is not supported when multiple devices are attached to one port through hubs (for example, multiple CDP neighbors are detected on a port). When more than one CDP neighbor is detected on a port, the Layer 2 path is not identified, and an error message appears. This feature is not supported in Token Ring VLANs. Examples This example shows how to display the Layer 2 path by specifying the source and destination MAC addresses: Switch# traceroute mac 0000.
Chapter traceroute mac This example shows the Layer 2 path when the switch cannot find the destination port for the source MAC address: Switch# traceroute mac 0000.0011.1111 0000.0201.0201 Error:Source Mac address not found. Layer2 trace aborted. This example shows the Layer 2 path when the source and destination devices are in different VLANs: Switch# traceroute mac 0000.0201.0601 0000.0301.0201 Error:Source and destination macs are on different vlans. Layer2 trace aborted.
Chapter traceroute mac ip traceroute mac ip To display the Layer 2 path taken by the packets from the specified source IP address or hostname to the specified destination IP address or hostname, use the traceroute mac ip command in privileged EXEC mode. traceroute mac ip {source-ip-address | source-hostname} {destination-ip-address | destination-hostname} [detail] Syntax Description source-ip-address Specifies the IP address of the source switch as a 32-bit quantity in dotted-decimal format.
Chapter traceroute mac ip The Layer 2 traceroute feature is not supported when multiple devices are attached to one port through hubs (for example, multiple CDP neighbors are detected on a port). When more than one CDP neighbor is detected on a port, the Layer 2 path is not identified, and an error message appears. This feature is not supported in Token Ring VLANs.
Chapter udld udld To enable aggressive or normal mode in the UniDirectional Link Detection (UDLD) and to set the configurable message timer, use the udld command in global configuration mode. To disable aggressive or normal mode UDLD on all fiber-optic ports, use the no form of the command. udld {aggressive | enable | message time message-timer-interval} no udld {aggressive | enable | message} Syntax Description Defaults aggressive Enables UDLD in aggressive mode on all fiber-optic interfaces.
Chapter udld • The no udld port interface configuration command followed by the udld port or udld port aggressive interface configuration command to re-enable UDLD on the specified interface • The errdisable recovery cause udld and errdisable recovery interval interval global configuration commands to automatically recover from the UDLD error-disabled state You can verify your setting by entering the show udld privileged EXEC command.
Chapter udld port udld port To enable the UniDirectional Link Detection (UDLD) on an individual interface or prevent a fiber-optic interface from being enabled by the udld global configuration command, use the udld port command in interface configuration mode. To return to the udld global configuration command setting or to disable UDLD if entered for a nonfiber-optic port, use the no form of this command.
Chapter udld port For UDLD to peer with a neighbor on a port that has an Ethernet Virtual Connection (EVC) EFP service instance configured, you need to enter the l2 protocol peer udld service-instance configuration command on the service instance. If the switch software detects a small form-factor pluggable (SFP) module change and the port changes from fiber optic to nonfiber optic or the reverse, all configurations are maintained.
Chapter udld reset udld reset To reset all interfaces disabled by the UniDirectional Link Detection (UDLD) and permit traffic to begin passing through them again, use the udld reset command in privileged EXEC mode. Other enabled features, such as spanning tree and Port Aggregation Protocol (PAgP), still have their normal effects. udld reset Syntax Description This command has no arguments or keywords. Command Modes Privileged EXEC Command History Release Modification 12.
Chapter uni count uni count To set the user-network interface (UNI) count for an Ethernet virtual connection (EVC), use the uni count command in EVC configuration mode. To return to the default setting, use the no form of this command. uni count value [multipoint] no uni count Syntax Description value Sets the number of UNIs in the EVC. The range is from 2 to 1024. The default is 2. multipoint (Optional) Selects point-to-multipoint service.
Chapter uni count Caution Examples Configuring a UNI count does not prevent you from configuring more endpoints than the configured count. For example, if you configure a UNI count of five, but you create ten MEPs, any five MEPs in the domain can go down without the status changing to Partially Active.
Chapter uni-vlan uni-vlan To configure a VLAN as a user network interface (UNI) community or isolated VLAN, use the uni-vlan command in VLAN configuration mode. UNIs on a switch that are assigned to a community VLAN can exchange packets with one another. uni-vlan {community | isolated} no uni-vlan Note Syntax Description This command has no effect on the switch. All ports on the switch are network node interfaces (NNIs), which can always exchange packets with one another.
Chapter violate-action violate-action To set actions for a policy-map class for packets that exceed the peak information rate (PIR), use the violate-action command in policy-map class police configuration mode. To cancel the action or to return to the default action, use the no form of this command.
Chapter violate-action Usage Guidelines You configure violate actions for packets that exceed the peak information rate (PIR). The switch also supports marking multiple QoS parameters for the same class and simultaneously configuring conform-action, exceed action, and violate-action marking. Access policy-map class police configuration mode by entering the police policy-map class command. See the police command for more information.
Chapter vlan vlan To create a VLAN and to enter VLAN configuration mode, use the vlan command with a VLAN ID in global configuration mode. To delete the VLAN, use the no form of this command. Configuration information for normal-range VLANs (VLAN IDs 1 to 1005) is always saved in the VLAN database as well as in the switch running configuration file. Configuration information for extended-range VLANs (VLAN IDs greater than 1005), are saved only in the switch running configuration file.
Chapter vlan Note The switch supports only Ethernet VLANs. You can configure parameters for FDDI and Token Ring VLANs and view the results in the vlan.dat file, but these parameters are not used. • are are-number: defines the maximum number of all-routes explorer (ARE) hops for TrCRF VLANs. The range is 0 to 13. The default is 7. • backupcrf {enable | disable}: specifies the backup CRF mode for TrCRF VLANs.
Chapter vlan – auto for STP running a combination of source-route transparent bridging (IEEE) and source-route bridging (IBM). • tb-vlan1 tb-vlan1-id and tb-vlan2 tb-vlan2-id: specifies the first and second VLAN to which this VLAN is translationally bridged. Translational VLANs translate FDDI or Token Ring to Ethernet, for example. The range is 0 to 1005. If no value is specified, 0 (no transitional bridging) is assumed. You can verify your setting by entering the show vlan privileged EXEC command.
Chapter vlan access-map vlan access-map To create or modify a VLAN map entry for VLAN packet filtering and to enter VLAN access-map configuration mode, use the vlan access-map command in global configuration mode. To delete a VLAN map entry, use the no form of this command. Use the vlan filter interface configuration command to apply a VLAN map to one or more VLANs. vlan access-map name [number] no vlan access-map name [number] Syntax Description name Name of the VLAN map.
Chapter vlan access-map Note Examples For more information about VLAN map entries, see the software configuration guide for this release. This example shows how to create a VLAN map named vac1 and apply matching conditions and actions to it. If no other entries already exist in the map, this will be entry 10.
Chapter vlan dot1q tag native vlan dot1q tag native To enable tagging of native VLAN frames on all IEEE 802.1Q trunk ports, use the vlan dot1q tag native command in global configuration mode. To return to the default setting, use the no form of this command. vlan dot1q tag native no vlan dot1q tag native Syntax Description This command has no arguments or keywords. Defaults IEEE 802.1Q native VLAN tagging is disabled. Command Modes Global configuration Command History Release Modification 12.
Chapter vlan filter vlan filter To apply a VLAN map to one or more VLANs, use the vlan filter command in global configuration mode. To remove the map, use the no form of this command. vlan filter mapname vlan-list {list | all} no vlan filter mapname vlan-list {list | all} Syntax Description mapname Name of the VLAN map entry. list The list of one or more VLANs in the form tt, uu-vv, xx, yy-zz, where spaces around commas and dashes are optional. The range is 1 to 4094.
Chapter vpn id vpn id To configure the virtual private network (VPN) number for a virtual forwarding infrastructure (VFI) interface, use the vpn id command in VFI configuration mode. To remove the VPN ID from the VFI, use the no form of this command. vpn id vpn-number no vpn id vpn-number Syntax Description vpn-number Defaults The VPN ID is not configured. Command Modes VFI configuration Command History Release Modification 12.2(52)EY This command was introduced.
Chapter xconnect xconnect to route a Layer 2 packets over a specified point-to-point VC by using Ethernet over multiprotocol label switching (EoMPLS), use the xconnect command in interface configuration mode at customer-edge or service provider-edge ingress and egress Ethernet ports or on VLAN interfaces with a destination and virtual-connection (VC) ID. You can also bind the VC to a pseudowire.
Chapter xconnect For H-VPLS, you create the VFI and enter VFI configuration mode by entering the l2 vfi vfi-name global configuration command. You can attach a VFI to a VLAN or to multiple Ethernet ports. The switch does not allow switching VLAN and port interfaces through the same VFI. The pw-class keyword with the pw-class-name value binds the xconnect configuration of an attachment circuit to a specific pseudowire class.
Chapter xconnect Cisco ME 3800X and ME 3600X Switch Command Reference -100 OL-23401-02
A P P E N D I X A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands This appendix describes the boot loader commands on the Cisco ME 3800X and ME 3600X switch. During normal boot loader operation, you are not presented with the boot loader command-line prompt. You gain access to the boot loader command line if the switch is set to manually boot, if an error occurs during power-on self-test (POST) DRAM testing, or if an error occurs while loading the operating system (a corrupted Cisco IOS image).
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands arp arp To display the contents the Address Resolution Protocol (ARP) table, use the arp command in boot loader mode. arp [ip_address] Syntax Description ip_address Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced. (Optional) Show the ARP table or the mapping for a specific IP address. Usage Guidelines The ARP table has the IP-address-to-MAC-address mappings.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands boot boot To load and boot an executable image and to enter the command-line interface, use the boot command in boot loader mode. boot [-post | -n | -p | flag] filesystem:/file-url ... Syntax Description -post (Optional) Runs the loaded image with an extended or comprehensive power-on self-test (POST). Using this keyword causes POST to take longer to complete.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands boot Related Commands Command Description set Sets the BOOT environment variable to boot a specific image when the BOOT keyword is appended to the command.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands cat cat To display the contents of one or more files, use the cat command in boot loader mode. cat filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url Path (directory) and name of the files to display. Separate each filename with a space. Command Modes Boot loader Command History Release Modification 12.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands copy copy To copy a file from a source to a destination, use the copy command in boot loader mode. copy [-b block-size] filesystem:/source-file-url filesystem:/destination-file-url Syntax Description -b block-size (Optional) This option is used only for internal development and testing. filesystem: Alias for a flash file system. Use flash: for the system board flash device.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands delete delete To delete one or more files from the specified file system, use the delete command in boot loader mode. delete filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url Path (directory) and filename to delete. Separate each filename with a space. Command Modes Boot loader Command History Release Modification 12.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands dir dir To display a list of files and directories on the specified file system, use the dir command in boot loader mode. dir filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url (Optional) Path (directory) and directory name whose contents you want to display. Separate each directory name with a space.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands dir Table A-1 Related Commands dir Field Descriptions Field Description 2 Index number of the file. -rwx File permission, which can be any or all of these: • d—directory • r—readable • w—writable • x—executable 1644045 Size of the file. Last modification date. env_vars Filename. Command Description mkdir Creates one or more directories. rmdir Removes one or more directories.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands flash_init flash_init To initialize the flash file system, use the flash_init command in boot loader mode. flash_init Syntax Description This command has no arguments or keywords. Defaults The flash file system is automatically initialized during normal system operation. Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands format format To format the specified file system and destroy all data in that file system, use the format command in boot loader mode. format filesystem: Syntax Description filesystem: Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced. Alias for a flash file system. Use flash: for the system board flash device.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands fsck fsck To check the file system for consistency, use the fsck command in boot loader mode. fsck [-test | -f] filesystem: Syntax Description -test (Optional) Initializes the file system code and perform extra POST on flash memory. An extensive, nondestructive memory test is performed on every byte that makes up the file system. -f (Optional) Initializes the file system code and perform a fast file consistency check.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands help help To display the available commands, use the help command in boot loader mode. help Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced. Usage Guidelines You can also use the question mark (?) to display a list of available boot loader commands.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands memory memory To display memory heap utilization information, use the memory command in boot loader mode. memory Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands mgmt_clr mgmt_clr To clear the Ethernet management port statistics, use the mgmt_clr command in boot loader mode. mgmt_clr Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands mgmt_init mgmt_init To initialize the Ethernet management port, use the mgmt_init command in boot loader mode. mgmt_init Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced. Usage Guidelines Use the mgmt_init command only during debugging of the Ethernet management port.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands mgmt_show mgmt_show To display the Ethernet management port statistics, use the mgmt_show command in boot loader mode. mgmt_show Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands mkdir mkdir To create one or more new directories on the specified file system, use the mkdir command in boot loader mode. mkdir filesystem:/directory-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /directory-url Name of the directories to create. Separate each directory name with a space. Command Modes Boot loader Command History Release Modification 12.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands more more To display the contents of one or more files, use the more command in boot loader mode. more filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url Path (directory) and name of the files to display. Separate each filename with a space. Command Modes Boot loader Command History Release Modification 12.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands peek peek To read data from a memory location, use the peek command in boot loader mode. peek location Syntax Description location Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced. Examples 32-bit memory location.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands ping ping To send ICMP ECHO REQUEST packets to a network host, use the ping command in boot loader mode. ping ip-address Syntax Description ip-address Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced. Examples The IP address of the network host. This example shows how to send an echo request packet to a network host: switch: ping 1.1.1.1 255.255.255.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands poke poke To write data to one writable memory location, use the poke command in boot loader mode. poke location Syntax Description location Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced. Examples 32-bit memory location.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands rename rename To rename a file, use the rename command in boot loader mode. rename filesystem:/source-file-url filesystem:/destination-file-url Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /source-file-url Original path (directory) and filename. /destination-file-url New path (directory) and filename.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands reset reset To perform a hard reset on the system, use the reset command in boot loader mode. A hard reset is similar to power-cycling the switch, clearing the processor, registers, and memory. reset Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands rmdir rmdir To remove one or more empty directories from the specified file system, use the rmdir command in boot loader mode. rmdir filesystem:/directory-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /directory-url Path (directory) and name of the empty directories to remove. Separate each directory name with a space.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands set set To set or display environmental variables that can be used to control the boot loader or any other software running on the switch, use the set command in boot loader mode. set variable value Note Syntax Description Under normal circumstances, it is not necessary to alter the setting of the environment variables.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands set Defaults The environment variables have these default values: MANUAL_BOOT: No (0) BOOT: Null string ENABLE_BREAK: No (Off or 0) (the automatic boot process cannot be interrupted by pressing the Break key on the console). HELPER: No default value (helper files are not automatically loaded). PS1: switch: CONFIG_FILE: config.text BAUD: 9600 bps HELPER_CONFIG_FILE: No default value (no helper configuration file is specified).
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands set The HELPER_CONFIG_FILE environment variable can also be set by using the boot helper-config-file filesystem:/file-url global configuration command. The boot loader prompt string (PS1) can be up to 120 printable characters except the equal sign (=). Examples This example shows how to change the boot loader prompt: switch: set PS1 loader: loader: You can verify your setting by using the set boot loader command.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands set_param set_param To write system parameters to the system flash memory, use the set_param command in boot loader mode. set_param Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced. Examples This example shows how to write system parameters to system flash memory.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands sleep sleep To pause for a specified number of seconds, use the sleep command in boot loader mode. sleep value Sets the time to pause the boot loader in seconds. The range is 0 to 231–1. Syntax Description value: Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands type type To display the contents of one or more files, use the type command in boot loader mode. type filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url Path (directory) and name of the files to display. Separate each filename with a space. Command Modes Boot loader Command History Release Modification 12.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands unset unset To reset one or more environmental variables, use the unset command in boot loader mode. unset variable ... Note Syntax Description Under normal circumstances, it is not necessary to alter the setting of the environment variables. variable Use one of these keywords for variable: MANUAL_BOOT—Decides whether the switch automatically or manually boots.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands unset Usage Guidelines Under normal circumstances, it is not necessary to alter the setting of the environmental variables. The MANUAL_BOOT environment variable can also be reset by using the no boot manual global configuration command. The BOOT environment variable can also be reset by using the no boot system global configuration command.
Appendix A Cisco ME 3800X and ME 3600X Switch Boot Loader Commands version version To display the boot loader version, use the version command in boot loader mode. version Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(52)EY This command was introduced. Examples This example shows how to display the boot loader version: switch: version switch-name Boot Loader (xxxxx-HBOOT-M) Version 12.
A P P E N D I X B Cisco ME 3800X and ME 3600X Switch Debug Commands This appendix describes the debug privileged EXEC commands that have been created or changed for use with the Cisco ME 3800X and ME 3600X switch. These commands are helpful in diagnosing and resolving internetworking problems and should be enabled only under the guidance of Cisco technical support staff. Caution Because debugging output is assigned high priority in the CPU process, it can render the system unusable.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug bridge-domain debug bridge-domain To enable debugging of bridge domains, use the debug bridge-domain command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug etherchannel debug etherchannel To enable debugging of the EtherChannel/PAgP shim, use the debug etherchannel command in privileged EXEC mode. This shim is the software module that is the interface between the Port Aggregation Protocol (PAgP) software module and the port manager software module. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug ethernet service debug ethernet service To enable debugging of Ethernet customer service instances, use the debug ethernet service command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug ethernet service Related Commands Command Description show debugging Displays information about the types of debugging that are enabled.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug interface debug interface To enable debugging of interface-related activities, use the debug interface command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug ip igmp filter debug ip igmp filter To enable debugging of Internet Group Management Protocol (IGMP) filter events, use the debug ip igmp filter command in privileged EXEC mode. To disable debugging, use the no form of this command. debug ip igmp filter no debug ip igmp filter Syntax Description This command has no arguments or keywords. Defaults Debugging is disabled.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug ip igmp max-groups debug ip igmp max-groups To enable debugging of Internet Group Management Protocol (IGMP) maximum groups events, use the debug ip igmp max-groups command in privileged EXEC mode. To disable debugging, use the no form of this command. debug ip igmp max-groups no debug ip igmp max-groups Syntax Description This command has no arguments or keywords. Defaults Debugging is disabled.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug ip igmp snooping debug ip igmp snooping To enable debugging of Internet Group Management Protocol (IGMP) snooping activity, use the debug igmp snooping command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug lacp debug lacp To enable debugging of Link Aggregation Control Protocol (LACP) activity, use the debug lacp command in privileged EXEC mode. To disable debugging, use the no form of this command. debug lacp [all | event | fsm | misc | packet] no debug lacp [all | event | fsm | misc | packet] Syntax Description all (Optional) Displays all LACP debug messages. event (Optional) Displays LACP event debug messages.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug mac-notification debug mac-notification To enable debugging of MAC notification events, use the debug mac-notification command in privileged EXEC mode. To disable debugging, use the no form of this command. debug mac-notification no debug mac-notification Syntax Description This command has no arguments or keywords. Defaults Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug matm debug matm To enable debugging of platform-independent MAC address management events, use the debug matm command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug matm move debug matm move To enable debugging of MAC address-table move message processing, use the debug matm move command in privileged EXEC mode. To disable debugging, use the no form of this command. debug matm move [address | update] no debug matm move [address | update] Syntax Description address Displays MAC address table move address debug messages. move Displays MAC address table move update debug messages.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug network-clock debug network-clock To enable debugging of a SyncE network clock, use the debug network-clock command in Privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug nvram debug nvram To enable debugging of NVRAM activity, use the debug nvram command in privileged EXEC mode. To disable debugging, use the no form of this command. debug nvram no debug nvram Syntax Description This command has no arguments or keywords. Defaults Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.2(52)EY This command was introduced.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug pagp debug pagp To enable debugging of Port Aggregation Protocol (PAgP) activity, use the debug pagp command in privileged EXEC mode. To disable debugging, use the no form of this command. debug pagp [all | dual-active | event | fsm | misc | packet] no debug pagp [all | dual-active | event | fsm | misc | packet] Syntax Description all (Optional) Displays all PAgP debug messages.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug pm debug pm To enable debugging of port manager (PM) activity, use the debug pm command in privileged EXEC mode. The port manager is a state machine that controls all the logical and physical interfaces. All features, such as VLANs, UniDirectional Link Detection (UDLD), and so forth, work with the port manager to provide switch functions. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug pm Usage Guidelines The undebug pm command is the same as the no debug pm command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug rep debug rep To enable debugging of Resilient Ethernet Protocol (REP) functions, use the debug rep command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug qos debug qos To enable debugging of the quality of service (QoS) feature, use the debug qos command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug spanning-tree debug spanning-tree To enable debugging of spanning-tree activities, use the debug spanning-tree command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug spanning-tree Command History Release Modification 12.2(52)EY This command was introduced. Usage Guidelines The undebug spanning-tree command is the same as the no debug spanning-tree command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show spanning-tree Displays spanning-tree state information.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug spanning-tree bpdu debug spanning-tree bpdu To enable debugging of sent and received spanning-tree bridge protocol data units (BPDUs), use the debug spanning-tree bpdu command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug spanning-tree bpdu-opt debug spanning-tree bpdu-opt To enable debugging of optimized spanning-tree bridge protocol data units (BPDUs) handling, use the debug spanning-tree bpdu-opt command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug spanning-tree mstp debug spanning-tree mstp To enable debugging of the Multiple Spanning Tree Protocol (MSTP) feature, use the debug spanning-tree mstp command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug spanning-tree mstp Usage Guidelines The undebug spanning-tree mstp command is the same as the no debug spanning-tree mstp command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show spanning-tree Displays spanning-tree state information.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug spanning-tree switch debug spanning-tree switch To enable debugging of the software interface between the Spanning Tree Protocol (STP) and the port manager, use the debug spanning-tree switch command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug spanning-tree switch Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show spanning-tree Displays spanning-tree state information.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug spanning-tree vlan-shim debug spanning-tree vlan-shim To enable debugging of the Spanning Tree Protocol (STP) VLAN shim, use the debug spanning-tree switch command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug spanning-tree vlan-shim Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show spanning-tree Displays spanning-tree state information.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug sw-vlan debug sw-vlan To enable debugging of VLAN manager activities, use the debug sw-vlan command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug sw-vlan ifs debug sw-vlan ifs To enable debugging of the VLAN manager IOS file system (IFS) error tests, use the debug sw-vlan ifs command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug sw-vlan notification debug sw-vlan notification To enable debugging of the activation and deactivation of VLAN IDs, use the debug sw-vlan notification command in privileged EXEC mode. To disable debugging, use the no form of this command.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug sw-vlan notification Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug udld debug udld To enable debugging of the UniDirectional Link Detection (UDLD) feature, use the debug udld command in privileged EXEC mode. To disable debugging, use the no form of this command. debug udld {events | packets | registries} no debug udld {events | packets | registries} Syntax Description events Displays debug messages for UDLD process events as they occur.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug udld Related Commands • State change indications from the port manager software • MAC address registry calls Command Description show debugging Displays information about the types of debugging that are enabled. show udld Displays UDLD administrative and operational status for all ports or the specified port.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug vfi debug vfi To enable debugging of the virtual forwarding infrastructure (VFI) feature, use the debug vfi command in privileged EXEC mode. To disable debugging, use the no form of this command. debug vfi [fsm] {error | event} no debug vfi [fsm] {error | event} Syntax Description fsm (Optional) Displays VFI finite state-machine debug messages. error Displays debug messages for VFI errors or VFI finite state-machine errors.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug vrrp debug vrrp To enable debugging of the Virtual Router Redundancy Protocol (VRRP), use the debug vrrp command in privileged EXEC mode. To disable debugging, use the no form of this command. debug vrrp {all | errors | events | packets | process | registry | state | timer | track} no debug vrrp {all | errors | events | packets | process | registry | state | timer | track} Syntax Description all Displays all VRRP debug messages.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug xconnect debug xconnect to enable debugging of the xconnect virtual connection or virtual connection infrastructure (VFI), use the debug xconnect command in privileged EXEC mode. To disable debugging, use the no form of this command. debug xconnect {error | event} no debug xconnect {error | event} Syntax Description error Displays debug messages for xconnect authorization errors.
Appendix B Cisco ME 3800X and ME 3600X Switch Debug Commands debug xconnect Cisco ME 3800X and ME 3600X Switch Command Reference B-40 OL-23401-02
A P P E N D I X C Acknowledgments for Open-Source Software The Cisco IOS software pipe command uses Henry Spencer’s regular expression library (regex). The most recent version of the library has been modified slightly in the Catalyst operating system software to maintain compatibility with earlier versions of the library. Henry Spencer’s regular expression library (regex). Copyright 1992, 1993, 1994, 1997 Henry Spencer. All rights reserved.
Appendix C Acknowledgments for Open-Source Software Cisco ME 3800X and ME 3600X Switch Command Reference C-2 OL-23401-02
INDEX A B access control entries backup interfaces, configuring See ACEs bandwidth command access control lists BITS clock controller See ACLs BITS clock output access groups IP access mode 4-69 access ports 4-69 2-162, 2-165 boot helper-config file command as match criteria for QoS classes 2-162 2-23 2-21 A-1 booting 3-26 for non-IP protocols Cisco IOS image 2-142 helper image 2-95 on Layer 2 interfaces creating 2-19 A-18 displaying a list of 2-1 aggregate-port learner
Index files displaying copying A-6 deleting A-7 matching in See CoS A-8 displaying the contents of clear ipc command A-5, A-19, A-31 clear lacp command A-23 file system 2-32 2-33 clear logging onboard command formatting clear pagp command A-10 running a consistency check 2-37, 2-38 command modes defined resetting the system 1-1 2-204 configuration files 2-21 boot private-config-file command password recovery disable considerations 2-22 specifying the name 2-23 BPDU filtering,
Index debug mac-notification command debug matm command debug network-clock command debug nvram command for QoS traffic marking B-14 setting in policy maps duplex command B-16 B-17 debug qos command B-20 debug rep command B-19 B-23 debug spanning-tree bpdu-opt command debug spanning-tree command B-24 B-25 B-32 errdisable recovery command B-37 2-66 3-54 2-64 error-disabled interfaces, displaying B-38 debug EtherChannel/PAgP, display B-39 displaying 2-50 2-53 displaying 2-64 diagnosti
Index Ethernet controller, internal register display ethernet evc command 3-38 A-10 Flex Links 2-69 ethernet lmi ce-vlan map command ethernet lmi command flash_init (boot loader) command configuring 2-70 4-62 configuring preferred VLAN 2-70 ethernet lmi global command flowcontrol command 2-70 Ethernet Local Management Interface 2-80 format (boot loader) command See E-LMI 4-64 A-11 forwarding packets, with ACL matches ethernet oam remote-failure command 2-72 fsck (boot loader) command
Index IGMP snooping adding ports as a static member of a group displaying enabling 2-114 3-81, 3-85 ip address command 2-97 IP addresses, setting 2-97 IP address matching 2-160 ip igmp filter command 2-104 2-99 enabling the configurable-leave timer 2-105 ip igmp max-groups command enabling the Immediate-Leave feature 2-111 ip igmp profile command flooding query count interface topology change notification behavior multicast table 2-109 2-107 2-109 ip igmp snooping tcn flood command
Index loopback error mac address-table aging-time detection for mac address-table aging-time command 2-64 recovery timer 2-140, 2-160 mac address-table learning command 2-66 loop guard, for spanning tree 2-144 2-146 mac address-table move update command 4-23, 4-27 mac address-table notification command mac address-table static command M macro description command mac access-group command macro global command 2-140 MAC access-groups, displaying MAC access list configuration mode mac acce
Index modes, commands state changes 1-1 more (boot loader) command blocking to forwarding state A-19 MPLS enabling BPDU filtering displaying VFIs experimental field VCs enabling BPDU guard 3-152 enabling Port Fast 3-13 VFI configuration 4-14, 4-46 4-16, 4-46 4-46, 4-48 forward-delay time 4-98 4-48 4-34 length of listening and learning states 2-127 MSTP rapid transition to forwarding displaying link type state information display 2-39 MTU, configuring size 4-25 MST region mtu c
Index nonegotiate, speed queue limit in 4-53 2-217 non-IP protocols denying 2-53 forwarding P 2-201 non-IP traffic access lists 2-142 pagp learn-method command non-IP traffic forwarding denying pagp port-priority command 2-53 permitting no vlan command 2-199 password-recovery mechanism, enabling and disabling 3-4 2-201 normal-range VLANs 2-197 peek (boot loader) command 4-90 permit command 4-90 A-20 2-201 per-port per VLAN policing 2-174 per-VLAN spanning-tree plus O See STP
Index policers creating 2-204 setting priority defining policers 2-214 setting QoS group identifier setting CoS values 2-28 traffic marking 3-8 setting DSCP values 3-11 setting IP precedence values 3-17 port-channel load-balance command 2-211 Port Fast, for spanning tree port ranges, defining 3-17 setting QoS group identifier 3-19 as match criteria classification 4-89 2-172 2-174 for QoS traffic classification 2-213 setting in policy maps 3-49 power-supply status, displaying 3-
Index rep block port command show class-map command 2-234 rep lsl-age-timer command rep stcn command show controller utilization command show diagnostic command 2-245 show env command 2-247 reset (boot loader) command rmon collection stats command root guard, for spanning tree 3-43 3-49 3-52 show errdisable flap-values command A-25 show errdisable recovery command 3-1 show etherchannel command 4-23 show flowcontrol command 3-58 show interfaces command 3-74 3-64 disabling 2-56 show
Index show mac address-table notification command show mac address-table static command show mac address-table vlan command show network-clocks command show pagp command 3-120, B-13 4-14 spanning-tree bpduguard command 3-122 spanning-tree cost command 3-124 4-16 4-18 spanning-tree etherchannel command 3-126 4-20 spanning-tree extend system-id command 3-128 show parser macro command show policy-map command spanning-tree guard command 3-130 4-25 spanning-tree loopguard default command 3-13
Index transmitted and received BPDUs EtherChannel misconfiguration extended system ID path cost switchport mode command B-23 switchport port-security aging command 4-20 switchports, displaying 4-22 4-18 protocol modes 4-29 root port 4-71 SyncE clock configuration 3-126 2-188 Synchronous Ethernet 4-23 preventing from becoming designated restricting which can be root root guard 4-71 3-64 switchport trunk command SyncE input clock loop guard 4-69 See SyncE 4-23 system env temperature
Index udld command description 4-80 udld port command 4-82 udld reset command 4-84 unicast storm control entering 4-90 summary 1-2 vlan dot1q tag native command 4-55 uni count command 1-4 vlan filter command 4-85 UniDirectional Link Detection VLAN ID range UNI ID, Ethernet applying 4-87 unknown multicast traffic, preventing unknown unicast traffic, preventing unset (boot loader) command 4-66 4-66 creating 4-93 defining 2-160 adding monitoring status of 4-96 3-157 VLANs 2-7
Index minimum threshold values (table) WTD, queue-limit command 2-232 2-217 X xconnect command 4-98 Cisco ME 3800X and ME 3600X Switch Command Reference IN-14 OL-23401-02
Index Cisco ME 3800X and ME 3600X Switch Command Reference OL-23401-02 IN-15
Index Cisco ME 3800X and ME 3600X Switch Command Reference IN-16 OL-23401-02
Index Cisco ME 3800X and ME 3600X Switch Command Reference OL-23401-02 IN-17
Index Cisco ME 3800X and ME 3600X Switch Command Reference IN-18 OL-23401-02