• Enable STP on port 5 in slot 4 with a path cost of 150.
• Set the priority for port 5 in slot 4 to 20.
sysname(config)# spanning-tree priority 0
sysname(config)# spanning-tree hello-time 4 maximum-age 20 forward-delay
15
sysname(config)# spanning-tree 4/5 path-cost 150
sysname(config)# spanning-tree 4/5 priority 20
48.5 no Command Examples
These are the commonly used command examples that belong to the
The
group commands are commands which are preceded by keyword
no
negates the intended action of the command. In most cases the
clears settings. There are cases, however, where the
section shows some uses of these commands.
48.5.1 Disable Commands
Use the
command to disable features on the switch.
no
Syntax:
no spanning-tree
no mirror-port
Disables STP on the switch.
Disables port mirroring on the switch.
48.5.2 Resetting Commands
Use the
command to reset switch settings to their default values.
no
Syntax:
no ip
Resets the management IP address to its default value.
An example is shown next. The management IP address is reset to its default value.
sysname(config)# no ip
48.5.3 Re-enable commands
The no command can also be used to re-enable features which have been disabled.
Syntax:
no ip route <ip> <mask> inactive
MS-7206 User's Guide
Chapter 48 Configuration Mode Commands
group of commands.
no
no
command disables, resets or
no
command can activate features. This
no
. This command
295