448
Step Command Remarks
4.
Configure an LDP PW,
and enter VSI LDP
PW view.
peer
ip-address
[
pw-id
pw-id
]
[
hub
|
no-split-horizon
|
pw-class
class-name
|
tunnel-policy
tunnel-policy-name
] *
By default, no LDP PWs exist.
If both the default PW ID in the
default-pw-id
command and a PW ID
in the
peer
command are configured,
the PW ID in the
peer
command is
used. If only the default PW ID is
configured, the default PW ID is used.
If no default PW ID is configured, you
must provide a PW ID in the
peer
command.
If a VSI is enabled with the hub-spoke
capability (the
hub-spoke
keyword in
the
vsi
command), PWs in the VSI are
spoke links by default. You can use the
hub
keyword in this command to
specify the LDP PW as the hub link in
the VSI.
You must specify the
no-split-horizon
keyword to disable split horizon when
you configure an NPE to establish a
U-PW with a UPE.
5.
Set the expected
bandwidth for the PW.
bandwidth
bandwidth-value
By default, the expected bandwidth is
10000000 kbps.
Configuring a BGP PW
To configure a BGP PW, perform the following configurations on PEs:
•
Configure BGP to advertise VPLS label block information.
•
Create a BGP PW.
Configuring BGP to advertise VPLS label block information
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enable BGP instance and
enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
By default, BGP is disabled.
3.
Configure the remote PE as
a BGP peer.
peer
{
group-name
|
ip-address
[
mask-length
] }
as-number
as-number
By default, no BGP peers
exist.
4.
Create the BGP L2VPN
address family and enter
BGP L2VPN address family
view.
address-family l2vpn
By default, no BGP L2VPN
address family exists.
5.
Enable BGP to exchange
L2VPN information with the
specified peer or peer
group.
peer
{
group-name
|
ip-address
[
mask-length
] }
enable
By default, BGP cannot
exchange L2VPN information
with any peer or peer group.
6.
Enable BGP to exchange
label block information with
the specified peer or peer
group.
peer
{
group-name
|
ip-address
[
mask-length
] }
signaling
By default, BGP can exchange
label block information with a
BGP L2VPN peer or peer
group.