H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-34
By default, the peer/peer group has no AS path list.
The priority of the ingress routing policy configured for the peer is higher than that for
the peer group.
Related commands: peer as-path-acl export, ip as-path-acl
Examples
# Apply AS path ACL 1 in the peer group named test to filter BGP received routes.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer test as-path-acl 1 import
5.1.36 peer connect-interface
Syntax
peer { group-name | ip-address } connect-interface interface-type interface-number
undo peer { group-name | ip-address } connect-interface interface-type
interface-number
View
BGP view
Parameters
group-name: Name of the peer group, containing 1 to 47 alphanumeric characters.
ip-address: IP address of the peer.
interface-type interface- number: Interface type and interface number.
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 interface directly connected to the peer as the source
interface of route update packets.
Generally, BGP uses the optimal source interface for route update packets. In order for
the system to be able to send route update packets in the case that this interface is
faulty, you can configure the loopback interface as the source interface of route update
packets.