6-49
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 the
peer capability-advertise route-refresh
command to enable the BGP route refresh
capability.
Use the
undo peer capability-advertise route-refresh
command 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-vpn1] peer 160.89.2.33 as-number 200
[Sysname-bgp-vpn1] peer 160.89.2.33 capability-advertise route-refresh
peer connect-interface (BGP/BGP-VPN instance view)
Syntax
peer
{
group-name | ip-address
}
connect-interface
interface-type interface-number
undo peer
{
group-name | ip-address
}
connect-interface
View
BGP view, BGP-VPN instance view
Default Level
2: System level
Parameters
group-name
: Name of a peer group, a string 1 to 47 characters.
ip-address
: IP address of a peer.
interface-type interface-number
: Specifies the type and number of the interface.
Description
Use the
peer connect-interface
command to specify the source interface for establishing TCP
connections to a peer/peer group.
Use the
undo peer connect-interface
command to restore the default.