OperationsTask ID
read, writebasic-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
DescriptionCommand
Enables DHCP for IPv4 and enters DHCP IPv4
configuration mode.
dhcp ipv4 (BNG), on page 147
Configures the DHCP relay agent to relay packets
to a specific DHCP Server.
helper-address
Configures a DHCP server to validate the relay agent
information option in forwarded BOOTREPLY
messages.
relay information check (BNG), on page 185
Enables the system to insert a DHCP relay agent
information option in forwarded BOOTREQUEST
messages to a DHCP server.
relay information option (BNG), on page 187
Configures the DHCP component to not drop
BOOTREQUEST messages that have the relay
information option set and the giaddr set to zero.
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
BNG DHCP Commands
relay information policy (BNG)