Reference Guide

Move an Untagged Interface to Another VLAN
FTOS#show vlan
Codes: * - Default VLAN, G - GVRP VLANs
NUM Status Q Ports
* 1 Active U Gi 3/2
2 Active T Po1(So 0/0-1)
T Gi 3/0
3 Active T Po1(So 0/0-1)
T Gi 3/1
4 Inactive
FTOS#conf
FTOS(conf)#int vlan 4
FTOS(conf-if-vlan)#
untagged gi 3/2
FTOS(conf-if-vlan)#show config
!
interface Vlan 4
no ip address
untagged GigabitEthernet 3/2
FTOS(conf-if-vlan)#end
FTOS#show vlan
Codes: * - Default VLAN, G - GVRP VLANs
NUM Status Q Ports
* 1 Inactive
2 Active T Po1(So 0/0-1)
T Gi 3/0
3 Active T Po1(So 0/0-1)
T Gi 3/1
4 Active U Gi 3/2
FTOS#
The only way to remove an interface from the Default VLAN is to place the interface in Default mode by using the no
switchport
command in INTERFACE mode.
Assigning an IP Address to a VLAN
VLANs are a Layer 2 feature. For two physical interfaces on different VLANs to communicate, you must assign an IP
address to the VLANs to route traffic between the two interfaces.
The shutdown command in INTERFACE mode does not affect Layer 2 traffic on the interface; the shutdown
command only prevents Layer 3 traffic from traversing over the interface.
NOTE: You cannot assign an IP address to the Default VLAN (VLAN 1). To assign another VLAN ID to the Default
VLAN, use the default vlan-id vlan-id command.
In FTOS, you can place VLANs and other logical interfaces in Layer 3 mode to receive and send routed traffic. For more
information, refer to Bulk Configuration.
To assign an IP address, use the following command.
Configure an IP address and mask on the interface.
INTERFACE mode
ip address ip-address mask [secondary]
ip-address mask — Enter an address in dotted-decimal format (A.B.C.D) and the mask must be in
slash format (/24).
706