
= Enables STP on the specified ports. | |
cost | Specifies the cost of transmitting a frame on to a LAN through |
| |
| that port. It is assigned according to the speed of the bridge. |
= Specifies the priority for each port. | |
priority | Priority decides which port should be disabled when more than |
| |
| one port forms a loop in a switch. Ports with a higher priority |
| numeric value are disabled first. |
An example using
•Enable STP on the switch.
•Set the bridge priority of the switch to 0.
•Set the Hello Time to 4, Maximum Age to 20 and Forward Delay to 15 on the switch.
•Enable STP on port 5 with a path cost of 150.
•Set the priority for port 5 to 20.
sysname(config)#
sysname(config)#
sysname(config)#
33.4 no Command Examples
These are the commonly used command examples that belong to the no group of commands. The no group commands are commands which are preceded by keyword no. This command negates the intended action of the command. In most cases the no command disables, resets or clears settings. There are cases, however, where the no command can activate features. This section shows some uses of these commands.
33.4.1 Disable Commands
Use the no command to disable features on the switch.
Syntax:
no
Disables STP on the switch.
Disables port mirroring on the switch.
252 | Chapter 33 Configuration Mode Commands |