R2511-HP MSR Router Series MPLS Command Reference(V5)

72
Syntax
default-nexthop { ip ip-address | mac { mac-address | broadcast } }
undo default-nexthop
Default
No default next hop is specified.
Views
Interface view
Default command level
2: System level
Parameters
ip ip-address: Specifies the IP address of the default next hop.
mac: Specifies the MAC address of the default next hop.
mac-address: Specifies the MAC address of the default next hop.
broadcast: Uses the broadcast MAC address as the MAC address of the default next hop.
Usage guidelines
In an MPLS L2VPN interworking scenario, if a CE is connected to a PE through a link by using the
Ethernet encapsulation, configure the default next hop on the PE, so that the PE can correctly encapsulate
a link layer header for the packets to be sent to the CE.
If you specify the MAC address of the CE or a broadcast MAC address in this command, the PE uses this
MAC address as the destination address of the packets to be sent to the CE. If you specify the IP address
of the CE in this command, the PE resolves the IP address to a MAC address through ARP and then uses
this MAC address as the destination MAC address of the packets sent to the CE.
Examples
# Specify the default next hop IP address as 1.1.1.1 on PE's Ethernet 1/1 (the interface connected to the
CE).
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] default-nexthop ip 1.1.1.1
display bgp l2vpn
Use display bgp l2vpn to display information about BGP L2VPN in the BGP routing table.
Syntax
display bgp l2vpn { all | group [ group-name ] | peer [ [ ip-address ] verbose ] | route-distinguisher
route-distinguisher [ ce-id ce-id [ label-offset label-offset ] ] } [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level