RUGGEDCOM ROX II
CLI User Guide
Chapter 12
Tunneling and VPNs
Viewing a List of Virtual Switch VLANs 369
Section12.1.8.1
Viewing a List of Virtual Switch VLANs
To view a list of virtual switch VLANs, type:
show running-config interface virtualswitch id vlan
Where:
• id is the ID assigned to the virtual switch
If VLANs have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config interface virtualswitch 1 vlan | tab
IP
ADDRESS
VID SRC QOS INGRESS MARK
----------------------------------
100 static
!
!
If no virtual switch VLANs have been configured, add VLANs as needed. For more information, refer to
Section12.1.8.2, “Adding a Virtual Switch VLAN”.
Section12.1.8.2
Adding a Virtual Switch VLAN
To add virtual switch VLAN, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the VLAN by typing:
interface virtualswitch id vlan vlan-id
Where:
• id is the ID assigned to the virtual switch
• vlan-id is the ID assigned to the VLAN
3. Configure the following parameter(s) as required:
Parameter Description
ip-address-src { ip-address-src } Synopsis: { static, dynamic }
Default: static
Whether the IP address is static or dynamically assigned via DHCP or BOOTP.
ipv6-address-src { ipv6-address-src } Synopsis: { static, dynamic }
Default: static
Whether the IPv6 address is static or dynamically assigned via DHCPv6
4. [Optional] Add a QoS map. For more information, refer to Section16.2.7.2, “Adding a QoS Map”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.