H3C S7500E Series Command Manual page 470

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
5.1.46 peer connect-interface
Syntax
peer { group-name | ip-address } connect-interface interface-type interface-number
undo peer { group-name | ip-address } connect-interface
View
BGP view
Parameters
group-name: Name of a peer group, a string 1 to 47 characters.
ip-address: IP address of a peer.
interface-type interface-number: Specifies the type and number of the interface.
Description
Use the peer connect-interface command to specify the source interface for
establishing TCP connections to a peer/peer group.
Use the undo peer connect-interface command to restore the default.
Note that:
To establish multiple BGP connections to another BGP router, you need to specify on
the local router the respective source interfaces for establishing TCP connections to the
peers on the peering BGP router; otherwise, the local BGP router may fail to establish
TCP connections to the peers when using the outbound interfaces of the best routes as
the source interfaces.
Examples
# In BGP view, specify loopback 0 as the source interface for routing updates to the
peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test connect-interface loopback 0
5.1.47 peer default-route-advertise
Syntax
peer { group-name | ip-address } default-route-advertise [ route-policy
route-policy-name ]
undo peer { group-name | ip-address } default-route-advertise
Chapter 5 BGP Configuration Commands
5-41

Advertisement

Table of Contents
loading

Table of Contents