Peer Prefix-List - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

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.
<Sysname> 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.
<Sysname> 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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents