dhcp
config>service>vpls>sap
config>service>vpls>mesh-sdp (only supported on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C)
config>service>vpls>spoke-sdp (only supported on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C)
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure DHCP parameters.
[no] option
config>service>vpls>sap>dhcp
Supported on all 7210 SAS platforms as described in this document
This command enables DHCP Option 82 (Relay Agent Information Option) parameter processing and enters the context for configuring Option 82 suboptions.
The no form of this command reverts to the default value.
no option
action [dhcp-action] {replace | drop | keep}
no action
config>service>vpls>sap>dhcp>option
Supported on all 7210 SAS platforms as described in this document
This command configures the Relay Agent Information Option (Option 82) processing.
By default, existing information is kept intact.
The no form of this command reverts to the default value.
Specifies the DHCP option action.
Specifies that, in the upstream direction (from the user), the Option 82 field from the router is inserted in the packet (overwriting any existing Option 82 field). In the downstream direction (toward the user) the Option 82 field is stripped (in accordance with RFC 3046).
Specifies that the DHCP packet is dropped if an Option 82 field is present and a counter is incremented.
Specifies that the existing information is kept in the packet and the router does not add any additional information. In the downstream direction, the Option 82 field is not stripped and is sent on toward the client.
The behavior is slightly different in case of Vendor Specific Options (VSOs). When the keep parameter is specified, the router inserts its own VSO into the Option 82 field. This is done only when the incoming message already has an Option 82 field.
If no Option 82 field is present, the router does not create the Option 82 field. In this case, no VSO is added to the message.
circuit-id [ascii-tuple | ifindex | sap-id | vlan-ascii-tuple]
no circuit-id
config>service>vpls>sap>dhcp>option
Supported on all 7210 SAS platforms as described in this document
When enabled, the router sends an ASCII-encoded tuple in the circuit-id suboption of the DHCP packet. This ASCII-tuple consists of the access-node-identifier, service-id, and SAP-ID, separated by ‟|”.
To send a tuple in the circuit ID, the action replace command must be configured in the same context.
If disabled, the circuit-id suboption of the DHCP packet is left empty.
The no form of this command reverts to the default value.
circuit-id
Specifies that the ASCII-encoded concatenated tuple will be used, which consists of the access-node-identifier, service-id, and interface-name, separated by ‟|”.
Specifies that the interface index will be used. (The If Index of a router interface can be displayed using the show router interface detail command.) This parameter is not supported on 7210 SAS-Dxp.
Specifies that the SAP identifier will be used. This parameter is not supported on 7210 SAS-Dxp.
Specifies that the format will include VLAN ID and dot1p bits in addition to what is already included in ascii-tuple. The format is supported on dot1q-encapsulated ports only. Therefore, when the option 82 bits are stripped, dot1p bits will be copied to the Ethernet header of an outgoing packet.
[no] remote-id [mac | string string]
config>service>vpls>sap>dhcp>option
Supported on all 7210 SAS platforms as described in this document
This command specifies that information that goes into the remote ID suboption in the DHCP relay packet.
If disabled, the remote-id suboption of the DHCP packet is left empty.
The no form of this command reverts to the default value.
no remote-id
Keyword to specify that the MAC address of the remote end is encoded in the suboption.
Specifies the remote ID.
[no] vendor-specific-option
config>service>vpls>sap>dhcp>option
Supported on all 7210 SAS platforms as described in this document
This command configures the vendor-specific suboption of the DHCP relay packet.
[no] client-mac-address
config>service>vpls>sap>dhcp>option>vendor
Supported on all 7210 SAS platforms as described in this document
This command enables the sending of the MAC address in the vendor-specific suboption of the DHCP relay packet.
The no form of this command disables the sending of the MAC address in the vendor-specific suboption of the DHCP relay packet.
[no] sap-id
config>service>vpls>sap>dhcp>option>vendor
Supported on all 7210 SAS platforms as described in this document
This command enables the sending of the SAP ID in the vendor-specific suboption of the DHCP relay packet.
The no form of this command disables the sending of the SAP ID in the vendor-specific suboption of the DHCP relay packet.
[no] service-id
config>service>vpls>sap>dhcp>option>vendor
Supported on all 7210 SAS platforms as described in this document
This command enables the sending of the service ID in the vendor-specific suboption of the DHCP relay packet.
The no form of this command disables the sending of the service ID in the vendor-specific suboption of the DHCP relay packet.
[no] string text
config>service>vpls>sap>dhcp>option>vendor
Supported on all 7210 SAS platforms as described in this document
This command specifies the string in the vendor-specific suboption of the DHCP relay packet.
The no form of this command reverts to the default value.
Specifies a string that can be any combination of ASCII characters, up to 32 characters. If spaces are used in the string, enclose the entire string in quotation marks (‟ ”).
[no] system-id
config>service>vpls>sap>dhcp>option>vendor
Supported on all 7210 SAS platforms as described in this document
This command specifies whether the system ID is encoded in the vendor-specific suboption of Option 82.
[no] snoop
config>service>vpls>sap>dhcp
config>service>vpls>mesh-sdp>dhcp (only supported on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C)
config>service>vpls>spoke-sdp>dhcp (only supported on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C)
Supported on all 7210 SAS platforms as described in this document
This command enables DHCP snooping for DHCP messages on the SAP. Enabling DHCP snooping on VPLS interfaces (SAPs) is required for DHCP messages where Option 82 information is to be inserted. This includes interfaces in the path to receive messages from either DHCP servers or from subscribers.
The no form of this command disables DHCP snooping on the specified VPLS SAP.
no snoop