mvpn-advertise-rt-import
Use mvpn-advertise-rt-import to add attributes Source AS Extended Community and RF Route Import Extended Community to routes that are sent to the BGP IPv4 MVPN neighbors.
Use undo mvpn-advertise-rt-import to delete attributes Source AS Extended Community and RF Route Import Extended Community to routes that are sent to BGP IPv4 MVPN neighbors.
Syntax
mvpn-advertise-rt-import
undo mvpn-advertise-rt-import
Default
Attributes Source AS Extended Community and RF Route Import Extended Community are not included in routes that are sent to BGP IPv4 MVPN neighbors.
Views
BGP IPv4 MVPN address family view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
Before you execute this command, you must establish BGP IPv4 MVPN neighbor relationship and specify BGP MVPN peers.
The following BGP extended community attributes are used to identify the local device as the route originator:
Source AS Extended Community—Carries the number of AS where the MVPN source resides. The format of this attribute is 32-bit AS number::0, for example, 100:0.
VRF Route Import Extended Community—Carries Router ID of the local BGP instance and the VPN instance to which the BGP VPNv4 route belongs. The format of the attribute is 32-bit router address:VPN instance index, for example, 192.168.122.15:1.
Examples
# Add attributes Source AS Extended Community and RF Route Import Extended Community to routes sent to the BGP IPv4 MVPN neighbors.
<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp-default] address-family vpnv4 [Sysname-bgp-default-vpnv4] mvpn-advertise-rt-import