dhcp
config>service>ies>if
7210 SAS-D, 7210 SAS-Dxp
Commands in this context configure DHCP parameters.
gi-address ip-address [src-ip-addr]
no gi-address
config>service>ies>if>dhcp
7210 SAS-D, 7210 SAS-Dxp
This command configures the gateway interface address for the DHCP relay. A subscriber interface can include multiple group interfaces with multiple SAPs. When the router functions as a DHCP relay, the GI address is needed to distinguish between the different subscriber interfaces and potentially between the group interfaces defined.
By default, the GI address used in the relayed DHCP packet is the primary IP address of a normal IES interface. Specifying the GI address allows the user to choose a secondary address.
no gi-address
Specifies the host IP address to be used for DHCP relay packets.
Keyword that specifies that the GI address is to be used as the source IP address for DHCP relay packets.
[no] option
config>service>ies>if>dhcp
7210 SAS-D, 7210 SAS-Dxp
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 {replace | drop | keep}
no action
config>service>ies>if>dhcp>option
7210 SAS-D, 7210 SAS-Dxp
This command configures the processing required when the 7210 SAS 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 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).
Keyword to specify that the DHCP packet is dropped if an Option 82 field is present, and a counter is incremented.
Keyword to specify 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 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>ies>if>dhcp>option
7210 SAS-D, 7210 SAS-Dxp
This command sends an ASCII-encoded tuple in the circuit-id suboption of the DHCP packet.
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 is used, which consists of the access-node-identifier, service-id, and interface-name, separated by ‟|”.
Specifies that the interface index is used. (The If Index of a router interface can be displayed using the show router interface detail command)
Specifies that the SAP identifier is used.
Specifies that the format includes VLAN-id and dot1p bits in addition to what is included in ascii-tuple. The format is supported on dot1q-encapsulated ports only. Therefore, when the Option 82 bits are stripped, dot1p bits are copied to the Ethernet header of an outgoing packet.
[no] remote-id [mac | string string]
config>service>ies>if>dhcp>option
7210 SAS-D, 7210 SAS-Dxp
This command specifies what information 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 that specifies the MAC address of the remote end is encoded in the suboption.
Specifies the remote-id.
[no] vendor-specific-option
config>service>ies>if>dhcp>option
7210 SAS-D, 7210 SAS-Dxp
This command configures the vendor-specific suboption of the DHCP relay packet.
[no] client-mac-address
config>service>ies>if>dhcp>option>vendor
7210 SAS-D, 7210 SAS-Dxp
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>ies>if>dhcp>option>vendor
7210 SAS-D, 7210 SAS-Dxp
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>ies>if>dhcp>option>vendor
7210 SAS-D, 7210 SAS-Dxp
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>ies>if>dhcp>option>vendor
7210 SAS-D, 7210 SAS-Dxp
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>ies>if>dhcp>option>vendor
7210 SAS-D, 7210 SAS-Dxp
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>ies>if>dhcp
7210 SAS-D, 7210 SAS-Dxp
This command specifies a list of servers where requests will be forwarded. The list of servers can entered as either 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.
no server
Specifies the DHCP server IP address.
[no] trusted
config>service>ies>if>dhcp
7210 SAS-D, 7210 SAS-Dxp
This command enables relaying of untrusted packets.
The no form of this command disables the relay.
no trusted