Netgear M7100-24X (XSM7224) - ProSAFE 24 Ports 10G Fully Managed L2 Switch Guia Do Programa
Routing Commands
719
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Virtual LAN Routing Commands
This section describes the commands you use to view and configure VLAN routing and to
view VLAN routing status information.
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
The interface-id
value has a range from 1 to 128. Typically, you do 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.
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
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.
Command example:
The following example specifies a VLAN ID value. The interface ID argument is not used.
(NETGEAR Switch)(Vlan)#vlan 14
(NETGEAR 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.
selects the interface ID.
Command example:
The following example 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.
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.
Format
vlan routing vlanid [interface-id]
Mode
VLAN Config
Format
no vlan routing vlanid
Mode
VLAN Config