clear config
Use the clear config command to clear the system or module configuration information stored in
NVRAM.
clear config {mod | rmon | all | snmp | acl{nvram}}
Syntax Description 
            
                   mod         Number of the module.
                   rmon        Keyword to clear all RMON configurations,including the historyControlTable,the
                               alarmTable,the eventTable,and the ringStation ControlTable.
                   all         Keyword to clear all module and system configuration information, including the
                               IP address.
                   snmp        Keyword to clear all SNMP configurations.
                   acl nvram   Keyword to clear all ACL configurations.
                  
Defaults
          
                  This command has no defult setting.
                 
Command Types    
                  Switch command.
                 
Command Modes
                  Privileged.     
                 
Usage Guidelines
                  When using an MSM,clear config clears the portion of the MSM configuration kept by the
                  Catalyst 6000 series switch supervisor engine.The portion of the configuration kept by the MSM must
                  be cleared at the router level(router>prompt).
                 
                  Before using the clear config all command,save a backup of the configuration using the copy
                  command.
                 
Examples
                  This example shows how to delete the configuration information in NVRAM on module 2:
                 
                  console> (enable) clear config 2
                  This command will clear module 2 configuration.
                  Do you want to continue (y/n) [n]? y
                  ......................................
                  Module 2 configuration cleared.
                  consloe> (enable)
                 
                  This example shows how to delete the configuration information stored in NVRAM on module 1(the
                  supervisor engine):
                 
                  Console> (enable) clear config 1
                  This command will clear module 1 configuration.
                  Do you want to continue{y/n} [n]? y
                  ........
                  Module 1 configuration cleared.
                  host%
                 
                  This example shows how to delete all the configuration information for the Catalyst 6000 family
                  switchs:
                 
                  Console> (enable) clear config all
                  This command will clear all configuration in NVRAM.
                  Do you want to continue {y/n}[n]? y
                  ....................................
                  Connection closed by foreign host
                  host%
                 
                  This example shows how to delete all the SNMP configuration information for the Catalyst 6000 family
                  switches:
                 
                  Console> (enable) clear config snmp
                  This command will clear SNMP configuration in NVRAM.
                  Do you want to continue {y/n} [n]? y
                  ..................................
                  Connection closed by foreign host
                  host%
                 
                  This example shows how to delete all ACL configuration information for NVRAM:
                 
                  Console> (enable) clear config acl nvram
                  ACL configuration has been deleted form NVRAM.
                  Warning: Use the copy command to save the ACL configuration to a file and
                  the 'set boot config-register auto-config' commands to configure the
                  auto-config feature.
                  Console> (enable)
                 
Related Commands
                
                  configure
                  show config

                 
clear vlan
                 Use the clear vlan command to delete an existing VLAN from a management domain.
                
                       clear vlan vlan_num
                      
Syntax Description          
                 vlan_name    Number of the VLAN;vaild values are from 2 to 1000

Defaults                      
                 This command has no default setting.
                
Command Type  
                 Switch command.
                
 
Command Modes  

                 Privileged.
                
 
Usage Guidelines

                 Follow these guidelines for deleting VLANs:
                
                 When you delete a normal-range Ethernet VLAN in VTP server mode, the VLAN is removed from
                 all switches in the same VTP domain.
                
                 When you delete a normal-range VLAN in VTP transparent mode,the VLAN is deleted only on the
                 current switch.
                
                 To delete a Toking Ring TrBRF VLAN,you must first reassign its child TrCRFs to another parent
                 TrBRF.or delete the child TrCRFs.
                
                 When you clear a private VLAN (primary, isolated, or community), the ports are set to inactive and are
                 not assigned to any VLAN. The private VLAN mapping for the selected VLAN are also cleared.ACL
                 to VLAN mapping are also deleted.
                
                 When you clear a private VLAN (primary, isolated, or communirty),the ports are set to inactive and are
                 not assigened to any VLAN.The private VLAN mapping for the selected VLAN are also cleared.
                
Examples
                 This example shows how to clear existing VLAN 4 from a management domain:
                
                 Console> (enable) clear vlan 4
                 This command will de-activate all ports on vlan 4
                 in the entire management domain
                 Do you want to continue (y/n) [n]? y
                 YTP:VLAN 4 deletion successful
                 Console> (enable)
                
Related Commands
                 set vlan
                 show vlan

                
                
Router# dir device_name 
                 Displays the contents of the device.
Router# delete deivce_name
                 Removes existing files from the ciscoView directory.
                
Router#squeeze device_name:
                 Recoverys the space in the file system.
 
set password
Use the set password command to change the login password on the CLI.
                set password

Syntax Description
This command has no arguments or keywords.
Defaults
The defualt is no password is configured.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guildelines
Password are case sensitive and may be from 0 to 19 characters in length, including spaces.
The command prompts you for the old password. If the password you enter is vaild, you are prompted
to enter a new password and to verify the new password. A zero-length password is allowed by pressing
Return.
Examples
This example shows how to set an initial password:
Console> (enable) set password
Enter old password:
Enter new password:
Retype new password:  
Password Changed.
Console> (enable)      
 
 
set enablepass
Use the set enablepass command to change the password for the privileged level fo the CLI.
               set enablepass
              
Syntax Description
This command has no arguments or keywords.
Defaults
The default configuration has no enable password configured.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidenlines
Passwords are case sensitieve and may be 0 to 19 characters in length.including spaces
The command prompts you for the old password.If the password you enter is vaild, you are promptd
to enter a new password and to verify the new password.
Examples
This example shows how to establish a new password:
Console> (enable) set enablepass
Enter old password
Enter new password
Retype new password
Password changeed.
Console> (enable)
Related Commands
eanble
set password
 
 
set system name
 
Use the set system name command to configure a name for the system.
          set system name [name_string]
         
Syntax Description
name_sting (Optional) Text string that identifies the system.
Defaults
The default is no system name is configured.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guildelines
If you use the set system name command to assign a name to the switch, the switch name is used as the
prompt string. However, if you specify a different prompt string using the set prompt command, that
string is used for the prompt.
If you do not specify a system name, the system name is cleared, and DNS lookup is initiated for a
system name. If a name is found, that is the name used: if no name is found,no name is desigenated.
The system name can be 255 characters long, and teh prompt can be 20 characters long.The system
name is truncated appropriately when used as a prompt;a greater-than symbol(>)is appened to the
truncated system name.If the system name was found from a DNS lookup, it is truncated to remove the
domian name.
If the prompt is obtained using the system name, it is updated whenever the system name change.You
can overwrite this prompt any time by setting thr prompt manually.Any change in the prompt is
reflected in all current open seesions.
If you do not specify a name, the system name is cleared
Examples
This example shows how to set the system name to Informatin Systems:
Console> (enable) set sytem name Information Systems
System name set.
Console> (enable)  
Related Commands
show system
set prompt

set snmp community
 
Use the set snmp community command to set SNMP communities and associated access types.
   set snmp community {read-only | real-wirte | read-write-all} [community_string]
  
Syntax Description
read-only Keyword to assign read-only access to the specified SNMP community.
read-write Keyword to assigen read-write access to the specifed SNMP community.
real-write-all Keyword to assigen read-write-all access to the specifed SNMP community.
community_string (Optional) Name of the SNMP community.
Defaults
The default is the following community and access type are defined:
public     read-only
private    read-write
secret     read-write-all
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supports by the NAM.(content analysis module)
There are three configurable SNMP communities, one for each access type.If you do not specify the
community string, the community string configured for that access type is cleard.
To support the access types, you also need to configure for MIB tables: vacmContextTable.
vacmSecurityToGroupTable,vacmAccessTable, and vacmViewTreeTable. Use the clear config
snmp command to reset tables to the defualt values.
Examples
This examples shows how to set red-write access to the SNMP community called yappledapple:
Console> (enable)set snmp community read-write yappledapple
SNMP read-write community string set to yappledapple.
Console> (enable)
This example shows how to clear the community string defined for read-only access:
Console> (enable) set snmp community read-only
SNMP read-only community string cleared.
Console> (enable)
Related Commands
clear config snmp
show snmp
 
set ntp broadcastclient
Use the set ntp boardcastclient command to enable or disable NTP in boradcast-client mode.
         set ntp broadcastclient {enable|disable}
        
Syntax Description
enable   Keyword to enable NTP in broadcast-client mode.
disable  Keyword to enable NTP in broadcast-client mode.
Defaults
The default is broadcast-client mode is disabled.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The broadcast-client mode assumes that a broadcast server ,such as a router,send time-of-day
information regularly to a Catalyst 6000 family switch.
Examples
This example shows how to enable an NTP broadcast client:
Console> (enable) set ntp broadcastclient enable
NTP Broadcast Client mode enabled.
console> (enable)
This example shows how to disable an NTP broadcst client:
Console> (enable) set ntp broadcastclient disable
NTP Broadcast Client mode disabled.
Console> (enable)
Related Commands
show ntp
 
 
set ntp broadcastdelay
Use the set ntp broadcastdelay command to configure a time-adjustment factor so the Catalyst 6000   
family switch can receive broadcast packets.
         set ntp broadcastrelay microseconds
        
Syntax Description
microseconds   Estimated round-trip time, in microseconds, for NTP broadcasts:
               valid values are from 1 to 999999.
              
Defaults
The default is the NTP broadcast delay is set to 3000 ms.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example show how to set the NTP broadcast delay to 4000 ms:
Console> (enable) set ntp broadcastdelay 4000
NTP broadcast delay set to 4000 microseconds.
Console> (enable)
Related Commands
show ntp
 
 
set ntp client
Use the set ntp client command to enable or disable a Catalyst 6000 family switch as an NTP client.
             set ntp client {enable | disable}
           
Syntax Description
enable     Keyword to enable a Catalyst 6000 family switch as an NTP client.
disable    keyword to disable a Catalyst 6000 family switch as an NTP client.
Defautls
The default is NTP client mode is disabled.
Command Types
Switch Command.
Command Modes
Privileged.
Usage Guidelines
You can configure NTP in either braodcast-client mode or client mode.The broadcast-client mode
assumes that a broadcast server,such  as a router,send time-of-day information regularly to a
Catalyst 6000 family switch.The client mode assumes that the client ( a Catalyst 6000 family switch)
regularly sends time-of-day requestes to the NTP server.  
Examples
This example shows how to enable NTP client mode:
Console> (enable) set ntp client enable
NTP client mode enabled.
Console> (enable)
Related Commands
show ntp
 
 
set ntp server
Use the set ntp server command to configure the IP address of the NTP server.
            set ntp server ip_addr
          
Syntax Description
ip_addr    IP address of the NTP server providing the clock synchronization.
Defaults
This command has no defualt setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidenlines
The client mode assumes that the client ( a Catalyst 6000 family switch) send time-of-day requests
regularly to the NTP server.A maximum of ten servers per client is allowed.
Examples
This example shows how to configure an NTP server:
Console> (enable) set ntp server 172.20.22.191
NTP server 172.20.22.191 added.
Console> (enable)
Related Commands
clear ntp server
show ntp
 

set timezone
Use the set timezone command to set the time zone for the system.
            set timezone[zone_name][hous[minutes]]
           
Synatx Description
zone_name (Optional) Name of the time zone to be displayed.
hours     (Optional) Number of hours offset from UTC.
minutes   (Optional) Number of minutes offset from UTC.If the specified
           hours value is a negative number, then the minutes value is assumed
           to be negative as well.
Defaults
The default is the time zone is set to UTC.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The set timezone command is effective only when NTP is running.If you set the time explicityly and
NTP is disengaged, the set timezone command has no effect.If you have enabled NTP and have not
entered the set timezone command,the Catalyst 6000 family switch displays UTC by default.
Examples
This examples shows how to set the time zone to Pasific Standard Time with an offset of minus 8 hours
from UTC:
Console> (enable)set timezone GMT 8
Timezone set to "GMT", offset from UTP is 8 hours.
Console> (enable)
 
 
set banner motd
Use the set banner motd command to program an MOTD banner to appear before session login.
             set banner motd c[text]c
   
Syntax Description
c           Delimiting character used to begin and end message.
text        (Optional) Message of the day.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The banner may contain no more than 3,070 characters,including tabs.Tabs display as eight characters
but take only one characer of memory.
You can use either the clear banner motd command or the set banner motd cc command to clear the
message-of-the-day banner.
Examples
This example shows how to set the message of the day using the pound sign(#)as the delimiting
character:
Console> (enable) set banner motd#
** System upgrade at 6:00am Tuesday.
** Please log out before leaving on Monday.#
MOTD banner set.
Console> (enable)
This example shows how to clear the message of the day:
Console> (enable) set banner motd##
MOTD banner cleared.
Console> (enable)
Related Commands
clear banner motd

set boot config-register
Use the set boot config-register command set to configure the boot configuration register value.
              set boot config-register 0xvalue[mod]
            
             set boot config-register baud {1200 | 2400 | 4800 | 9600} [mod]
            
             set boot config-register igonre-config { enable | disable} [mod]
            
             set boot config-register boot { rommon | bootflash| system } [mod]
            

Syntax Description
             0xvalue           Keyword to set the 16-bit configuration register value.
            
             mod               (Optional) Module number of the supervisor engine containing the Flash
                                device.
                               
             baud {1200 |2400   Keywords to specify the console baud rate.
             4800 | 9600 }
            
             ignore-config      Keywords to set the ignore-config feature.
            
             enable             Keywords to enable the specified feature.
            
             disable            Keywords to disable the specified feature.
            
             boot               Keywords to specify the boot p_w_picpath to use on the next restart.
            
             rommon             Keywords to specify booting from the ROM monitor.
            
             bootflash          Keywords to specify booting from the bootflash.
            
             system             Keywords to specify booting from the system.
            
Defaults
The defaults are as follows:
Configuration register value is 0x10F,which causes the switch to boot from what is specified by
the BOOT environment varialbe.
Baud rate is set to 9600.
ignore-config parameter is disabled.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
We recommmand that you use only the rommon and system options to the set boot config-register boot
command.
Each time you enter one of the set boot config-register commands,the system dsiplays all current
configuration-register information (the equivalent of entering the show boot command).
The baud rate specified in the configuration register is used by the ROM monitor only and is different
from the baud rate specified by the set system baud command.
When you enable the ignore-config feature,the system software ignoresthe configuration.Enabling
the ignore-config pararmeter is the same as entering the clear config all command; that is, it clears the
entire configuration stored in NVRAM the next time the switch is restarted.
Examples
This example shows how to specify booting from the ROM monitor:
Console> (enable) set boot config-register boot rommon
Configuration register is 0x100
ignroe-config:disabled
console baud:9600
boot: the ROM monitor
Console> (enable)
This example shows how to specify the default 16-bit cofiguration register value:
Console> (enable) set boot config-register 0x12f
Configuration register is 0x12f
break: disabled
ignore-config: disabled
console baud: 9600
boot: p_w_picpath specified by the boot system commands
Console> (enable)
This example shows how to change the ROM monitor baud rate to 4800:
Console> (enable) set boot config-register baud 4800
Configuration register is 0x90f
ignore-config: disable
console baud: 4800
boot: p_w_picpath specified by the boot system commands
Console> (enable)
This example shows how to ignore the configuration information stored in NVRAM the next time the
switch is restared:
Console> (enable) set boot config-register ignore-config enable
Configuration register is 0x94f
ignore-config; enabled
console baud: 4800
boot:p_w_picpath specified by the boot system commands
Console> (enable)
This example shows how to specify rommon as the boot p_w_picpath to use on the next restart:
Console> (enable) set boot config-register boot rommon
confiuration register is 0x100
ignore-config: disabled
console baud: 9600
boot: the ROM monitor
Console> (enable)
Related Commands
set config acl
set boot auto-config
set boot system flash
show boot
copy
show config
 
set boot system flash
Use the set boot system flash command to set the BOOT environment variable that specifies a list of
p_w_picpaths the switch loads at stratup.
set boot system flash device:[filename][prepend][mod]
Syntax Description
device:          Device where the Flash resides.
filename         (Optional) Name of the configuratinon file.
prepend          (Optional) Keyword to place the device first in the list of boot devices.
mod              (Optional) Module number of the supervisor engine containing the Flash device.
Defaults  
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
A colon(:) is required after the specified device.
You can enter several boot system commands to provide a fail-safe method for booting the switch.The
system stores and executes the boot system commands in the order in which you enter them.
Remember to clear the old entry when building a new p_w_picpath with a different filename in order to use
the new p_w_picpath.
If the file does not exist(for example,if you entered the wrong filename),then the filename is appended
to the bootstring, and this message displays,"Warning:File not found but still added in the bootstring."
If the file does exist,but is not a supervisor engine p_w_picpath,the file is not added to the bootstring,and
this meesage displays,"Warning:file found but it is not a vaild boot p_w_picpath."
Exmples
This example shows how to append the filename cat6000-sup5-5-1.bin on device bootflash to the
BOOT environment variable:
Console> (enable) set boot system flash bootflash:cat6000-sup5-5-1.bin
BOOT variable = bootflash:cat6000-sup.5-5-1.bin,1;bootflash:cat6000-sup.5-5-1.bin,1;
Console> (enable)
This example shows how to prepend cat6000-sup5.5-5-1.bin to the beginning of the boot string:
Console> (enable) set boot system flash bootflash:cat6000-sup5.5-5-1.bin prepend
BOOT variable = bootflash:cat6000-sup5-5-1.bin,1;bootflash:cat6000-sup.5-4-1.bin,1;
Console> (enable)
Related Commands
clear boot sytem
show boot
 
 
set ip route
 
Use the set ip route command to add IP address or aliases to the IP routing table.
        set ip route {destination}[/netmask]{gateway}[metric][primary]
       
Syntax Description
destination     IP address,IP alias of the network,or specific host to the added.Use
                default as the destination to set the new entry as the default route.
               
/netmask        (Optionl) Number of bits in network or dot format (for example,
                172.20.22.7/24 or 172.20.22./255.255.255.0).
              
gateway         IP address or IP alias of the router.
metric          (Optional) Value used to indicate the number of hops between the
                switch and the gateway.
       
primary         (Optional) Keyword used with the Multiple IP Gateway feature to
                specify the default IP gateway with the highest priority.
               
Defaults
The default configuration routes the local network through the sc0 interface with metric 0 as soon as
sc0 is configured.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You can configure up to three default gateway,The primary is the highest priority.If you do not
designate a primary gateway , priority is based on the order of input.If you enter two primary
definitions, the second definition becomes the primary and the first definition is now the secondary
default IP gateway.
You can only specify the primary keyword for a default route.
When you enter the destination or gateway,enter it in dot notation,for example,a.b.c.d.
When you specify the netmask , this indicates the number of bits allocated to subnetting in the hostid
section of the given Class A,B, or C address , For example, if you enter an IP address for the sc0
interface as 172.22.20.7, the hostid bits for this Class B address is 16.Any number of bits in the hostid
bits can be allocated to the netmask field.If you do not enter the netmask,the number of bits is assumed
to be the natural netmask.
When you enter the netmask, enter is as the number of bits or dot format,for example,destination/24
or desination/255.255.255.0. If you enter the netmask in dot format, you must have contiguous 1s.
Examples
These examples show how to add three default routes to the IP routing table,checking after each
addition using the show ip route command:
Console> (enable) set ip route default 192.122.173.42 1 primary
Route added.
Console> (enable)
Console> (enable) show ip route
Fragmentation                  Redirect                     unreachable
---------------------         -------------           ---------------------
eanbled                         enabled                    enabled
Destination                    Gateway                      Flages            Use       Inerface
----------------          ---------------------        ------------------ --------  ------------- -
default                     192.122.173.42                  UG               59444       sc0
192.22.74.0                 192.22.74.223                   U                    5       sc0
Console> (enable)
Console> (enable) set ip route default 192.122.173.43 1
Route added.
Console> (enable)
Console> (enable)show ip route
Fragmentation                     Redirect                 Unreachable
-------------------             ------------------         --------------
enabled                           enabled                   enabled
Destination                        Gateway                Flags            Use         Interface
--------------------          -------------------       -------------     ---------  ------------
default                       192.122.173.43               UG              59444        sc0
default                       192.122.173.42               UG              59444        sc0
192.22.74.0                   192.22.74.223                U                   5        sc0
Console> (enable)
Related Commands
clear ip route
show ip route
 
set ip dns
Use the set ip dns command to enable or disable DNS.
             set ip dns {enable | disable}
           
Syntax Description
enable          Keyword to enable DNS.
disable         Keyword to disable DNS.
Defaults
The default is DNS id disabled.
Command Type
Switch command.
Command Modes
Privileged.
Examples
This example shows how to enable DNS.
Console> (enable) set ip dns enable
DNS is enabled.
Console> (enable)
This example shows how to disable DNS.
Console> (enable) set ip dns disable
DNS is disabled.
Console> (enable)
Related Commands
show ip dns
 
 
set ip dns domain
Use the set ip dns domain command to set the defualt DNS domian name.
              set ip dns domain name
            
Syntax Description
name         DNS domain name.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you specify a domian name on the command line, the system attempts to resolve the host name as
entered.If the system cannot resolve the host name as entere, it sppends the default DNS domian name
as defined with the set ip dns domain command. If you specify a domain name with a trailing dot,the
program considers this an absolute domain name.
Examples
This example show how to set the default DNS domain name:
Console> (enable) set ip dns domain yow.com
DNS domian name set to yow.com
Console> (enable)
Related Commands
clear ip dns domain
show ip dns
 
set ip dns server
Use the set ip dns server command to set the IP address of a DNS server.
          set ip dns server ip_addr [primary]
        
Syntax Description
ip_addr     IP address of the DNS server.
primary     (Optional) Keyword to configure a DNS server as the primary
             server.
            
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You can configure up to three DNS name servers as backup.You can also configure any DNS server as
the primay server.The primary server is queried first.If the primary server fails,the backup servers
are queried.
If DNS is disabled, you must use the IP address with all commands that require explicit IP addresses or
manually define an alias for the address.The alias has priority over DNS.
Examples
These examples show how to set the IP address of a DNS server:
Cosnole> (enable) set ip dns server 198.92.30.32
198.92.30.32 added to DNS server table as primary server.
Console> (enable) set ip dns server 171.69.2.132 primary
171.69.2.132 added to DNS server table as primary server.
Console> (enable) set ip dns server 171.69.2.143 primary
171.69.2.143 added to DNS server table as primary server.
This example show what happens if you enter more than three DNS name servers as backup:
Console> (enable) set ip dns server 161.44.128.70
DNS server table is full. 161.44.128.70 not added to DNS server table.
Related Commands
clear ip dns server
show ip dns
 
 
session
Use the session command to open a session with a module(for example,the MSM or ATM), allowing
you to use the module-specific CLI.
             session   mod
Syntax Description
mod            Number of the module.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Privileged.
Usage Guidelines
After you enter this command,the system redponds with the Enter Password:prompt, if one is
configured on the module.
To end the session,enter the quit command.
Use the session command to toggle between router and switch sessions.
For information on ATM commands, refer to the ATM software configuration guid and command
Reference for the catalyst 5000 Family and 6000 Family Switches.
Examples
This examples shows how to open a session with an MSM(module 4):
Console> (enable) session 4
Trying Router-4...
connected to Router-4.
Escape character is '^]'.
Router>
Related Commands
switch console
quit
 
 
set vtp
 
Use the stp vtp command to set the options for VTP.
      set vtp [domian domian-name] [mode { client | server | transparent} ]
     [passwd passwd] [pruning {enable | disable}][v2 {enable | disable}]

    
Syntax Descripion
domain           (Optional) Keywords to define the name that identifies the VLAN
domain_name       management domian.The domain.The domain_name can be from 1 to 32 characters in
                  length.
                 
mode{ client|    (Optional) Keywords to specify the VTP mode.
server|
transparent}
passwd passwd    (Optional) Keyword and variable to define the VTP password; the VTP
                  password can be form 8 to 64 characters in length.
                 
pruning {enable|  (Optional) Keywords to enable or disable VTP pruning for the entire
disable}           management domian.
v2 (enable|       (Optional) Keyword to enable or disable version 2 mode.
disable}
Defaults
The defaults are as follows: server mode, no password,pruning disable,and v2 disabled.
Command Type
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
All switch in a VTP domain must run the same version of VTP.VTP version 1 and VTP version 2 do
not operate on switches in the same VTP domain.
If all switches in a domain are VTP version 2-capable, you only need to enable VTP version 2 on one
switch(using the set vtp v2 enable command); the version number is then propagated to the other
version 2-capable switches in the VTP domain.
If the VTP password has already been defined,entering passwd 0 (zero) clear the VTP password.
VTP supports three different mode: server, client, and transparent.If you make a change to the VTP
or VLAN configuration on a switch in server mode,that change is propagated to all of the switch in
the same VTP domain.
If the receiving switch is in server mode and its revision number is higher than the sending switch, the
configuration is not changed.If the revision number is lower,the configuration is duplicated.
VTP can be set to either server or client mode only when dynamic VLAN creation is disabled.
If the receiving switch is in server mode,the configuration is not changed.
If the receiving switch is in client mode,the client switch changes its configuration to duplicate the
configuration of the server.Make sure to make all VTP or VLAN configuration changes on a switch in
server mode.
If the receiving switch is in trasnparent mode,the configuration is not changed.Switches in transparent
mode to not participate in VTP.If you make VTP or VLAN configuration change on a switch in 
transparent mode,the changes are not propagated to the other switches in the network.
The pruning keyword is used to enable or disable VTP pruning for the VTP domian.VTP pruning
causes information about each pruning-eligible VLAN to be removed for VTP updates if there are no
stations beloging to that VLAN out a particular switch port.Use the set vtp pruneeligible and clear
vtp pruning command to specify which VLANs should or should not be pruned when pruning is
enabled for the domian.
To disable VTP,enter the set vtp mode transparent command.This command diesables VTP from the
domain but does not remove the domain from the switch.Use the clear config all command to remove
the domain from the switch.
Examples
This examples shows how to use the set vtp command:
Console> (enable) set vtp domain Engineering mode client
VTP domain Engineering modeified.
Console> (enable)
This example shows what happens if you try to change VTP to server or client mode and dynamic
VLAN creation is enabled:
Console> (enable) set vtp mode server
Failed to Set VTP to Server.Please disable Dynamic VLAN Creation First.
Console> (enable)
Related Commands
show vtp domain
set vlan
clear vlan
show vlan
set vtp pruneeligible
clear vtp pruning

set vtp pruneeligible
 
Use the set vtp pruneeligible command to specify which VTP domian VLANs are pruning eligible.
 
          set vtp pruneeligible vlan_range
         
Syntax Description
vlan_range  Range of VLAN numbers; valid values are from 2 to 1000.
Defaults
The defaults is VLAN 2 through 1000 are eligible for pruning.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
VTP pruning causes infromation about each pruning-eligible VLAN to be removed from VTP updates
if there are no stations beloging to that VLAN out a particular switch port.Use the set vtp command
to enable VTP pruning.
By defult,VLANs 2 through 1000 are pruning eligible.You do not need to use the set vtp
pruneeligible command unless you have previously used the clear vtp pruning command to make
some VLANs pruning ineligible.If VLANs have been made pruning ineligible,use the set vtp
pruneeligible command to make them pruning eligible again.
Examples
This example show how to configure pruning eligibility for VLANs 120 and 150:
Console> (enable) set vtp pruneeligible 120,150
Vlan 120,150 eligible for pruning on this device.
VTP domain nada modified.
Console>
In this example,VLANs 200-500 were made pruning ineligible using the clear vtp pruning command.
This example shows how to make VLANs 200 through 320 pruning eligible again:
Console> (enable) set vtp pruneeligible 220-320
Vlans 2-199,220-320,501-1000 eligible for pruning on this device.
VTP domain Company modified.
Console>
Related Commands
show vtp domain
set vlan
clear vtp pruning

set interface
 
Use the set interface command set to configure the in-band and SLIP interface on the switch.
              set interface { sc0 | sl0 } {up | down}
             set interface sc0 [vlan][ip_address[/netmask][broadcast]]
             set interface sl0 slip_address dest_addr
             set interface sc0 dhcp { renew | release | requestnew}

            
Syntax Description
sc0          Keyword to specify the in-band interface.
sl0          Keyword to specify the SLIP interface.
up           Keyword to bring the interface into operation.
down         Keyword to bring the interface out of operation.
vlan         (Optional) Number of the VLAN to be assigned to the interface.
ip_addr      (Optional) IP address.
/netmask     (Optional) Subnet mask.
broadcast    (Optional) Broadcast address.
slip_addr    IP address of the console port.
dest_addr    IP address of the host to which the console port will be connected.
dhcp         Keyword to perform DHCP operations on the sc0 interface.
renew        Keyword to renew the lease on a DHCP-leared IP address.
release      Keyword to release a DHCP-learned  IP address back to the DHCP
             IP address pool.
requestnew   Keyword used to request a new lease on a DCHP-learned IP

Defaults
The default configuration is the in-band interface(sc0) in VLAN 1 with the IP address.subnet mask,
and broadcast address set to 0.0.0.0.The default configuration for the SLIP interface (sl0)is that the IP
address and broadcast address are set to 0.0.0.0.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Two configurable network interface are on a Catalyst 6000 family switch: in-band (sc0) and SLIP
(sl0).Configuration the sc0 interface with an IP address and subnet mask allows you to access the switch
CLI via Telnet from a remote host.You should assign the sc0 interface to an active VLAN configured
on the switch(the default is VLAN 1).Make sure the IP address you assign is in the same subnet as
other stations in that VLAN.
Configuring the sl0 interface with an IP address and destination address allows you to make a
point-to-point connection to a host through the console port.Use the slip attach command to activate
SLIP on the console port ( you will not be able to access the CLI via a terminal connected to the console
port until you use the slip detach command to deactivate SLIP on the console port).
When you specify the netmask,this indicates the number of bits allocated to subnetting in the hostid
section of the given Class A.B.or C address.For example,if you enter an IP address for the sc0
interface as 172.22.20.7 ,the hostid bits for this Class B address is 16.Any number of bits in the hostid
bits can be allocated to the subnet field.If you do not enter the net enter the netmask,the number of bits is assumed
to be the natural netmask.
The set interface sc0 dhcp command is valid only when the address is learned form the DHCP server
and available in privileged mode only.
Examples
This example shows how to use set interface sc0 and set interface sl0 from the console port.It also
shows how to bring down interface sc0 using a terminal connected to the console port:
Console> (enable) set interface sc0 192.20.11.44/255.255.255.0
Interface sc0 IP address and netmask set.
Console> (enable) set interface sl0 192.200.10.45 192.200.10.103
Interface sl0 SLIP and desination address set.
Console> (enable) set interface sc0 down
Interface sc0 administratively down
Console> (enable)
This example shows how to set the IP address for sc0 through a Telnet session.Note that the default
netmask for that IP address class is used(for example,a Class C address uses 255.255.255.0 and a
Class B uses 255.255.0.0):
Console> (enable) set interface sc0 192.200.11.40
This command may disconnect active telnet sessions.
Do you want to continue(y/n) [n]?y
Interface sc0 IP address set.
This exmaple shows how to take the interface out of operation through a Telnet session:
Console> (enable) set interface sc0 down
This command will inactivate telnet sessions.
Do you want to continue (y/n) [n]? y
Interface sc0 administratively down.
This example shows how to assign the sc0 interface to a pariticular VLAN:
Console> (enable) set interface sc0 5
Interface sc0 vlan set.
Console> (enable)
This example shows what happens when you assign the sc0 interface to a nonactive VLAN:
Cosnole> (enable) set interface sc0 200
Vlan is not active,user needs to set vlan 200 active.
Interface sc0 vlan set.
This examples shows how to release a DHCP-learned IP address back to the DHCP IP address pool:
Console> (enable) set interface sc0 dhcp release
Releasing IP address... Done
Console> (enable)
This example shows how to renew a lease on a DHCP-learned IP address:
Console> (enable) set interface sc0 dhcp renew
Renewing IP address... Done
Console> (enable)
This example shows how to request a new lease on a DHCP-learned IP address:
Console> (enable) set interface sc0 dhcp requestnew
Requesting new IP address... Done
Console> (enable)
Related Commands
show interface
slip
 
set port disable
Use the set port disable command to disable a port or a range or ports.
           set port disable mod/port
          
Syntax Description
mod/port           Number of the modules and the port on the module.
Defaults
This default system configuration has all port enabled.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
It takes approximately 30 seconds for this command to take effect.
Examples
This exmaple shows how to disable a port using the set port disable command:
Console> (enable) set port disable 5/10
Port 5/10 disabled.
Console> (enable)
Related Commands
set port enable
show port
 
 
set port enable
Use the set port disable command to enable a port or a range of ports.
set port enable mod/port
Syntax Description
mod/port   Number of the and the port on the module.
Defaults
The default is all ports are enabled.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
It takes approximately 30 seconds for this command to take effect.
Examples
This example shows how to enable port 3 on module 2:
Console> (enable) set port enable 2/3
Port 2/3 enabled.
Console> (enable)
Related Commands
set port disable
show port
 
 
set port duplex
Use the set port duplex command to configure the duplex type of an Ethernet port or a range of ports.
           set port duplex mod/port {full/half}
          
Syntax Description
mod/port           Number of the module and the port on the module.
full               Keyword to specify full-duplex transmission.
half               Keyword to specify half-duplex transmission.
Defaults
The default configuration for 10-Mbps and 100-Mbps modules has all Ethernet ports set to half duplex.
Command Type
Switch command.
Command Modes
Privileged.
Usage Guidelines
You can configure Ethernet and Fast Ethernet interfaces to either full duplex or half duplex.
Gigabit ports only support full-duplex mode.
Examples
This example shows how to set port 1 on module 2 to full duplex:
Console> (enable) set port duplex 2/1 full
Port 2/1 set to full-duplex.
Console> (enable)
Related Commands
show port
 
set port speed
Use the set port speed command to configure the speed of a port interface.You can configure the speed
of a Fast Ethernet interface.
          set port speed mod/port {10 | 100 |auto}
         

Syntax Description
mod/port          Number of the module and the port on the module.
10 | 100 | auto   Keyword to set a port speed to 10Mbps,100Mbps, or autospeed detection mode.
Defults
The default is auto
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You can configure Fast Ethernet interface on the 10/100-Mbps Fast Ethernet switching module to
either 10 or 100 Mbps,or to autosensing mode,allowing the interface to sense and distinguish between
10- and 100-Mbps port transmission speeds and full-duplex or half-duplex port trasmission types at a
remote port connection. If you set the interfaces to autosensing, they configure themselves
automatically to operate at the proper speed and transmission type.
This command is not supported by the Gigabit Ethernet switching module or the NAM.
Examples
This example shows how to configure port 1,module 2 to auto:
Console> (enable) set port speed 2/1 auto
Port 2/1 speed set to auto-sensing mode.
Console> (enable)
This example shows how to configure the port speed on port 2, module 2 to 10 Mbps:
Console> (enable) set port speed 2/2 10
Port 2/2 speed set to 10 Mbps.
Console> (enable)
Related Commands
show port
 
 
set port channel
Use the set port channel command set to configure EtherChannel on Ethernet module ports.
set port channel mod/port [admin_group]
set port channel mod/port mode {on | off | desirable | auto} [silent | non-silent]
set port channel all distribution {ip | mac } [source | destination | both]
Syntax Description
mode/type        Number of the module and the port on the module.
admin_group      (Optional) Number of administrative group;vaild values are from
                 1 to 1024.
mode             Keyword to specify the EtherChannel mode.
on               Keyword to enable and force specified ports to channel without
                 PagP.
off              Keyword to prevent ports from channeling.
desirable        Keyword to set a PagP mode that places a port into an active
                 negotiating state,in which the port initiates negotiations with
                 other ports by sending PagP packets.
auto             Keyword to set a PagP mode that places a port into a passive
                 negotiating state,in which the port responds to PagP packet it
                 receives,but does not initiate PagP packet negotiation.
silent           (Optional) Keyword to use with auto or desirable when no traffic
                 is expected from the other device to prevent the link from being
                 reported to STP as down.
non-silent       (Optional)Keyword to use with auto ro desirable when traffic is
                 expected from the other device.
all distribution  Keywords to apply frame distribution to all ports in the switch.
ip                Keyword to specify the frame distribution method using IP
                  address values.
mac              Keyword to specify the frame distribution method using MAC
                 address values.
source           (Optional) Keyword to specify the frame distribution method
                 using source address values.
destination      (Optional) Keyword to specify the frame distribution method
                 using destination address values.
both             (Optional) Keyword to specify the frame distribution method
                 using source and destination address values.
  
Defaults
The default is EtherChannel is set to auto and silent on all module ports.The defaults for frame
distribution are ip and both.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
Make sure that all ports in the channel are configured with the same port speed, duplex mode,and so
forth.For more information on  EtherChannel,refer to the Catalyst 6000 Family Software Configuration
Guide.
With the on mode,a usable EtherChannel exists only when a port group in on mode is connected to
another port group in on mode.
If you are running Qos,make sure that bundled ports are all of the same trust types and have similar
queueing and drop capabilites.
Disable the port security feature on the channeled ports(see the set port security command).If you
enable port security for a channel port,the port shuts down when it recevies packets with source
addresses that do not match the secure address of the port.
You can configrue up to eight ports on the same switch in each administrative group.
When you assign ports to an existing admin group,the original ports associated with the admin group
will move to an automatically picked new admin group. You cannot add ports to the same admin group.
If you do not enter an admin_group, it means that you want to create a new administrative group with
admin_group selected automatically.The next available admin_group is automatically selected.
If you do not enter the channel mode,the channel mode of the ports addressed are not modified.
The silent | non-silent parameters only apply disirable or auto modes are entered.
If you do not specify silent or non-silent ,the current setting is not affected.
This command is not support by non-Etherchannel-capable modules.
Examples
This example shows how to set the channel mode to desirable:
Console> (enable) set port channel 2/2-8 mode desirable
Ports 2/2-8 channel mode set to desirable.
This example shows how to set the channel mode to auto:
Console> (enable)set port channel 2/7-8,3/1 mode auto
Ports 2/7-8,3/1 channel mode set to auto.
Console> (enable)
This example show how to group port 4/1 through 4 in an admin group:
Console> (enable)set port channel 4/1-4 96
Ports 4/1-4 are assigned to admin group 96.
Console> (enable)
This example shows the display when the port list is exceeded:
Console> (enable) set port channel 2/1-9 1
NO more than 8 ports can be assigned to an admin group.
Console> (enable)
This example shows how to disable EtherChannel on module 4, ports 4 through 6:
Console> (enable) set port channel 4/4-6 mode off
Ports 4/4-6 channel mode set to off
Console>
This example shows the display output when you assign ports to an existing admin group.This example
moves ports in admin group 96 to another admin group and assigns ports 4/4 through 6 to admin
group 96
Console> (enable) set port channel 4/4-6 96
Ports 4/1-3 are moved to admin group 97.
Ports 4/4-6 are assigned to admin grouop 96.
Console> (enable)
This example shows how to set channel mode to off for ports 4/4 through 6 and assign port 4/4
through 6 to an automatically selected admin group:
Console> (enable) set port channel 4/4-6 off
Ports 4/4-6 channel mode set to off.
Ports 4/4-6 are assigned to admin group 23.
Console> (enable)
This example show how to configure the EtherChannel load-balancing feature:
Console> (enable) set port channel all disribution ip destination
Channel disribution is set to ip destination.
Console> (enable)
Related Commands
show port channel
show channel
show channel group

 
clear alias
Use the clear alias command to clear the shorthand versions of commands
              clear alias {name | all}
             
Syntax Description
name          Alternate identifier of the command
all           Keyword that clears every alternate identifier previously created.
Defaults
This command has no default setting.
Command Type
Switch command.
Command Modes
Privileged.
Examples
This example show how to erase the arpdel alias:
Console> (enable) clear alias arpdel
Command alias deleted.
Console> (enable)
This example shows how to erase all the alias:
Console> (enable) clear alias all
Command alias table cleared.
Console> (enable)
Related Commands
set alias
show alias
 
 
clear arp
Use the clear arp command to delete a specific entry or all entries from the ARP table.
              clear arp [all | dynamic | permanent | static ] {ip_addr}
             
Syntax Description
all           (Optional) Keyword to clear all ARP entries
dynamic       (Optional) Keyword to clear all dynamic ARP entries.
permantent    (Optional) Keyword to clear all permantent ARP entries.
static        (Optional) Keyword to clear all static ARP entries.
ip_addr       IP address to clear from the ARP table.
Defaults
This command has no default setting
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to remove IP address 198.133.219.209 from the ARP table.
Console> (enable) clear arp 198.133.219.209
ARP entry deleted.
Console> (enable)
This example shows how to remove all entries from the ARP table:
Console> (enable) clear arp all
ARP table cleared.
Console> (enable)
This example shows how to remove all dynamically learned ARP entries:
Console> (enable) clear arp dynamic
Unknown host
Dynamic ARP entries cleared.
Console> (enable)
This example shows how to clear all permanently entered ARP entries:
Console> (enable) clear arp permanent
Unknown host
permanent ARP entries cleared.
Console> (enable)
Related Commands
set arp
show arp
 
 
clear banner motd
Use the clear banner motd command to clear the message-of-the-day banner.
          clear banner motd
         
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example show how to clear the message-of-the-day banner.
Console> (enable) clear banner motd
MOTD banner cleared
Console> (enable)
Related Commands
set banner motd
 
 
clear boot system
Use the clear boot system command set to clear the contents of the BOOT environment variable and
the configuration register setting.
             clear boot system all [mod]
             clear boot system flash device:[filename][mod]
            
Syntax Description
all          Keyword to clear the whole BOOT environment variable.
mod          (Optional) Module number of the supervisor engine containing the
             Flash device.
flash        (Optional) Keyword to clear the Flash device.
device:      Name of the Flash device.
filename     (Optional) Filename of the Flash device.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the whole BOOT environment variable:
Console> (enable) clear boot system all
B00T variable=
Console> (enable)
This example shows how to clear a specific device:
Console> (enable) clear boot system flash bootflash:cat6000-sup.5-5-1.bin
BOOT variable=bootflash: cat6000-sup.5-2-1.bin,1;bootflash:cat6000-sup.4-5-2.
bin,1;
Console> (enable)
Related Commands
set boot system flash
show boot
 
clear cam
Use the clear cam command to delete a specific entry or all entries from the CAM table.
          clear cam  {mac_addr | dynamic | static | permanent } [vlan]
Syntax Description
mac_addr     One or more MAC address.
dynamic      Keyword to clear the dynamic CAM entries from the CAM table.
static       Keyword to clear the static CAM entries from the CAM table.
permanent    Keyword to clear the permanent CAM entries from the CAM table.
vlan         (Optional) Number of the VLAN;vaild values are 1 to 1005.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to remove MAC address 00-40-0b-a0-03-fa from the CAM table:
Console> (enable) clear cam 00-40-0b-a0-03-fa
CAM table entry cleared.
Console> (enable)
This example shows how to clear dynamic entries from the CAM table:
Console> (enable) clear cam dynamic
Dynamic CAM entries cleared.
Console> (enable)
Related Commands
set cam
show cam
 
 
clear channel statistics
Use the clear channel statistics command to clear PagP statistical information.
           clear channel statistics
          
Synatx  Descritpion
This command has no arguments or keywords.
Defaults
This command has no defualt setting.
Command Types
Switch command.
command Modes
Privileged.
Examples
This example shows how to clear PagP statistical infromation:
Console> (enable) clear channel statistics
PagP statistics cleared.
Console> (enable)
Related Commands
show channel
 
 
pwd
Use the pwd command to show the current setting of the cd command.
               pwd [[m/]device:]
Syntax Descripiton
m/             (Optional) Module number of the supervisor engine containing the
                Flash device.
device:        (Optional) Decvice where the Flash resides.
Defaults       
If no module number or devcie is specified,pwd defaults to the first module of the active device.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guilelines
A colon(:) is required after the specified device.
Examples
This example shows how to use the pwd command to display the current listing of the cd command.
Console> cd slot0:
Default flash device set to slot0.
Console> pwd
slot 0
Related Commands
cd

quit
Use the quit command to exit a CLI session.
        quit
       
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The exit and logout commands perform the same function as the quit command.
Examples
This example shows how to quit a CLI session.
Console> quit
Connection closed by foreign bost.
host%

reload
Use the reload command to force a module to accept a download via SCP.This command resets the
module and prompt you to initiate a download when the reset is complete.
              reload module
   
Syntax Description 
module         Number of the module.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is used if a module is accidently reset during the downloading of an p_w_picpath.After the
reset,a normal download will not work.You must enter the reload module command followed by the
download host file[mod] command.
Examples
This examples shows how to reset module 3 and download the acpflash_1111.bbi file from the mercury
host to the module:
Console> (enable) reload 3
Console> (enable) download mercury acpflash_111.bbi 3
This command will reset Module 3.
Download p_w_picpath acpflash_111.bbi from mercury to Module 3 FLASH(y/n)[n]? y
/
Done.Finished network download.
Console> (enable)
Related Commands
download

set time
Use the set time command to change the time of day on the system clock.
          set time [day_of_week][mm/dd/yy][hh:mm:ss]
        
Syntax Description
         day_of_week         (Optional)Day of the week.
         mm/dd/yy            (Optional)Month,day and year.
         hh:mm:ss            (Optional)Current time in 24-hour format.
        
Defaults
This command has no defualt setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This  example shows how to set the system clock to Saturday,Octorber 31,1998,7:50 a.m:
Console> (enable) set time sat 10/31/98 7:50
Sat Oct 31 1998, 07:50:00
console> (enable)
Related Commands
show time

set trunk
Use the set trunk command to configure trunk port and to add VLANs to the allowed VLAN list for
existig trunks.
      set trunk mod/port {on|off|desirable|auto|nonegotiate}[vlans][isl|dot1q|negotiate]
     
Syntax Description
mod/port     Number of the module and the port on the module.
on           Keyword to force the port to become a trunk port and persuade the neighboring
             port to become a trunk port.The port becomes a trunk port even if the neighboring
             port does not agree to become a trunk.
            
off          Keyword to force the port to become a nontrunk port and persuade the neighboring
             port to become a nontrunk port.The port becomes a nontrunk port even if the
             neighboring port does not agree to become a nontrunk port.
           
desirable    Keyword to cause the port to negotiate actively with the neihgboring port to
             become a trunk link.
            
auto         Keyword to cause the port to become a trunk port if the neighboring port tries to
             negotiabte a trunk link.This is the default mode for EtherChannel ports.
            
nonegotiate  Keyword to force the port to become a trunk port but prevent if from sending DTP
             frames to its neighbor.
            
isl          (Optional) Keyword to specify an ISL trunk on a Fast or Gigabit Ethernet port.
dot1q        (Optional) Keyword to specify an IEEE 802.1Q trunk on a Fast or Gigabit
             Ethernet port.
  
negotiate    (Optional) Keyword to specify that the port become an ISL(preferred)or 802.1Q
              trunk,depending on the configuration and capabilities of the neighboring port.
             
vlans        (Optional) VLANs to add to the list of allowed VLANs on the trunk;valid vaules
              are from 1 to 1000 and 1025 to 4094
             
Defaults
The default port mode is 802.1Q-Native.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
The following usage guidelines apply when using the set trunk command:
If a trunk-type keyword(isl,dot1q,negotiated)is not specified when configuration an EtherChannel
trunk,the current trunk type is not affected.
To reture a trunk to its default trunk type and mode,enter the clear trunk mod/port command.
Trunking capabilities are hardware-dependent.Refer to the Catalyst 6000 Family Module
Installation Guide to determine the trunking capabilites of you hardwar, or enter the show port
capabilites command.
The Catalyst 6000 family switchs use the DTP to negotiate trunk links automatically on
EtherChannel ports.Whether a port will negotiate to become a trunk port depends on both the mode
and the trunk type specified for that port.Refer to the Catalyst 6000 Family Software Configuration
Guide for detailed information on how trunk ports and negotiated.
DTP is a point-to-point protocol.However,some internetworking devices might improperly
forward DTP frames.You can avoid this problem by ensuring that trunking is turned off on ports
connected to non-Catalyst 6000 family switch devices if you do not intend to trunk across those
links.When enabling trunking on a link to a Cisco router,enter the noneg keyword to cause the
port to become a trunk but not generate DTP frames.
For trunking to be negotiated on EtherChannel ports,the port must be in the same VTP domain.
However,you can use the on or noneg mode to force a port to become a trunk,even if it is in a
different domain.
To remove VLANs from the allowed list for a trunk,enter the clear trunk mod/port vlans
command.When you first configure a port as a trunk,the set trunk command always adds all
VLANs to the allowed VLAN  list for the trunk,even if you specify a VLAN range(the specified
VLAN range is ignored).
To remove VLANs from the allowed list,enter the clear trunk mod/port vlans command.To later
add VLANs that were removed,enter the set trunk mod/port vlans command.
You cannot change the allowed VLAN range on the MSM port.The MSM port can be configured
only as an IEEE 802.1q-type trunk.
The following configuration guidelines and restrictions apply when using 802.1q trunks impose some
limitations on the trunking strategy for a network.Note these restrictions when using 802.1q trunks:
When connecting Cisco switches through an 802.1q trunk,make sure the native VLAN for an
802.1Q trunk is the same on both ends of the trunk link.If the native VLAN on on end of the trunk
is different from the native VLAN on the other end,spanning tree loops might result.
Disabling spanning tree on the native VLAN of an 802.1Q trunk without disabling spanning tree
on every VLAN in the network can cause spanning tree loops.We recommend that you leave
spanning tree enabled on the native VLAN of an 802.1q trunk.If this is not possible,disable
spanning tree on every VLAN in the network.Make sure your network is free of physical loops
before disabling spanning tree.
When you connect two Cisco switches through 802.1Q trunks,the switches exchange spanning-tree
BPDUs on each VLAN allowed on the trunks.The BPDUs on the native VLAN of the trunk are
sent untagged to the reseerved IEEE 802.1d spanning-tree multicast MAC address
(01-80-c2-00-00-00).The BPDUs on all other VLANs on the trunk are sent tagged to the reserved
Cisco Shared Spannin Tree(SSTP) multicast MAC address(01-00-0c-cc-cc-cd).
Non-Cisco 802.1q switches maintain only a single instance of spanning tree (the Mono Spanning
Tree,or MST) that defines the spanning-tree topology for all VLANs,When you connect a Cisco
switch to a non-Cisco switch through an 802.1q trunk,the MST of the non-Cisco switch and the
native VLAN spanning-tree of the Cisco switch combine to form a single spanning-tree topology
known as the Common Spanning Tree (CST).
Because Cisco switches transmit BPDUs to the SSTP multicast MAC address on VLANs other than
the native VLAN of the trunsk,non-Cisco switches do not recognize these frames as BPDUs and
flood them on all ports in the corresponding VLAN.Other Cisco switches connected to the
non-Cisco 802.1q cloud recevie these flooded BPDUs.This allows Cisco switches to maintain a
per-vlan spanning tree topology across a cloud of non-Cisco 802.1q switches.The non-Cisco
802.1q cloud searating the Cisco switches is treated as a single broadcast segment between all
switchs connected to the non-Cisco 802.1q cloud through 802.1q trunks.
Make certain that the native VLAN is the same to ALL of the 802.1q trunks connecting the Cisco
switches to the non-Cisco 802.1q cloud.
If you are connecting multiple Cisco switches to a non-Cisco 802.1q cloud, all of the connections
must be through 802.1q trunks.You cannot connect Cisco switches to a non-Cisco 802.1q cloud
through ISL trunks or through access ports.Doing so will cause the switch to place the ISL trunk
port or access port into the spanning tree "port inconsistent" state and no traffice will pass through
the port.
Examples
This example shows how to set port 2 on module 1 as a trunk port:
Console> (enable) set trunk 2/1 on
Ports 1/2 trunk mode set to on.
Console> (enable)
This example shows how to add VLANs 5 through 50 to the allowed VLAN list for a trunk port (VLANs
were previously removed from the allowed list with the clear trunk command):
Console> (enable) set trunk 1/1 5-50
Adding vlans 5-50 to allowed list.
Ports 1/1 allowed list.
Ports 1/1 allowed vlans modeiied to 1,5-50,101-1005.
Console> (enable)
This example show how to set port 5 on module 4 as an 802.1Q trunk port in desirable mode:
Console> (enable) set trunk 4/5 desirable dot1q
Ports 4/5 trunk mode set to desirable.
Ports 4/5 trunk type set to dot1q.
Console> (enable)
Related Commands
clear trunk
show trunk
set vtp
show vtp statistics

set port name
Use the set port name command to configure a name for a port.
          set port name mod/port [port_name]
         
Synatx Description
mod/port     Number of the module and the port on the module.
port_name    (Optional) Name of the module.
Defaults
The default is no port name is configuration for any port.
Command Type
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
If you do not specify the name string,the port name is cleared.
Examples
This example shows how to set port 1 on mode 4 Snowy:
Console> (enable) set port name 4/1 Snowy
Port 4/1 name set.
Console> (enable)
Related Commands
show port
 
set errdisable-timeout
Use the set errdisable-timeout command to configure a timeout for ports in errdisable state,after
which the ports are reenabled automatically.
             set errdisable-timeout {enable | disable} {reason}
             set errdisable-timeout interval [interval]

            
Synatx Description
enable       Keyword to enable errdisable timeout.
disable      Keyword to disable errdisable timeout.
reason       Reason for the port being in the errdisable state;vaild values are bpdu-guard,
             channel-misconfig,duplex-mismatch,udld,other and all.
interval     Timeout interval; vaild values are from 30 to 86400 seconds (30 seconds to
             24 hours).
            
Defaults
The default is disable and the interval is 300 seconds.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The errdisable timeout feature allows you to configure a timeout period for ports in errdisable state.
When this feature is enabled,ports are reenabled automatically after the timeout interval has elapsed.
A port enters errdisable state for the following reasons (these reasons appear as configuration options
with the set errdisable-timeout enable command);
Channel misconfiguration
Duplex mismatch
BPDU port-guard
UDLD
Other(reasons other than the above0
All (apply errdisable timeout to all reasons)
You can enable or disable errdisable timeout for each of the above listed reasons.The ports in errdisable
state for reasons other than the first four reasons are considered"other".If you specify other,all ports
errdisable by causes other than the first four reasons are enable for errdisable timeout.If you specify
"all", all ports errdisable for any reason are enable for errdisable timeout.
Exapmles
This examples shows how to enable an errdisable timeout for BPDU guard causes:
Console> (enable) set errdisable-timeout enable bpdu-gurad
Successfully enabled errdisable-timeout for bpdu-guard.
Console> (enable)
This example shows how to set an errdisable timeout interval to 450 seconds.
Console> (enable) set errdisable-timeout interval 450
Successfully set errdisable timeout to 450 seconds.
Console> (enable)
Related Command
show errdisable-timeout
 

set feature mdg
Use the set feature mdg command to enable or disable the multiple default gateway feature.
        set feautre mdg {enable |disable}
       
Synatx Description
enable      Keyword to enable the multiple default gateway.
disable     Keyword to disable the multiple default gateway.
Default
This command has no default setting.
Command Types
Switch command.
Command Modes
Privilege.
Usage Guidelines
If you enable the multiple default gateway feature,the Catalyst 6000 family switch pings the default
gateways every 10 seconds to verify the gateway are still available.
Example
This example shows how to enable the multiple default gateway feautre.
Console> (enable) set feature mdg enable
Multiple Gateway feature enabled.
Console> (enable)
Console> (enable) set feature mdg disable
Multiple Gateway feature enabled.
Console> (enable)
 
 
set ip alias
Use the set ip alias command to add aliaseds of IP address
       set ip alias name ip_addr
      
Synatx Destription
name       Name of the alias being defined.
ip_ddr     IP address of the alias being defined.
Defaults
The default configuration is one IP alias (0.0.0.0) configured as the default.
Command Type Switch command.
Command Modes
Privileged.
Examples
This example shows how to define an IP alias of mercury for IP address 192.122.174.234
Console> (enable) set ip alias mercury 192.122.174.234
IP alias added.
Console> (enable)
Related Command
clear ip alias
show ip alias

set ip fragmentation
Use the set ip fragmentation command to enable or disable the fragmentation of IP packets bridged
between FDDI and Ethernet networks.Note that FDDI and Ethernet networks have different MTUs.
          set ip fragmentation {enable |disable}
         
Synatx Description
enable     Keyword to permit fragmentation for IP packets bridged between
           FDDI and Ethernet networks.
disable    Keyword to disable framgmentation for IP packets bridged between
           FDDI and Ethernet networks.
          
Defaults
The default value is IP fragmentation enabled.
Command Types
Switch command.
Usage Guidelines
If IP fragmentation is disabed,packets are dropped.
Examples
This example shows how to disable IP fragmentation:
Console> (enable) set ip fragmentation disable
Bridge IP fragmentation disabled.
Console> (enable)
Related Commands
show ip route

set ip redirect
Use the set ip redirect command to enable or disable ICMP redirect messages on the Catalyst 6000
family switches.
             set ip redirect {enable |disable}
            
Synatx Description
enable      Keyword to permit ICMP redirect messages to be returned to the source
            host.
disable     Keyword to prevent ICMP redirect messages from being returned to the
            source host.
Defaults
The default configuration is ICMP redirect is enabled.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to deactivate ICMP redirect messages:
Console> (enable) set ip redirect disable
ICMP redirect message disable.
Console> (enable)
Related Commands
show ip route
show netstat

set ip unreachable
Use the ip unreachable command to enable or disable ICMP unreachable message on the
Catalyst 6000 family switch.
          set ip unreachable { enable| disable}
         
Synatx Description 
enable         Keyword to allow IP unreachable messages to be returned to the
               source host.
disable        Keyword to prevent IP unreachable message from beding returned
               to the source host.
              
Default
The default is ICMP unreachable messages is enabled.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guideline
When you enable ICMP unreachable messages,the switch returns an ICMP unreachable message to the
source host whenever it receives an IP datagram that it coannot deliver.When you disable ICMP
unreachable messages,the switch does not notify the sourc host when it receives an IP datagram that
it cannot deliver.
For example, a switch has the ICMP unreachable message function enable and IP fragmentation
disable.IF a FDDI frame is received and needs to transmit to an Ethernet port,the switch cannot
fragment the packet.The switch drops the packet and teturns an IP unreachable message to the Internet
source host.
Examples
This example shows how to disable ICMP unreachable messages:
Console> (enable) set ip undreachable disable
ICMP Unreachable message disabled.
Console> (enable)
Related Commands
show ip route
 
 
set logout
Use the set logout command to set the number of minutes unitl the system disconnects an idle session
automatically.
            set logout timeout
Syntax Description
timeout     Number of minutes until the system disconnects an idle session
            automatically;valid values are 0 to 10,000 minutes.
           
Defaults
The default is 20 minutes.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Setting the value to 0 disables the automatic disconnection of idle sessions.
Examples
This example shows how to set the number of minutes unitl the system disconnects an idle session
automatically:
Console> (enable) set logout 20
Session will be automatically logged out after 20 minutes of ilde time.
Console> (enable)
This example show how to disable the automatic disconnection of ilde sessions:
Console> (enable) set logout 0
Sessions will not be automatically logged out.
Console> (enable)
 

set module
Use the set module command to enable or disable a module.
          set  module enable | disable mod
 
Syntax Description   
enable     Keyword to enable a module.
disable    Keyword to disable a module.
mod        Number of the modules.
Defaults
The default is all modules are enabled.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Avoid disabling a module when you are connected via a Telnet session;if you disable your session,you
will disconnect your Telnet session.
If there are no other network connections to a Catalyst 6000 family switch(for example,on another
module),you have to reenable the module from the console.
You can specify a series of modules by entering a comma between each module number (for
example,2,3,5).You can specify a range of modules by entering a dash between module numbers.
The set moudle disable command does not cut off the power to a module,it only disable the module.
To turn off power to a module,refer to the set module power command.
If an individual port on a module was previously disabled,enabling the module does not enable the
disable port.
Examples
This example shows how to enable module 2:
Console> (enable) set module enable 2
Module 2 enabled.
Console> (enable)
This example shows how to disable module 3 when connected via the console port:
Console> (enable) set module disable 3
Module 3 disabled.
Console> (enable)
This example shows how to disable module 2 when connected via a Telnet session:
Console> (enable) set module disable 2
This command may disconnect your telnet session.
Do you want to continue (y/n) [n]? y
Module 2 disabled.
Related Commands
show module
 

set module name
Use the set module name command to set the name for a module.
         set module name mod [mod_name]
        
Syntax Description
mod          Number of the module.
mod_name     (Optional) Name created for the module.
Defaults
The default is no module names are configured for the module.
Defaults
The default is no module name are configured for any modules.
Command Types
Switch command
Command Modes
Privileged.
Usage Guidelines
If no module name is specified,any previously specified name is cleared.
Use the set module name command to set the module for the RSM.Additional set module commands
are not supported by the RSM.
Examples
This example shows how to set the name for module 1 to supervisor:
Console> (enable) set module name 1 Supervisor
Module name set
Console> (enable)
Related Commands 
show modules
 

set module power
Use the set module power command to turn on or shut off the power to a module.
         set module power up | down mod
        
Syntax Description
up       Keyword to turn on the power to a module.
down     Keyword to turn off the power to a module.
mod      Number of the module.
Defaults
The default is power is on to a module.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The set module power up command allows  you to check if adequate power is available in the system
to turn the power on.If not enough power is available, the module status changes from power-down to
power-deny,and this message disaplays:
Module 4 could not be powered up due to insufficient power.
Examples
This example shows how to power up module 4:
Console> (enable) set module power up 4
Module 4 powered up.
Console> (enable)
This example shows how to power down module 4:
Module 4 powered down.
Console> (enable)
Related Commands
show environment
 

set module shutdown
Use the set module shutdown command to shutdown the NAM and IDS modules.
        set module shutdown all | mod
       
Syntax Description
all        Keyword to shutdown all NAM and IDS modules.
mod        Number of the module.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you use the set module shutdown command,the configuration is not saved in NVRAM.The next
time when the module boots up,it will come online.You can either reinsert or reset the module to bring
it online.
If there are no other network connections to a Catalyst 6000 family switch (for example,on another
module),you have to reenable the module from the console.
You can specify a series of modules by entering a comma between each module number.
Examples
This example shows how to shutdown the NAM or IDS:
Console> (enable) set module shutdown 2
Console> (enable)
 

set port host
Use the set port host command to optimize the port configuration for a host connection.
         set port host {mod/port}
        
Synatx Description
mod/port     Number of the module and the port on the module.
Defualts
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
The set port host command sets channel mode to off,enables spanning tree portfast,and sets the trunk
mode to off.Only an end station can accept this configuration.
Because spanning tree portfast is enable,you should enter the set port host command only on ports
connected to a single host.Connecting hubs,concentrators,switches,and bridges to a fast-start port can
cause temporary spanning tree loops.s
Enable the set port host command to decrease the timet it takes to start up packet forwarding.
Examples
This example shows how to optimieze the port configuration for end station/host connections on
port 2/1 and 3/1
Console> (enable) set port host 2/1,3/1
Warning: Span tree port fast start should only be enabled on ports connected to a single
host.Connection hubs,concentrators,switches,bridges,etc.to a fast start port can
cause temporary spanning tree loops.Use with caution.
Spantree ports 2/1,3/1 fast start enabled.
Port (s) 2/1,3/1 trunk mode set to off.
Port (s) 2/1 cannel mode set to off.
Console> (enable)
Related Commands
clear port host
 
set spantree portfast bpdu-filter
To enable or disable spanning tree PortFast BPDU packet filtering on a port,use the set spanntree
portfast bpdu-filter command.
     set spantree portfast bpdu-filter mod/port {enable | disable | default}
    
Syntax Description
mod/port     Number of the module and the port on the module.
enable       Enables spanning tree PortFast BPDU packet filtering.
disable      Disables spanning tree PortFast BPDU packet filtering.
default      Sets spanning tree PortFast BPDU packet filtering to the global BPDU packet filtering
             state.
            
Defaults
The default is BPDU packet filtering is default.
Command Type
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
Spanning tree PortFast BPDU packet filtering turns off BPDU transmission on PortFast-enable ports
and nontrunking ports.
If you enter the default keyword,the spanning tree port is set to the global BPDU filtering state.
To enable or disable spanning tree PortFast BPDU filtering for all ports on the switch,enter the
set spantree global-default bpdu-filter command.
Examples
This example shows how to enable spanning tree Portfast BPDU filtering on module 3, port 4:
Console> (enable) set spanning tree portfast bpdu-filter 3/4 enable
Warning: Ports enabled with bpdu filter will not send BPDUs and drop all
received BPDUs.You may cause loops in the bridged network if you misuse
this feature.
Spantree port 3/4 bpdu filter enabled.
Console> (enable)

set spantree portfast bpdu-guard
To enable or disable spanning tree PortFast BPDU guard on a port,use the set spantree portfast
bpdu-guard command.
set spantree portfast bpdu-gurad mod/port {enable | disable | default}
Syntax Description
mod/port     Number of the module and the port on the module.
enable       Enables the spanning tree PortFast BPDU guard.
disable      Disables the spanning tree PortFast BPDU guard.
default      Set spanning tree PortFast BPDU guard to the global BPDU guard state.
Defaults
The default is PortFast BPDU guard is default.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
You must enable spanning tree PortFast mode before you can enable spanning tree PortFast BPDU gurad
for BPDU gurad to work correctly.
When you enable spanning tree PortFast BPDU gurad,a nontrunking PortFast-enabled port is moved
into an errdisable state when a BPDU is received on that port.When you disable spanning tree PortFast
BPDU guard,a PortFast-enabled nontrunking port will stay up when it receives BPDUs,which may

cause spanning tree loops.
If you enter the default keyword,the spanning tree port is set to the global BPDU guard state.
To enable or disable BPDU guard for all port on the switch. enter the set spantree global-default
bpdu-guard command.
Example This example shows how to enable spanning tree BPDU guard on module 3, port 1:
Console> (enable) set spantree portfast bpdu-guard 3/1 enable
Spantree port 3/1 bpdu guard enabled.
Console> (enable)
Related Commands
set spantree global-default
show spantree portfast
 
set system highavailability
To enable or disable high system availability for the switch,use the set system highavailability
command.
        set system highavailability {enable | disable}
      
Syntax Description
enable      Activates system high availability
disable     Deactivates system high availability
Defaults
The default is disabled.
Command Types
Switch command.
Command Modes
Privilieged.
Usage Guidelines
High availability provides Layer 2 and Layer 3 protocol redundancy.
If you enable high availability while the redundancy supervisor engine is running,the switch chechs the
version compatibility between the two supervisor engines.If the versions are compatible, database
synchronization occurs.When you disable high avilability,database synchronization does not occur
and portocols restart on the redundant supervisor engine after switchover.
If you disable high availability from the enable state,synchronization from the active supervisor engine
is stopped.On the redundant supervisor engine,current synchronization data is discarded.If you enable
high availability from the disabled state,synchronization from the active supervisor engine to the
redundant supervisor engine starts (if you have a redundant supervisor engine and its p_w_picpath version is
compatible with the active supervisor engine).
Examples
This example show how to enable high availability
Console> (enable) set system highavailability enable
System high availability enabled.
Console. (enable)
This example shows how to disable high availability
Console> (enable) set system highavailability disable
System high availability disabled.
Console> (enable)
Related Commands
set system highavailability versioning
show system highavailability

set system location
To identify the location of the system, use the set system location command.
         set system location [location_sting]
        
Syntax Description
location_string      (Optional) Text string that indicates where the system is located.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you do not specify a location string, the system location is cleared.
Examples
This example shows how to set the system location string:
Console> (enable) set system location Closet 230 4/F
System location set.
Console> (enable)
Related Commands
show system
   
set ftp
To configure File Transfer Protocol (FTP) parameters,use the set ftp command.
             set  ftp username new_ftp_username
             set  ftp password new_ftp_password
             set  ftp mode passive {enable | disable}
            
Syntax Description
username              Specifies a username for FTP connections.
new_ftp_username      Username for FTP.
password              Specifies a password for FTP connections.
new_ftp_password      Password for FTP.
mode                  Specifies the FTP mode.
passive               Specifies passive mode for FTP connections.
enable                Enables passive mode.
disable               Disables passive mode.
Defaults
The FTP mode is set to passive.
Command Types
Switch command.
Command Modes
Privieged.
Usage Guidelines
For security reasons,the new_ftp_password argument is not stored in NVRAM.The password is
encrypted by using  proprietary encryption algorithm.
The FTP mode is passive.To clear the FTP passive mode,use the clear ftp passive command.
Examples
This example shows how to specify a username for FTP connections:
Console> (enable) set ftp username bob
Ftp username set to bob.
Console> (enable)
This example shows how to specify a password for FTP connections:
console> (enable) set ftp password password
Ftp password set.
Console> (enable)
This example shows how to disable FTP passive mode:
Console> (enable) set ftp passive disable
FTP Passive mode disabled.
Console> (enable)
Related Commands
clear ftp
show ftp
 
clear ftp
To clear File Transfer Protocol (FTP) parameters, use the clear arp command.
           clear ftp [username | password]
Syntax Description
username       (Optional) Clears the username for FTP connections.
password       (Optional) Clears the password for FTP connections.
Default
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you do not enter any keywrods,the system clears all FTP parameters.
Examples
This example shows how to clear the username for FTP connections:
Console> (enable) clear ftp username
Console>
This examples shows how to clear the password for FTP connections:
Console> (enable) clear ftp password
Console> (enable)
Related Commands
set ftp
show ftp

clear ip route
To delete IP routing table entries,use the clear ip route command.
                 clear ip route  destination gateway
                
Syntax Description
destination      IP address of the host or network.An IP alias or a host name that can be resolved
                 through DNS can also be used.
                
gateway          IP address or alias of the gateway router.
Defaults
The default is destination. If the destination is not the active default gateway,the actual destination is
the default.
Command Types
Switch command.
Command Modes
Privileged
Examples
This examples shows how to delete the routing table entries using the clear ip route command:
Console> (enable) clear ip route 134.12.3.0 elvis
Route deleted.
Console> (enable)
Related Commands
set ip route
show ip route

clear logging server
To delete a syslog serve from the system log server table,use the clear logging server command.
             clear logging server ip_addr
            
Syntax Description
ip_addr      IP address of the syslog server to be deteled.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This examples shows how to delete a syslog server from the configuration:
Console> (enable) clear logging server 171.69.192.207
System log server 171.69.192.207 removed from system log server table.
Console> (enable)
Related Commands
set logging server
show logging
 
clear mls cef
To clear Cisco Express Forwarding (CEF) summary statistics, use the clear mls cef command.
            clear mls cef
           
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported on Catalyst 6500 series switchs configured with the Supervisor Engine 2
with Layer 3 Switching Engine II (PFC 2) only.
Examples
This example shows how to clear CEF summary information:
Console> (enable) clear mls cef
CEF statistics cleared.
Console> (enable)
Related Commands
show mls cef summary

dev
To list the device IDs available on a switch, use the dev command.
                  dev
                 
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
ROM monitor command.
Command Modes
Normal
Examples
This examples shows how to use the dev command:
rommon 10 > dev
       id   name
bootflash:bootlfash
      slot0: PCMCIA slot 0
      eprom: eprom
 
set span
To enable or disable SPAN and to set up the switch port and VLAN analyzer for multiple SPAN session,
use the set span command.
         set span disable [dest_mod/dest_port | all ]
        
         set span disable session session_number
        
         set span [src_mod/src_port | src_vlan | sc0] [dest_mod/dest_port ] [rx | tx | both]
         [session session_number][inpkts {enable |disable}{learning {enable|disable}]
         [multicast {enable |disable}][filter vlans][create]
        
         set span permit-list mod/port {include | exclude}
        
         set span permit-list {enable |disable}

        
Syntax Description
disable            Disables SPAN.
dest_mod           (Optional)Monitoring module(SPAN destination).
dest_port          (Optional)Monitoring module(SPAN destination).
all                (Optional)Disables all SPAN session
session             Specifies a unique SPAN session across all types of SPAN sessions.
session_number    
src_mod            Monitored module (SPAN source)
src_ports          Monitored ports  (SPAN source)
src_vlans          Monitored VLANs  (SPAN source)
sc0                Specifies the inband port is vaild source.
rx                 (Optional) Specifies that information received at the source(ingress
                    SPAN) is monitored.
tx                 (Optional) Specifies that information transmitted form the source(egress SPAN)
                    is monitored
both               (Optional) Specifies that information both transmitted from the source(ingress
                    SPAN)and received (egress SPAN) at the source are monitored.
inpkts enable      (Optional) Enables the receiving of normal inbound traffic on the SPAN
                    destination port.
inpkts disable     (Optional) disable the receiving of normal inbound traffic on the SPAN
                    destination port.
learning enable    (Optional)Enables learning for the SPAN destination port.
learning disable   (Optional)Disables learning for the SPAN destination port.
multicast enable   (Optional)Enables monitoring multicast traffic (egress traffic only).
multicast disable  (Optional)Disables monitoring multicast traffic (egress traffic only).
filter             (Optional)Monitors traffic on selected VLANs on source trunk ports.
create             (Optional)Creates a SPAN port.
permit-list         Specifies a list of ports that can be congfigured as SPAN or RSPAN destinations.
mod/port            Number of the modules and number of the ports on the modules
include            Includes the specified ports in the permit list.
exclude            Removes the specified port from the permit list.
enable             Enable the permit-list feature for all SPAN sessions.
disable            Disable the permit-list feature for all SPAN sessions.
Defaults
SPAN is disabled.
NO VLAN filtering is enabled.
Multicast is enabled.
Input packet are disabled.
Learning is enable.
The permit-list feature is disabled.
Command Types 
Switch command.
Command Modes
Privileged.
Usage Guidelines
After you enable SPAN,system defaults are used if no parameters were ever set.If you changed
parameters,the old parameters are stored in NVRAM,and the new parameters are used.
If you specify multiple SPAN source ports,the ports can belong to different VLANs.
A maximum of two rx or both SPAN sessions and four tx SPAN sessions can exist simultaneously. If
you use a remote SPAN station,the maximum number of rx or both SPAN session is one.
Use the inpkts keyword with the enable option to allow the SPAN destination port to receive normal
incoming traffic in addition to the traffic mirrored from the SPAN source.Use the disable option to
prevent the SPAN destination port from receiving normal incoming traffic.
You Can specify an MSM port as the SPAN source port.However, you cannot specify an MSM port as
the SPAN destination port.
When you enable the inpkts option,a warning message notifies you that the destination port does not
join STP and may cause loops if this option is enabled.
When you configure multiple SPAN seesions,the destination module number/port must be
known to index the particular SPAN session.
If you do not specify the keyword create and you have only one session,the session will be overwritten.
If a matching destination port exests,the particular session will be overwirtten (with or without
specifying create).If you specify the keyword create and there is no mathching destination port,the
session will be created.
If any VLANs on SPAN source port(s)are blocked by spanning tree,you may see extra packets
transmitted on the destination port that were not actually transmitted out of the source port(s).The extra
packets seen at the destination port are packets sent through the switch fabric to the source port and then
blocked by spanning tree at the source port.
To specify a unique SPAN session across all types of SPAN sessions(local SPAN,RSPAN,and
ESPAN),enter the session session_number option.If you do not specify a SPAN session number,one
is provided by the software.The software provides a session number only if the basic check for SPAN
session limits and sanity is successful.
If you provide a session number,but the same session number for the same session type is present in the
SPAN database already,the session number that you enter overwrites the SPAN session with the same
number,If the same session number is already present in the database,but that session number is for a
different seesion type,the session number that you enter is rejected.
If you provide a seesion number that does not exist in the SPAN database,the number is regarded as a
new SPAN session request and is subject to SPAN session limits.
You can specify multiple destination ports in the CLI.However, you cannot mix VLANs and ports in
the same SPAN session.
Examples
This example shows how to configure SPAN so that both transmit and receive traffic from port 1/1 (the
SPAN source) is mirrored on port 2/1 (the SPAN destination):
Console> (enable) set span 1/1 2/1
Enabled monitoring of port 1/1 transmit/receive traffic by Port 2/1
Console> (enable)
This example shows how to set VLAN 522 as the SPAN source and port 2/1 the SPAN destination:
Console> (enable) set span 522 2/1
Enabled monitoring of VLAN 52 transmit/receive traffic by Port 2/1
Console> (enable)
This example shows how to set VLAN 522 as the SPAN source and port 2/12 as the SPAN destination.
Only transmit traffic is monitored.Normal incoming packets on the SPAN destination port are allowed.
Console> (enable) set span 522 2/12 tx inpkts enable
SPAN destination port incoming packets enabled.
Enabled monitoring of VLAN 522 transmit traffic by Port 2/12
Console> (enable)
This example shows how to set port 3/2 as the SPAN source and port 2/2 as the SPAN destination:
Console> (enable)set span 3/2 2/2 tx create
Enabled monitoring of port 3/2 transmit traffic by Port 2/1
Console> (enable)
This example shows how to disable SPAN if multiple SPAN session are not defined:
Console> (enable) set span disable
This command WILL disable you span session.
Do you want to continue (y/n) [n]? y
Disabled all session
Console> (enable)
Related Commands
clear config
show span

set spantree backbonefast
To enable or disable the spanning tree BackbonFast Convergence feature,use the set spantree
backbonefast command.
         set spantree backbonfast {enable | disable}
        
Syntax Description
enable       Enables BackboneFast Convergence.
disable      Disables BackboneFast convergence.
Defaults
The default is BackboneFast convergence is disabled.
Commnd Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM
This command is not available in Multi-Instance Spanning Tree Protocol(MISTP) mode.
This command is not available in Multiple Spanning Tree (MST) mode.
For BackboneFast Convergence to work,you must enable it on all switches in the network.
When you try to enable BackboneFast and the switch is in Rapid PVST+ mode,this message is
displayed:
Cannot enable backbonefast when the spantree mode is RAPID-PVST+
Examples
This example shows how to enable BackboneFast Convergence:
Console> (enable) set spantree backbonefast enable
Backbonefast enabled for all VLANs
Console> (enable
This example shows the message that is displayed when you try to enable BackboneFast in RapidPVST+
mode:
Console> (enable) set spantree backbonefast enable
Cannot enable backbonfast when the spantree mode is RAPID-PVST+
Console> (enable
Related Commands
show spantree

set qos
To turn on or turn off Qos functionality on the switch,use the set qos command.
          set qos  enable | disable
         
Syntax Description
enable         Activates Qos functionality.
disable        Deactivates Qos functionality.
Defaults
The defaults is Qos functionality is disabled.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Refer to the Catalyst 6000 series switch Software configuration guide for information on how to
change the Qos default configurations.
When you enable and disable Qos in quick succession,a but timeout might occur.
If you enable or disable Qos on channel ports with different port types,channels might break or froma.
Examples
This example shows how to enable Qos:
Console> (enable) set qos enable
Qos is enabled.
Console> (enable)
This example shows how to disable Qos:
Console> (enable) set qos disable
Qos is disabled.
Console> (enable)
Related Commands
show qos info

set spantree disable
To disable the spanning tree algorithm for all VLANs or a specific VLAN or disable spanning tree
instance,use the set spantree disable command.
              set spantree disable [vlan]
              set spantree disable all
              set spantree disable mistp-instance [instance]
              set spantree disable mistp-instance all

             
Syntax Description
vlan                 Number of the VLAN; valid values are from 1 to 4094
all                  Specifies all VLANs.
mistp-instance       Specifies the instance number, valid values are from 1 to 16.
instance
mistp-instance all   Deletes all instances.
Defaults            
The default is spanning tree is enable, and all instances are enabled (flooding diabled).
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
If you do not specify a VLAN number or an instance number,1 is assumed.
When an instance is enabled,the Spanning Tree Protocol starts running on that instance.
When an instance is disabled,the switch stops sending out config type-length values (TLVs)for that
instance and starts flooding incoming TLVs for the same instance (but checks the VLAN mapping on
the incoming side).All the traffic running on the VLANs mapped to the instance is flooded as well,
This command is not available is MST mode.
Examples
This example shows how to disable the spanning tree for VLAN 1:
Console> (enable) set spantree disable 1
Vlan 1 bridge spanning tree disabled.
Console> (enable)
This example shows how to disable spanning tree for a specific instance:
Console> (enable) set spantree disable mistp-instance 2
MI-STP instance 2 disabled.
Console> (enable)
 
 
set udld
To enable or disable the UDLD information display on specified port or globally on all ports,use the
set udld command.
             set udld enable | disable [mod/port]
            
Syntax Description
enable       Enables the UDLD information display.
disble       Disable the UDLD information display.
mod/port     (Optional)Number of the module and port on the module.
Defaults
The defaults are as follows:
UDLD  global enable state----Globally disabled.
UDLD  per-port enable state for fiber-optic medis-Enabled on all Ethernet firber-optic ports.
UDLD  per-port enable state for twiesed-pair(copper)meida-disabled on all Ethernet 10/100 and
      1000 BASE-TX ports.
     
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
Whenever a unidirectioanl connection is detected,UDLD displays a syslog message to notify you and
the network management application (through SNMP)that the port on which the misconfiguration has
been detected has been disabled.
If you enter the global set udld enable or disable command,UDLD is globally configured.If UDLD is
globally disabled,UDLD is automatically disabled on all interface, but the per-port enable (or disable)
interface depends on its per-port configuration.
UDLD is supported on both Ethernet fiber and copper interface.UDLD can only be enabled on Ethernet
fiber or copper interfaces.
Examples
This example shows how to enable the UDLD message display for port 1 on module 2:
Console> (enable) set udld enable 2/1
UDLD enabled on port 2/1
Warning:UniDirectional Link Detection
should be enabled only on ports not connected to hubs,
media converters or similar devices.
Console> (enable)
This example shows how to enable the UDLD message display for all ports on all modules:
Console> (enable) set udld enable
UDLD enabled globally
Console> (enable)
This example shows how to disable the UDLD message display for all ports on all modules:
Console> (enable) set udld disable
UDLD disabled globally
Cosnole> (enable)
Related Commands
show udld
 
clear counters
Use the clear counters command to clear MAC and port counters.
             clear counters
Syntax Description
This command has no key words or arguments

Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This examples shows how to reset MAC and port conuters to zero:
console> (enable) clear counters
This command will reset all MAC and port coutners reported in CLI and SNMP.
Do you want to coutinue(y/n) [n]? y
MAC and Port counters cleared.
consle>
Related Commands
show counters
show port counters

clear logging buffer
Use the clear logging buffer command to clear the system logging burrfer:
                   clear logging buffer
Syntax Description
This command has no arguments keywords.
Defautlts
This command has no default setting.
Command Types
Switch command.
Command Modes
privileged.
Examples
This examples shows how to clear the system logging buffer:
Console> (enable) clear logging buffer
System logging buffer cleared.
Console> (enable)
Related Commands
show logging buffer

clear port broadcast
Use the clear port broadcast command to disable broadcast/multicast suppression on one or more
ports.
               clear port broadcast mod/port
Syntax Description
mod/port       Number of the module and the port on the module.
Defaults
The default configuration has broadcast/multicast suppression cleared (that is, unlimited
broadcast/multicast traffic allowd)
Command Types
Switch command.
Command Modes
Privileged.
Examples
The example show how to diesable broadcast/multicast suppression:
Console> (enable) clear port braodcast 2/1
Broadcast traffic unlimited on port 2/1.
Console>
Related Commands
set port broadcast
show port broadcast

set errordetection
Use the set errordetection command set to enable or disable various error detections.
                  set errordetection inband [enable | disable]
                  set errordetection memory [enable | disable]
Syntax Description
enable         Keyword to enable the specified error detection.
disable        Keyword to disable the specified error detection.
inband         Keyword to specify inband error detection
memory         Keyword to specify memory error detection.
Defaults
The default is portcounters error detection is enabled,and memory and inband error detection is
disabled.
Command Types
Switch command.
Commadn Modes
privileged.
Usage Guidelines
The inband keyword is not supported.
Examples
This example shows how to enable memory error detecion:
Console> (enable) set errordetection memory enable
Memory error detection enabled.
Console> (enable)
Related Commands
show errordetection

set ip http port
Use the set ip http port command to configuration the TCP port number for the HTTP server
                  set ip http port [default | port-num]
Syntax Description
default          Keyword to specify the default HTTP server port number (80).
port-num         Number of the TCP port for the HTTP server,valid values are from to
                 65535.
Defaults
The default TCP port number is 80
Command Types
Switch command.
Command Modes
Priviled.
Examples
This example shows how to set the IP HTTP port default:
Console> (enable) set ip http port default
HTTP TCP port number is set to 80.
Console> (enable)
Console> (enable) set ip http port 2398
HTTP TCP port number is set to 2398
Console> (enable)
Related Command
set ip http server
show ip http
 
set
Use the set command to display all of the ROM monitor variable names with their values.
         set
        
Syntax Description
This command has no arguments or keywords.
Dynamic
This command has no default setting.
Command Type
ROM monitor command.
Command Mode
Normal.
Examples
This example shows how to display all of the ROM monitor variable names with their vaulues:
rommon 2 >set
PS1=rommon!
BOOT=
?=0
Related Commands
varname=
 
 
set alias
Use the set alias command to default aliases (shorthand versions)of commands.
              set alias name command [parameter][parameter
            
Syntax Description
name         Alias being created.
command      Command for which the alias is being created.
parameter    {Optional) Parameters that apply to the command for which an alias is being
             created.

Defaults
The default is no aliases are configed.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The name all cannot be defined as an alias.Reserved words cannot be defined as aliases
For additional information about parameter,see the specific command for infromation about applicable
parameters.
Examples
This example shows how to set the alias for the clear alias command as arpdel.
Console> (enable)set alias arpdel clear arp
Command alias added.
Console> (enable)
Related Commands
show alias
clear alias

reset-ROM monitor
Use the reset ROM monitor command to perform a soft reset of the switch.
          reset [-s]
         
Syntax Description
-s        (Option) Keyword to reset the entire switch.
Desfaults
The default Falsh device is slot0.
Command Types
ROM monitor command.
Command Modes
Normal
Usage Guidelines
This command will not boot the MSFC if the PFC is not present in the Catalyst 6000 family switch.
Examples
This example shows how to use the reset command:
rommon 26 > reset
System Bootstrap,Version 3.1
Copyright 1994-1997 by cisco system,inc
Supervisor processor with 16384 Kbytes of main memory
rommon 1 >
 
clear boot system
Use the clear boot system command set to clear the contents of the BOOT environment variable and
the configuration register setting.
            clear boot system all [mod]
            clear boot system flash device:[filename][mod]

           
Syntax Description
all         Keyword to clear the whole BOOP environment variable.
mod         (Optional)Module number of the supervisor engine containing the
            Flash device.
flash       (Option)Keyword to clear the Flash device.
device:      Name of the Flash device.
filename    (Optional)Filename of the Flash device.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This examples shows how to clear the whole BOOT environment variable:
Console> (enable) clear boot system all
BOOT variable -
Console> (enable)
This example shows how to clear to clear a specific device:
Console> (enable) clear boot system flash bootflash:cat 6000-sup.5.5-1.bin
BOOT variable = bootfalsh:cat6000-sup.5.2-1bin.1;bootflash:Cat6000-sup.4.5-2.bin.,1;
Console> (enable)
Related Commands
set boot system flash
show boot

clear trunk
Use the clear trunk command to restore a trunk port to its default trunk type and mode or to clear
specific VLANs from the allowed VLAN list for a trunk port.
           clear trunk mod/port [vlans]
          
Syntax Description
mod/port        Number of the module and the port on the module.
vlans           (Optional) Number of the VLAN to remove from the allowd
                VLAN list;valid values are from 1 to 1000 and 1025 to 4094.
               
Defaults
For all ports except MSM ports,the default is auto negotiate.For MSM ports,the default is off
negotiate mode.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you specify VLANs,those VLANs are removed from the list of VLANs allowed on the trunk
VLANs cannot be cleared on the trunk.
Traffic for the removed VLANs are not forwarded over a trunk port.To add VLANs that you have
removed,use the set trunk mod/port vlaus command.
Examples
This examples show how to clear VLANs 200 through 500 from the trunk port on port 2 of module1.
Console> (enable) clear trunk 1/2 200-500
Removing Vlan 200-500 from allowed list.
Port 1/2 allowed vlans modified to 1-199,501-1000.
Console> (enable)
This examples shows how to clear the trunk on port 2 of module 1:
Console> (enable) clear trunk 1/2
Port 1/2 trunk mode set to auto.
Port 1/2 trunk type set to isl.
Console> (enable)
Related Commands
set trunk
show trunk
 
set banner telnet
To display or suppress the "Cisco Systems Console"Telnet banner message,use the set banner telnet
command.
            set banner telnet {enable | disabl}
           
Syntax Description
enable       Displays the Telnet banner.
disable      Suppresses the Telnet banner.
Defaults
The "Cisco System Console"Telnet banner message is enabled.
Command Types
Switch.
Command Modes
Privileged.
Examples
This examples shows how to display the Telnet banner message:
Console> (enable) set banner telnet eanble
Cisco System Console banner will be printed at telnet.
Console> (enable)
This examples shows how to suppress the Telnet banner message:
Console> (enable) set banner telnet disable
Cisco System Console banner will not be printed at telnet.
Console> (enable)
Related Commands
set banner lcd
set banner motd
show banner

set ip http server
To enable or disable the HTTP server,use the set ip http server command.
          set ip http server {enable | disable}
         
Syntax Description
enable       Enable the HTTP server.
disable      Disable the HTTP server.
Defaults
The default is the HTTP server is disabled.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to enable the HTTP server.
Console> (enable) set ip http server enable
HTTP server is enabled.
Console> (enable)
This example shows the system response when the HTTP server-enabled command is not supported:
Console> (enable) set ip http server enable
Feature not suppoted.
console> (enable)
This example shows how to disable the HTTP server:
Console> (enable) set ip http server disable
HTTP server disabled.
Console> (enable)
Related Commands
set ip http port
show ip http

set qos cos-cos-map
To set the Cos-to-Cos mapping on a global basis, use the set qos cos-cos-map command.
                set qos cos-cos-map cos1 cos2 ... cos8
               
Syntax Description
cos#            Cos value; vaild values are from 0 to 7
Defaults
The default Cos-to-Cos configuration is listed in
cos         0        1       2      3        4      5       6       7
cos         0        1       2      3        4      5       6       7
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If Qos is disabled,this message displays when you attempt to define a Cos-to-Cos mapping:
Qos is disable,change will take effect after Qos is enabled.
Examples
This example shows how to set the Cos-to-Cos mapping:
Console> (enable) set qos cos-cos-map 0 1 2 3 4 5 6 7
Qos cos-cos-map set successfully.
Console> (enable)
Related Commands
clear qos cos-cos-maps
show qos maps

set qos cos-dscp-map
To set the Cos-to-DSCP mapping,use the set qos cos-dscp-map command.
             set qos cos-dscp-map
            
Syntax Description
dscp         Number of the differentiated service code point (DSCP);vaild values are from 0 to 63.
Defaults
The defalut cos-to-dscp configuration is listed in
cos       0        1        2         3        4         5        6         7
dscp      0        8       16        24       32        40       48        56
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The cos-to-dscp map is used to map the cos of packets arriving on trusted port(or flows) to a DSCP
where the trust type is trust-cos.This map is a table of eight Cos vaules(0 through 7) and their
corresponding DSCP values.The switch has one map.
This command is supported on systems configured with a Layer 3 switching engine only.
Examples
This examples shows how to set the Cos-to-DSCP mapping:
Console> (enable) set qos cos-dscp-map 20 30 1 43 63 12 13 8
Qos cos-dscp-map set successfully.
Console> (enable)
Related Commands
clear qos cos-dscp-map
show qos maps

show file
To dispaly the contents of a file that have been saved to falsh memory,use the show file command.
                    show file [device:] filename [dump]
  
Syntax Description
device:            (Optional) Device where the flash memory resides.
filename            Name of the configuration file.
dump                (Optional) shows the hexadecimal dump of the file.
Defaults
This command has no default settings.
command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
A colon(:) is required after the specified device.
Examples
This examples shows how to dispaly the contents of the configuration file saved to flash memory:
Console> (enable) show file slot0:cfgfile
This examples shows how to display the hexadecimal dump from a file:
console> (enable) show file slot0:cfgfile dump
 
 
show port capabilities
To display the capabilities on the ports,use the show port capabilities command.
          set port capabilities mod/port
          set port capabilities vlan vlan_name

         
Syntax Description
mod       (Optional)Number of the module.
port      (Optional)Number of the port on the module.
vlan       Limits output to ports in the specified VLAN.
vlan      (Optional)VLAN number;vaild values are from 1 to 4094.
vlan_name (Optional)VLAN name.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal
Usage Guidelines
If you do not specify a mod vaule,the ports on all modules are shown.
If you do not specify a port vaule,all the ports on the module are shown.
Examples
This example shows how to list the port capabilities on a specific module and port:
Console> show port capabilities 1/1
Model                     WS-X6548-RJ-45
Port                      1/1
Type                      10/100BaseTX
Auto MDIX                 yes
AuxiliaryVlan             1..4094,untagged,dot1p,none
Broadcast suppression     precentage(0-100)
Channel                   yes
COPS port group           not supported
Cos rewrite               yes
Dot1q-all-tagged          yes
Dot1x                     yes
Duplex                    half,full
Fast start                yes
Flow Control              receive-(off,on),send-(off)
Inline Power              no
Jumbo frames              yes
link debounce timer       yes
link debounce timer delay no
Membership                static,dynamic
Port ASIC group           1/1-48
Port VLAN Mapping         Group:1/1-48 Maximum Allowed Mappings:32
Qos scheduling            rx-(1p1q0t),tx-(1p3q1t)
Security                  yes
SPAN                      source,destination
Speed                     auto,10,100
Sync restart delay        no
Tos rewirte               no
Trunk encap type          802.1q,isl
Trunk mode                on,off,desirable,auto,nonegotiate
UDLD                      yes
Console>
This example shows the port capabilities on a 48-port 10/100 Base-Tx switching services
configured-module:
Console> show port capabilities 3/2
Model                     WS-X6248-RJ-45
Port                      3/2
Type                      10/100BaseTx
Speed                     auto,10,100
Duplex                    half,full
Trunk encap type          802.1q,isl
Trunk mode                on,off,desirable,auto,nonegoiate
Channel                   yes
Broadcast suppression     percentage(0-100)
Flow control              receive-(off,on),send-(off)
Security                  yes
Membership                static
Fast start                yes
Qos scheduling            rx-(null),tx-(null)
Qos classification        layer2,layer 3
UDLD                      Capable
SPAN                      source,destination
Inline power              auto,on,off
Auxiliaryvlan             1..1000,dot1p,untagged,none
Console>
This example shows the port capabilities on an 8-port T1/E1 ISDN PRI services configured-module:
Console> show port capabilities 3/2
Model                     WS-X6608-T1 (or WX-X6608-E1)
Port                      3/2
Type                      T1,transcoding,conferencing
Speed                     1.544 Mps (or 2.048 Mps)
Duplex                    full
Channel                   no
Broadcast suppression     no
Flow control              no
Security                  no
Membership                no
Fast start                no
Qos scheduling            no
Qos claaification         no
UDLD                      no
Inline power              no
Auxiliaryvlan             no
Console>
This example shows the port capabilities on a 24-port FXS analog station interface services-configured
module:
Console> show port capabilities 3/2
Model                      WS-X6624-FXS
Port                       3/2
Type                       FXS
Speed                      64kps
Duplex                     full
Trunk encap type           none
Trunk mode                 off
Channel                    no
Broadcast suppression      no
Flow control               no
Security                   no
Membership                 no
Fast start                 no
Qos scheduling             no
Qos classification         no
UDLD                       no
Inline power               no
Auxiliaryvlan              no
Console>
This example shows the port capabilities on an Intrusion Detection System Module:
Console>  show port capabilities 5/2
Model                      WS-X6381-IDS
Port                       5/2
Type                       Intrusion Detection
Speed                      1000
Duplex                     full
Trunk encap type           no
Trunk mode                 no
Channel                    no
Broadcast suppression      no
Flow control               no
Security                   no
Dot1x                      no
Membership                 static
Fast start                 no
Qos scheduling             rx-(none),tx-(none)
cos rewrite                no
Tos rewrite                no
UDLD                       no
Inline power               no
AuxiliaryVlan              no
SPAN                       source
COPS port group            not supported
Link debounce timer        yes
Console>
Model                      Module model number.
Port                       Module number and port number.
Type                       Port type (1000Base-sx or 100Base-fx)
Auto MDIX                  Status of whether the port supports the automatic Media-Dependent
                           Interface Crossover(MDIX)function(yes,no).
Auxiliaryvlan              Status of whether the port supports voice VLANs(yes,no)
Broadcast suppression      Percentage of total available bandwith that can be used by broadcast
                           traffic(0-100)
Channel                    Status of which ports can from a channel group.The prots are shown in
                           mod/port format.For example,3/1-2 indicates module 3,port 1 and 2.
                           Also,any ports in range [mod/1-mod/high_port] or no ports may be
                           indicated.
COPS port group            Status of whether the port supports COPS port group (not supported,ports
                           that are supported.
COS rewrtie                Status of whether the port supports COS rewrite(yes,no)
Dot1q-all-tagged           Status of whether the port supports the 802.1Q tagging feature(yes,no)
Duplex                     Duplex mode (half,full,auto)
Fast start                 Status of whether the spanning tree PostFast-start featue on the port is
                           enable (yes,no).
Flow control               Flow-control options you can set (receive-[off,on,desired],send-[off,on
                           desired],or no).
Inline power               Status of whether the port supports inline power(yes,no)
Jumbo Frames               Status of whether the port supports Jumbo Frames(yes,no)
Link debounce timer        Status of whether the port supports debounce timer delay(yes,no).
Link debounce timer relay  Status of whether thr port supports the link debounce timer delay(yes,no).
Membership                 Method of membership assignment of a port or range of ports to a VLAN
                           (static,dynmaic).
Port ASIC group            Ports controlled by a port ASIC.
Port VLAN Mapping          Ports that support VLAN mapping and the maximum number of mappings
                           allowed.
QOS classification         Status of whether the port supports Qos classification(yes,no).
QOS scheduling             Status of whether the port ports supports Qos scheduling (yes,no)
Security                   Status of whether port security is enabled(yes,no).
SPAN                       SPAN type supported.
Speed                      Speed setting for the port (auto,10 100 1000).
Sync restart delay         Status of whether the port supports the synchronization restart delay
                           function(yes,no)
Tos rewrite                Status of whether the port supports Tos rewrite(IP-precedence).
Trunk encap type           Trunk encapsulation type(ISL,802.1Q ,802.10, or no)
Trunk mode                 Trunk administrative status of the port (on,off,auto,desirable,
                           nonegotiate,or no)
UDLD                       Status of whether the port is UDLD-capable or not.
Related Commands
set port broadcast
set port channel
set port secruity
set port speed
set spantree portfast
set trunk
show port
show port voice active
 
show port cdp
To display the port CDP enable state and the message interval,use the show port cdp command.
           show port cdp mod/port
           show port cdp vlan vlan_name

 
Syntax Description
mod              (Optional)Number of the module.
port             (Optional)Number of the port on the module.
VLAN              Limits output to ports in the specified VLAN.
vlan             (Optional)VLAN number;vail values are from 1 to 4094.
vlan_name        (Optional)VLAN name.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal
Usage Guidelines
If you do not specify a mod value,the port on all modules are shown.
If you do not specify a port value,all the ports on the module are shown.
Examples
This example shows how to dsiaplay CDP information for all ports:
Console> show port cdp
CDP                     :enable
Message interval        :60
Hold Time               :180
Version                 :V2
port                  CDP Status
-----------     ----------------------
1/1                   enabled
1/2                   enabled
Console>
CDP                  Status of whether CDP is enable or not.
Message-Interval     Interval between CDP message exchange with a neighbor.
Hold Time            Hold time setting.
Version              CDP version
Port                 Module and port number
CDP Status           CDP status of the port (enable,disabled).
Related Commands
set cdp
show cdp
 
 
set length
Use the set length command to configure the number of lines in the terminal display screen.
         set length number [default]
        
Syntax Description
number        Number of lines to display on the screen; vaild values are from 0 to 512.
default       (Optional)Keyword to set the number of lines in the terminal display screen
              for the current administration session and all other sessions.
             
Defaults
The default value is 24 lines upon starting a session.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Output from a single command that overflows a single display screen is followed by the --more--
prompt.At the --more-- prompt,you can press Ctrl-C.q,or Q to interrput the output and return to the
prompt,press the Spacebar to diplay an additional screen of outupt,or press Return to display one
more line of output.
Setting the screen length to 0 turns off the scrolling feature and causes the entire output to display at
once.Unless you use the default keyword.a change to the terminal length value applies only to the
current session.
When you change the vaule in a session.it applies only to that session.When you use the clear config
command,the number of lines in the terminal display screen is reset to the factory-set default of 100.
The default keyword is available in privileged mode only.
Examples
This example shows how to set the screen length to 60 lines:
Console> (enable) set length 60
Screen length for this session set to 60.
Console> (enable)
This example shows how to set the default screen length to 40 lines:
Console> (enable) set length 40 default
Screen length set to 40.
Console> (enable)

set logging console
Use the set logging console command to enable and disable the sending of system logging message to
the console.
         set logging console {enable | disalbe}
        
Syntax Description
enable          Keyword to enable system message logging to the console.
disable         Keyword to disable system message logging to the console.
Defaults
The default is system message logging to the console is enabled.
Command Typs
Switch command.
Command Modes
Privieged.
Examples
This examples shows how to enable system message logging to the console:
Console> (enable) set logging console enable
System logging message will be sent to the console.
console>
This examples shows how to disable system message logging to the console:
Console> (enable) set logging console disable
System logging message will not be sent to the console.

Related Commands
set logging level
set logging session
show logging
show logging buffer

set logging history
Use the set logging history command to set size of the syslog history table.
              set logging history syslog_history_table_size
             
Syntax Description
syslog_hisory_table_size          size of the syslong history table; vaild
                                  values are from 0 to 500.
                                 
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This examples shows how to set the size of the syslong history table to 400;
Console> (enable) set logging history 400
System logging history table size set to 400.
Console> (enable)
Related Commands
show logging
clear logging buffer

set logging level
Use the set logging level command to set the facility and severity level used when logging system
messages.
              set logging level facility severity [default
             
Syntax Description
facility      Value that specifies the type of system messages to capture;facility types are listed
              in table.
severity      Value that specifies the severity level of system messages to capture; severity level
              definitions are listed in table.
default       (Optional)Keyword to cause the specified logging level to apply to all sessions.
Facility Name         Definition
all                   all facilities
acl                   acl facilities
cdp                   cisco discovery protocol
dtp                   dynamic trunking protocol
drip                  DRIP facility
earl                  Enhanced Address Recognition Logic
fddi                  FDDI facility
gvrp                  GARP VLAN Registration protocol
ip                    Internet protocol
kernel                Kernel
ld                    ASLB facility
mcast                 multicast
mgmt                  management
mls                   multilayer switch
pagp                  port aggregation protocol
portfilt              protocol filter
pruning               VTP pruning
privatevlan           private vlan facility
radius                remote access dial-in user service
snmp                  simple network management protocol
spantree              spanning tree protocol
sys                   system
tac                   terminal access controller
tcp                   transmission control protocol
telnet                terminal emulation protocol
tftp                  trivial file transfer protocol
udld                  user datagrame protocol
vtp                   virtual terminal protocol

severity level        description
0-emergencies         system unusable
1-alerts              immediate action required
2-critical            critical condition
3-errors              erros conditions
4-warnings            Warning conditions
5-notifications       Normal bug significant condition
6-informational       informational messages
7-debugging           debugging messages
Defaults        
This default is facility is set to all, and level is set to 0
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You can also set the logging level by using the set logging server command.
If you do not use the default keyword,the specified logging level applies only to the current session.
Examples
This example shows how to set the default facility and severity level for system message logging
Console> (enable) set logging level snmp 2 default
Related Commands
show logging
show logging buffer

set cdp
Use the set cdp command set to enable,disable, or configure CDP features globally on all ports or on
specified ports.
                 set cdp enable | disable mod/ports
                 set cdp interval interval
                 set cdp holdtime holdtime
                 set cdp version v1 | v2
               
Syntax Description
enable           Keyword to enable the CDP feature.
disable          Keyword to disable the CDP feautre.
mod/ports        Number of the module and the ports on the module.
interval         Keyword to specify the CDP message interval value.
interval         Number of seconds the system waits before sending a message;
                 vaild values are from 5 to 900 seconds.
holdtime         Keyword to specify the global time-to-live value.
holdtime         Nubmer of seconds for the global time-to-live value; vaild values
                 are from 10 to 255 seconds.
version          Keyword to specify the CDP version number.
v1|v2
Defaults
The defalut system configuration has CDP enabled.The message interval is set to 60 seconds for every
prot; the default time-to-live value has the message interval globally set to 180 seconds.The default
CDP version is version 2.
Command Types
Switch command
Command Modes
Privileged.
Usage Guidelines
The set cdp version command allows you to globally set the highest version number of CDP packets
to send.
If you enter global set cdp enable or disable command.CDP is globally configured.IF cdp is
globally disabled,cdp is automatically disabled on all interface, but the per-port enable (or disable)
configuration is not changed.if CDP is globally enabled,whether CDP is running on an interface or not
depends on its per-port configuration.
If you configure CDP on a per-port basis.you can enter the mod/port as a single module and port or a
range of port; for example, 2/1-12 ,3/5-12
Examples
This example shows how to enable the CDP message display fro port 1 on module 2
Console> (enable) set cdp enable 2/1
CDP enabled on port 2/1.
Console> (enable)
This example shows how to disable the CDP message display for port on module 2;
Console> (enable) set cdp disable 2/1
CDP disabled on port 2/1.
Console> (enable)
This example shows how to specify the CDP message interval value;
Console> (enable) set cdp interval 400
CDP interval set to 400 seconds
Console> (enable)
This example shows how to specify the global time-to-live value;
Console> (enable) set cdp holdtime 200
CDP holdtime set to 200 seconds.
Console> (enable)
Related Command
show cdp
                

 set spantree fwddelay
Use the set spantree fwddlay comman to set the bridge forward delay for a VLAN.
                set spantree fwddelay delay [vlan]
               
Syntax Description
delay           Number of seconds for the bridge forward delay;vaild values are
                from 4 to 30 seconds.
vlan            (Optional)Number of the VLAN.
Defaults
The defalut is the bridge forward delay is set to 15 seconds for all VLANs.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
Examples
This example shows how to set the bridge forward delay for VLAN 100 to 16 seconds:
Console> (enable) set spantree fwddelay 16 100
Spantree 100 forward delay set to 16 seconds.
Console> (enable)
Related Commands
show spantree
 
set spantree hello
Use the set spantree hello command to set the bridge hello time for a VLAN.
               set spantree hello interval [vlan]
              
Syntax Description
interval       Number of seconds the system waits before sending a bridge hello
               message (a multicast message indicating that the system is active); vaild
               values are from 1 to 10 seconds.
vlan           (Optional)Number of the VLAN.
Defaults       The defaults is the bridge hello time is set to 2 seconds for all VLANS.
Command Types
Switch commands.
Command Modes  
Privileged.
Usage Guidelines
If you do not specify a VLAN number,VLAN is assumed.
Usage Guidelines
This command is not supported by the NAM.
Examples
This example shows how to set the spantree hello time for VLAN 100 to 3 seconds:
Console> (enable) set spantree hello 3 100
Spantree 100 hello time set to 3 seconds.
Console> (enable)
Related Commands
show spantree
 
set spantree maxage
Use the set spantree maxage command to set the bridge maximum aging time for a VLAN.
                 set spantree maxage agingtime [vlan]
                
Syntax Description
agintime         Maximum number of seconds that the system retains the information
                 received from other bridges through Spanning Tree Protocol;valid vlaues
                 are from 6 to 40 seconds.
vlan             (Optional)Number of the VLAN.
Defaults
The default configuration is 20 seconds for all VLANs.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you do not specify a VLAN munber, VLAN 1 is assumed.
Usage Guidelines
This command is not supported by the NAM.
Examples
This example shows how to set the maximum aging time for VLAN 1000 to 25 seconds.
Console> (enable) set spantree maxage 25 1000
Spantree 1000 max aging time set to 25 seconds.
Console> (enable)
Related Commands
show spantree

set spantree portcost
Use the set spantree portcost command to set the path cost for a port.
        set spantree portcost {mod/port} cost
       
Syntax Description
mod/port      Number of the module and the port on the module.
cost          Number of the path cost; vaild values are from 0 to 65535.where 0 is
              low cost and 65535 is high cost.
             
Defaults
The defaults is port is 4
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
The Spanning Tree Protocol uses port path costs to determine which port to select as a forwarding port
You should assign lower numbers to ports attached to faster media(such as full duplex)and higher
numbers to ports attached to slower media.
This examples shows how to set the port cost for port 12 on module 2 to 19:
Console> (enable) set spantree portcost 2/12 19
Spantree port 2/12 path cost set to 19.
Console> (enable)
Related Commands
show spantree

set default portstatus
Use the set default protstatus command to set the default prot status.
             set default portstatus {enable | disable]
            
Syntax Description
enable         Keyword to activate default port status
disable        Keyword to deactivate default port status.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
When you enter the clear config all command or in the event of a configuration loss,all ports collapse
into VLAN 1.This might cause a security and network instability problem.Entering the set default
portstatus command puts all ports into a disable state and blocks the traffic flowing through the ports
during a configuration loss. You can then manually configure the ports back to the enable state.
After you enter the set default portstatus command , you must reset the system so the new
configuration setup can take effect.
This command is not saved in the configuration file.
Once you set the default port status,the default port status does not clear when you enter the clear
config all command.
Examples
This example shows how to disable the default port status:
Console> (enable) set defalt portstatus disable
port    status set to disable
WANNING: Please reset the system to have new setup in effect.
Console> (enable)
Related Commands
show default
 
 
set udld aggressive-mode
Use the set udld aggressive-mode command to enable or disable the UDLD aggressive mode on
specified ports or globally on all ports.
               set udld aggressive-mode enable | disalbe mod/port
              
Syntax Description
enable         Keyword to enable UDLD aggressive mode.
disalbe        Keyword to disable UDLD aggressive mode.
Defaults
The default is aggressive mode is disabled.
Command Types
Switch Command.
Command Modes
Privileged.
Usage Guidelines
You can use the aggressive mode in cases in which a port that sits on a bidirectional link stops receiving
packets from its neighbor.When this happens,if aggressive mode is enabled on the port,UDLD will
try to reetsblish the connection with the neighbor.If connection is not reestablished after eight failed
retries,the port is error disabled.
We recommend that you use this command on point-to-point links between Cisco switchs only.
The command is not supported by the NAM.
Examples
This examples shows how to enable aggressive mode:
Console> (enable)set udld aggressive-mode enable 2/1
Aggressive UDLD enabled on port 5/13.
Warning:Aggressive Mode for Unidirectional Link Detection
should be enabled only on ports not connected to hubs,
media converters or similar devices.
Console> (enable)
Related Command
set udld
show udld
 
 
set udld interval
Use the set udld command to set the UDLD message interval timer.
           set udld interval  interval
          
Syntax Description
interval   Message interval in seconds;vail values are from 7 to 90 seconds.
Defaults
The default is 15 seconds
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
Examples
This example shows how to set the message interval timer:
Console> (enable) set udld interval 90
UDLD message interval set to 90 seconds
Console> (enable)
Related Commands
set udld
show udld
 

show boot
Use the show boot command to display the contents of the BOOT environment variables and the
configuration register setting.
                 show boot [mod]
                
Syntax Description
mod        (Optional)Number of the supervisor engine containing the Flash device.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal
Examples
This example shows how to display the BOOT environment variable:
Console> show boot
BOOT variable= bootflash:cat6000-sup.5-5-1.bin;1;slot0:cat6000-sup.5-4-1.bin,1;
CONFIG_FILE variable = slot0:switch.cfg
Configuration register is 0x800f
ignore-cofig: disabled
auto-config: non-recurring,overwrite,sync disabled.
console baud:9600
boot: p_w_picpath specified by the boot system commands
Console>
Related Commands
set boot auto-config
set boot config-register
set boot system flash
 

show cam agingtime
Usa the show cam agingtime command to display CAM aging time information for all configured
VLANs.
             show  cam agingtime [vlan]
            
Syntax Description
vlan         (Optional)Number of the VLAN or range of VLANs;valid values are from
             1 to 1005 and from 1025 to 4094
            
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display CAM aging time information:
Console> show cam agingtime
VLAN 1  aging time = 300 sec
VLAN 2  aging time = 300 sec

This example shows how to diplay CAM aging time information for a specific VLAN:
Console> show cam agingtime 1005
VLAN 1005 aging time = 300 sec
Console>
Related Commands
clear cam
set cam
show cam

show cam count
Use the show cam command to display the number of CAM entries only.
       show cam count {dynamic | static | permanent | system] [vlan]
      
Syntax Description
dynamic          Keyword to display dynamic CAM entries.
static           Keyword to display static CAM entries.
permanent        Keyword to display permanent CAM entries.
system           Keyword to display system CAM entries.
vlan             (Optional)Number of the VLAN.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal
Usage Guidelines
If you do not specify a VLAN,all VLANs are displayed.
Examples
This example shows how to display the number of dynamic CAM entries:
Console> (enable) show cam count dynamic
Total Matching CAM Entries = 6
Console> (enable)
Related Commands
clear cam
set cam

set system baud
Use the set system baud command to set the console port baud rate.
               set system baud rate
              
Syntax Description
rate Baud rate; vaild rates are 600,1200,2400,4800,9600,19200, and 38400.
Defaults
The default is 9600 baud.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example  shows how to set the system baud rate to 19200;
Console> (enable) set system baud 19200
System console port baud rate set to 19200.
Console> (enable)
Related Commands
show system
 

set system countrycode
Use the set system countrycode command to specify the country where the system is physically
located.
                 set system countrycode code
                
Synatx Description
code            country code; see the Usage Guidelines section for format information.
Defaults
The default is US (United States).
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The country code is a 2-letter country code taken from ISO-3166 (for example,VA=holy see(Vatican
city state0,VU=Vanuateu,and IF=French Southen Territories).
Exmaples
This example shows how to set the system country code:
Console> (enable) set system conuntrycode US
Country code is set to US.
Console> (enable)
 
 
clear ip permit
Use the clear ip permit command to remove a specified IP address and mask or all IP address and
masks form the permit list.
            clear ip permit {ip_addr}[mask][snmp|telnet|all}
          
Syntax Description
ip_addr      IP address to be cleared.An ip alias or a host name that can be resolved
             through DNS can also be sued.
            
mask         (Optional)Subnet mask of the specified IP address.
snmp         (Optional)Keyword to specify removal from the SNMP IP permit list.
telnet       (Optional)Keyword to specify removal from the Telnet IP permit list.
all          (Optional)Keyword to specify all entries in the IP permit list to be removed.
Default
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The clear ip permit all command clears the permit list but does not change the state fo the IP permit
feature.A warning is displayed if all IP addresses are cleared from the permit list,and the feature is
enabled.If a mask other than the default(255.255.255.255)has been configured,you must provide both
the address and mask to clear a specific entry.
If you snmp,telnet,or all keyword is not specified,the IP address si removed from both the SNMP and
Telnet permit lists.
Examples
These examples show how to remove specified IP address:
Console> (enable) clear ip permit 172.100.101.102
172.100.101.102 cleared form IP permit list.
Console> (enable)
Console> (enable) clear ip permit 172.160.161.0 255.255.192.0 snmp
172.160.128.0 with mask 255.255.192.0 cleared from snmp permit list.
Consol> (enable)
Console> (enable) clear ip permit 172.100.101.102 telnet
172.100.101.102 cleared from telnet permit list.
Console> (enable)
Console> (enable) clear ip permit all
IP permit list cleared.
WANGNING
IP permit list is still enabled..
Console> (enable)
Related Commands
set ip permit
show ip permit
show port counters

clear log
Use the clear log command set to delete module,system error log,or dump log entries.
               clear log [mod]
               clear log dump
  
Syntax Description
mod            (Optional) Moudule number.
dump           Keyword to clear dump log entries.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you do not specify a module number,the system error log for the entire system is erased.
Examples
This examples show to clear the system error log:
Console> (enable) clear log
System error log cleared.
Console> (enable)
This example shows how to clear the dump log:
Console> (enable) clear log dump
Console> (enable)
Related Commands
show log
 
 
clear port qos cos
Use the clear port qos cos command to return the values set by the set port qos cos command to the
fectory-set default values for all specified ports.
           clear port qos mod/ports cos
          
Syntax Description
mod/ports  Number of the module and ports on the module.
Defaults
The default Cos for a port is 0.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to return the values set by the set port qos cos command to the factory-set
default values for module 2, port 1:
Console> (enable) clear port qos 2/1 cos
Port 2/1 qos cos setting cleared.
Console> (enable)
Related Commands
set port qos cos
show port qos
  
  
clear port security
Use the clear port security command to clear all MAC addresses or a specific MAC address from the
list of secure MAC address on a port.
                    clear port security mod/port {mac_addr | all}
                   
Syntax Description
mod/port           Number of the module and the port on the module.
mac_addr           MAC address to be deleted.
all                Keyword to remove all MAC address.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to remove a specific MAC address from a port's list of secure addresses;
   
Console> (enable) clear port security 4/1 00-11-22-33-44-55
00-11-22-33-44-55 cleared from secure address list list for port 4/1.
Console> (enable)
Related Commands
set port security
show port security        

clear spantree statistics
Use the clear spantree statistics command to clear the spanning tree statistics.
                clear spantree statistics [vlan_list]
Syntax Description
vlan_list        (Optional)List of the VLAN numbers to clear
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the spanning tree statistics for VLAN 1
Console> (enable) clear spantree statistics 1
Cleared all VLAN counters for vlan 1
Statistics cleared for vlans 1
Console> (enable)
Related Commands
show spantree statistics