relay information policy (BNG)
Task ID
basic-services
Examples
This is sample output from executing the relay information policy command:
RP/0/RSP0/CPU0:router# config
RP/0/RSP0/CPU0:router(config)# dhcp ipv4
RP/0/RSP0/CPU0:router(config-dhcpv4)# profile client relay
RP/0/RSP0/CPU0:router(config-dhcpv4-relay-profile)# relay information policy keep
This example shows how to encapsulate the DHCP relay agent information option:
RP/0/RSP0/CPU0:router# config
RP/0/RSP0/CPU0:router(config)# dhcp ipv4
RP/0/RSP0/CPU0:router(config-dhcpv4)# profile client relay
RP/0/RSP0/CPU0:router(config-dhcpv4-relay-profile)# relay information policy encapsulate
Related Commands
Command
dhcp ipv4 (BNG), on page 147
helper-address
relay information check (BNG), on page 185
relay information option (BNG), on page 187
relay information option allow-untrusted (BNG), on
page 189
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Command Reference,
Release 5.2.x
192
Operations
read, write
Description
Enables DHCP for IPv4 and enters DHCP IPv4
configuration mode.
Configures the DHCP relay agent to relay packets
to a specific DHCP Server.
Configures a DHCP server to validate the relay agent
information option in forwarded BOOTREPLY
messages.
Enables the system to insert a DHCP relay agent
information option in forwarded BOOTREQUEST
messages to a DHCP server.
Configures the DHCP component to not drop
BOOTREQUEST messages that have the relay
information option set and the giaddr set to zero.
BNG DHCP Commands