Qtech QSW-3300-28F-AC-AC [541/693] Virtual lan routing commands

Qtech QSW-3300-28F-AC-AC [541/693] Virtual lan routing commands
Virtual LAN Routing Commands
Software User Manual
CLI Command Reference
Page 558
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.
Example:
Example 1 shows the command specifying a vlanid value. The interface ID argument is not used.
(Switch)(Vlan)#vlan 14
(Switch)(Vlan)#vlan routing 14 ?
<cr> Press enter to execute the command.
<1-24> Enter interface ID
Typically, you press <Enter> without supplying the Interface ID value; the system automatically selects the
interface ID.
Example:
In Example 2, the command specifies interface ID 51 for VLAN 14 interface. The interface ID
becomes the port number in the unit/slot/port for the VLAN routing interface. In this example, unit/
slot/port is 4/51 for VLAN 14 interface.
(Switch)(Vlan)#vlan 14 51
(Switch)(Vlan)#
(Switch)#show ip vlan
MAC Address used by Routing VLANs: 00:11:88:59:47:36
Logical
VLAN ID Interface IP Address Subnet Mask
------- -------------- --------------- ---------------
10 4/1 172.16.10.1 255.255.255.0
11 4/50 172.16.11.1 255.255.255.0
12 4/3 172.16.12.1 255.255.255.0
Format
vlan routing vlanid [interface ID]
Mode VLAN Config
Format
no vlan routing vlanid
Mode VLAN Config

Содержание

Скачать