Enabling an interface, Disabling an interface, Configuring an interface – Enterasys Networks Security Router X-PeditionTM User Manual

Page 58: Displaying interface attributes

Advertising
background image

Utilizing the Command Line Interface

2-22 Managing the XSR

Ports can be enabled or disabled, configured for default settings, associated tables, clock rate,
priority group, and encapsulation, for example. Refer to the XSR CLI Reference Guide for more
details on Interface mode commands.

Enabling an Interface

The following command enables an interface.

XSR(config-if<S2/0>)#no shutdown

+

Enables serial interface 2

Disabling an Interface

An interface can be administratively disabled with the

shutdown

command:

XSR(config-if<S2/0>)#shutdown

+

Disables interface

Configuring an Interface

You can configure an interface only after invoking Interface configuration mode. Each interface
can be configured with a set of interface-specific commands. If you are unsure which commands
are available, type

?

to list them for the particular port. Consider the following sequence of

commands to configure a GigabitEthernet interface:

XSR#config terminal
XSR(config)#interface gigabitethernet 2
XSR(config-if<G2>)#?
description

+

Text describing this interface

duplex

+

Manually set the duplex mode

exit

+

Quit interface configuration mode

help

+

Description of the interactive help system

ip

+

Interface Internet Protocol config commands

loopback

+

Configure interface for internal loopback

no

+

Negate a command or set its defaults

shutdown

+

Shutdown the selected interface

speed

+

Manually set the line speed

XSR(config-if<F1>)exit

+

Quit Interface mode

Displaying Interface Attributes

You can display the current settings of an interface when in Privileged EXEC or Global
configuration mode. For example, type:

XSR#show interface fastethernet 1

or:

XSR(config)#show interface serial 1/0

Note: All interfaces are disabled by default.

Advertising