Huawei quidway s7700 Configuration Manual page 247

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
OSPF is used in this example. The configuration details are not mentioned here.
After the configuration, the OSPF neighbor relationship can be set up between the ASBR and
the PE in the same AS. Run the display ospf peer command, and you can view that the status
of the neighbor relationship is Full.
The ASBR and PE in the same AS can learn and ping the IP address of the loopback interface
of each other.
Step 2 Configure basic MPLS functions and MPLS LDP on MPLS backbone networks of AS100 and
AS200 to establish LDP LSPs.
For detailed configurations, see
Step 3 Configure BGP/MPLS IP VPN on PE1 and PE2.
For details on the configuration, see the following configuration files.
Step 4 Configure inter-AS VPN Option B.
# Configure ASBR1: Enable MPLS on VLANIF12 through which ASBR1 is connected to
ASBR2.
<ASBR1> system-view
[ASBR1] interface vlanif 12
[ASBR1-Vlanif12] ip address 192.1.1.1 24
[ASBR1-Vlanif12] mpls
[ASBR1-Vlanif12] quit
# Configure ASBR1: Set up the MP-EBGP peer relationship with ASBR2 and configure ASBR1
not to filter the received VPNv4 routes based on the VPN target.
[ASBR1] bgp 100
[ASBR1-bgp] peer 192.1.1.2 as-number 200
[ASBR1-bgp] ipv4-family vpnv4
[ASBR1-bgp-af-vpnv4] peer 192.1.1.2 enable
[ASBR1-bgp-af-vpnv4] undo policy vpn-target
[ASBR1-bgp-af-vpnv4] quit
[ASBR1-bgp] quit
Step 5 Verify the configuration.
After the preceding configuration, CEs can learn routes of interfaces of each other, and CE1 and
CE2 can ping each other.
For example, information about CE1 is displayed as follows:
<CE1> display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
Issue 01 (2011-07-15)
NOTE
Advertise the 32-bit IP address of the loopback interface, that is, the LSR ID, by using OSPF.
NOTE
The VPN targets of VPN instances created on PE1 and PE2 must be matched.
NOTE
The configuration on ASBR2 is the same as the configuration on ASBR1, and is not mentioned here.
Destinations : 5
Proto
10.1.1.0/24
Direct 0
10.1.1.1/32
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3.17.7 Example for Configuring Inter-AS VPN Option
Routes : 5
Pre
Cost
Flags NextHop
0
D
0
D
3 BGP MPLS IP VPN Configuration
Interface
10.1.1.1
Vlanif10
127.0.0.1
InLoopBack0
A.
232

Advertisement

Table of Contents
loading

Table of Contents