5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1060
•
lPv4 VRF Address Family Config
•
Peer Template Config
11-55 neighbor ebgp-multihop
To configure BGP to form neighborship with non-directly-connected external peers, use the
neighbor
ebgp-multihop
command.
This command is relevant only for external BGP neighbors. For internal BGP neighbors, the TTL value
remains 64 and can’t be modified. A neighbor can inherit this configuration from a peer template. To
make the update-source config work for external BGP neighbors,
ebgp-multihop
hop-count should be
configured to increase the TTL value instead of the default TTL of 1.
Issue this command in Peer Template Configuration mode to add it to a peer template.
Use the
no
command to remove neighborships.
neighbor {ip-address | ipv6-address [interface interface-name] | autodetect interface interface-
name} ebgp-multihop hop-count
no neighbor {ip-address | ipv6-address [interface interface-name] | autodetect interface interface-
name} ebgp-multihop
Parameters
ip-address
The neighbor’s IPv4 address.
ipv6-address
The neighbor’s IPv6 address.
interface interface-name
(Optional) If the neighbor’s IPv6 address is a link local address, the local
interface must also be specified.
autodetect interface
interface-name
The routing interface on which the neighbor’s link local IPv6 address is
auto-detected.
hop-count
The maximum hop-count allowed to reach the neighbor. The allowed
range is 1-255.
Default
The default is 1.
Command Mode
•
BGP Router Config
•
Peer Template Config
Example
(Routing)(Conf:ig)#router bgp 65000
(Routing)(Config-router)#neighbor 172:20.1.2 remote-as 65001
(Routing)(Config-router)#neighbor 172.20.1.2 ebgp-multihop 3
(Routing)(Config-router)#neighbor 2001::2 remote-as 65003
(Routing)(Config-router)#neighbor 2001::2 ebgp-multihop 4
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...