Vubiq Networks Inc. V10G-L Benutzerhandbuch

Seite von 69
 
40  
Vubiq HaulPass V10g User Manual 
 
 
  
 
              © 2018 Vubiq Networks, Inc. All Rights Reserved 
CLI example 
– configure as Access port on the first Gigabit port: 
configure terminal 
(config)# interface GigabitEthernet 1/1 
(config-if)# switchport mode access 
(config-if)# exit 
(config)# exit 
CLI example 
– configure as Trunk port on the first Gigabit port: 
configure terminal 
(config)# interface GigabitEthernet 1/1 
(config-if)# switchport mode trunk 
(config-if)# exit 
(config)# exit 
CLI example 
– configure as Hybrid port on the first Gigabit port: 
configure terminal 
(config)# interface GigabitEthernet 1/1 
(config-if)# switchport mode hybrid 
(config-if)# exit 
(config)# exit 
 
Figure 21. VLAN Mode Configuration 
Port VLAN 
Port VLAN determines the port's VLAN ID, or PVID.  Allowed VLANs are in the range of 1 through 4095, with the 
default being 1. 
On ingress, frames get classified to the Port VLAN if the port is configured as VLAN unaware, the frame is 
untagged, or VLAN awareness is enabled on the port, but the frame is priority tagged (VLAN ID = 0). 
On egress, frames classified to the Port VLAN do not get tagged if Egress Tagging is set to untag port VLAN.  Port 
VLAN is called an Access VLAN for ports in access mode and Native VLAN for ports in trunk or hybrid mode. 
CLI example 
– set Port VLAN to 2 on the second Gigabit port (configured as access mode): 
configure terminal 
(config)# interface GigabitEthernet 1/2 
(config-if)# switchport mode access 
(config-if)# switchport access vlan 2 
(config-if)# exit 
(config)# exit