272
import: Filters incoming routes.
Usage guidelines
The specified AS path list must have been created with the ip as-path command in system view.
Otherwise, all routes can pass the AS path list.
Examples
# In BGP IPv4 unicast instance view, specify the AS path list 1 to filter routes outgoing to the peer group
test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family unicast
[Sysname-bgp-ipv4] peer test as-path-acl 1 export
# In BGP-VPN IPv4 unicast instance view, specify the AS path list 1 to filter routes outgoing to the peer
group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] ipv4-family unicast
[Sysname-bgp-ipv4-vpn1] peer test as-path-acl 1 export
# In BGP IPv6 unicast instance view, specify the AS path list 1 to filter routes outgoing to the peer group
test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family unicast
[Sysname-bgp-ipv6] peer test as-path-acl 1 export
Related commands
• filter-policy export
• filter-policy import
• ip as-path
• peer filter-policy
• peer prefix-list
• peer route-policy
peer bfd
Use peer bfd to enable BFD for the link to a BGP peer.
Use undo peer bfd to restore the default.
Syntax
peer { ip-address | ipv6-address } bfd
undo peer { ip-address | ipv6-address } bfd
Default
BFD is disabled.