202
Description
Use
peer as-path-acl
to configure the filtering of routes incoming from or outgoing to an MBGP peer or
a peer group based on a specified AS path list.
Use
undo peer as-path-acl
to remove the filtering.
By default, no AS path list based filtering is configured.
Related commands:
apply as-path
,
if-match as-path
, and
ip as-path
(
Layer 3—IP Routing Command
Reference
).
Examples
# In IPv4 MBGP address family view, reference the AS path 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 as-path-acl 1 export
peer capability-advertise orf (MBGP address family view)
Syntax
peer
{
group-name
|
ip-address
}
capability-advertise orf ip-prefix
{
both
|
receive
|
send
}
undo peer
{
group-name
|
ip-address
}
capability-advertise orf ip-prefix
{
both
|
receive
|
send
}
View
MGBP 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.
both
: Supports sending and receiving route-refresh messages carrying the ORF information.
receive
: Supports receiving route-refresh messages carrying the ORF information.
send
: Supports sending route-refresh messages carrying the ORF information.
Description
Use
peer capability-advertise orf
to enable the ORF capability for an MBGP peer or peer group.
Use
undo peer capability-advertise orf
to disable the ORF capability for the MBGP peer or peer group.
By default, the ORF capability is not enabled for an MBGP peer or peer group.
•
After you enable the ORF capability, the local BGP router negotiates the ORF capability with the
BGP peer through open messages. After that, the BGP router can process route-refresh messages
that carry the standard ORF information from the peer or send route-refresh messages that carry the