interface
Use this command to configure interfaces for IP routing.
Syntax
interface vlan vlan-id | loopback loop-id
Parameters
vlan vlan‐id
loopback loop‐id
Defaults
None.
Mode
Router global configuration mode: G3(su)‐>router(Config)#
Usage
This command enables interface configuration mode from global configuration mode, and, if the
interface has not previously been created, this command creates a new routing interface. For
details on configuration modes supported by the G‐Series device and their uses, refer to Table
in "Enabling Router Configuration Modes" on page 14‐2.
VLANs must be created from the switch CLI before they can be configured for IP routing. For
details on creating VLANs and configuring them for IP, refer to "Enabling Router Configuration
Modes" on page 14‐2.
Each VLAN interface must be configured for routing separately using the interface command. To
end configuration on one interface before configuring another, type exit at the command prompt.
Enabling interface configuration mode is required for completing interface‐specific configuration
tasks. For an example of how these commands are used, refer to "Pre‐Routing Configuration
Tasks" on page 14‐1.
A loopback interface is always expected to be up. This interface can provide the source address for
sent packets and can receive both local and remote packets. The loopback interface is typically
used by routing protocols. If RADIUS is configured with no host IP address on the device, it will
use the loopback interface 0 IP address (if it has been configured) as its source for the NAS‐IP
attribute.
Each G‐Series system can support up to 24 routing interfaces. Each interface can be configured for
the RIP and/or OSPF routing protocols.
Specifies the number of the VLAN interface to be configured for routing.
This interface must be configured for IP routing as described in "Pre‐
Routing Configuration Tasks" on page 14‐1.
Specifies the number of the loopback interface to be configured for routing.
The value of loop‐id can range from 0 to 7.
Note: For information about configuring tunnel interfaces, see
page 15-7.
"Configuring Tunnel
Interfaces" on
Enterasys G-Series CLI Reference 15-3
interface
14‐2