Configuring trusted DHCP options for dynamic individual users

This feature enables a BRAS to obtain user access information from trusted DHCP options when the BRAS acts as a DHCP relay. The BRAS includes the obtained user access information in the RADIUS attributes sent to the RADIUS server based on the following matrix.

RADIUS attributes

Associated DHCP options

NAS-PORT-ID

  • DHCPv4 Option 82 Suboption Circuit-ID

  • DHCPv6 Option 18

DSL_AGENT_CIRCUIT_ID

  • DHCPv4 Option 82 Suboption Circuit-ID

  • DHCPv6 Option 18

DSL_AGENT_REMOTE_ID

  • DHCPv4 Option 82 Suboption Remote-ID

  • DHCPv6 Option 37

If the BRAS trusts DHCPv4 Option 60 and DHCPv6 Option 16, the DHCPv4 users and DHCPv6 users use the ISP domains specified in DHCPv4 Option 60 and DHCPv6 Option 16, respectively.

To configure trusted DHCP options for dynamic individual users:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

This feature supports the following interfaces:

  • Layer 3 Ethernet interface and subinterface.

  • Layer 3 aggregate interface and subinterface.

  • L3VE interface and subinterface.

3. Configure trusted DHCP options for dynamic individual users.

  • Configure trusted DHCP options for IPv4 dynamic individual users:
    ip
    subscriber trust { option60 | option82 }

  • Configure trusted DHCP options for IPv6 dynamic individual users:ipv6 subscriber trust { option16 | option18 | option37 }

By default, the BRAS does not trust options.