VLAN Creation - CLI Interface
From EXEC Privilege mode, use the configure command to enter Global Configuration mode. Use the interface vlan vlan-id command to create the new vlan. Enter a description for the VLAN, if desired.
Use the tagged interface interface number command to assign
the vlan as tagged to specificed interfaces.
Use the untagged interface interface number command to assign the vlan as untagged to specificed interfaces.
Assign an IP address to the VLAN using the ip address address/mask
command. Then enable the interface with no
shutdown.
From EXEC Privilege mode, use the configure command to enter Global Configuration mode. Use the interface vlan vlan-id command to create the new vlan. Enter a description for the VLAN, if desired.
FTOS# configure
FTOS(conf)# interface vlan 10
FTOS(conf-if-vl-10)# description string
FTOS(conf-if-vl-10)#
Use the untagged interface interface number command to assign the vlan as untagged to specificed interfaces.
FTOS(conf-if-vl-10)# tagged interface tengig 0/2
FTOS(conf-if-vl-10)# untagged interface tengig 0/3
FTOS(conf-if-vl-10)#
FTOS(conf-if-vl-10)# ip address 192.168.1.1 /24
FTOS(conf-if-vl-10)# no shutdown
FTOS(conf-if-vl-10)#
No comments:
Post a Comment