This example shows how you can configure a dynamic subscriber interface in an IP over VLAN over Ethernet configuration by using DHCP events.
This example uses the following software and hardware components:
Figure 1 shows the interface stack built for this configuration.
Figure 1: IP over VLAN over Ethernet Dynamic Subscriber Interface Configuration

To configure a dynamic subscriber interface in an IP over VLAN over Ethernet configuration by using DHCP events, perform the following steps:
For instructions, see Configuring the DHCP Local Server .
![]() | Note: You can configure only the primary port, 0, on the Gigabit Ethernet module. The router automatically uses the redundant port if the primary port fails. |
Use the no version to remove IP from an interface. You must issue the no version from the highest level down; you cannot remove an interface or a subinterface if the one above it still exists.
Use the no version to disable VLAN encapsulation on the interface.
You need to specify a VLAN ID number that is in the range 0–4095 and is unique within the Ethernet interface. Issue the vlan id command before you configure any upper-layer interfaces, such as IP.
There is no no version.
You must specify the layer 2 encapsulation before you set the IP address. Issuing this command creates the primary IP interface. You must create a primary IP interface on which to enable dynamic creation of subscriber interfaces.
Use the no version to remove the IP address or to disable IP processing.
You can use this command to configure a subscriber interface or a primary IP interface enabled for dynamic creation of subscriber interfaces to demultiplex traffic with the specified source address. Use the no version to remove the association between the interface and the specified IP source address and mask.