
226
route-distinguisher (VSI BGP view)
Description
Use the
route-distinguisher
command to configure an RD for a VPLS instance.
Different VPLS instances on a PE must have different RDs. A VPLS instance can have the same RD or
different RDs on different PEs.
RD has no default value. You must configure an RD for a VPLS instance to make the instance take effect.
To change the RD of a VPLS instance, you must remove the VPLS instance and then reconfigure the VPLS
instance and RD.
Syntax
route
-
distinguisher
route-distinguisher
View
VSI BGP view
Default level
2: System level
Parameters
route-distinguisher
: Specifies the RD, which is a string of 3 to 21 characters in the format of nn:nn or
IP_address:nn.
An RD can be one of these formats:
•
16-bit AS number:32-bit user-defined number. For example, 101:3.
•
32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
•
32-bit AS number:16-bit user-defined number, where the AS number must be equal to or greater than
65,536. For example, 65536:1.
Examples
# Set the RD to 111:1.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] pwsignal bgp
[Sysname-vsi-aaa-bgp] route-distinguisher 111:1
service-instance
Description
Use the
service instance
command to create a service instance on the current interface and enter service
instance view.
Use the
undo service-instance
command to delete a service instance on the current interface.
By default, no service instance is created on any interfaces.
Syntax
service-instance
instance-id
undo service-instance
instance-id