[Contents] [Prev] [Next] [Index] [Report an Error]

Creating VLAN Subranges That Include Static VLAN Subinterfaces

You can configure a bulk-configured VLAN subrange that includes the VLAN ID belonging to an existing VLAN on a static VLAN subinterface. This example is essentially the reverse of the procedure in Creating Static VLAN Subinterfaces Within VLAN Subranges.

To create a VLAN subrange that includes a static VLAN subinterface:

  1. Create the VLAN major interface.
    host1(config)#interface gigabitEthernet 3/1
    host1(config-if)#encapsulation vlan
  2. Specify a static VLAN subinterface.
    host1(config-if)#interface gigabitEthernet 3/1.201
  3. Do one of the following:
  4. Create a bulk-configured VLAN range that includes the VLAN ID of the previously configured VLAN. In this example, the VLAN range 100–250 includes VLAN ID 201.
    host1(config)#interface gigabitEthernet 3/1
    host1(config-if)#vlan bulk-config test2 vlan-range 100 250
  5. To fully configure the VLAN subinterface, assign an IP address or make it unnumbered.
    host1(config-if)#ip unnumbered loopback 0

encapsulation vlan

interface gigabitEthernet

interface tenGigabitEthernet

ip unnumbered

vlan bulk-config


[Contents] [Prev] [Next] [Index] [Report an Error]