Port Configuration; Switchport Access Mode; Switchport Hybrid Mode; Switchport Trunk Mode - Lenovo NE1032 Quick Start Manual

Hide thumbs Also See for NE1032:
Table of Contents

Advertisement

 
Port Configuration 
By default, all ports are in access mode for VLAN 1. If you are not utilizing VLANs in your environment, you will not 
need to configure the VLAN settings for the switch ports further. We recommend isolating backplane ports for Scale 
Computing equipment to a VLAN other than 1 using access mode. 
 
Switchport Access Mode 
Access mode allows only one VLAN to be configured for a switch port. Use this mode when connecting an end 
device that is unaware of VLANs, such as the Scale Computing node backplane ports. 
(config)#​
interface ethernet 1/1
(config-if)#​
switchport mode access
(config-if)#​
switchport access vlan 10
 
 
Switchport Hybrid Mode 
Hybrid mode is used when an interface needs to carry multiple VLANs, such as the Scale Computing LAN ports. If 
your VMs need access to specific VLANs other than what the Scale Computing node itself resides upon, you will 
need to tag those VLANs. In this example, the Scale Computing appliance is being managed on VLAN 5. The 
management interface is unaware of VLANs and thus needs to be untagged traffic. Note that VLAN 5 is omitted from 
the list of ​ e gress-tagged​ VLANs. 
(config)#​
interface ethernet 1/1
(config-if)#​
switchport mode hybrid
(config-if)#​
switchport hybrid native vlan 5
(config-if)#​
switchport hybrid allowed vlan 1-10
(config-if)#​
switchport hybrid egress-tagged vlan 1,2,3,4,6,7,8,9,10
(config-if)#​
show interface eth1/1 switchport
(config-if)#​
show running-config interface ethernet1/1
 
 
Switchport Trunk Mode 
Trunk mode is also used when an interface needs to carry multiple VLANs. Trunk mode configuration is less explicit 
than Hybrid mode. In the following configuration example, the Scale Computing appliance is being managed on 
VLAN 5.  
(config)#​
interface ethernet 1/1
(config-if)#​
switchport mode trunk
(config-if)#​
switchport trunk allowed vlan all
(config-if)#​
switchport trunk native vlan 5
(config-if)#​
show interface eth1/1 switchport
(config-if)#​
show running-config interface ethernet1/1
 
 
 
 
©
Scale Computing 2018
12 

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents