Users Guide

Table Of Contents
3 Enter the allowed VLANs on the trunk port in INTERFACE mode.
switchport trunk allowed vlan vlan-id
Congure port in Trunk mode
OS10(config)# interface ethernet 1/1/6
OS10(conf-if-eth1/1/6)# switchport mode trunk
OS10(conf-if-eth1/1/6)# switchport trunk allowed vlan 108
View running conguration
OS10# show running-configuration
...
!
interface ethernet1/1/8
switchport mode trunk
switchport trunk allowed vlan 108
no shutdown
!
interface vlan1
no shutdown
!
...
Assign IP address
You can assign an IP address to each VLAN to make it a L3 VLAN. All the ports in that VLAN belong to that particular IP subnet.
The trac between the ports in dierent VLANs route using the IP address. Congure the L3 VLAN interface to remain administratively UP
or DOWN using the shutdown and no shutdown commands. This provisioning only aects the L3 trac across the members of a
VLAN and does not aect the L2 trac.
You must not assign an IP address to the default VLAN (VLAN 1).
NOTE
: However, the zero-touch deployment (ZTD) application requires this functionality. While ZTD is in progress, the system
assigns an IP address to the default VLAN to establish connectivity. After ZTD is complete, the system removes the IP address
assigned to the default VLAN.
You can place VLANs and other logical interfaces in L3 mode to receive and send routed trac.
1 Create a VLAN in CONFIGURATION mode, from 1 to 4093.
interface vlan vlan-id
2 Assign an IP address and mask to the VLAN in INTERFACE-VLAN mode.
ip address ip-address/prefix-length [secondary]
ip-address/prefix—length — Enter the IP address in dotted-decimal A.B.C.D/x format.
secondary — Enter the interface backup IP address.
Assign IP address to VLAN
OS10(config)# interface vlan 200
OS10(conf-if-vl-200)# ip address 10.1.15.1/8
View VLAN conguration
OS10(conf-if-vl-200)# do show interface vlan
Vlan 1 is up, line protocol is up
Address is , Current address is
Interface index is 69208865
Internet address is not set
MTU 1532 bytes
LineSpeed auto
438
Layer 2