Virtual Private LAN Services
Description
This command binds the advertisements received with the route target (RT) that matches the
configured list (either the generic or the specified import) to a specific pw-template. If the RT list is
not present the pw-template is used for all of them.
The pw-template-binding applies to both BGP-AD and BGP-VPLS if these features are enabled in the
VPLS.
For BGP VPLS the following additional rules govern the use of PW-template:
The tools perform commands can be used to control the application of changes in pw-template for
both BGP-AD and BGP-VPLS.
The no form of the command removes the values from the configuration.
Default
none
Parameters
policy-id — Specifies an existing policy ID.
split-horizon-group group-name — The specified group-name overrides the split horizon group
import-rt ext-comm — Specify communities allowed to be accepted from remote PE neighbors. An
route-target
Syntax
route-target {ext-community|{[export ext-community][import ext-community]}}
no route-target
Context
config>service>vpls>bgp-ad
config>service>vpls>bgp
Page 762
• On transmission the settings for the L2-Info extended community in the BGP Update are derived
from the PW-template attributes. If multiple pw-templates (with or without import-rt) are speci-
fied for the same VPLS instance the first pw-template entry will be used.
• On reception the values of the parameters in the L2-Info extended community of the BGP Update
are compared with the settings from the corresponding pw-template. The following steps are
used to determine the local pw-template:
–
The RT values are matched to determine the pw-template.
–
If multiple pw-templates matches are found from the previous steps, the first configured pw-
template entry will be considered.
–
If the values used for Layer 2 MTU or C Flag do not match the PW setup fails.
Values
1 — 2147483647
template settings.
extended BGP community in the type:x:y format. The value x can be an integer or IP address.
The type can be the target or origin. x and y are 16-bit integers.
Values
target:{ip-address:comm-val |as-number:ext-comm-val}
ip-address:
comm-val:
as-number:
ext-comm-val:
a.b.c.d
0 — 65535
1 — 65535
0 — 4294967295
7750 SR OS Services Guide