Huawei AR1200 series Configuration Manual page 92

Enterprise routers
Hide thumbs Also See for AR1200 series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
Issue 01 (2012-04-20)
domain-id domain-id [ secondary ]
The domain ID is configured.
The domain ID can be expressed by an integer or in dotted decimal notation.
You can configure two domain IDs for each OSPF process. The domain IDs of
different processes are independent of each other.
There is no limitation to configure the domain IDs of the OSPF processes in different
VPNs on the PE. However, all the OSPF processes in one VPN should be configured
with the same domain ID to ensure correct routing advertisement.
The domain ID of an OSPF process is contained in the routes generated by this process.
When the OSPF routes are imported into BGP, the domain ID is added into the BGP
VPN route and is transmitted as the BGP extended community attribute.
By default, the domain ID is 0.
4.
(Optional) Run:
route-tag tag
The VPN route tag is configured.
By default, OSPF automatically allocates the VPN route tag based on the algorithm:
– If the BGP process is not started on the local device, the tag value is 0 by default.
– If the BGP process is started on the local device, the first two bytes of the tag value
are fixed as 0xD000, and the last two bytes are the local AS number by default.
That is, the tag value equals 3489660928 plus the local AS number.
5.
Run:
import-route bgp [ cost cost | route-policy route-policy-name | tag tag |
*
type type ]
The BGP route is imported.
6.
Run:
area area-id
The OSPF area view is displayed.
7.
Run:
network ip-address wildcard-mask
OSPF is run on the network segment where the interface bound to the VPN instance
resides.
A network segment can belong to only one area. Therefore, specify to which area each
OSPF interface belongs.
OSPF can run on an interface if the following conditions are true:
– The mask length of the IP address on the interface must be equal to or longer than
the wildcard-mask specified in the network command.
– The primary IP address of the interface must be located in the network segment
specified in the network command.
For a loopback interface, OSPF advertises the IP address of the loopback interface as
a 32-bit host route by default, which bears no relation to the mask length configured
on the interface.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 BGP MPLS IP VPN Configuration
81

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar3200 series

Table of Contents