Table Of Contents
DHCP—Subscriber Identifier Suboption of Option82
How to Configure DHCP—Subscriber Identifier Suboption of Option 82
Configuring the Unique Subscriber Identifier
Configuration Examples for DHCP—Subscriber Identifier Suboption of Option 82
ATM Interface Configuration for Subscriber-Identifier Option: Example
ip dhcp relay information option subscriber-id
DHCP—Subscriber Identifier Suboption of Option82
The DHCP—Subscriber Identifier Suboption of Option82 feature adds a unique identifier that is a configurable string in the relay agent information option (option82.) The unique identifier enables an Internet Service Provider (ISP) to identify a subscriber, to assign specific actions to that subscriber (for example, assignment of host IP address, subnet mask, and domain name server [DNS]), and to trigger accounting.
In previous Cisco IOS releases, if a subscriber moved, each ISP had to be informed of the change and all of the ISPs had to change the DHCP settings for the affected customers at the same time. Even if the service was not changed, every move involved administrative changes in the ISP environment causing a delay in the customer service.
History for the DHCP—Subscriber Identifier Suboption of Option 82 Feature
Release Modification12.3(14)T
This feature was introduced.
12.2(27)SBA
This feature was integrated into Cisco IOS Release 12.2(27)SBA.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
How to Configure DHCP—Subscriber Identifier Suboption of Option 82
•
Configuration Examples for DHCP—Subscriber Identifier Suboption of Option 82
How to Configure DHCP—Subscriber Identifier Suboption of Option 82
This section contains the following procedure:
•
Configuring the Unique Subscriber Identifier (required)
Configuring the Unique Subscriber Identifier
When the unique subscriber identifier is configured on the interface of the relay agent, the identifier is added to option82 in all of the client DHCP packets to the DHCP server. When the server echoes option82 in the reply packets, the relay agent removes option82 before forwarding the reply packet to the client. When an interface is numbered, all renew packets and release packets are unicast to the server, so option82 is not added.
In case of unnumbered interfaces, all the client packets are sent to the relay. Option82 is added in all the client packets before forwarding the packets to the server. If the server does not echo option82 in the packet, and if the relay agent is configured to validate the option in the packet (the default), then the relay agent will drop the packet. If the reply packet does not contain option82, then the validation fails and the packet is dropped by the relay agent. The client cannot get any IP address because of the validation failure. In this case, the existing no ip dhcp relay information check command can be used to avoid the option82 invalidation.
Note
The unique identifier should be configured for each subscriber and when a subscriber moves from one interface to the other, the configuration of the interface should be changed also.
Prerequisites
The new configurable subscriber-identifier option should be configured on the interface connected to the client.
The server should be able to recognize the new suboption.
Restrictions
The configurable string is not an option for NAS-IP, because users can move between NAS termination points. When a subscriber moves from one NAS to another, this option does not result in a configuration change on the side of the DHCP server of the ISP.
The string can be ASCII text only.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
ip dhcp relay information option subscriber-id string
5.
exit
DETAILED STEPS
Configuration Examples for DHCP—Subscriber Identifier Suboption of Option 82
This section provides the following configuration example:
•
ATM Interface Configuration for Subscriber-Identifier Option: Example
ATM Interface Configuration for Subscriber-Identifier Option: Example
The following example shows how to configure an ATM interface for the subscriber identifier option.
ip dhcp relay information option!interface Loopback0ip address 10.1.1.129 255.255.255.192!interface ATM4/0no ip address!interface ATM4/0.1 point-to-pointip helper-address 10.16.1.2ip unnumbered Loopback0ip dhcp relay information option subscriber-id newperson123atm route-bridged ippvc 88/800encapsulation aal5snapAdditional References
The following sections provide references related to the DHCP—Subscriber Identifier Suboption of Option82 feature.
Related Documents
Related Topic Document TitleIP addressing and services configuration tasks
Cisco IOS IP Configuration Guide, Release 12.3
IP addressing and services commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples
Cisco IOS IP Command Reference, Volume 1 of 4: Addressing and Services, Release 12.3T
DHCP configuration tasks
"Configuring DHCP" chapter of the Cisco IOS IP Configuration Guide, Release 12.3
DHCP Option 82 overview
Standards
Standards TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
RFCs TitleDraft
Subscriber-Identifier Suboption for the DHCP Relay Agent Option (www.ietf.org/internet-drafts/draft-ietf-dhc-subscriber-id-07.txt)
Technical Assistance
Command Reference
This section documents one new command only.
•
ip dhcp relay information option subscriber-id
ip dhcp relay information option subscriber-id
To specify that a Dynamic Host Configuration Protocol (DHCP) relay agent add a subscriber identifier suboption to option82, use the ip dhcp relay information option subscriber-id command in interface configuration mode. To disable the subscriber identifier, use the no form of this command.
ip dhcp relay information option subscriber-id string
no ip dhcp relay information option subscriber-id string
Syntax Description
string
Up to a maximum of 50 characters that can be alphanumeric. The string can be ASCII text only.
Note
If more than 50 characters are configured, the string is truncated.
Defaults
Disabled to allow backward capability.
Command Modes
Interface configuration
Command History
Release Modification12.3(14)T
This command was introduced.
12.2(27)SBA
This command was integrated into Cisco IOS Release 12.2(27)SBA.
Usage Guidelines
When the unique subscriber identifier is configured on the relay agent and the interface, the identifier is added to option82 in all of the client DHCP packets to the DHCP server. When the server echoes option82 in the reply packets, the relay agent removes option82 before forwarding the reply packet to the client. When an interface is numbered, all renew packets and release packets are unicast to the server, so option82 is not added.
The unique identifier should be configured for each subscriber and when a subscriber moves from one interface to the other, the configuration of the interface should be changed also.
In case of unnumbered interfaces, all the client packets are sent to the relay. Option82 is added in all the client packets before forwarding the packets to the server. If the server does not echo option82 in the packet, the relay agent tries to validate option82 in the reply packet. If the reply packet does not contain option82, then the validation fails and the packet is dropped by the relay agent. The client cannot get any IP address because of the validation failure. In this case, the existing no ip dhcp relay information check command can be used to avoid the option82 invalidation.
Note
The configurable string is not an option for network access server (NAS)-IP, because users can move between NAS termination points. When a subscriber moves from one NAS to another, this option does not result in a configuration change on the side of the DHCP server of the ISP.
Examples
The following example shows how to configure an ATM interface for the subscriber identifier suboption.
ip dhcp relay information option!interface Loopback0ip address 10.1.1.129 255.255.255.192!interface ATM4/0no ip address!interface ATM4/0.1 point-to-pointip helper-address 10.16.1.2ip unnumbered Loopback0ip dhcp relay information option subscriber-id newperson123atm route-bridged ippvc 88/800encapsulation aal5snapRelated Commands
Copyright © 2005 Cisco Systems, Inc. All rights reserved.


