VLAN configuration and Associating the VLAN to a physical interface
Command | Purpose |
FTOS#configure | Enter configuration mode. |
FTOS(conf)#interface vlan 20 | Enter and create the VLAN interface. |
FTOS(conf-if-vl-20)#description Finance | Create a description for the VLAN for identification. |
FTOS(conf-if-vl-20)#tagged te 0/1 | Associate physical port with the VLAN. Options are tagged (802.1Q) or untagged. |
FTOS(conf-if-vl-20)#end | Exit back to privilege mode. |
FTOS# show vlan | Verify the VLAN configuration. |
FTOS#configure | Enter configuration mode. |
FTOS#(conf) no interface vlan 20 | Command to remove VLAN after all port associations are removed. |
Command | Purpose |
FTOS#configure | Enter configuration mode. |
FTOS(conf)#interface te 0/1 | Enter the physical interface level. |
FTOS(conf-if-te-0/1)# switchport | Set the interface for Layer 2. This allows VLANs to be associated tagged or untagged. |
FTOS#show vlan
Codes: * - Default VLAN, G - GVRP VLANs, R - Remote Port Mirroring VLANs, P - Primary, C - Community, I - Isolated
O - Openflow
Q: U - Untagged, T - Tagged
x - Dot1x untagged, X - Dot1x tagged
o - OpenFlow untagged, O - OpenFlow tagged
G - GVRP tagged, M - Vlan-stack, H - VSN tagged
i - Internal untagged, I - Internal tagged, v - VLT untagged, V - VLT tagged
NUM Status Description Q Ports
* 1 Inactive U Te 0/0
20 Inactive Finance T Te 0/1