
Command Line Interface
2.8
Ethernet Interface Configuration Mode
2.8.1 Entering
Mode
From Global Configuration mode, enter the following command:
interface
interface_family interface_name
where:
interface_family
Defines the type of interface to configure. The
family is
fastEthernet
for Fast Ethernet
interface or
gigabitEthernet
for Gigabit
Ethernet interface.
interface_name
Specifies which interface to configure. The name
consists of the port number (as it appears on the
faceplate).
The next prompt is
config-if-eth
.
Example
To enter the configuration for Fast Ethernet port 0, the
command is:
MyBox(config)# interface fastEthernet 0
Any change in this mode is not applied in real time but only when leaving
the current mode by running the
exit
command or explicitly requesting
change by running the
apply
command. However, the current mode can
be exited without saving by running the
abort
command.
2.8.2 Commands
2.8.2.1 autoneg
Description
This command is used to enable the interface auto-
negotiation ability. When this option is turned on, line speed and duplex
mode are automatically negotiated. Therefore, when auto-negotiation is
enabled, the
speed
and
duplex
commands are ignored.
Syntax
[no] autoneg
Default
On
Modes
Interface configuration
Example
To enable auto-negotiation:
1553-LZY 214 2655 C 2004-11-24
29