Route target attribute, Mce overview – H3C Technologies H3C S6800 Series Switches User Manual

Page 10

Advertising
background image

3

As shown in

Figure 2

, a VPN-IPv4 address consists of 12 bytes. The first eight bytes represent the RD,

followed by a four-byte IPv4 prefix. The RD and the IPv4 prefix form a unique VPN-IPv4 prefix.
An RD can be in one of the following formats:

When the Type field is 0, the Administrator subfield occupies two bytes, the Assigned number
subfield occupies four bytes, and the RD format is 16-bit AS number:32-bit user-defined number. For

example, 100:1.

When the Type field is 1, the Administrator subfield occupies four bytes, the Assigned number
subfield occupies two bytes, and the RD format is 32-bit IPv4 address:16-bit user-defined number.

For example, 172.1.1.1:1.

When the Type field is 2, the Administrator subfield occupies four bytes, the Assigned number
subfield occupies two bytes, and the RD format is 32-bit AS number:16-bit user-defined number,

where the minimum value of the AS number is 65536. For example, 65536:1.

To guarantee global uniqueness for an RD, do not set the Administrator subfield to any private AS

number or private IP address.

Route target attribute

MPLS L3VPN uses route target community attributes to control the advertisement of VPN routing

information. A VPN instance on a PE supports the following types of route target attributes:

Export target attribute—A PE sets the export target attribute for VPN-IPv4 routes learned from
directly connected sites before advertising them to other PEs.

Import target attribute—A PE checks the export target attribute of VPN-IPv4 routes received from
other PEs. If the export target attribute matches the import target attribute of a VPN instance, the PE

adds the routes to the routing table of the VPN instance.

Route target attributes define which sites can receive VPN-IPv4 routes, and from which sites a PE can

receive routes.
Like RDs, route target attributes can be one of the following formats:

16-bit AS number:32-bit user-defined number. For example, 100:1.

32-bit IPv4 address:16-bit user-defined number. For example, 172.1.1.1:1.

32-bit AS number:16-bit user-defined number, where the minimum value of the AS number is 65536.
For example, 65536:1.

MCE overview

BGP/MPLS VPN transmits private network data through MPLS tunnels over the public network. However,

the traditional MPLS L3VPN architecture requires that each VPN instance use an exclusive CE to connect

to a PE, as shown in

Figure 1

.

A private network is usually divided into multiple VPNs to isolate services. To meet these requirements,
you can configure a CE for each VPN, which increases device expense and maintenance costs. Or, you

can configure multiple VPNs to use the same CE and the same routing table, which sacrifices data

security.
You can use the Multi-VPN-Instance CE (MCE) function in multi-VPN networks. MCE allows you to bind

each VPN to a VLAN interface. The MCE creates and maintains a separate routing table for each VPN.
This separates the forwarding paths of packets of different VPNs and, in conjunction with the PE, can

correctly advertise the routes of each VPN to the peer PE, ensuring the normal transmission of VPN

packets over the public network.

Advertising