[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:
- Create the VLAN major interface.
- host1(config)#interface gigabitEthernet 3/1
- host1(config-if)#encapsulation vlan
- Specify a static VLAN subinterface.
- host1(config-if)#interface gigabitEthernet
3/1.201
- 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
- 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
- To fully configure the VLAN subinterface, assign an IP
address or make it unnumbered.
- host1(config-if)#ip unnumbered loopback 0
encapsulation vlan
- Use to configure VLAN as the encapsulation method on an
interface.
- Issuing this command creates the VLAN major interface.
- Example
- host1(config-if)#encapsulation vlan
- Use the no version to disable
VLAN encapsulation on the interface.
- See encapsulation vlan.
interface gigabitEthernet
interface tenGigabitEthernet
ip unnumbered
- Use to configure an unnumbered IP interface.
- This command enables IP processing on an interface without
assigning an explicit IP address to the interface.
- You must specify an interface location, which is the identifier
of another interface on which the router has an assigned IP address.
This interface cannot be another unnumbered interface.
- Examples
- host1(config-if)#ip unnumbered fastEthernet
3/0
- host1(config-if)#ip unnumbered loopback 10
- Use the no version to disable
IP processing on the interface.
- See ip unnumbered.
vlan bulk-config
- Use to create a bulk-configured VLAN range on a static
VLAN major interface for use by a dynamic VLAN subinterface.
- For detailed information about how to use this command,
see vlan bulk-config.
- Example
- host1(config)#vlan bulk-config test1 svlan-range
200 250 2 2
- Use the no version to remove
the specified VLAN range from the VLAN major interface, to remove
the specified subranges from the specified VLAN range, or to remove
all subranges from the specified VLAN range. The no version also removes any overriding profile assignments for VLAN
IDs or S-VLAN IDs within the deleted VLAN range or VLAN subrange.
- See vlan bulk-config/
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]