1704 CHAPTER 98: MPLS L3VPN CONFIGURATION COMMANDS

<Sysname> system-view

[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

Parameter group-name: Name of the peer group, a string of 1 to 47 characters.

ip-address: IP address of the peer.

Description Use the peer next-hop-localcommand 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-localcommand to remove the configuration.

Example # 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 public-as-only (BGP-VPNv4 subaddress family view)

Syntax peer { group-name ip-address } public-as-only

undo peer { group-name ip-address} public-as-only

View BGP-VPNv4 subaddress family view

Parameter group-name: Name of the peer group, a string of 1 to 47 characters.

ip-address: IP address of the peer.

Page 1704
Image 1704
3Com MSR 30, MSR 50 manual Peer next-hop-local, Peer public-as-only BGP-VPNv4 subaddress family view