3Com S7902E Command Reference Manual - page 1654
1-42
Default Level
2: System level
Parameters
group-name
: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address
: IP address of the peer.
Description
Use the
peer next-hop-invariable
command to configure the device not to change the next hop of a
route when advertising it to a peer.
Use the
undo peer next-hop-invariable
command to restore the default.
By default, a device uses its address as the next hop when advertising a route to its EBGP peer. In the
inter-provider option C application, you need to configure
next-hop-invariable
on the RR for multi-hop
EBGP neighbors and reflector clients to ensure that the next hop of a VPN route will not be changed.
Related commands:
peer ebgp-max-hop
in
BGP Commands
of the
IP Routing Volume
.
Examples
# In BGP-VPNv4 subaddress family view, configure the device not to change the next hop of a route
when advertising it to EBGP peer 1.1.1.1.
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 next-hop-invariable
peer next-hop-local
Syntax
peer
{
group-name | ip-address
}
next-hop-local
undo peer
{
group-name | ip-address
}
next-hop-local
View
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view
Default Level
2: System level
Parameters
group-name
: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address
: IP address of the peer.
Description
Use the
peer next-hop-local
command to configure the device to use the local address as the next hop
of a route when advertising it to a peer or peer group.
Use the
undo peer next-hop-local
command to remove the configuration.