Previous Topic

Next Topic

Book Contents

Virtual LAN Routing Commands

This section describes the commands you use to view and configure VLAN routing and to view VLAN routing status information.

vlan routing

This command enables routing on a VLAN. The vlanid value has a range from 1 to 4093. The [interface ID] value has a range from 1 to 128. Typically, you will not supply the interface ID argument, and the system automatically selects the interface ID. However, if you specify an interface ID, the interface ID becomes the port number in the unit/slot/port for the VLAN routing interface. If you select an interface ID that is already in use, the CLI displays an error message and does not create the VLAN interface. For products that use text based configuration, including the interface ID in the vlan routing command for the text configuration ensures that the unit/slot/port for the VLAN interface stays the same across a restart. Keeping the unit/slot/port the same ensures that the correct interface configuration is applied to each interface when the system restarts.

no vlan routing

This command deletes routing on a VLAN. The <vlanid> value has a range from 1 to 4094.

show ip vlan

This command displays the VLAN routing information for all VLANs with routing enabled.

See also

Routing Commands

Address Resolution Protocol (ARP) Commands

IP Routing Commands

Router Discovery Protocol Commands

Virtual Router Redundancy Protocol Commands

DHCP and BOOTP Relay Commands

IP Helper Commands

Open Shortest Path First (OSPF) Commands

Routing Information Protocol (RIP) Commands

ICMP Throttling Commands