User`s manual
Creating a Routing Interface
Command Line
You create a routing interface by creating a port-based VLAN and giving it an IP address.
Important:
Creating a routing interface adds a static route to the Switch's routing table.
●
A routing interface can include more than one port.●
A port can be a member of more than one routing interface.●
You cannot modify a routing interface. To change it, you must delete the interface and recreate it.●
Configuration steps
To create a port-based VLAN, you use the same command described in Configuring VLANs:
>set vlan [name <vlan_name>] <port_list> [802.1q] [vid]
vlan_name creates or changes the name of the VLAN. If the name includes a space, it must be enclosed
in quotation marks.
port_list is one or more ports assigned to this VLAN. A range of port numbers are separated by dashes,
non-continguous numbers by commas.
802.1q enables tagging on all ports in the VLAN. If you do not enter 802.1q in this command, tagging
remains disabled.
vid assigns the VLAN identifier to the VLAN. If a VID is not specified, the Switch assigns one at random.
When an existing VID is used, that VLAN is updated with any new parameters.
Example: >set vlan name "VLAN 2" 4-6, 10 802.1q 12
1.
To delete a VLAN either by its VID or VLAN name:
>clear vlan [vid | name <vlan_name>]
Example: >clear vlan 3
Example: >clear vlan name Engineering
2.
To create a routing interface, assign an IP address to a VLAN:
>set interface <vid> <ip_address> [/mask]
Example: >set interface 6 192.168.211.2
3.
To delete an interface:
>clear interface <ip _address> Example: >clear interface 192.168.3.16
4.
To see all IP routing interfaces, their subnet masks and VIDs:
>show interface Example: >show interface
5.
For more routing options, see:
Managing Routing Table Entries●
Configuring RIP●
Configuring OSPF●
78