Connectivity Guide

Table Of Contents
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
Flowcontrol rx off tx off
ARP type: ARPA, ARP Timeout: 240
Last clearing of "show interface" counters Queueing strategy: fifo Time since last interface
status change:
Vlan 200 is up, line protocol is up
Address is , Current address is
Interface index is 69209064
Internet address is not set
MTU 1532 bytes
LineSpeed auto
Flowcontrol rx off tx off
ARP type: ARPA, ARP Timeout: 240
Last clearing of "show interface" counters Queueing strategy: fifo Time since last interface
status change:
Vlan 320 is up, line protocol is up
Address is , Current address is
Interface index is 69209184
Internet address is 20.2.11.1/24
MTU 1532 bytes
LineSpeed auto
Flowcontrol rx off tx off
ARP type: ARPA, ARP Timeout: 240
Last clearing of "show interface" counters Queueing strategy: fifo Time since last interface
status change:
View VLAN conguration
You can view conguration information related to VLANs using show commands.
View the VLAN status and conguration information in EXEC mode.
show vlan
View the VLAN interface conguration in EXEC mode.
show interfaces vlan
View the VLAN interface conguration for a specic VLAN ID in EXEC mode.
show interfaces vlan vlan-id
Layer 2
267