EasyManua.ls Logo

Huawei AR1200 Series - Page 245

Huawei AR1200 Series
392 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
# Configure OSPF multi-instance on PE.
[PE] ospf vpn-instance vpn1
[PE-ospf-1] area 0
[PE-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.3
[PE-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.3
Step 4 Configure the cost value on the OSPF interface.
# Configure the cost value on GigabitEthernet 2/0/0 of PE to enable OSPF to choose the link A
preferentially.
[PE] interface gigabitethernet 2/0/0
[PE-GigabitEthernet2/0/0] ospf cost 100
[PE-GigabitEthernet2/0/0] quit
# Configure the cost value on GigabitEthernet 2/0/0 of RTA to make OSPF choose the link A
preferentially.
[RTA] interface gigabitethernet 2/0/0
[RTA-GigabitEthernet2/0/0] ospf cost 100
[RTA-GigabitEthernet2/0/0] quit
Step 5 Configure a routing policy.
# Configure the routing policy on PE and the backup next hop and backup out-interface, and
configure an if-match clause to limit the application scope.
[PE] ip ip-prefix frr1 permit 10.5.1.0 24
[PE] route-policy ip_frr_rp permit node 10
[PE-route-policy] if-match ip-prefix frr1
[PE-route-policy] apply backup-nexthop 10.2.1.2
[PE-route-policy] apply backup-interface gigabitethernet2/0/0
[PE-route-policy] quit
Step 6 Configure BFD to sense the link status.
# Configure BFD to sense the link status on the PE.
[PE] bfd
[PE-bfd] quit
[PE] bfd for_ip_frr bind peer-ip 10.1.1.2 vpn-instance vpn1 interface
gigabitethernet1/0/0
[PE-bfd-session-for_ip_frr] discriminator local 10
[PE-bfd-session-for_ip_frr] discriminator remote 20
[PE-bfd-session-for_ip_frr] commit
# Configure BFD to sense the link status on the CE1.
[CE1] bfd
[CE1-bfd] quit
[CE1] bfd for_ip_frr bind peer-ip 10.1.1.1 interface gigabitethernet1/0/0
[CE1-bfd-session-for_ip_frr] discriminator local 20
[CE1-bfd-session-for_ip_frr] discriminator remote 10
[CE1-bfd-session-for_ip_frr] commit
# Run the display bfd session all verbose command on the PE and CE1. You can find that the
BFD status is Up.
Step 7 Enable the IP FRR of the private network.
[PE] ip vpn-instance vpn1
[PE-vpn-instance-vpn1] ipv4-family
[PE-vpn-instance-vpn1-af-ipv4] ip frr route-policy ip_frr_rp
[PE-vpn-instance-vpn1-af-ipv4] quit
[PE-vpn-instance-vpn1] quit
# Check information about the backup egress and the backup next hop.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN 3 BGP MPLS IP VPN Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
234

Table of Contents

Other manuals for Huawei AR1200 Series

Related product manuals