VPLS DHCPv6 snooping commands for SAP and SDP bindings

dhcp6

Syntax

dhcp6

Context

config>service>vpls>mesh-sdp

config>service>vpls>sap

config>service>vpls>spoke-sdp

Platforms

7210 SAS-Mxp and 7210 SAS-Sx/S 1/10GE (standalone)

Description

Commands in this context configure DHCPv6 parameters.

option

Syntax

option

no option

Context

config>service>vpls>sap>dhcp6

Platforms

7210 SAS-Mxp and 7210 SAS-Sx/S 1/10GE (standalone)

Description

This command enters the context for configuring option-18 (interface ID option) and option-37 (remote ID option) suboptions.

The no form of this command reverts to the default value.

Default

no option

interface-id

Syntax

interface-id

interface-id ascii-tuple

interface-id sap-id

interface-id string string

interface-id vlan-ascii-tuple

no interface-id

Context

config>service>vpls>sap>dhcp6>option

Platforms

7210 SAS-Mxp and 7210 SAS-Sx/S 1/10GE (standalone)

Description

This command configures the interface ID option to be inserted in the DHCPv6 client messages and sent toward the DHCPv6 server.

The no form of this command disables sending the interface ID option.

Default

Nothing is enabled by default, but if the option command is enabled but not configured explicitly the default is interface-id ascii-tuple [system-name | service-id | sap-id].

Parameters

ascii-tuple

Keyword to specify the use of the ASCII-encoded concatenated tuple, which consists of the system-name, service-id, and sap-id, separated by the pipe (" | ") symbol.

sap-id

Keyword to specify the use of the SAP identifier.

string

Specifies a string of up to 32 characters, composed of printable, seven-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

vlan-ascii-tuple

Keyword to specify that the format includes a VLAN ID and dot1p bits, in addition to the information already included in ASCII tuple. The format is supported on dot1q and qinq ports only.

remote-id

Syntax

no remote-id

remote-id

remote-id mac

remote-id string string

Context

config>service>vpls>sap>dhcp6>option

Platforms

7210 SAS-Mxp and 7210 SAS-Sx/S 1/10GE (standalone)

Description

This command configures the information that is included in the remote ID suboption that is inserted in the DHCPv6 messages received from the client and forwarded toward the DHCPv6 sever.

If disabled, the remote-id suboption of the DHCPv6 packet is left empty. When this command is configured without any parameters, its behavior is the same as the remote-id mac option.

The no form of this command reverts to the default value.

Default

If the remote-id command is enabled but not configured explicitly the default is remote-id mac.

Parameters

mac

Keyword to specify that the MAC address of the remote end is encoded in the suboption.

string

Specifies the remote ID, up to 32 characters.

snoop

Syntax

no snoop

snoop [network-facing]

snoop [client-facing | network-facing | both]

Context

config>service>vpls>mesh-sdp>dhcp6

config>service>vpls>sap>dhcp6

config>service>vpls>spoke-sdp>dhcp6

Platforms

7210 SAS-Mxp and 7210 SAS-Sx/S 1/10GE (standalone)

Description

This command enables DHCPv6 snooping of DHCP messages on the SAP or SDP binding. DHCPv6 snooping is enabled on VPLS interfaces (SAPs or SDP bindings) and indicates where option-18 (interface ID option) and option-37 (remote ID option) information must be inserted or removed in a DHCPv6 message. This includes interfaces that are in the path to receive messages from either DHCPv6 servers or DHCPv6 clients.

The no form of this command disables DHCPv6 snooping on the specified VPLS SAP.

Default

snoop network-facing (for SDP bindings)

snoop client-facing (for SAPs)

Parameters

client-facing

Keyword to specify that the service object is client-facing. On client-facing ports, only DHCPv6 client messages are processed. The parameter is only supported under the config>service>vpls>sap>dhcp6>snoop context.

network-facing

Keyword to specify that the service object is network-facing. On network-facing ports, only DHCPv6 relay-reply messages are processed.

both

Keyword to specify that the service object is both client-facing and network-facing. Specifying both indicates that DHCPv6 messages received from both the client and server/relay must be processed. The parameter is only supported under the config>service>vpls>sap>dhcp6>snoop context.

trusted

Syntax

no trusted

trusted

Context

config>service>vpls>sap>dhcp6

Platforms

7210 SAS-Mxp and 7210 SAS-Sx/S 1/10GE (standalone)

Description

This command enables the forwarding of relay-forward messages received on service objects configured as client-facing or both.

The no form of this command results in dropping the relay-forward messages received on service objects configured as client-facing or both.

Default

no trusted