[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer 18.10.0.9 as-number 200
[Sysname-bgp-ipv4-vpn1] peer 18.10.0.9 capability-advertise orf non-standard
[Sysname-bgp-ipv4-vpn1] peer 18.10.0.9 capability-advertise orf ip-prefix both
peer capability-advertise route-refresh
Syntax
peer
{
group-name
|
ip-address
}
capability-advertise
route-refresh
undo
peer
{
group-name
|
ip-address
}
capability-advertise
route-refresh
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
group-name
: Name of a peer group, a string of 1 to 47 characters.
ip-address
: IP address of a peer.
Description
Use
peer capability-advertise route-refresh
to enable the BGP route refresh capability.
Use
undo peer capability-advertise route-refresh
to disable the capability.
The capability is enabled by default.
Examples
# In BGP view, enable BGP route refresh for peer 160.89.2.33.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 160.89.2.33 as-number 100
[Sysname-bgp] peer 160.89.2.33 capability-advertise route-refresh
# In BGP-VPN instance view, enable BGP route refresh for peer 160.89.2.33. (The VPN has been
created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer 160.89.2.33 as-number 200
[Sysname-bgp-ipv4-vpn1] peer 160.89.2.33 capability-advertise route-refresh
peer capability-advertise suppress-4-byte-as
Syntax
peer
{
group-name
|
ip-address
}
capability-advertise suppress-4-byte-as
undo peer
{
group-name
|
ip-address
}
capability-advertise suppress-4-byte-as
View
BGP view, BGP-VPN instance view
235