Switch 7700 Command reference Guide, v2.0

Table Of Contents
218 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
Use the undo peer filter-policy command to cancel the existing
configuration.
By default, a peer/peer group has no access control list (acl).
Related commands: ip as-path acl, peer as-path-acl.
Example
Set the filter-policy list of a peer group test.
[SW7700-bgp]peer test as-number 100
[SW7700-bgp]peer test filter-policy 3 import
peer group Syntax
peer peer_address group group_name
undo peer peer_address group group_name
View
BGP view
Parameter
group_name: Specify the name of the peer group.
peer_address: Specify the IP address of the peer.
Description
Use the peer group command to add a peer to the peer group.
Use the undo peer group command to delete the specified peer in the peer
group.
The use of BGP peer group is for the convenience of the user’s configuration.
When the user starts several peers with the same configuration, a peer group can
be established first and be configured. Then add all the peers to the peer group so
that they have the same configuration as this peer group.
Example
Add a peer to the peer group TEST.
[SW7700-bgp]group TEST
[SW7700-bgp]peer 10.1.1.1 group TEST
peer ip-prefix Syntax
peer { group_name | peer_address } ip-prefix prefixname { import |
export }
undo peer { group_name | peer_address } ip-prefix prefixname { import
| export }
View
BGP view