R3303-HP HSR6800 Routers IP Multicast Command Reference
237
[Sysname-bgp] peer 10.1.1.1 group test
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer 10.1.1.1 group test
peer ip-prefix (MBGP address family view)
Use peer ip-prefix to reference an IP prefix list to filter routes received from or advertised to a peer or peer
group.
Use undo peer ip-prefix to remove the configuration.
Syntax
peer { group-name | ip-address } ip-prefix ip-prefix-name { export | import }
undo peer { group-name | ip-address } ip-prefix { export | import }
Default
No IP prefix list–based filtering is configured.
Views
IPv4 MBGP address family view
Default command level
2: System level
Parameters
group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters.
ip-address: Specifies an IPv4 MBGP peer by its IP address.
ip-prefix-name: Specifies an IP prefix list by its name, a string of 1 to 19 characters.
export: Specifies the outbound direction.
import: Specifies the inbound direction.
Examples
# In IPv4 MBGP address family view, use the IP prefix list 1 to filter routes outgoing to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test ip-prefix list1 export
peer keep-all-routes (MBGP address family view)
Use peer keep-all-routes to save original routing information from a peer or peer group, including routes
that fail to pass the inbound policy (if configured).
Use undo peer keep-all-routes to disable this feature.