205
View
IPv4 MBGP address family view
Default 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 the IP address of an IPv4 MBGP peer.
acl-number
: Specifies an ACL by its number, in the range of 2000 to 3999.
export
: Uses the ACL to filter routes outgoing to the peer or the peer group.
import
: Uses the ACL to filter routes incoming from the peer or the peer group.
Description
Use
peer filter-policy
to configure an ACL-based filter policy for a peer or peer group.
Use
undo peer filter-policy
to remove the filtering.
By default, no ACL-based filter policy is configured for a peer or a peer group.
Related commands:
peer as-path-acl
.
Examples
# In IPv4 MBGP address family view, reference ACL 2000 to filter routes sent 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 filter-policy 2000 export
peer group (MBGP address family view)
Syntax
peer
ip-address
group
group-name
undo peer
ip-address
group
group-name
View
IPv4 MBGP address family view
Default 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.
Description
Use
peer
group
to add an IPv4 MBGP peer to an IPv4 MBGP peer group.