Use this command to configure interfaces for IP routing.
vlan vlan-id | Specifies the number of the VLAN interface to be configured for routing. Valid VLAN interface values: 1 - 4094. |
loopback loopback-id | Specifies the number of the loopback interface to be configured for routing. Valid loopback interface values: 1 - 128. |
tunnel tunnel-id | Specifies the number of the layer 3 tunnel to be configured for routing. Valid layer 3 tunnel interface values: 1 - 50 (S-Series). |
interface-name | Specifies an interface name to be configured for routing. An interface name is specified in a vlan.x.y format or as an interface alias. |
None.
Configuration command, Global configuration mode.
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.
A VLAN routing interface can be configured before its VLAN is created in system configuration mode, but VLANs must be created from the system CLI before they will be operational within IP routing. See the “Configuring VLANs” section of the S-, K-, and 7100 Series Configuration Guide for VLAN configuration details.
Each VLAN, layer 3 tunnel (S-Series), or loopback 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.
To create a layer 3 tunnel on the S-Series, both endpoint devices must support the tunneling protocol. To configure a layer 3 tunnel on the interface, see Tunnel Configuration Commands for layer 3 tunnel configuration command details.
IPv4 and IPv6 forwarding are both enabled by default on loopback interfaces. Without forwarding, a loopback interface is unreachable. This configuration setting cannot be modified.
Each interface's network can be configured for the RIP, BGP (S-Series only), and OSPF routing protocol.
Each Extreme Networks S- K- and 7100-Series routing module or Standalone device can support up to 256 routing interfaces. Each interface can be configured for the RIP and/or OSPF routing protocols.
The “no” form of this command removes the specified routing interface configuration.
This example shows how to enter configuration mode for VLAN 2 using the interface-name format:
System(rw)->configure System(rw-config)->interface vlan.0.2 System(rw-config-intf-vlan.0.2)->
This example shows how to enter configuration mode for loopback 2 using the interface-name format:
System(rw)->configure System(rw-config)->interface loop.0.2 System(rw-config-intf-loop.0.2)->
This S-Series example shows how to enter configuration mode for layer 3 tunnel 1:
System(rw)->configure System(rw-config)->interface tunnel 1 System(rw-config-intf-tun.0.1)->