CISCO交换机命令全集加说明3( 九 )


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.

推荐阅读