6-45
Examples
# In BGP view, reference the AS path ACL 1 to filter routes outgoing to the peer group
test
.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test as-path-acl 1 export
# In BGP-VPN instance view, reference the AS path ACL 1 to filter routes outgoing to the peer group
test
(the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test as-path-acl 1 export
peer bfd
Syntax
peer ip-address bfd
undo peer
ip-address
bfd
View
BGP view, BGP-VPN instance view
Default Level
2: System level
Parameters
ip-address
: IP address of a peer.
Description
Use the
peer bfd
command to enable BFD for a BGP peer.
Use the
undo peer bfd
command to disable BFD for a BGP peer.
By default, a BGP peer is enabled with BFD.
Note that if GR capability is enabled for BGP, use BFD with caution.
Examples
# Enable BFD for BGP peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 bfd
peer capability-advertise conventional (BGP/BGP-VPN instance view)
Syntax
peer
{
group-name
|
ip-address
}
capability-advertise
conventional
undo
peer
{
group-name
|
ip-address
}
capability-advertise
conventional
View
BGP view, BGP VPN instance view