HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 305
peer prefix-list, Examples, Related commands, Syntax, Default, Views
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 305 highlights
You can also use the apply preferred-value command in a routing policy to configure the preferred value for BGP routes. If both the peer preferred-value and apply preferred-value commands are configured, the apply preferred-value command applies. If the preferred value set by the apply preferred-value command is 0 or no routing policy is configured, the peer preferred-value command applies. Examples # In BGP IPv4 unicast instance view, specify the preferred value as 50 for routes from peer 1.1.1.1. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] peer 1.1.1.1 preferred-value 50 # In BGP-VPN IPv6 unicast instance view, specify the preferred value as 50 for routes from peer 1::1. system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] peer 1::1 preferred-value 50 Related commands • apply preferred-value • route-policy peer prefix-list Use peer prefix-list to reference a prefix list to filter routes received from or advertised to a peer or peer group. Use undo peer prefix-list to remove the configuration. Syntax In BGP IPv4 unicast instance view/BGP-VPN IPv4 unicast instance view: peer { group-name | ip-address } prefix-list prefix-list-name { export | import } undo peer { group-name | ip-address } prefix-list prefix-list-name { export | import } In BGP IPv6 unicast instance view: peer { group-name | ipv6-address } prefix-list ipv6-prefix-name { export | import } undo peer { group-name | ipv6-address } prefix-list ipv6-prefix-name { export | import } In BGP-VPN IPv6 unicast instance view: peer { group-name | ipv6-address } prefix-list ipv6-prefix-name { export | import } undo peer { group-name | ipv6-address } prefix-list ipv6-prefix-name { export | import } Default No prefix list based filtering is configured. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view 294