[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Creating Static VLAN
Subinterfaces Within VLAN Subranges
You can configure a static VLAN subinterface with
a VLAN whose VLAN ID falls within an existing bulk-configured VLAN
subrange.
To create a static VLAN subinterface within a VLAN
subrange:
- Create the VLAN major interface.
- host1(config)#interface gigabitEthernet 0/0
- host1(config-if)#encapsulation vlan
- Create a bulk-configured VLAN range that includes one
or more VLAN subranges.
- host1(config-if)#vlan bulk-config test vlan-range
200 250
- Create a static VLAN subinterface by adding a subinterface
number to the interface identification command.
- host1(config-if)#interface gigabitEthernet
0/0.2100
- Do one of the following:
- Assign a VLAN ID for the subinterface.
- host1(config-if)#vlan id 201
- Assign a VLAN ID and the optional unique MAC address for
the subinterface.
- host1(config-if)#vlan id 201 mac-address 0090.1a01.1234
- To fully configure the VLAN subinterface, assign an IP
address, or make it unnumbered.
- host1(config-if)#ip unnumbered loopback 0
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]