5 no command examples, 1 disable commands, 2 resetting commands – ZyXEL Communications GS-2724 User Manual
Page 273: 3 re-enable commands
Chapter 40 Configuration Mode Commands
GS-2724 User’s Guide
273
• Enable STP on port 5 with a path cost of 150.
• Set the priority for port 5 to 20.
40.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.
40.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.
40.5.2 Resetting Commands
Use the
no
command to reset 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.
40.5.3 Re-enable commands
The no command can also be used to re-enable features which have been disabled.
Syntax:
no ip route
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