Default
30 seconds.
Command Mode
Interface configuration.
Usage Guidelines
This command is only valid within FDDI module interface-configuration mode.
Example
This example shows how to set the notify timer to 15 seconds.
hostname(config-if)# fddi notify-timer 15
Related Commands
fddi (authorization)
fddi (auth-string)
fddi (novell-snap-translation)
fddi (unmatched-snap-translation)
interface
show (interfaces)
fddi (novell-snap-translation)
Use the fddi novell-snap-translation interface configuration command to define how to translate Novell Subnetwork Access Protocol (SNAP) FDDI frames from FDDI ring to Ethernet. Use the no no fddi novell-snap-translation command to set the translate value to module defaults.
fddi novell-snap-translation {automatic ethernet-8023 ethernet-snap ethernet-II drop}
no fddi novell-snap-translation
Syntax Description
automatic Automatic packet recognition and translation for IPX networks of FDDI modules.
drop Translate frames using Drop protocol.
ethernet-8023 Translate frames using Ethernet 802.3 protocol.
ethernet-II Translate frames using Ethernet II protocol.
ethernet-snap Translate frames using Ethernet SNAP.
Default
Automatic packet recognition is enabled.
Command Mode
Interface configuration
Usage Guidelines
This command is only valid within FDDI module interface-configuration mode.
Example
This example shows how to enable automatic packet recognition and translation for IPX networks of FDDI modules.
hostname(config-if)# fddi novell-snap-translation automatic
Related Commands
fddi (authorization)
fddi (auth-string)
fddi (notify-timer)
fddi (unmatched-snap-translation)
interface
show (interfaces)
fddi (unmatched-snap-translation)
Use the fddi unmatched-snap-translation interface configuration command to select which FDDI-to-Ethernet translation protocol to use for packets whose destinations cannot be determined from the Novell Subnetwork Access Protocol (SNAP) translation table.
fddi unmatched-snap-translation {all ethernet-8023 ethernet-snap ethernet-II drop}
no fddi unmatched-snap-translation
Syntax Description
all Ethernet 802.3, Ethernet SNAP, and Ethernet II are all used.
drop Translate frames using Drop protocol.
ethernet-8023 Translate frames using Ethernet 802.3 protocol.
ethernet-II Translate frames using Ethernet SNAP.
ethernet-snap Translate frames using Ethernet II protocol.
Default
All translation protocols are enabled.
Command Mode
Interface configuration
Usage Guidelines
This command is valid only when you select automatic as the SNAP translation format and you enter the command within FDDI module interface-configuration mode.
Example
This example shows how to select FDDI-to-Ethernet 802.3 translation for FDDI packets with unmatched destination addresses.
hostname(config-if)# fddi unmatched-snap-translation ether802.3
Related Commands
fddi (authorization)
fddi (auth-string)
fddi (notify-timer)
fddi (novell-snap-translation)
interface
show (interfaces)
hostname
Use the hostname global configuration command to set the system name. Use the no hostname command to clear the name.
hostname name
no hostname
Syntax Description
name System name between 1 and 255 alphanumeric characters.
Default
There is no default for this command.
Command Mode
Global configuration
Example
This example shows how to set the system name to the string Zorro.
2820(config)# hostname Zorro
Zorro(config)#
Related Command
show (snmp hostname)
interface
Use the interface global configuration command to choose an interface type and to enter interface configuration mode.
interface type module/port
Syntax Description
type Interface type: ethernet, fastethernet, fddi, atm, and port-channel.
module Module interface number:0 for fixed1 or A for module A2 or B for module B
port Port interface number ranging from 1 to 27:1 to 25 Ethernet (fixed)26, 27 Fast Ethernet (fixed)1 to 4 Fast Ethernet (4-port Fast Ethernet repeater module)1 to 8 Fast Ethernet (8-port Fast Ethernet repeater module)
Default
No default interface.
Command Mode
Global configuration
Example
This example shows how to enable configuration on Ethernet port 1.
hostname(config)# interface ethernet 0/1
This example shows how to enable configuration on ATM module 1.
hostname(config)# interface atm 1
Related Commands
configure
disable
enable
end
exit
line console
ip (address)
Use the ip address global configuration command to configure the IP address and subnet mask. Use the no ip address command to set the IP address and subnet mask to default values.
ip address ipaddress mask
no ip address
Syntax Description
ipaddress IP address.
mask Subnet mask.
Default
IP address and subnet mask both have the value 0.0.0.0.
Command Mode
Global configuration
Example
This example shows how to set the device IP address to 172.20.128.126 and the subnet mask to 255.255.255.0 on the specified interface.
hostname(config)# ip address 172.20.128.126 255.255.255.0
Related Commands
ip (default-gateway)
ip (domain-name)
ip (http port)
ip (http server)
ip (mgmt-vlan)
ip (name-server)
show (ip)
ip (default-gateway)
Use the ip default-gateway global configuration command to configure the default gateway. Use the no ip default-gateway command to delete a configured default gateway and to set the gateway address to the default value.
ip default-gateway ip-address
no ip default-gateway
Syntax Description
ip-address Gateway IP address.
Default
Gateway address has the value 0.0.0.0.
Command Mode
Global configuration
Example
This example shows how to set the default gateway address to 172.20.128.126.
hostname(config)# ip default-gateway 172.20.128.126
Related Commands
ip (address)
ip (domain-name)
ip (http port)
ip (http server)
ip (mgmt-vlan)
ip (name-server)
show (ip)
ip (domain-name)
Use the ip domain-name global configuration command to configure a domain name. Use the no ip domain-name command to clear any configured domain name.
ip domain-name domain-name
no ip domain-name
Syntax Description
domain-name A string between 1 and 62 characters that specifies the domain name.
Default
No domain name is configured.
Command Mode
Global configuration
Example
This example shows how to configure the domain name of the switch to your_company.com.
hostname(config)# ip domain-name your_company.com
Related Commands
ip (address)
ip (default-gateway)
ip (http port)
ip (http server)
ip (mgmt-vlan)
ip (name-server)
show (ip)
ip (http port)
Use the ip http port global configuration command to select a Transmmission Control Protocol (TCP) port on which the Hypertext Transfer Protocol (HTTP) server accepts connections. Use the no ip http port command to select the default TCP port.
ip http port port-number
no ip http port
Syntax Description
port-number TCP port number between 0 and 65535.
Default
TCP port 80.
Command Mode
Global configuration
Example
This example shows how to set the server to listen on TCP port 8080 for HTTP connections. With this (nondefault) setting, you must instrUCt your browser to connect to port 8080 rather than 80.
hostname(config)# ip http port 8080
Related Commands
ip (address)
ip (default-gateway)
ip (domain-name)
ip (http server)
ip (mgmt-vlan)
ip (name-server)
show (ip)
ip (http server)
Use the ip http server global configuration command to enable Hypertext Transfer Protocol (HTTP) server functions. Use the no ip http server command to disable HTTP server functions.
ip http server
no ip http server
Syntax Description
This command has no additional arguments or keyWords.
Default
HTTP server functions are enabled.
Command Mode
Global configuration
Example
This example shows how to disable HTTP server functions.
hostname(config)# no ip http server
Related Command
ip (address)
ip (default-gateway)
ip (http port)
ip (mgmt-vlan)
ip (name-server)
show (ip)
ip (mgmt-vlan)
Use the ip mgmt-vlan global configuration command to configure a particular VLAN as the management VLAN (the VLAN from which IP packets are accepted and processed). Use the no ip mgmt-vlan command to set the default value as the management VLAN.
ip mgmt-vlan vlan-number
no ip mgmt-vlan
Syntax Description
vlan-number VLAN number between 1 and 1005.
Default
VLAN 1 is the management VLAN.
Command Mode
Global configuration
Usage Guidelines
This command is only available when VLANs are enabled. IP traffic is received and processed only from the management VLAN.
Example
This example shows how to set VLAN 2 as the management VLAN.
hostname(config)# ip mgmt-vlan 2
Related Commands
ip (address)
ip (default-gateway)
ip (domain-name)
ip (http port)
ip (http server)
ip (name-server)
show (ip)
ip (name-server)
Use the ip name-server global configuration command to configure a domain name system (DNS) server. Use the no ip name-server command to delete any configured DNS server.
ip name-server name-server
no ip name-server name-server
Syntax Description
name-server The IP address of the DNS server.
Default
No name server address is configured.
Command Mode
Global configuration
Usage Guidelines
No more than two name-server addresses at a time can be specified for the switch. If two name servers are already specified and the user tries to specify a third, an error message appears. To add a new name server when two are already specified, delete one by using the no form of the command before adding the new server information.
Example
This example shows how to configure a server at IP address 172.20.128.126 as a name server for the switch.
hostname(config)# ip name-server 172.20.128.126
Related Commands
ip (address)
ip (default-gateway)
ip (domain-name)
ip (http port)
ip (http server)
ip (mgmt-vlan)
show (ip)
line console
Use the line console global configuration command to change to line-configuration mode.
line console
Syntax Description
This command has no additional arguments or keywords.
Command Mode
Global configuration
Example
This example shows how to change the command mode from global configuration to line configuration.
hostname(config)# line console
hostname(config-line)#
Related Commands
configure
disable
enable
end
exit
interface
login (tacacs)
Use the login tacacs global configuration command to enable the Cisco Terminal Access Controller Access Control System Plus (TACACS+) for authenticating user logins. If login TACACS+ is enabled, the switch uses TACACS+ to authenticate all user logins through a console or Telnet interface. Use the no login tacacs command to disable TACACS+ authentication.
login tacacs
no login tacacs
Syntax Description
This command has no additional arguments or keywords.
Default
Disabled
Command Mode
Global configuration
Usage Guidelines
Access to the web interface cannot be authenticated through TACACS+. When using the web interface, the authentication process defaults to the local switch password.
Example
This command shows how to enable TACACS+ for login authentication.
hostname(config)# login tacacs
Related Commands
enable (use-tacacs)
show (tacacs)
tacacs-server (attempts)
tacacs-server (directed-request)
tacacs-server (host)
tacacs-server (key)
tacacs-server (last-resort)
tacacs-server (timeout)
mac-address-table (aging-time)
Use the mac-address-table aging-time global configuration command to configure the length of time the switch keeps dynamic MAC addresses in memory before discarding. Use the no mac-address-table aging-time command to set the aging time to the default value.
mac-address-table aging-time
no mac-address-table aging-time
Syntax Description
seconds A value from 10 to 1000000 seconds.
Default
300 seconds
Command Mode
Global configuration
Example
This example shows how to specify a MAC address table aging time of 250000 seconds.
hostname(config)# mac-address-table aging-time 250000
Related Commands
clear (mac-address-table)
mac-address-table (restricted static)
show (mac-address-table)
mac-address-table (permanent)
Use the mac-address-table permanent global configuration command to associate a permanent unicast or multicast MAC address with a particular switched port interface (specified by type and module/port). Use the no mac-address-table permanent command to delete a permanent MAC address.
mac-address-table permanent mac-address type module/port
no mac-address-table permanent mac-address type module/port
Syntax Description
mac-address MAC address.
type Interface type: ethernet, fastethernet, fddi, atm, or port-channel.
module Module interface number:0 for fixed1 or A for module A2 or B for module B
port Port interface number ranging from 1 to 28:1 to 25 Ethernet (fixed)26, 27 Fast Ethernet (fixed)Port channel
Default
No permanent addresses are assigned.
Command Mode
Global configuration
Usage Guidelines
Use the arguments module/port only for switched ports and modules. When deleting an address by using the no mac-address-table permanent command, specify the interface on which the address resides.
If you delete an address that is not present in the address table, the following error message appears:
% Error: MAC address not found
Example
This example shows how to specify that packets with the multicast destination address 0140.C80A.2F07 should be forwarded on the Fast Ethernet interface 27.
hostname(config)# mac-address-table permanent 0140.C80A.2F07 fastethernet 0/27
Related Commands
clear (mac-address-table)
mac-address-table (aging-time)
mac-address-table (restricted static)
show (mac-address-table)
mac-address-table (restricted static)
Use the mac-address-table restricted static global configuration command to associate a restricted static address with a particular switched port interface (specified as type module/port). Use the no mac-address-table restricted static command to delete a restricted static address.
mac-address-table restricted static mac-address type module/port src-if-list
no mac-address-table restricted static mac-address type module/port
Syntax Description
mac-address MAC address.
type Interface type: ethernet, fastethernet, fddi, atm, and port-channel.
module Module interface number:0 for fixed1 or A for module 1 2 or B for module 2
port Port interface number ranging from 1 to 28:1 to 25 Ethernet (fixed)26, 27 Fast Ethernet (fixed)Port channel
src-if-list List of acceptable interfaces separated by spaces.
Default
No addresses are assigned.
Command Mode
Global configuration
Usage Guidelines
Use the arguments module/port only for switched ports and modules. Traffic to a restricted static address is only accepted from the interfaces specified in src-if-list.
Example
This example shows how to configure a packet with MAC address of 0040.C80A.2F07 to come in on either Ethernet interface 1 or Ethernet interface 2 and be forwarded to the Fast Ethernet interface 27.
hostname(config)# mac-address-table restricted static 0040.C80A.2F07 fastethernet 0/27 ethernet 0/1 ethernet 0/2
Related Commands
clear (mac-address-table)
mac-address-table (aging-time)
mac-address-table (permanent)
show (mac-address-table)
menu
Use the menu privileged Exec command to access the main menu console.
menu
Syntax Description
This command has no arguments or keywords.
Command Mode
Privileged Exec
Example
This example shows how to display the main menu console.
2820# menu
Catalyst 2820 - Main Menu
[C] Console Settings
[S] System
[N] Network Management
[P] Port Configuration
[A] Port Addressing
[D] Port Statistics Detail
[M] Monitoring
[V] Virtual LAN
[R] Multicast Registration
[F] Firmware
[I] RS-232 Interface
[U] Usage Summaries
[H] Help
[K] Command Line
[X] Exit Management Console
Enter Selection:
Related Commands
None
modem (dialin)
Use the modem dialin line configuration command to enable auto-answer dial-in on a port. Use the no modem dialin command to disable dial-in.
modem dialin
no modem dialin
Syntax Description
This command has no additional arguments or keywords.
Default
No modem dial-in is enabled.
Command Mode
Line configuration
Example
This example shows how to enable auto-answer dial-in.
hostname(config-line)# modem dialin
Related Commands
autobaud
databits
line console
modem (init-string)
parity
show (line)
show (terminal)
stopbits
terminal
modem (init-string)
Use the modem init-string line-configuration command to configure the modem initialization string. Use the no modem init-string command to delete the modem initialization string.
modem init-string init-string
no modem init-string
Syntax Description
init-string The initalization string provided by your modem manufacturer.
Default
No initialization string is sent to the modem.
Command Mode
Line configuration
Example
This example shows how to configure a Hayes-compatible modem to reset to defaults and to set the verbosity level to terse.
hostname(config-line)# modem init-string "Z V0"
Usage Guidelines
A default initialization string is provided by your modem manufacturer. Do not include the AT prefix or end-of-line suffix in your string.
Related Commands
autobaud
databits
line console
modem (dialin)
parity
stopbits
terminal
monitor-port
Use the monitor-port global configuration command to enable port monitoring. Use the no monitor-port command to disable monitoring.
monitor-port
no monitor-port
Syntax Description
This command has no arguments or keywords.
Default
No ports are monitored.
Command Mode
Global configuration
Usage Guidelines
Before you enable port monitoring, ensure that your capture list has one or more ports listed and a monitor port assigned. To add ports to the capture list, use the monitor-port monitored command. To assign a monitor port, use the monitor-port port command.
Example
This example shows how to enable port monitoring.
hostname(config)# monitor-port
Related Commands
monitor-port (monitored)
monitor-port (port)
show (port monitor)
monitor-port (monitored)
Use the monitor-port monitored global configuration command to add ports to the monitoring capture list. Use the no monitor-port monitored command to delete ports from the list.
monitor-port monitored [module/port]
no monitor-port monitored [module/port]
Syntax Description
module Interface number from 0 to 2.
port Port interface number ranging from 1 to 27:1 to 25 Ethernet (fixed)26, 27 Fast Ethernet (fixed)
Default
No ports are monitored.
Command Mode
Global configuration
Usage Guidelines
Use the arguments module/port for switched ports and modules only. If you do not specify the list of ports to add or delete in the no command form, all ports are deleted.
Example
This example shows how to add port 26 to the capture list.
hostname(config)# monitor-port monitored 0/26
This example shows how to delete port 2 from the capture list.
hostname(config)# no monitor-port monitored 0/2
This example shows how to delete all ports from the capture list.
hostname(config)# no monitor-port monitored
Related Commands
monitor-port
monitor-port (port)
monitor-port (port)
Use the monitor-port port global configuration command to specify the port to which monitored frames are sent. Use the no monitor-port port command to clear the monitor port.
monitor-port port module/port
no monitor-port port
Syntax Description
module Interface number between 0 and 2.
port Port interface number ranging from 1 to 27:1 to 25 Ethernet (fixed)26, 27 Fast Ethernet (fixed)Port channel
Default
No monitor port is defined.
Command Mode
Global configuration
Usage Guidelines
Use the arguments module/port for switched ports and modules only. One or more ports must be listed in the port capture list for frame monitoring to occur.
Example
This example shows how to set port 1 to receive monitored frames.
hostname(config)# monitor-port port 0/1
Related Commands
monitor-port
monitor-port (monitored)
multicast-store-and-forward
Use the multicast-store-and-forward global configuration command to set multicast traffic forwarding to store-and-forward mode. Use the no multicast-store-and-forward command to set multicast traffic forwarding to the method specified by the switching-mode command.
multicast-store-and-forward
no multicast-store-and-forward
Syntax Description
This command has no arguments or keywords.
Default
Store-and-forward switching for multicast traffic is disabled.
Command Mode
Global configuration
Example
This example shows how to set the multicast traffic forwarding to store-and-forward.
hostname(config)# multicast-store-and-forward
This example shows how to set the multicast traffic forwarding to the method specified by the switching-mode command.
hostname(config)# no multicast-store-and-forward
Related Command
switching-mode
network-port
Use the network-port global configuration command to set a network port. Use the no network-port command to clear a network port.
network-port module/port
no network-port
Syntax Description
module Module number from 0 to 2. Use the module argument only for switched modules.
port Port number from 1 to 27. Use the port argument only for switched ports.
Default
A network port does not exist.
Command Mode
Global configuration
Usage Guidelines
When you configure a port as a network port, the following restrictions apply:
?It does not learn addresses.
?It is the only destination for unknown address packets.
Example
The following example shows how to set port 2 as a network port.
hostname(config)# network-port 0/2
Related Command
show (port system)
pagp-port-priority
Use the pagp-port-priority interface configuration command to specify the Port Aggregation Protocol (PAgP) hot-standby priority for a single Fast Ethernet port.
pagp-port-priority priority
Syntax Description
priority Number from 0 to 255.
Default
The default priority is 128.
Command Mode
Interface configuration
Usage Guidelines
This command has the following restrictions:
?It is valid only at the physical port interface level and applicable only to a single-switched, Fast Ethernet port.
?It is not functional when bridge groups are enabled.
Example
The following example shows how to set the PAgP priority for Fast Ethernet port A to 100:
hostname(config)# interface fastethernet 0/26
hostname(config-if)# pagp-port-priority 100
Related Commands
port-channel (mode)
show (interfaces)
port-channel (preserve-order)
port-channel (template-port)
parity
Use the parity line-configuration command to set the parity of the port.
parity {none odd even mark space}
Syntax Description
none No parity.
odd Odd parity.
even Even parity.
mark Mark parity.
space Space parity.
Default
The default is no parity.
Command Mode
Line configuration
Example
The following example shows how to set the parity of an Ethernet port to odd:
hostname(config-line)# parity odd
Related Commands
autobaud
databits
line console
modem (dialin)
show (line)
show (terminal)
stopbits
terminal
password-thresh
Use the password-thresh line configuration command to limit the number of incorrect password attempts to the switch. Use the no password-thresh command to allow unlimited incorrect password attempts.
password-thresh attempts
no password-thresh
Syntax Description
attempts A number from 1 to 65500.
Default
Three attempts
Command Mode
Line configuration
Examples
The following example shows how to limit the number of unsuccessful password attempts to 4.
hostname(config-line)# password-thresh 4
The following example shows how to remove password attempt limitations to the switch.
hostname(config-line)# no password-thresh
Related Commands
show (terminal)
silent-time
time-out
ping
Use the ping user and privileged Exec command to send an ICMP echo message (ping) to the specified IP address or host name.
ping {ip-address hostname}
Syntax Description
ip-address Host IP address.
hostname Host name.
Default
This command has no default value.
Command Mode
User and privileged Exec
Usage Guidelines
If you specify a host name rather than an IP address, the configured name server (which is configured by using the ip (name-server) command) resolves the host name to the IP address.
Example
The following example shows how to ping the host named penguins:
> ping penguins
Translating "penguins"...domain server (171.68.10.70) [OK]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 171.69.71.25, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/6 ms
Related Commands
ip (address)
ip (default-gateway)
ip (domain-name)
ip (mgmt-vlan)
ip (name-server)
port-channel (mode)
port-channel (preserve-order)
port-channel (template-port)
show (interfaces)
show (ip)
port (block)
Use the port block interface configuration command to block the flooding of unknown multicast or unicast packets. Use the no port block command to enable the flooding of unknown multicast or unicast packets.
port block {multicast unicast}
no port block {multicast unicast}
Syntax Description
multicast Unknown multicast addresses.
unicast Unknown unicast addresses.
Default
Flooding is enabled.
Command Mode
Interface configuration
Examples
The following example shows how to block the flooding of unknown multicast addresses:
hostname(config-if)# port block multicast
The following example shows how to allow the flooding of unknown unicast addresses:
hostname(config-if)# no port block unicast
Related Commands
interface
show (interfaces)
show (port block)
port-channel (mode)
Use the port-channel mode global configuration command to select the way in which two Fast Ethernet ports aggregate using Port Aggregation Protocol (PAgP) to form a Fast EtherChannel link. Use the no port-channel mode command to disable Fast EtherChannel links.
port-channel mode [on auto desirable off]
no port-channel mode
Syntax Description
on Forces the port to aggregate without negotiation.
auto Port responds to PAgP packets it receives but does not initiate PAgP packet negotiation.
desirable Port initiates negotiations with other ports by sending PAgP packets.
off Prevents the port from aggregating without negotiation.
Default
Off
Command Mode
Global configuration
Usage Guidelines
When a Fast EtherChannel link is formed, the port-channel interface is enabled. The port channel remains enabled until both ports lose the link. In the case of port-channel auto or desirable mode, when a port-channel member port detects a partner port that is misconfigured, disabled, or is not bidirectional, the port-channel member port goes down.
Both the auto and desirable modes allow ports to negotiate with connected ports to determine if they can form a channel based on criteria such as trunking state, VLAN numbers, and so on.
This command is not functional when bridge groups are enabled.
Example
The following example shows how to create a Fast EtherChannel link when the PAgP status of connecting devices is uncertain:
hostname(config)# port-channel mode desirable
The following example shows how to create a channel interface and enable a Fast EtherChannel link with PAgP disabled.
hostname(config)# port-channel mode on
Related Commands
pagp-port-priority
port-channel (preserve-order)
port-channel (template-port)
show (interfaces)
port-channel (preserve-order)
Use the port-channel preserve-order global configuration command to preserve the frame transmission order on the channel interface. Use the no port-channel preserve-order command to allow frame transmission misordering on the channel interface.
port-channel preserve-order
no port-channel preserve-order
Syntax Description
This command has no additional arguments or keywords.
Default
The default is no frame ordering.
Command Mode
Global configuration
Usage Guidelines
The no port-channel preserve-order command allows frame transmission misordering for maximum load balancing.
This command is not functional when bridge groups are enabled.
Example
The following example shows how to preserve frame transmission order on the channel interface:
hostname(config)# port-channel preserve-order
Related Commands
port-channel (mode)
show (interfaces)
port-channel (template-port)
Use the port-channel template-port global configuration command to specify a Fast Ethernet port after which other grouped member ports are modeled.
port-channel template-port template-port
Syntax Description
template-port For Catalyst 2820 switches, Fast Ethernet port 1 or 2.For Catalyst 1900 switches, Fast Ethernet port 26 or 27.
Defaults
Fast Ethernet port 1 for the Catalyst 2820 series switches.
Fast Ethernet port 0/26 for the Catalyst 1900 series switches.
Command Mode
Global configuration
Usage Guidelines
The configuration parameters for which the specified Fast Ethernet port serves as a model or template are as follows:
?DISL trunk state.
?For a nontrunk port: VLAN number, spanning-tree path cost, and spanning-tree port priority.
?For a trunk port: VLAN allow list and VLAN Trunk Protocol (VTP) pruning-eligible list, spanning-tree two-option path costs and their assignments of VLANs, and spanning-tree two-option port priorities and their assignments of VLANs.
The configuration parameters remain the same for all member ports after aggregation. After the group is created, any change to the parameters of any member port or port channel applies to all other ports in the group.
This command is available only when bridge groups are enabled.
Example
The following example shows how to specify Fast Ethernet port 27 as the template port for member ports configuration:
hostname(config)# port-channel template-port fastethernet 0/27
Related Commands
port-channel (mode)
show (interfaces)
port secure
Use the port secure interface configuration command to enable addressing security. Use the no port secure command to disable addressing security or to set the maximum number of addresses allowed on the interface to the default value.
port secure [max-mac-count count]
no port secure [max-mac-count]
Syntax Description
max-mac-count Maximum number of addresses allowed on port.
count Number from 1 to 132.
Default
The default is 132.
Command Mode
Interface configuration
Example
The following example shows how to set the maximum MAC address count to 100.
hostname(config-if)# port secure max-mac-count 100
The following example shows how to disable port security.
hostname(config-if)# no port secure
The following example shows how to set the MAC address count maximum to the default 132.
hostname(config-if)# no port secure max-mac-count
Related Commands
interface
port (block)
port secure (clear)
show (interfaces)
show (mac-address-table security)
port secure (clear)
Use the port secure clear interface configuration command to enables the clearing of static addresses on a secure port when the link goes down. The no port secure clear command resets the port secure configuration to retain static addresses in the event of link failure.
port secure clear
no port secure clear
Syntax Description
This command has no arguments or keywords.
Default
Disabled
Command Mode
Interface configuration
Usage Guidelines
This command is available only on ports that have the port secure command enabled.
Example
This example shows how to set a port to clear its static addresses when the link is broken.
hostname(config)# interface ethernet 0/1
hostname(config-if)# port secure clear
Related Commands
port secure
show (mac-address-table security)
reload
Use the reload privileged Exec command to immediately reset the switch or module.
reload [type module]
Syntax Description
type Interface type: FDDI and ATM.
module Interface number of a module: 1 or A for module 12 or B for module 2
Default
The entire switch is reset.
Command Mode
Privileged Exec
Usage Guidelines
After you enter this command, the system displays the following message:
Reset system, [Y]es or [N]o ?
Press Y or N as desired.
After the reset, the switch or module retains all configured system parameters and static addresses and removes all dynamic addresses.
Example
The following example shows how to reset the entire switch:
hostname# reload
The following example shows how to reset the FDDI module in slot A.
hostname# reload fddi A
Related Command
delete (nvram)
reload (in)
reload (in)
Use the reload in privileged Exec command to specify the number of seconds before the switch resets.
reload in
Syntax Description
seconds A value in seconds between 1 and 4294967.
Default
None
Command Mode
Privileged Exec
Usage Guidelines
If this command is executed again during the reset delay, the switch restarts the reset delay to the new delay time.
Example
This example shows how to reset the system in 10 seconds.
hostname# reload in 10
Related Commands
delete (nvram)
reload
rip
Use the rip global configuration command to enable the automatic discovery of IP gateways by running the Routing Information Protocol (RIP) listener. Use the no rip command to disable the RIP listener.
rip
no rip
Syntax Description
This command has no arguments or keywords.
Default
The RIP listener is enabled.
Command Mode
Global configuration
Example
The following example shows how to disable the RIP listener:
hostname(config)# no rip
Related Command
ip (default-gateway)
service (config)
Use the service config global configuration command to enable automatic download of the switch configuration file from a Trivial File Transfer Protocol (TFTP) host during power up. Use the no service config command to disable automatic download of the configuration file.
service config
no service config
Syntax Description
This command has no additional arguments or keywords.
Default
Auto configuration is disabled.
Command Mode
Global configuration
Usage Guidelines
Note If your switch is set up for auto configuration through Dynamic Host Configuration Protocol (DHCP), the DHCP auto configuration overrides the no service config command.
Example
The following example shows how to enable auto configuration:
hostname(config)# service config
Related Command
show (running-config)
copy (nvram tftp)
copy (tftp)
show (version)
session
Use the session Exec command to open a session to an ATM module with an independent operating system.
session {number}
Syntax Description
number Module slot number:A or 1 for slot AB or 2 for slot B
Default
This command has no default value.
Command Mode
User and privileged Exec
Example
The following example shows how to open a session to the ATM module installed in slot B of the switch:
switch> session B
Related Commands
None
show (bridge-group)
Use the show bridge-group privileged Exec command to display the current bridge group configuration and port membership.
show bridge-group
Syntax Description
This command has no additional arguments or keywords.
Default
This command has no default value.
Command Mode
Privileged Exec
Usage Guidelines
This command is available only when bridge groups are enabled.
Example
The following example shows how to display the current bridge-group configuration and port membership:
hostname# show bridge-group
Allow overlapping bridge-groups: Disabled
Bridge GroupMember Ports
------------------------------------------------------------------------------------
12, 4, 5, 9-20
221-25
31, 3, 6, 7, 8
4A, B
Related Commands
bridge (forwarding-time)
bridge (hello-time)
bridge (max-age)