Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Relay Agent Option 82 Information

    You can specify the type the relay agent option 82 information that the router adds to DHCP packets before it relays the packets to the DHCP server. You can use one of the following keywords to add either the hostname or virtual router name to the front of the Circuit-Id field or to strip the subinterface ID from the Interface-Id field:

    • hostname—Adds the router’s hostname to the front of the Circuit-Id field; a colon separates the hostname from the circuit information
    • vrname—Adds the router’s virtual router name to the front of the Circuit-Id field; a colon separates the virtual router name from the circuit information
    • Use the exclude-subinterface-id to strip the subinterface ID from the Interface-Id field. When the interface ID is constructed, it contains the slot/port numbers, the subinterface ID, and the VPI/VCI for ATM interfaces or the VLAN ID for Ethernet interfaces. Use this keyword to remove the subinterface ID from the Interface-Id field.

    The hostname and vrname keywords are a toggle; that is, specifying either hostname or virtual router name turns off the other selection.

    • To configure the relay agent option 82 information:
      host1(config)#set dhcp relay options hostname

    Published: 2014-08-20