R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

389
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.
as-path-acl-number: AS path ACL number, in the range of 1 to 256.
export: Filters outgoing routes.
import: Filters incoming routes.
Description
Use peer as-path-acl to configure the filtering of routes incoming from or outgoing to a peer/peer group
based on a specified AS path ACL.
Use undo peer as-path-acl to remove the configuration.
By default, no AS path ACL filtering is configured.
Related commands: ip as-path, if-match as-path, and apply as-path
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.