Command Manual – VPLS
H3C S9500 Series Routing Switches
Chapter 1 VPLS Configuration Commands
1-20
1.1.14 peer (VSI-LDP view)
Syntax
peer
ip-address
[
negotiation-vc-id
pw-id
] [
tnl-policy
tunnel-policy-name
] [
upe
|
dual-npe
] [
trans-mode
{
raw
|
tagged
} ]
undo
peer
ip-address
View
VSI LDP view
Default Level
2: System level
Parameters
ip-address
: IP address of the VPLS remote peer PE.
pw-id
: ID of the PW to the VPLS peer PE. The default is VSI ID.
tunnel-policy-name
: Name of a tunneling policy, containing no blank space. If you do
not specify this argument or no tunneling policy with that name exists, the system uses
the policy specified by the
tnl-policy
command in VSI view.
upe
: Specifies that the peer PE is a UPE in the H-VPLS model. This is the default
setting.
dual-npe
: Specifies the peer PE is the primary or secondary NPE.
trans-mode
: Specifies the PW encapsulation type. By default, the PW encapsulation
type is that specified by the
encapsulation
command.
raw
: Uses raw mode.
tagged
: Uses tagged mode.
Description
Use the
peer
command to create a peer PE for a VPLS instance.
Use the
undo peer
command to remove a peer PE.
Caution:
z
If the PW encapsulation type specified by the
peer
command is not that specified by
the
encapsulation
command, the former takes precedence.
z
If the tunneling policy specified by the
peer
command is not that specified by the
tnl-policy
command in VSI view, the former takes precedence.