Chapter 15 DHCP
IES4005M User’s Guide
131
Agent is enabled, the system will also display an error when you enable transparent VLAN on the
same VLAN.
This example shows how to enable DHCP L2 Agent on VLAN 200 and then configure DHCP option 18
to add this system’s model name, the slot, subscriber port, and SVLAN ID from which the request
was received.
This example shows how to enable IP-MAC binding on DSL port 1 on the line card in slot 2, set the
DHCP snooping database max lease count to 10, and display the DHCP snooping database and
ras# show dhcp vlan *
vid transparent l2agent LDRA option82subopt1 option82subopt2 option18 option37
---- ----------- ------- ---- --------------- --------------- -------- --------
100 - V - - - - -
option82subopt1(Circuit ID) info
--------------------------------
option82subopt2(Remote ID) info
-------------------------------
option18(Interface ID) info
---------------------------
option37(Remote ID) info
------------------------
ras# config
ras(config)# dhcp transparent vlan 100
Error: cannot enable both transparent and L2 agent.
ras(config)# no dhcp l2agent vlan 100
ras(config)# dhcp transparent vlan 100
ras(config)#
ras# config
ras(config)# dhcp l2agent vlan 200
ras(config)# dhcp l2agent opt18-interface-id vlan 200 option-info %hmodel%slotid%pid%svlan
ras(config)# exit
ras# show dhcp vlan 200
vid transparent l2agent LDRA option82subopt1 option82subopt2 option18 option37
---- ----------- ------- ---- --------------- --------------- -------- --------
200 - V - - - V -
option82subopt1(Circuit ID) info
--------------------------------
option82subopt2(Remote ID) info
-------------------------------
option18(Interface ID) info
---------------------------
%hmodel%slotid%pid%svlan
option37(Remote ID) info
------------------------
ras#