Peer Group (Bgp/Bgp-Vpn Instance View) - H3C S9500 Series Command Manual

Routing switch bgp
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Command Manual – BGP
H3C S9500 Series Routing Switches
Description
Use the peer filter-policy command to configure an ACL-based filter policy for a peer
or peer group.
Use the undo peer filter-policy command to remove the configuration.
By default, no ACL-based filter policy is configured for a peer or peer group.
Related commands: peer as-path-acl.
Examples
# In BGP view, apply the ACL 2000 to filter routes advertised to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test filter-policy 2000 export
# In BGP-VPN instance view, apply the ACL 2000 to filter routes advertised 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 filter-policy 2000 export

1.1.54 peer group (BGP/BGP-VPN instance view)

Syntax
peer ip-address group group-name [ as-number as-number ]
undo peer ip-address group group-name
View
BGP view, BGP-VPN instance view
Default Level
2: System level
Parameters
group-name: Name of a peer group.
ip-address: IP address of a peer.
as-number: AS number of the peer.
Description
Use the peer group command to add a peer to a peer group.
Use the undo peer group command to delete a specified peer from a peer group.
Chapter 1 BGP Configuration Commands
1-55

Advertisement

Table of Contents
loading

Table of Contents