Copyright © 2017, Juniper Networks, Inc.
The second procedure, which applies only to DHCPv4 relay agent, is described in
"Configuring DHCP Snooped Packets Forwarding Support for DHCP Relay Agent" on
page
77, and configures the forwarding action for snooped clients, which specifies whether
DHCP relay agent forwards or drops snooped traffic.
You can enable or disable DHCP globally for DHCP relay, for a group of interfaces, or for
a specific interface in a group.
By default, DHCP snooping is disabled for DHCP relay. To enable or disable DHCP snooping
support globally:
Specify that you want to configure DHCP relay agent.
1.
For DHCP relay agent:
[edit]
user@host# edit forwarding-options
For DHCPv6 relay agent:
[edit]
user@host# edit forwarding-options dhcp-relay
Specify that you want to override the default configuration.
2.
For DHCP relay agent:
[edit forwarding-options dhcp-relay]
user@host# edit
overrides
For DHCPv6 relay agent:
[edit forwarding-options dhcp-relay dhcpv6]
user@host# edit
overrides
Enable or disable DHCP snooping support.
3.
To enable DHCP snooping:
For DHCP relay agent:
[edit forwarding-options dhcp-relay overrides]
user@host# set
allow-snooped-clients
For DHCPv6 relay agent:
[edit forwarding-options dhcp-relay dhcpv6 overrides]
user@host# set
allow-snooped-clients
To disable DHCP snooping:
For DHCP relay agent:
[edit forwarding-options dhcp-relay overrides]
user@host# set
no-allow-snooped-clients
For DHCPv6 relay agent:
[edit forwarding-options dhcp-relay dhcpv6 overrides]
user@host# set
no-allow-snooped-clients
Chapter 4: DHCP Relay Agent
dhcp-relay
dhcpv6
73