HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Confi - Page 284
Configuring route-related attributes of a VPN instance, target extended community attribute list
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 284 highlights
After creating and configuring a VPN instance, you associate the VPN instance with the interface for connecting different VPN sites. To associate a VPN instance with an interface: Step Command 1. Enter system view. system-view 2. Enter interface view. interface interface-type interface-number 3. Associate the current interface ip binding vpn-instance with the VPN instance. vpn-instance-name Remarks N/A N/A No VPN instance is associated with an interface by default. NOTE: The ip binding vpn-instance command clears the IP address of the interface on which it is configured. Be sure to reconfigure an IP address for the interface after configuring the command. Configuring route-related attributes of a VPN instance The control process of VPN route advertisement is as follows: • When a VPN route learned from a site gets redistributed into BGP, BGP associates it with a route target extended community attribute list, which is usually the export target attribute of the VPN instance associated with the site. • The VPN instance determines which routes it can accept and redistribute according to the import-extcommunity in the route target. • The VPN instance determines how to change the route targets attributes for routes to be advertised according to the export-extcommunity in the route target. IMPORTANT: • Only when BGP runs between the MCE and PE can the route target attribute be advertised to the PE along with the routing information. In other cases, configuring this attribute makes no sense. • Before associating a routing policy with a VPN instance, you must first create the routing policy. Otherwise, the default routing policy is used. To configure route related attributes of a VPN instance: Step 1. Enter system view. 2. Enter VPN instance view. 3. Associate the current VPN instance with one or more route targets. Command Remarks system-view N/A ip vpn-instance vpn-instance-name N/A vpn-target vpn-target& [ both | export-extcommunity | import-extcommunity ] A single vpn-target command can configure up to eight route targets. You can configure up to 64 route targets for a VPN instance. 274