beautypg.com

3 shutdown, Command mode, User guidelines – PLANET WGSD-1022 User Manual

Page 169: Example, Syntax, Default configuration, Examples

background image

Command Mode

Global Configuration mode

User Guidelines

Commands under the interface range context are executed independently on each active interface in the

range. If the command returns an error on one of the active interfaces, it does not stop executing

commands on other active interfaces.

Example

The following example shows how ports e1 to e4 and ports g1 to g2 are grouped to receive the same

command.

Console(config)# interface range ethernet e1 – e4, g1 - g2

Console(config-if)#

5.7.3 shutdown

The shutdown interface configuration command disables interfaces. To restart a disabled interface, use

the no form of this command.

Syntax

shutdown

no shutdown

Default Configuration

The interface is enabled.

Command Mode

Interface Configuration (Ethernet, port-channel, out-of-band Ethernet) mode

User Guidelines

There are no user guidelines for this command.

Examples

The following example disables Ethernet e5.

Console(config)# interface ethernet e5

Console(config-if)# shutdown

The following example re-enables Ethernet port e5.