Table Of Contents
Cisco IOS Commands
aaa authentication dot1x
access-list hardware program nonblocking
action
archive download-sw
archive tar
archive upload-sw
auto qos voip
boot boothlpr
boot buffersize
boot config-file
boot enable-break
boot helper
boot helper-config-file
boot manual
boot private-config-file
boot system
channel-group
channel-protocol
class
class-map
clear lacp
clear l2protocol-tunnel counters
clear mac address-table
clear pagp
clear port-security dynamic
clear port-security sticky
clear spanning-tree counters
clear spanning-tree detected-protocols
clear vmps statistics
clear vtp counters
cluster commander-address
cluster discovery hop-count
cluster enable
cluster holdtime
cluster member
cluster outside-interface
cluster run
cluster standby-group
cluster timer
define interface-range
delete
deny
dot1x default
dot1x max-req
dot1x multiple-hosts
dot1x port-control
dot1x re-authenticate
dot1x re-authentication
dot1x timeout quiet-period
dot1x timeout re-authperiod
dot1x timeout tx-period
duplex
errdisable detect cause
errdisable recovery
flowcontrol
interface port-channel
interface range
interface vlan
ip access-group
ip address
ip igmp filter
ip igmp max-groups
ip igmp profile
ip igmp snooping
ip vrf (global configuration)
ip vrf (interface configuration)
l2protocol-tunnel
l2protocol-tunnel cos
lacp port-priority
lacp system-priority
logging file
mac access-group
mac access-list extended
mac address-table aging-time
mac address-table notification
mac address-table static
match (access-map configuration)
match (class-map configuration)
mls aclmerge delay
mls qos
mls qos aggregate-policer
mls qos cos
mls qos cos policy-map
mls qos dscp-mutation
mls qos map
mls qos min-reserve
mls qos monitor
mls qos trust
monitor session
mvr (global configuration)
mvr (interface configuration)
pagp learn-method
pagp port-priority
permit
police
police aggregate
policy-map
port-channel load-balance
power inline
priority-queue
rcommand
remote-span
rmon collection stats
Cisco IOS Commands
aaa authentication dot1x
Use the aaa authentication dot1x global configuration command to specify one or more authentication, authorization, and accounting (AAA) methods for use on interfaces running IEEE 802.1X. Use the no form of this command to disable authentication.
aaa authentication dot1x {default} method1 [method2...]
no aaa authentication dot1x {default} method1 [method2...]
Syntax Description
default
|
Use the listed authentication methods that follow this argument as the default list of methods when a user logs in.
|
method1 [method2...]
|
At least one of the these keywords:
• enable—Use the enable password for authentication.
• group radius—Use the list of all Remote Authentication Dial-In User Service (RADIUS) servers for authentication.
• line—Use the line password for authentication.
• local—Use the local username database for authentication.
• local-case—Use the case-sensitive local username database for authentication.
• none—Use no authentication. The client is automatically authenticated by the switch without using the information supplied by the client.
|
Defaults
No authentication is performed.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(8)EA1
|
This command was first introduced.
|
Usage Guidelines
The method argument identifies the list of methods that the authentication algorithm tries in the given sequence to validate the password provided by the client. The only method that is truly 802.1X-compliant is the group radius method, in which the client data is validated against a RADIUS authentication server. The remaining methods enable AAA to authenticate the client by using locally configured data. For example, the local and local-case methods use the username and password that are saved in the IOS configuration file. The enable and line methods use the enable and line passwords for authentication.
If you specify group radius, you must configure the RADIUS server by entering the radius-server host global configuration command.
If you are not using a RADIUS server, you can use the local or local-case methods, which access the local username database to perform authentication. By specifying the enable or line methods, you can supply the clients with a password to provide access to the switch.
Use the show running-config privileged EXEC command to display the configured lists of authentication methods.
Examples
This example shows how to enable AAA and how to create an authentication list for 802.1X. This authentication first tries to contact a RADIUS server. If this action returns an error, the user is allowed access with no authentication.
Switch(config)# aaa new-model
Switch(config)# aaa authentication dot1x default group radius none
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands
Command
|
Description
|
aaa new-model
|
Enables the AAA access control model. For syntax information, refer to the Cisco IOS Security Command Reference for Release 12.1 > Authentication, Authorization, and Accounting > Authentication Commands.
|
show running-config
|
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
|
access-list hardware program nonblocking
Use the access-list hardware program nonblocking global configuration command to cause the system to continue to forward frames even while a new security access-control list (ACL) configuration is being programmed into the hardware. Use the no form of this command to return to the default behavior, where traffic is blocked on affected interfaces when changes are made to the security ACL configuration while the hardware is updated with the new configuration.
access-list hardware program nonblocking
no access-list hardware program nonblocking
Syntax Description
This command has no arguments or keywords.
Defaults
Traffic is blocked on affected interfaces while a new ACL configuration is loaded into hardware.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(11)EA1
|
This command was first introduced.
|
Usage Guidelines
By default, when changes are made to the configuration of security ACLs, the system completely blocks traffic on the affected ports or VLANs while it is updating the hardware to the new configuration. This includes any changes that affect the ternary content addressable memory (TCAM), including applying an ACL to an interface or making changes to VLAN maps or ACLs that are used for security features. This prevents the possibility of forwarding frames that should have been dropped because a partially loaded configuration permitted a frame that the complete configuration would have blocked.
You can use the access-list hardware program nonblocking command to set the system to continue to forward frames while a new security ACL configuration is being programmed into the hardware. Enabling this setting might cause less disruption to traffic that should be allowed while the hardware is being updated, but might also temporarily allow some traffic that would be denied when the new configuration is completely loaded.
Examples
This example shows how to set the system to continue forwarding frames while a new security ACL configuration is being programmed into hardware:
Switch (config)# access-list hardware program nonblocking
You can verify your setting by entering the show running-config | include access-list hardware privileged EXEC command.
Related Commands
Command
|
Description
|
access-list {deny | permit}
|
Configures a standard numbered ACL. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands.
|
action (access map configuration)
|
Defines or modifies the action for the VLAN access map entry.
|
ip access-group
|
Applies an IP access list to a Layer 2 or Layer 3 interface.
|
ip access-list
|
Configures a named access list. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands.
|
mac access-group
|
Applies a MAC access list to a Layer 2 interface.
|
match (access-map configuration)
|
Defines the match conditions for a VLAN map.
|
show running-config | include access-list hardware
|
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
|
vlan access-map
|
Creates a VLAN access map or enters access-map configuration mode.
|
vlan filter
|
Applies a VLAN map to one or more VLANs.
|
action
Use the action access map configuration command to set the action for the VLAN access map entry. Use the no form of this command to set the action to the default value, which is to forward.
action {drop | forward}
no action
Syntax Description
drop
|
Drop the packet when the specified conditions are matched.
|
forward
|
Forward the packet when the specified conditions are matched.
|
Defaults
The default action is to forward packets.
Command Modes
Access-map configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
You enter access-map configuration mode by using the vlan access-map global configuration command.
If the action is drop, you should define the access map, including configuring any access control list (ACL) names in match clauses, before applying the map to a VLAN, or all packets could be dropped.
In access map configuration mode, use the match access map configuration command to define the match conditions for a VLAN map. Use the action command to set the action that occurs when a packet matches the conditions.
The drop and forward parameters are not used in the no form of the command.
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
You can verify your settings by entering the show vlan access-map privileged EXEC command.
Related Commands
Command
|
Description
|
access-list {deny | permit}
|
Configures a standard numbered ACL. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands.
|
ip access-list
|
Creates a named access list. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands.
|
mac access-list extended
|
Creates a named MAC address access list.
|
match (access-map configuration)
|
Defines the match conditions for a VLAN map.
|
show vlan access-map
|
Displays the VLAN access maps created on the switch.
|
vlan access-map
|
Creates a VLAN access map.
|
archive download-sw
Use the archive download-sw privileged EXEC command to download a new image to the switch and overwrite or keep the existing image.
archive download-sw {/force-reload | /imageonly | /leave-old-sw | /no-set-boot | /overwrite |
/reload | /safe} source-url
Syntax Description
/force-reload
|
Unconditionally force a system reload after successfully downloading the software image.
|
/imageonly
|
Download only the software image but not the HTML files associated with the Cluster Management Suite (CMS). The HTML files for the existing version are deleted only if the existing version is being overwritten or removed.
|
/leave-old-sw
|
Keep the old software version after a successful download.
|
/no-set-boot
|
Do not alter the setting of the BOOT environment variable to point to the new software image after it is successfully downloaded.
|
/overwrite
|
Overwrite the software image in Flash with the downloaded one.
|
/reload
|
Reload the system after successfully downloading the image unless the configuration has been changed and not been saved.
|
/safe
|
Keep the current software image; do not delete it to make room for the new software image before the new image is downloaded. The current image is deleted after the download.
|
source-url
|
The source URL alias for a local or network file system. These options are supported:
• The syntax for the local Flash file system: flash:
• The syntax for the File Transfer Protocol (FTP): ftp:[[//username[:password]@location]/directory]/image-name.tar
• The syntax for the Remote Copy Protocol (RCP): rcp:[[//username@location]/directory]/image-name.tar
• The syntax for the Trivial File Transfer Protocol (TFTP): tftp:[[//location]/directory]/image-name.tar
The image-name.tar is the software image to download and install on the switch.
|
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.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
Use the /overwrite option to overwrite the image on the Flash device with the downloaded one.
If the Flash device has sufficient space to hold two images and you want to overwrite one of these images with the same version, you must specify the /overwrite option.
If you specify the command without the /overwrite option, the download algorithm verifies that the new image is not the same as the one on the switch flash device. If the images are the same, the download does not occur. If the images are different, the old image is deleted, and the new one is downloaded.
The /imageonly option removes the HTML files for the existing image if the existing image is being removed or replaced. Only the IOS image (without the HTML files) is downloaded.
Using the /safe or /leave-old-sw option can cause the new image download to fail if there is insufficient Flash space.
If you used the /leave-old-sw option and did not overwrite the old image when you downloaded the new one, you can remove the old image by using the delete privileged EXEC command. For more information, see the "delete" section.
If you leave the existing software in place before downloading the new image, an error results if the existing software will prevent the new image from fitting onto Flash memory.
After downloading a new image, enter the reload privileged EXEC command to begin using the new image, or specify the /reload or /force-reload option in the archive download-sw command.
Examples
This example shows how to download a new image from a TFTP server at 172.20.129.10 and overwrite the image on the switch:
Switch# archive download-sw /overwrite tftp://172.20.129.10/test-image.tar
This example shows how to download only the software image from a TFTP server at 172.20.129.10 to the switch:
Switch# archive download-sw /image-only tftp://172.20.129.10/test-image.tar
This example shows how to keep the old software version after a successful download:
Switch# archive download-sw /leave-old-sw tftp://172.20.129.10/test-image.tar
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.
|
archive tar
Use the archive tar privileged EXEC command to create a tar file, list files in a tar file, or extract the files from a tar file.
archive tar {/create destination-url flash:/file-url} | {/table source-url} | {/xtract source-url
flash:/file-url}
Syntax Description
/create destination-url flash:/file-url
|
Create a new tar file on the local or network file system.
For destination-url, specify the destination URL alias for the local or network file system and the name of the tar file to create. These options are supported:
• The syntax for the local Flash filesystem: flash:
• The syntax for the File Transfer Protocol (FTP): ftp:[[//username[:password]@location]/directory]/tar-filename.tar
• The syntax for the Remote Copy Protocol (RCP) is: rcp:[[//username@location]/directory]/tar-filename.tar
• The syntax for the Trivial File Transfer Protocol (TFTP): tftp:[[//location]/directory]/tar-filename.tar
The tar-filename.tar is the tar file to be created.
For flash:/file-url, specify the location on the local Flash file system from which the new tar file is created.
An optional list of files or directories within the source directory can be specified to write to the new tar file. If none are specified, all files and directories at this level are written to the newly created tar file.
|
/table source-url
|
Display the contents of an existing tar file to the screen.
For source-url, specify the source URL alias for the local or network file system. These options are supported:
• The syntax for the local Flash file system: flash:
• The syntax for the File Transfer Protocol (FTP) ftp:[[//username[:password]@location]/directory]/tar-filename.tar
• The syntax for the Remote Copy Protocol (RCP): rcp:[[//username@location]/directory]/tar-filename.tar
• The syntax for the Trivial File Transfer Protocol (TFTP): tftp:[[//location]/directory]/tar-filename.tar
The tar-filename.tar is the tar file to display.
|
/xtract source-url flash:/file-url
|
Extract files from a tar file to the local or network file system.
For source-url, specify the source URL alias for the local or network file system. These options are supported:
• The syntax for the local Flash file system: flash:
• The syntax for the File Transfer Protocol (FTP): ftp:[[//username[:password]@location]/directory]/tar-filename.tar
• The syntax for the Remote Copy Protocol (RCP): rcp:[[//username@location]/directory]/tar-filename.tar
• The syntax for the Trivial File Transfer Protocol (TFTP): tftp:[[//location]/directory]/tar-filename.tar
The tar-filename.tar is the tar file from which to extract.
For flash:/file-url, specify the location on the local Flash file system into which the tar file is extracted.
An optional list of files or directories within the tar file can be specified for extraction. If none are specified, all files and directories are extracted.
|
Defaults
None
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
Filenames and directory names are case sensitive.
Image names are case sensitive.
Examples
This example shows how to create a tar file. The command writes the contents of the new-configs directory on the local Flash device to a file named saved.tar on the TFTP server at 172.20.10.30:
Switch# archive tar /create tftp:172.20.10.30/saved.tar flash:/new-configs
This example shows how to display the contents of the c3550-tv0-m.tar file that is in Flash memory. The contents of the tar file are displayed on the screen:
Switch# archive tar /table flash:c3550-tv0-m.tar
c3550-tv0-mz-121/ (directory)
c3550-tv0-mz-121/html/ (directory)
c3550-tv0-mz-121/html/foo.html (0 bytes)
c3550-tv0-mz-121/vegas-tv0-mz-121.bin (610856 bytes)
c3550-tv0-mz-121/info (219 bytes)
This example shows how to display only the c3550-tv0-mz-121/html directory and its contents:
Switch# archive tar /table flash:c3550-tv0-m.tar c3550-tv0-mz-121/html
c3550-tv0-mz-121/html/ (directory)
c3550-tv0-mz-121/html/foo.html (0 bytes)
This example shows how to extract the contents of a tar file on the TFTP server at 172.20.10.30. This command extracts just the new-configs directory into the root directory on the local Flash file system. The remaining files in the saved.tar file are ignored.
Switch# archive tar /xtract tftp:/172.20.10.30/saved.tar flash:/ new-configs
Related Commands
archive upload-sw
Use the archive upload-sw privileged EXEC command to upload an existing switch image to a server.
archive upload-sw [/version version_string] destination-url
Syntax Description
/version version_string
|
(Optional) Specify the specify version string of the image to be uploaded.
|
destination-url
|
The destination URL alias for a local or network file system. These options are supported:
• The syntax for the local Flash file system: flash:
• The syntax for the File Transfer Protocol (FTP): ftp:[[//username[:password]@location]/directory]/image-name.tar
• The syntax for the Remote Copy Protocol (RCP): rcp:[[//username@location]/directory]/image-name.tar
• The syntax for the Trivial File Transfer Protocol (TFTP): tftp:[[//location]/directory]/image-name.tar
The image-name.tar is the name of software image to be stored on the server.
|
Defaults
Uploads the currently running image from the flash: file system.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
The upload feature is available only if the HTML files associated with the Cluster Management Suite (CMS) have been installed with the existing image.
The files are uploaded in this sequence: info, the IOS image, the HTML files, and info.ver. After these files are uploaded, the software creates the tar file.
Image names are case sensitive.
Examples
This example shows how to upload the currently running image to a TFTP server at 172.20.140.2:
Switch# archive upload-sw tftp://172.20.140.2/test-image.tar
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.
|
auto qos voip
Use the auto qos voip interface configuration command to automatically configure quality of service (auto-QoS) for voice over IP (VoIP) within a QoS domain. Use the no form of this command to change the auto-QoS configuration settings to the standard QoS defaults.
auto qos voip {cisco-phone | trust}
no auto qos voip
Syntax Description
cisco-phone
|
Identify this interface as connected to a Cisco IP phone, and automatically configure QoS for VoIP. The QoS labels of incoming packets are trusted only when the telephone is detected.
|
trust
|
Identify this interface as connected to a trusted switch or router, and automatically configure QoS for VoIP. The QoS labels of incoming packets are trusted.
|
Defaults
Auto-QoS is disabled on all interfaces.
When auto-QoS is enabled, it uses the ingress packet label to categorize traffic and class of service (CoS) packet labels and to configure the egress queues as summarized in Table 2-1.
Table 2-1 Traffic Types, Ingress Packet Labels, Assigned Packet Labels, and Egress Queues
| |
VoIP Data Traffic Only From Cisco IP Phones
|
VoIP Control Traffic Only From Cisco IP Phones
|
Routing Protocol Traffic
|
|
All Other Traffic
|
Ingress DSCP3
|
46
|
26
|
-
|
-
|
-
|
Ingress CoS
|
5
|
3
|
6
|
7
|
-
|
DiffServ
|
EF
|
AF31
|
-
|
-
|
-
|
Assigned DSCP
|
46
|
26
|
48
|
56
|
0
|
Assigned CoS
|
5
|
3
|
6
|
7
|
0
|
CoS-to-Queue Map
|
5
|
3, 6, 7
|
0, 1, 2, 4
|
Egress Queue
|
Expedite queue
|
80% WRR4
|
20% WRR
|
Table 2-2 lists the auto-QoS configuration for the egress queues.
Table 2-2 Auto-QoS Configuration for the Egress Queues
Egress Queue
|
Queue Number
|
CoS-to-Queue Map
|
Queue Weight
|
Queue Size for Gigabit-Capable Ports
|
Queue Size (in packets) for 10/100 Ethernet Ports
|
Expedite
|
4
|
5
|
-
|
-
|
26
|
80% WRR
|
3
|
3, 6, 7
|
80%
|
20%
|
65
|
20% WRR
|
1
|
0, 1, 2, 4
|
20%
|
80%
|
170
|
Command Modes
Interface configuration
Command History
Release
|
Modification
|
12.1(12c)EA1
|
This command was first introduced.
|
Usage Guidelines
Use this command to configure the QoS appropriate for VoIP traffic within the QoS domain. The QoS domain includes the switch, the interior of the network, and the edge devices that can classify incoming traffic for QoS.
Use the cisco-phone keyword on ports at the edge of the network that are connected to Cisco IP phones. The switch detects the telephone through the Cisco Discovery Protocol (CDP) and trusts the QoS labels in packets received from the telephone.
Use the trust keyword on ports connected to the interior of the network. Because it is assumed that traffic has already been classified by other edge devices, the QoS labels in these packets are trusted.
When you enable the auto-QoS feature on the first interface, these automatic actions occur:
•
QoS is globally enabled (mls qos global configuration command).
•
When you enter the auto qos voip cisco-phone interface configuration command, the trusted boundary feature is enabled. It uses the Cisco Discovery Protocol (CDP) to detect the presence or absence of a Cisco IP phone. When a Cisco IP phone is detected, the ingress classification on the interface is set to trust the QoS label received in the packet. When a Cisco IP phone is absent, the ingress classification is set to not trust the QoS label in the packet. The egress queues on the interface are also reconfigured (see Table 2-2).
•
When you enter the auto qos voip trust interface configuration command, the ingress classification on the interface is set to trust the QoS label received in the packet, and the egress queues on the interface are reconfigured (see Table 2-2).
You can enable auto-QoS on static, dynamic-access, voice VLAN access, and trunk ports.
To display the QoS configuration that is automatically generated when auto-QoS is enabled, enable debugging before you enable auto-QoS. Use the debug autoqos privileged EXEC command to enable auto-QoS debugging.
To disable auto-QoS on an interface, use the no auto qos voip interface configuration command. When you enter this command, the switch enables standard QoS and changes the auto-QoS settings to the standard-QoS default settings for that interface.
To disable auto-QoS on the switch, use the no auto qos voip interface configuration command on all interfaces on which auto-QoS is enabled. When you enter this command on the last interface on which auto-QoS is enabled, the switch disables QoS and enables pass-through mode.
Examples
This example shows how to enable auto-QoS and to trust the QoS labels received in incoming packets when the switch or router connected to Gigabit Ethernet interface 0/1 is a trusted device:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# auto qos voip trust
This example shows how to enable auto-QoS and to trust the QoS labels received in incoming packets when the device connected to Fast Ethernet interface 0/1 is detected as a Cisco IP phone:
Switch(config)# interface fastethernet0/1
Switch(config-if)# auto qos voip cisco-phone
This example shows how to display the QoS configuration that is automatically generated when auto-QoS is enabled:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface fastethernet0/1
Switch(config-if)# auto qos voip trust
4d22h:mls qos map cos-dscp 0 8 16 26 32 46 48 56
4d22h:mls qos min-reserve 5 170
4d22h:mls qos min-reserve 6 10
4d22h:mls qos min-reserve 7 65
4d22h:mls qos min-reserve 8 26
4d22h:interface FastEthernet0/1
4d22h: wrr-queue bandwidth 20 1 80 0
4d22h: wrr-queue min-reserve 1 5
4d22h: wrr-queue min-reserve 2 6
4d22h: wrr-queue min-reserve 3 7
4d22h: wrr-queue min-reserve 4 8
4d22h: no wrr-queue cos-map
4d22h: wrr-queue cos-map 1 0 1 2 4
4d22h: wrr-queue cos-map 3 3 6 7
4d22h: wrr-queue cos-map 4 5
4d22h: priority-queue out
Switchconfig-if)# interface gigabitethernet0/1
Switch(config-if)# auto qos voip cisco-phone
4d22h:interface GigabitEthernet0/1
4d22h: mls qos trust device cisco-phone
4d22h: wrr-queue bandwidth 20 1 80 0
4d22h: wrr-queue queue-limit 80 1 20 1
4d22h: no wrr-queue cos-map
4d22h: wrr-queue cos-map 1 0 1 2 4
4d22h: wrr-queue cos-map 3 3 6 7
4d22h: wrr-queue cos-map 4 5
4d22h: priority-queue out
You can verify your settings by entering the show auto qos interface interface-id privileged EXEC command.
Related Commands
boot boothlpr
Use the boot boothlpr global configuration command to load a special IOS image, which when loaded into memory, can load a second IOS image into memory and launch it. This variable is used only for internal development and testing. Use the no form of this command to return to the default setting.
boot boothlpr filesystem:/file-url
no boot boothlpr
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 helper image.
|
Defaults
No helper image is loaded.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
Filenames and directory names are case sensitive.
This command changes the setting of the BOOTHLPR environment variable. For more information, see "Boot Loader Commands."
Related Commands
Command
|
Description
|
show boot
|
Displays the settings of the boot environment variables.
|
boot buffersize
Use the boot buffersize global configuration command to specify the size of the file system-simulated nonvolatile RAM (NVRAM) in Flash memory. The buffer holds a copy of the configuration file in memory. Use the no form of this command to return to the default setting.
boot buffersize size
no boot buffersize
Syntax Description
size
|
The buffer allocation size in bytes. The range is 4096 to 524288 bytes.
|
Defaults
The default is 32 KB.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
The configuration file cannot be larger than the buffer size allocation.
You must reload the switch by using the reload privileged EXEC command for this command to take effect.
This command changes the setting of the CONFIG_BUFSIZE environment variable. For more information, see "Boot Loader Commands."
Related Commands
Command
|
Description
|
show boot
|
Displays the settings of the boot environment variables.
|
boot config-file
Use the boot config-file global configuration command to specify the filename that IOS uses to read and write a nonvolatile copy of the system configuration. Use the no form of this command to return to the default setting.
boot config-file flash:/file-url
no boot config-file
Syntax Description
flash:/file-url
|
The path (directory) and name of the configuration file.
|
Defaults
The default configuration file is flash:config.text.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
Filenames and directory names are case sensitive.
This command changes the setting of the CONFIG_FILE environment variable. For more information, see "Boot Loader Commands."
Related Commands
Command
|
Description
|
show boot
|
Displays the settings of the boot environment variables.
|
boot enable-break
Use the boot enable-break global configuration command to enable interrupting the automatic boot process. Use the no form of this command to return to the default setting.
boot enable-break
no boot enable-break
Syntax Description
This command has no arguments or keywords.
Defaults
Disabled. The automatic boot process cannot be interrupted by pressing the Break key on the console.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
When you enter this command, you can interrupt the automatic boot process by pressing the Break key on the console after the Flash file system is initialized.
Note
Despite the setting of this command, you can interrupt the automatic boot process at any time by pressing the MODE button on the switch front panel.
This command changes the setting of the ENABLE_BREAK environment variable. For more information, see "Boot Loader Commands."
Related Commands
Command
|
Description
|
show boot
|
Displays the settings of the boot environment variables.
|
boot helper
Use the boot helper global configuration command to dynamically load files during boot loader initialization to extend or patch the functionality of the boot loader. Use the no form of this command to return to the default.
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.
|
/file-url
|
The path (directory) and a list of loadable files to dynamically load during loader initialization. Separate each image name with a semicolon.
|
Defaults
No helper files are loaded.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
Filenames and directory names are case sensitive.
This command changes the setting of the HELPER environment variable. For more information, see "Boot Loader Commands."
Related Commands
Command
|
Description
|
show boot
|
Displays the settings of the boot environment variables.
|
boot helper-config-file
Use the boot helper-config-file global configuration command to specify the name of the configuration file to be used by the IOS helper image. If this is not set, the file specified by the CONFIG_FILE environment variable is used by all version of IOS that are loaded. This variable is used only for internal development and testing. Use the no form of this command to return to the default setting.
boot helper-config-file filesystem:/file-url
no boot helper-config file
Syntax Description
filesystem:
|
Alias for a Flash file system. Use flash: for the system board Flash device.
|
/file-url
|
The path (directory) and helper configuration file to load.
|
Defaults
No helper configuration file is specified.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
Filenames and directory names are case sensitive.
This command changes the setting of the HELPER_CONFIG_FILE environment variable. For more information, see "Boot Loader Commands."
Related Commands
Command
|
Description
|
show boot
|
Displays the settings of the boot environment variables.
|
boot manual
Use the boot manual global configuration command to enable manually booting the switch during the next boot cycle. Use the no form of this command to return to the default setting.
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.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
The next time you reboot the system, the switch is in boot loader mode, which is shown by the switch: prompt. To boot the system, use the boot boot loader command, and specify the name of the bootable image.
This command changes the setting of the MANUAL_BOOT environment variable. For more information, see "Boot Loader Commands."
Related Commands
Command
|
Description
|
show boot
|
Displays the settings of the boot environment variables.
|
boot private-config-file
Use the boot private-config-file global configuration command to specify the filename that IOS uses to read and write a nonvolatile copy of the private configuration. Use the no form of this command to return to the default setting.
boot private-config-file filename
no boot private-config-file
Syntax Description
filename
|
The name of the private configuration file.
|
Defaults
The default configuration file is private-config.text.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(11)EA1
|
This command was first introduced.
|
Usage Guidelines
Only the IOS software can read and write a copy of the private configuration file. You cannot read, write, delete, or display a copy of this file.
Filenames are case sensitive.
Examples
This example shows how to specify the name of the private configuration file to be pconfig:
Switch(config)# boot private-config-file pconfig
Related Commands
Command
|
Description
|
show boot
|
Displays the settings of the boot environment variables.
|
boot system
Use the boot system global configuration command to specify the IOS image to load during the next boot cycle. Use the no form of this command to return to the default setting.
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. Separate image names with a semicolon.
|
Defaults
The switch attempts to automatically boot the system by using information in the BOOT environment variable. If this variable is not set, the switch attempts to load and execute the first executable image it can by performing a recursive, depth-first search throughout the Flash file system. In a depth-first search of a directory, each encountered subdirectory is completely searched before continuing the search in the original directory.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(4)EA1
|
This command was first introduced.
|
Usage Guidelines
Filenames and directory names are case sensitive.
If you are using the archive download-sw privileged EXEC command to maintain system images, you never need to use the boot system command. The boot system command is automatically manipulated to load the downloaded image.
This command changes the setting of the BOOT environment variable. For more information, see "Boot Loader Commands."
Related Commands
Command
|
Description
|
show boot
|
Displays the settings of the boot environment variables.
|
channel-group
Use the channel-group interface configuration command to assign an Ethernet interface to an EtherChannel group. Use the no form of this command to remove an Ethernet interface from an EtherChannel group.
channel-group channel-group-number mode {auto [