pwsignal
bgp
The PW signaling protocol is configured as BGP and the VSI-BGP view is displayed.
Step 4
Run:
route-distinguisher
route-distinguisher
The RD of the VSI is configured.
After the PW signaling protocol is configured as BGP, configure the RD to make the VSI take
effect.
NOTE
For a PE, different VSIs have different RDs.
For the same VSI on different PEs:
l
If a CE accesses two PEs, RDs of the VSI must be different.
l
If a CE accesses a PE, RDs of the VSI can be either the same or different.
Step 5
Run:
vpn-target
vpn-target
& <1-16> [
both
|
export-extcommunity
|
import-extcommunity
]
The VPN target of the VSI is configured.
When using this command, note the mapping between the VPN target attribute at the local end
and the VPN target at the remote end. That is,
l
export-extcommunity
of the local end must be consistent with
import-extcommunity
of
the peer.
l
import-extcommunity
of the local end must be consistent with
export-extcommunity
of
the peer.
Traffic can be normally transmitted in bidirectional way only if the preceding two conditions
are satisfied. If only one condition is met, the traffic can be transmitted only in unidirectional
way. For convenience of configuration, the four values are generally configured to be the same.
Step 6
Run:
site
site-id
[
range
site-range
] [
default-offset
{
0
|
1
} ]
The site is configured.
The two ends of the VSI cannot be configured with the same site ID. The value of the local site
ID must be less than the sum of the
site-range
and
default-offset
of the remote end. The value
of the local site ID, however, must be larger than the value of the
default-offset
of the remote
end.
NOTE
All Kompella L2VPN instances and VPLS VSI instances of one device share one label block; therefore,
the sum of the ranges of all Kompella L2VPN instances and VPLS VSI instances cannot be greater than
the label block. Otherwise, the system prompts that the labels cannot be obtained because the required
labels exceed the upper limit; thus, allocation of a site ID to a VSI or creation of a CE fails.
----End
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
7 VPLS Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
684