VPLS commands

limit-mac-move

Syntax

limit-mac-move [blockable | non-blockable]

no limit-mac-move

Context

config>service>vpls>spoke-sdp (only supported on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C)

config>service>vpls>sap

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures whether the MAC-move agent, when enabled using the config service vpls mac-move or config service epipe mac-move commands will limit the MAC relearn (move) rate on this SAP.

Default

blockable

Parameters

blockable

Keyword to specify the agent will monitor the MAC relearn rate on the SAP, and it will block it when the relearn rate is exceeded.

non-blockable

Keyword to specify this SAP will not be blocked, and another blockable SAP will be blocked instead.

mac-pinning

Syntax

[no] mac-pinning

Context

config>service>vpls>sap

config>service>vpls>spoke-sdp (only supported on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C)

config>service>vpls>mesh-sdp (only supported on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C)

config>service>vpls>endpoint

config>service>pw-template (only supported on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C)

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command disables relearning of MAC addresses on other SAPs within the VPLS. The MAC address remains attached to a specific SAP for the duration of its age timer.

The age of the MAC address entry in the FIB is set by the age timer. If MAC aging is disabled on a specific VPLS service, any MAC address learned on a SAP with mac-pinning enabled remains in the FIB on this SAP forever. Every event that would otherwise result in relearning will be logged (MAC address, original SAP, new SAP).

max-nbr-mac-addr

Syntax

max-nbr-mac-addr table-size

no max-nbr-mac-addr

Context

config>service>vpls>sap

config>service>vpls>spoke-sdp (only supported on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C)

config>service>vpls>endpoint

config>service>pw-template (only supported on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C)

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures the maximum number of FDB entries for both learned and static MAC addresses for this SAP.

When the configured limit has been reached, and the discard-unknown-source command has been enabled for this SAP or spoke-SDP, packets with unknown source MAC addresses are discarded.

The no form of this command restores the global MAC learning limitations for the SAP.

Default

no max-nbr-mac-addr

Parameters

table-size

Specifies the maximum number of learned and static entries allowed in the FDB of this service.

Values

1 to 30719 (7210 SAS-D, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, 7210 SAS-K 3SFP+ 8C)

1 to 15359 (7210 SAS-Dxp)

revert-time

Syntax

revert-time {revert-time | infinite}

no revert-time

Context

config>service>vpls>endpoint

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures the time to wait before reverting to the primary spoke-SDP.

The no form of this command removes the wait time.

Parameters

revert-time

Specifies the wait time in seconds.

Values

0 to 600

infinite

Keyword to make the endpoint non-revertive.

statistics

Syntax

statistics

Context

config>service>vpls>sap

Platforms

7210 SAS-D

Description

Commands in this context configure the counters associated with SAP ingress and egress.

egress

Syntax

egress

Context

config>service>vpls>sap>statistics

Platforms

7210 SAS-D

Description

Commands in this context configure the egress SAP statistics counter and set the mode of the counter.

This counter counts the number of packets forwarded through the SAP.

ingress

Syntax

ingress

Context

config>service>vpls>sap>statistics

Platforms

7210 SAS-D

Description

Commands in this context configure the ingress SAP statistics counter.

For access-uplink SAPs, the ingress counters are not enabled by default. For access SAPs, if the ingress counter is enabled by default, it can be disabled.

The types of ingress SAP counters are the following:

  • a counter that counts the total packets or octets received on the SAP

  • a counter associated with meters defined in the QoS policy of the SAP. This counter counts the in-profile and out-of-profile packets or octets received on the SAP.

forwarded-count

Syntax

[no] forwarded-count

Context

config>service>vpls>sap>statistics>egress

Platforms

7210 SAS-D

Description

This command associates a counter with the SAP. The counter counts the number of packets forwarded through the SAP.

A limited number of such counters are available for use with access SAPs and access-uplink SAPs.

Use this command before enabling applicable accounting record collection on the SAP to associate a counter with the SAP.

The no form of this command disables the packet count.

counter-mode

Syntax

counter-mode {in-out-profile-count | forward-drop-count}

Context

config>service>vpls>sap>statistics>ingress

Platforms

7210 SAS-D

Description

This command sets the counter mode for the counters associated with SAP ingress meters (also known as policers). A pair of counters is available with each meter. These counters count different events based on the counter mode value.

Note:

The counter mode can be changed if an accounting policy is associated with a SAP. If the counter mode is changed, the counters associated with the meter are reset and the counts are cleared. If an accounting policy is in use when the counter-mode is changed, a new record will be written into the current accounting file.

Run the following sequence of commands on the specified SAP to ensure the correct statistics are collected when the counter-mode is changed.

  1. Run the config service vpls sap no collect-stats command to disable writing of accounting records for the SAP.

  2. Change the counter-mode to the desired option by running the config service vpls sap counter-mode {in-out-profile-count | forward-drop-count} command.

  3. Run the config service vpls sap collect-stats command to enable writing of accounting records for the SAP.

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

Default

in-out-profile-count

Parameters

forward-drop-count

Keyword to specify that one counter counts the forwarded packets and octets received on ingress of a SAP and another counts the dropped packets. The forwarded count is the sum of in-profile and out-of-profile packets/octets received on SAP ingress. The dropped count is count of packets/octets dropped by the policer. A packet is determined to be in-profile or out-of-profile based on the meter rate parameters configured. A packet is dropped by the policer if it exceeds the configured PIR rate. The in-profile count and out-of-profile count are not individually available when operating in this mode.

in-out-profile-count

Keyword to specify that one counter counts the total in-profile packets and octets received on ingress of a SAP and another counts the total out-of-profile packets and octets received on ingress of a SAP. A packet is determined to be in-profile or out-of-profile based on the meter rate parameters configured. A packet is dropped by the policer if it exceeds the configured PIR rate. Dropped counts are not maintained in hardware when this mode is used. It is obtained by subtracting the sum of in-profile count and out-of-profile count from the total SAP ingress received count and displayed.

received-count

Syntax

[no] received-count

Context

config>service>vpls>sap>statistics>ingress

Platforms

7210 SAS-D

Description

This command associates a counter with the SAP. It counts the number of packets and octets received on the SAP (ingress).

A limited number of such counters are available for use with access-uplink SAPs.

Use this command before enabling applicable accounting record collection on the SAP.

The no form of this command disables counter.

static-mac

Syntax

[no] static-mac ieee-mac-address [create]

Context

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)

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command creates a local static MAC entry in the VPLS forwarding database (FDB) associated with the SAP.

In a VPLS service, MAC addresses are associated with a SAP or with a Service Distribution Point (SDP). MACs associated with a SAP are classified as local MACs, and MACs associated with an SDP are remote MACs.

Local static MAC entries create a permanent MAC address to SAP association in the forwarding database for the VPLS instance so that MAC address will not be learned on the edge device.

Static MAC definitions on one edge device are not propagated to other edge devices participating in the VPLS instance; that is, each edge device has an independent forwarding database for the VPLS.

Only one static MAC entry (local or remote) can be defined for each MAC address per VPLS instance.

By default, no static MAC address entries are defined for the SAP.

The no form of this command deletes the static MAC entry with the specified MAC address associated with the SAP from the VPLS forwarding database.

Parameters

ieee-mac-address

Specifies the 48-bit MAC address for the static ARP in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee and ff are hexadecimal numbers. Allowed values are any non-broadcast, non-multicast MAC and non-IEEE reserved MAC addresses.

create

Keyword that is mandatory when specifying a static MAC address.

managed-vlan-list

Syntax

managed-vlan-list

Context

config>service>vpls>sap

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context configure VLAN ranges to be managed by a management VPLS. The list indicates, for each SAP, the ranges of associated VLANs that will be affected when the SAP changes state.

This command is only valid when the VPLS in which it is entered was created as a management VPLS.

default-sap

Syntax

[no] default-sap

Context

config>service>vpls>sap>managed-vlan-list

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command adds a default SAP to the managed VLAN list.

The no form of this command removes the default SAP from the managed VLAN list.

range

Syntax

[no] range vlan-range

Context

config>service>vpls>sap>managed-vlan-list

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures a range of VLANs on an access port managed by an existing management VPLS.

This command is valid only when the VPLS in which it is entered was created as a management VPLS, and when the SAP in which it was entered was created on an Ethernet port with encapsulation type of dot1q or qinq, or on a Sonet/SDH port with encapsulation type of bcp-dot1q.

To modify the range of VLANs, first the new range should be entered and afterwards the old range removed. See Modifying VPLS service parameters for more information.

Parameters

vlan-range

Specifies the VLAN start value and VLAN end value. The end-vlan must be greater than start-vlan. The format is start-vlan-end-vlan.

Values

start-vlan: 0 to 4094

end-vlan: 0 to 4094