
221
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] mac-table limit 1024
peer (VSI LDP view)
Description
Use the
peer
command to specify a peer PE for a VPLS instance.
Use the
undo peer
command to remove a peer PE.
With the hub-spoke feature for a VPLS instance, you can specify the connection mode of the peer PE as
hub or spoke.
Related commands:
vsi
and
vsi-id
.
Syntax
peer
ip-address
[
pw-id
pw-id
] [
upe
|
backup-peer
ip-address
[
backup-pw-id
pw-id
] ] [
pw-class
class-
name
]
undo
peer
ip-address
View
VSI LDP view
Default level
2: System level
Parameters
ip-address
: Specifies the IP address of the VPLS remote peer PE.
pw-id
pw-id
: Specifies the ID of the PW to the VPLS peer PE, ranging from 1 to 4,294,967,295. The
default is VSI ID.
upe
: Specifies that the peer PE is a UPE in the H-VPLS model.
backup-peer
ip-address
: Specifies the IP address of the backup VPLS remote peer NPE. If you specify this
parameter, you create a primary NPE and a backup NPE on the UPE.
backup-pw-id
pw-id
: Specifies the ID of the PW to the backup VPLS remote peer NPE. The
pw-id
parameter is ranging from 1 to 4,294,967,295, and the default is the VSI ID.
pw-class
class-name
: Specifies the PW class template to be referenced. The
class-name
parameter
represents the template name, which is a case-insensitive string of 1 to 19 characters.
Examples
# Specify the UPE type peer PE 4.4.4.4 and specify the PW to the peer PE as 200.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] pwsignal ldp
[Sysname-vsi-aaa-ldp] peer 4.4.4.4 pw-id 200 upe
# Specify a primary peer PE 1.1.1.1 and a backup peer PE 2.2.2.2, and set the PW to the primary peer to
300 and that to the backup peer to 400.
<Sysname> system-view
[Sysname] vsi aaa