Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-34
Description
Use the peer as-path-acl import command to configure filtering policy of BGP
received routes based on AS path list.
Use the undo peer as-path-acl import command to cancel the existing configuration.
By default, the peer/peer group has no AS path list.
The priority of the inbound filter policy configured for the peer is higher than that
configured for the peer group.
Related command: peer as-path-acl export.
Example
# Set the AS path ACL of the peer group test to filter BGP received routes.
[Quidway-bgp] peer test as-path-acl 1 import
5.1.37 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.
Usually, BGP uses the optimal route to update the source interface of the packets.
However, you can set the mode of the interface to Loopback in order to send route
updates even if the interface is not work normally.
Example
# Specify loopback0 as the source interface of a route update packet.
[Quidway-bgp] peer test connect-interface loopback 0