ZyXEL Communications GS-4024 Switch User Manual


 
Chapter 47 Configuration Mode Commands
GS-4012F/4024 User’s Guide
387
Enable STP on port 5 with a path cost of 150.
Set the priority for port 5 to 20.
47.5 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.
47.5.1 Disable Commands
Use the no command to disable features on the Switch.
Syntax:
no spanning-tree
no mirror-port
Disables STP on the Switch.
Disables port mirroring on the Switch.
47.5.2 Resetting Commands
Use the no command to reset Switch settings to their default values.
Syntax:
no https timeout
Resets the https session timeout to default.
An example is shown next. The session timeout is reset to 300 seconds.
47.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
sysname(config)# spanning-tree priority 0
sysname(config)# spanning-tree hello-time 4 maximum-age 20 forward-delay
15
sysname(config)# spanning-tree 5 path-cost 150
sysname(config)# spanning-tree 5 priority 20
sysname(config)# no https timeout
Cache timeout 300