To define the type of information to be present in circuit ID sub-option that is used in the DHCP relay agent information option or enable support for the DHCP relay agent information option, use the command ip dhcp relay in Global Configuration Mode. The no form of the command disables the processing related to DHCP relay agent information option.
Parameter | Type | Description |
---|---|---|
circuit-id |
Enter to define the type of information to be present
in circuit ID sub-option that is used in the DHCP relay agent information option. Note:
The type of information to be present in the circuit ID sub-option can be configured, only if the DHCP relay agent is enabled to perform processing related to DHCP relay agent information option. |
|
option |
Enter to configure the option related configuration. | |
router-index |
Enter to add information related to router interface indexes in the circuit ID sub-option. This is the default option. | |
vlanid |
Enter to enable the Default Circuit Id information in the relay agent information (RAI) option. The recv-port can be a physical interface index or lag port. | |
recv-port |
Enter to add information related to physical interfaces or LAG ports in the circuit ID sub-option. | |
information |
Enter to enable the DHCP relay agent information (RAI)
option. By using the RAI option, the DHCP relay agent can include additional
information about itself when forwarding client-originated DHCP
packets to a DHCP server. By default, processing related to DHCP
relay agent information option is disabled. Note:
If RAI is enabled, the circuit-id needs to be configured explicitly by users. |
|
option |
Enter to enable the DHCP relay agent information option.
By using the relay agent information option, the DHCP relay agent
can include additional information about itself when forwarding client-originated
DHCP packets to a DHCP server. The DHCP server can use this information
to assign IP addresses, perform access control, and set quality
of service (QoS) and security policies (or other parameter-assignment
policies) for each subscriber of a service provider network. Note:
Since ip dhcp relay information command is configured in Global Configuration Mode but not in Interface Configuration mode, the global configuration is applied to all interfaces. |
Global Configuration Mode
iS5Comm(config)# ip dhcp relay circuit-id option vlanid
iS5Comm(config)# ip dhcp relay information option