Peer Connect-Interface (Bgp/Bgp-Vpn Instance View); Peer Default-Route-Advertise (Bgp/Bgp-Vpn Instance View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

peer connect-interface (BGP/BGP-VPN instance view)

Syntax
View
Parameters
Description
Examples

peer default-route-advertise (BGP/BGP-VPN instance view)

Syntax
peer { group-name | ip-address } connect-interface interface-type interface-number
undo peer { group-name | ip-address } connect-interface
BGP view/BGP-VPN instance view
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.
Use the
peer connect-interface
establishing TCP connections to a peer/peer group.
Use the
undo peer connect-interface
By default, BGP uses the outbound interface of the best route to the BGP
peer/peer group as the source interface for establishing a TCP connection to the
peer/peer group.
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 because 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.
# 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
# In BGP-VPN instance view, specify loopback 0 as the source interface for routing
updates to the peer group test (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test connect-interface loopback 0
peer { group-name | ip-address } default-route-advertise [ route-policy
route-policy-name ]
undo peer { group-name | ip-address } default-route-advertise
command to specify the source interface for
command to restore the default.
989

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents