dhcp
config>service>vprn>if
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
Commands in this context configure DHCP parameters.
action {replace | drop | keep}
no action
config>service>vprn>if>dhcp>option
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the processing required when the router receives a DHCP request that already has a Relay Agent Information Option (Option 82) field in the packet.
The no form of this command reverts to the default value.
In accordance with RFC 3046, DHCP Relay Agent Information Option, section 2.1.1, Reforwarded DHCP Requests, the default is to keep the existing information intact. The exception to this is if the GIADDR of the received packet is the same as the ingress address on the router. In this case, the packet is dropped and an error is logged.
Keyword that specifies that, in the upstream direction (from the user), the existing Option 82 field is replaced with the Option 82 field from the router. In the downstream direction (toward the user) the Option 82 field is stripped (in accordance with RFC 3046).
Keyword that specifies the packet is dropped, and an error is logged.
Keyword that specifies 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 occurs 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>vprn>if>dhcp>option
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
When enabled, the router sends the interface index (If Index) in the circuit-id suboption of the DHCP packet. Display the If Index of a router interface using the show router interface detail command. This option specifies data that must be unique to the router that is relaying the circuit.
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
Keyword to specify that the ASCII-encoded concatenated tuple will be used, which consists of the access-node-identifier, service-id, and interface-name, separated by ‟|”.
Keyword to specify that the interface index is used. Display the If Index of a router interface using the show router interface detail command.
Keyword to specify that the SAP ID is used.
Keyword to specify that the format included VLAN ID and dot1p bits in addition to what is already included in the ascii-tuple. The format is supported on dot1q and qinq ports only. Therefore, when the Option 82 bits are stripped, dot1p bits are copied to the Ethernet header of an outgoing packet.
gi-address ip-address [src-ip-addr]
no gi-address
config>service>vprn>if>dhcp
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the gateway IP address (GIADDR) for the DHCP relay. A subscriber interface can include multiple group interfaces with multiple SAPs. The GIADDR is needed when the router functions as a DHCP relay to distinguish between the different subscriber interfaces and potentially between the group interfaces defined.
no gi-address
Specifies the host IP address to be used for DHCP relay packets.
Specifies the source IP address to be used for DHCP relay packets.
[no] option
config>service>vprn>if>dhcp
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
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
remote-id [mac | string string]
no remote-id
config>service>vprn>sub-if>grp-if>dhcp>option
config>service>vprn>nw-if>dhcp>option
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
When enabled, the router sends the MAC address of the remote end (typically the DHCP client) in the remote-id suboption of the DHCP packet. This command identifies the host at the other end of the circuit. If disabled, the remote-id suboption of the DHCP packet will be left empty.
The no form of this command reverts to the default value.
remote-id
Keyword that specifies the MAC address of the remote end is encoded in the suboption.
Specifies the remote ID.
[no] vendor-specific-option
config>service>vprn>if>dhcp>option
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the Nokia vendor-specific suboption of the DHCP relay packet.
[no] client-mac-address
config>service>vprn>if>dhcp>option>vendor
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
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] pool-name
config>service>vprn>if>dhcp>option>vendor
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command sends the pool name in the vendor-specific suboption of the DHCP relay packet.
The no form of this command disables the sending.
[no] sap-id
config>service>vprn>if>dhcp>option>vendor
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
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>vprn>if>dhcp>option>vendor
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
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>vprn>if>dhcp>option>vendor
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command specifies the vendor-specific suboption string of the DHCP relay packet.
The no form of this command reverts to the default value.
Specifies a string of 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>vprn>if>dhcp>option>vendor
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command specifies whether the system ID is encoded in the vendor-specific suboption of Option 82.
server server1 [server2...(up to 8 max)]
config>service>vprn>if>dhcp
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command specifies a list of servers where requests will be forwarded. The list of servers can be entered as IP addresses or fully qualified domain names. There must be at least one server specified for DHCP relay to work. If there are multiple servers, the request is forwarded to all the servers in the list. There can be a maximum of 8 DHCP servers configured.
The flood command is applicable only in the VPLS case. There is a scenario with VPLS where the VPLS node only needs to add Option 82 information to the DHCP request to provider per-subscriber information, but it does not do full DHCP relay. In this case, the server is set to "flood". This means the DHCP request is still a broadcast and is sent through the VPLS domain. A node running at L3 further upstream can then perform the full L3 DHCP relay function.
no server
Specifies the DHCP server IP address.
[no] trusted
config>service>vprn>if>dhcp
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command, if enabled on an IP interface, specifies that the relay agent (the SR-Series) will modify the request GIADDR to be equal to the ingress interface and forward the request. According to RFC 3046, DHCP Relay Agent Information Option, a DHCP request where the GIADDR is 0.0.0.0 and that contains an Option 82 field in the packet, should be discarded, unless it arrives on a "trusted" circuit.
This behavior applies only when the action in the Relay Agent Information Option is "keep". In the case where the Option 82 field is being replaced by the relay agent (action = "replace"), the original Option 82 information is lost, therefore there is no reason to enable the trusted command.
The no form of this command reverts to the default value.
not enabled