Cisco Cisco IOS Software Release 12.2(33)SRE

Page de 48
VPLS Autodiscovery: BGP Based
  Configuration Examples for VPLS Autodiscovery: BGP Based
11
Cisco IOS Release 12.2(33)SRA
What To Do Next
Perform the steps in 
Configuration Examples for VPLS Autodiscovery: BGP Based 
The following example shows the configuration of a network using VPLS Autodiscovery:
Step 7
route-target
 [import | export | both
{autonomous-system-number:nn | ip-address:nn}
Example:
Router(config-vfi)# route-target 600:2222
(Optional) Specifies the route target (RT). This command is 
optional, because VPLS Autodiscovery automatically 
generates a route target using the lower 6 bytes of the RD 
and VPLS ID. You can use this command to change the 
automatically generated route target.
There are two formats for configuring the route target 
argument. It can be configured in the 
autonomous-system-number:network number (ASN:nn
format, as shown in the example, or it can be configured in 
the IP-address:network number format (IP-address:nn).
Step 8
l2 router-id
 ip-address
Example:
Router(config-vfi)# l2 router-id 10.10.10.10
(Optional) Specifies a unique identifier for the PE router. 
This command is optional, because VPLS Autodiscovery 
automatically generates a Layer 2 router ID using the MPLS 
global router ID. You can use this command to change the 
automatically generated ID. 
Step 9
exit
Example:
Router(config-vfi)# exit
Exits L2 VFI configuration mode. Commands take effect 
after the router exits L2 VFI configuration mode. 
Command or Action
Purpose