DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
98
7-45 neighbor next-hop-self
This command is used to configure the router as the next hop for a BGP-speaking peer or a peer group. To disable this
feature, use the no form of this command.
neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} next-hop-self
no neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} next-hop-self
Parameters
Example
In the following example, the maximum prefixes that will be received from the
192.168.1.1 neighbor are set to 10000.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 65100
DXS-3600-32S(config-router)#neighbor 192.168.1.1 remote-as 30000
DXS-3600-32S(config-router)#neighbor 192.168.1.1 maximum-prefix 10000
DXS-3600-32S(config-router)#
Example
This example shows how to set the maximum prefixes to 10000, and set the local
router to generate a log message instead of terminate the session when the
maximum-prefix limit is exceeded.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 65100
DXS-3600-32S(config-router)#neighbor 192.168.1.1 remote-as 30000
DXS-3600-32S(config-router)#neighbor 192.168.1.1 maximum-prefix 10000 warning-only
DXS-3600-32S(config-router)#
IP-ADDRESS
Specifies the IP address of the BGP peer.
PEER-GROUP-NAME
Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum
length is 16 characters.
Default
This command is disabled by default.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (IPv4 Unicast, VPNv4 and VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
This command is useful in unmeshed networks (like Frame Relay or X.25) where
BGP neighbors may not have direct access to all other neighbors on the same IP
subnet.
If a neighbor belongs to a peer group, you can only configure the next-hop-self
attribute from the peer group.
Use the
show ip bgp neighbors
or
show ip bgp peer-group
command to verify
your settings.
Example
This example shows how to force all updates destined for 10.108.1.1 to advertise
this router as the next hop.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 65100
DXS-3600-32S(config-router)#neighbor 10.108.1.1 remote-as 30000
DXS-3600-32S(config-router)#neighbor 10.108.1.1 next-hop-self
DXS-3600-32S(config-router)#
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...