set vlan
To set the VLAN ID for a subinterface for use with container instances, use the set vlan command.
set vlan id
Syntax Description
Sets the VLAN ID between 1 and 4095.
id
Command Modes
scope eth-uplink/scope fabric a/scope interface/create subinterface/
scope eth-uplink/scope fabric a/create port-channel/create subinterface/
Command History
ModificationRelease
Command added.2.4(1)
Usage Guidelines
You can add between 250 and 500 VLAN subinterfaces to the chassis, depending on your network deployment.
VLAN IDs per interface must be unique, and within a container instance, VLAN IDs must be unique across
all assigned interfaces. You can reuse VLAN IDs on separate interfaces as long as they are assigned to different
container instances. However, each subinterface still counts towards the limit even though it uses the same
ID.
Example
The following example creates 3 subinterfaces on Ethernet 1/1, and sets them to be data-sharing
interfaces.
firepower# scope eth-uplink
firepower /eth-uplink # scope fabric a
firepower /eth-uplink/fabric # scope interface Ethernet1/1
firepower /eth-uplink/fabric/interface # create subinterface 10
firepower /eth-uplink/fabric/interface/subinterface* # set vlan 10
firepower /eth-uplink/fabric/interface/subinterface* # set port-type data-sharing
firepower /eth-uplink/fabric/interface/subinterface* # exit
firepower /eth-uplink/fabric/interface # create subinterface 11
firepower /eth-uplink/fabric/interface/subinterface* # set vlan 11
firepower /eth-uplink/fabric/interface/subinterface* # set port-type data-sharing
firepower /eth-uplink/fabric/interface/subinterface* # exit
firepower /eth-uplink/fabric/interface # create subinterface 12
firepower /eth-uplink/fabric/interface/subinterface* # set vlan 12
firepower /eth-uplink/fabric/interface/subinterface* # set port-type data-sharing
firepower /eth-uplink/fabric/interface/subinterface* # commit-buffer
firepower /eth-uplink/fabric/interface/subinterface #
Related Commands
DescriptionCommand
Creates an EtherChannel (port channel).create port-channel
Adds a subinterface.create subinterface
Cisco Firepower 4100/9300 FXOS Command Reference
232
S Commands
set vlan