Switchport

When an interface is in switchport mode, it will pass multiple tagged VLANs, or one untagged VLAN. It cannot accept both untagged and tagged traffic.

To configure Switchport
FTOS#config
FTOS(conf)#Interface Te 1/10
FTOS(conf-if-te-1/10)#switchport

To remove switchport
FTOS(conf-if-te-1/10)#no switchport

Hybrid switchport

When an interface is in hybrid switchport mode, the interface may pass both untagged and tagged VLANs.
To configure Hybrid switchport
FTOS#config
FTOS(conf)#Interface Te 1/10
FTOS(conf-if-te-1/10)#portmode hybrid
FTOS(conf-if-te-1/10)#switchport

To remove Hybrid switchport
FTOS(conf-if-te-1/10)#no switchport
FTOS(conf-if-te-1/10)#no portmode hybrid

Creating VLANs

To create a VLAN, input the following commands. This example creates VLANs 414 and 515
FTOS#config
FTOS(conf)#Interface Vlan 212
FTOS(conf-if-vl-212)#exit
FTOS(conf)#Interface Vlan 111

Applying VLANs to interfaces

To add a VLAN to an interface untagged, input the following commands.
FTOS#config
FTOS(conf)#Interface Vlan 212
FTOS(conf-if-vl-414)#untagged te 1/10

To add a VLAN to an interface with an 802.1Q tag, input the following command.
FTOS(conf-if-vl-414)#tagged te 1/10

To apply Multiple VLANs to an interface
FTOS(conf)#interface range Vlan 111 – 212
% Warning: Non-existing ports (not configured) are ignored by interface-range

 


Leave a Reply

Your email address will not be published. Required fields are marked *

4 × 5 =