Switch 7700 Command reference Guide, v2.0

Table Of Contents
214 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
View
BGP view
Parameter
group_name: Specify name of the peer group.
peer_address: Specify IP address of the peer.
acl_number: Specify the filter list number of an AS regular expression. The range
is 1 to 199.
import: For the received routes.
export: For the advertised routes.
Description
Use the peer as-path-acl command to configure BGP route filtering Policy
based on AS path list.
Use the undo peer as-path-acl command to cancel the existing
configuration.
By default, the peer/peer group has no AS path list.
Example
Set the AS path ACL of the peer group test.
[SW7700-bgp]peer test as-number 100
[SW7700-bgp]peer test as-path-acl 3 export
peer connect-interface Syntax
peer { group_name | peer_address } connect-interface interface_name
undo peer { group_name | peer_address } connect-interface
interface_name
View
BGP view
Parameter
group_name: Specified peer group.
peer_address: IP address of the peer.
interface_name: Interface name.
Description
Use the peer connect-interface command to specify the source interface of
a route update packet.
Use the undo peer connect-interface command to restore the best source
interface.
By default, BGP uses the best source interface.