You can enable the switch to operate as a DHCP Layer 2 relay agent to relay DHCP requests from clients to a Layer 3 relay agent or server. The Circuit ID and Remote ID can be added to DHCP requests relayed from clients to a DHCP server. This information is included in DHCP Option 82, as specified in sections 3.1 and 3.2 of RFC3046.
This command enables the DHCP Layer 2 Relay agent for an interface a range of interfaces in, or all interfaces. The subsequent commands mentioned in this section can only be used when the DHCP L2 relay is enabled.
This command disables DHCP Layer 2 relay agent for an interface or range of interfaces.
This command sets the Option-82 Circuit ID for a given service subscription identified by <subscription-string> on a given interface. The no dhcp l2relay is a character string which needs to be matched with a configured DOT1AD subscription string for correct operation. When circuit-id is enabled using this command, all Client DHCP requests that fall under this service subscription are added with Option-82 circuit- id as the incoming interface number.
This command resets the Option-82 Circuit ID for a given service subscription identified by <subscription-string> on a given interface. The <subscription-string> is a character string which needs to be matched with a configured DOT1AD subscription string for correct operation. When circuit-id is disabled using this command, all Client DHCP requests that fall under this service subscription are no longer added with Option- 82 circuit-id.
This parameter sets the DHCP Option-82 Circuit ID for a VLAN. When enabled, the interface number is added as the Circuit ID in DHCP option 82.
This parameter clears the DHCP Option-82 Circuit ID for a VLAN.
This command sets the Option-82 Remote-ID string for a given service subscription identified by <subscription-string> on a given interface or range of interfaces. The subscription-string is a character string which needs to be matched with a configured DOT1AD subscription string for correct operation. The remoteid-string is a character string. When remote-id string is set using this command, all Client DHCP requests that fall under this service subscription are added with Option-82 Remote-id as the configured remote-id string.
This command resets the Option-82 Remote-ID string for a given service subscription identified by subscription-string on a given interface. The subscription-string is a character string which needs to be matched with a configured DOT1AD subscription string for correct operation. When remote-id string is reset using this command, the Client DHCP requests that fall under this service subscription are not added with Option-82 Remote-id.
This parameter sets the DHCP Option-82 Remote ID for a VLAN and subscribed service (based on subscription- name).
This parameter clears the DHCP Option-82 Remote ID for a VLAN and subscribed service (based on subscription-name).
This command enables relaying DHCP packets on an interface or range of interfaces that fall under the specified service subscription. The subscription-string is a character string that needs to be matched with configured DOT1AD subscription string for correct operation.
This command disables relaying DHCP packets that fall under the specified service subscription. The subscription-string is a character string that needs to be matched with configured DOT1AD subscription string for correct operation.
Use this command to configure an interface or range of interfaces as trusted for Option-82 reception.
Use this command to configure an interface to the default untrusted for Option-82 reception.
Use this command to enable the DHCP L2 Relay agent for a set of VLANs. All DHCP packets which arrive on interfaces in the configured VLAN are subject to L2 Relay processing.
Use this command to disable the DHCP L2 Relay agent for a set of VLANs.
This command displays the summary of DHCP L2 Relay configuration.
This command displays DHCP circuit-id vlan configuration.
The display parameters for above command are:
This command displays DHCP L2 relay configuration specific to interfaces.
This command displays DHCP Remote-id vlan configuration.
The display parameters for above command are:
This command displays statistics specific to DHCP L2 Relay configured interface.
This command displays DHCP L2 Relay configuration specific to a service subscription on an interface.
This command displays the DHCP L2 Relay Option-82 configuration specific to VLAN.
This command displays DHCP vlan configuration.
The display parameters for above command are:
Use this command to reset the DHCP L2 relay counters to zero. Specify the port with the counters to clear, or use the all keyword to clear the counters on all ports.