ES-3124 User’s Guide

36.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.

36.4.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.

36.4.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.

ras(config)# no https timeout Cache timeout 300

36.4.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

Chapter 36 Configuration Mode Commands

279