Peer Next-Hop-Local; Peer Public-As-Only (Bgp-Vpnv4 Subaddress Family 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

1704
C
98: MPLS L3VPN C
HAPTER

peer next-hop-local

Syntax
View
Parameter
Description
Example

peer public-as-only (BGP-VPNv4 subaddress family view)

Syntax
View
Parameter
C
ONFIGURATION
OMMANDS
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 next-hop-invariable
peer { group-name | ip-address } next-hop-local
undo peer { group-name | ip-address } next-hop-local
BGP-VPNv4 subaddress family view/BGP-L2VPN address family view
group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
Use the
peer next-hop-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
# In BGP-VPNv4 subaddress family view, configure the device to use the local
address as the next hop of a route when advertising it to peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test next-hop-local
# In BGP-L2VPN address family view, configure the device to use the local address
as the next hop of a route when advertising it to peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] peer test next-hop-local
peer { group-name | ip-address } public-as-only
undo peer { group-name | ip-address } public-as-only
BGP-VPNv4 subaddress family view
group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
command to configure the device to use the local
command to remove the configuration.

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