HP 6125XLG R2306-HP 6125XLG Blade Switch MCE Command Reference - Page 12
import route-policy, Examples, Syntax, Default, Views, Predefined user roles, Parameters
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 12 highlights
Examples # Configure the type codes of OSPF extended community attributes Domain ID, Router ID, and Route Type as 0x8005, 0x8001, and 0x8000, for OSPF process 100. system-view [Sysname] ospf 100 [Sysname-ospf-100] ext-community-type domain-id 8005 [Sysname-ospf-100] ext-community-type router-id 8001 [Sysname-ospf-100] ext-community-type route-type 8000 import route-policy Use import route-policy to apply a routing policy to filter incoming routes for the VPN instance. Such a routing policy is referred to as an import routing policy. Use undo import route-policy to remove the application. Syntax import route-policy route-policy undo import route-policy Default No import routing policy is applied to a VPN instance. All routes matching the import target attribute are accepted. Views VPN instance view, IPv4 VPN view, IPv6 VPN view Predefined user roles network-admin Parameters route-policy: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters. Usage guidelines Use this command to apply a routing policy to a VPN instance for more precise and flexible route reception of the VPN instance. When the device receives routes of the VPN instance, it filters the received routes and modifies attributes for the received routes according to the specified routing policy. If you execute this command multiple times, the most recent configuration takes effect. A routing policy specified in VPN instance view applies to both the IPv4 VPN and IPv6 VPN. A routing policy specified in IPv4 VPN view applies only to the IPv4 VPN. A routing policy specified in IPv6 VPN view applies only to the IPv6 VPN. A routing policy specified in IPv4 VPN view or IPv6 view takes precedence over that specified in VPN instance view. If you specify a routing policy in both IPv4 VPN view (or IPv6 VPN view) and VPN instance view, the IPv4 VPN (IPv6 VPN) uses the policy specified in IPv4 VPN view (IPv6 VPN view). Examples # Apply import routing policy poly-1 to VPN instance vpn1. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] import route-policy poly-1 9