7-4
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 7 Configuring IP Unnumbered on IEEE 802.1Q VLANs
Configuration Examples for IP Unnumbered on VLANs
Example 7-1
configures IP unnumbered on the Fast Ethernet 1/0.1 subinterface.
Example 7-1
Configuring IP Unnumbered on an Ethernet VLAN Subinterface
Router(config)# interface fastethernet 1/0.1
Router(config-subif)# encapsulation dot1q 10
Router(config-subif)# ip unnumbered ethernet3/0
Configuring IP Unnumbered for a Range of Ethernet VLAN Subinterfaces
To configure IP unnumber on a range of Ethernet VLAN subinterfaces, enter the following commands
beginning in global configuration mode:
Example 7-2
configures IP unnumbered on the Fast Ethernet subinterfaces 1/0.1 to 1/0.1000.
Example 7-2
Configuring IP Unnumbered on a Range of Ethernet VLAN Subinterfaces
Router(config)# interface range fastethernet 1/0.1 - fastethernet 1/0.1000
Router(config-subif-range)# ip unnumbered ethernet 3/0
Configuration Examples for IP Unnumbered on VLANs
The following example enables IP unnumbered on the Fast Ethernet 0/0.1 VLAN subinterface:
!
interface fastethernet0/0.1
encapsulation dot1q 101
ip unnumbered ethernet 0
Command
Purpose
Step 1
Router(config)#
interface range
type
number slot
/
module
/
port
.
subinterface
-
type number slot
/
module
/
port
.
subinterface
Configures a range of subinterfaces and enters subinterface-range
configuration mode.
Step 2
Router(config-subif-range)#
encapsulation
dot1q
vlan-id
[
native
]
Applies a VLAN ID to each subinterface within the range you
specify using the
interface range
command.
The VLAN ID that you specify in the
vlan-id
argument is applied
to the first subinterface in the range. Each subsequent interface is
assigned a VLAN ID, which is the specified
vlan-id
plus the
subinterface number minus the first subinterface number. For
example:
VLAN ID + subinterface number - first subinterface number
Step 3
Router(config-subif-range)#
ip unnumbered
type
number
Enables IP processing on a serial interface without assigning an
explicit IP address to the interface. IP unnumbered is disabled by
default.
The
type
and
number
arguments indicate the type and number of
another interface on which the router has an assigned IP address.
It cannot be another unnumbered interface.