Peer Group - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet 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

5.1.53 peer group

Syntax
peer ip-address group group-name [ as-number as-number ]
undo peer ip-address group group-name
View
BGP view
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
as-number: AS number of the peer, in the range 1 to 65535.
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.
By default, no peer is added into a peer group.
Examples
# In BGP view, add the peer 10.1.1.1 to the EBGP peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 2004
[Sysname-bgp] peer 10.1.1.1 group test
Chapter 5 BGP Configuration Commands
5-46

Advertisement

Table of Contents
loading

Table of Contents