[PE2-GigabitEthernet3/0/0]
efm enable
[PE2-GigabitEthernet3/0/0]
efm trigger if-down
[PE2-GigabitEthernet3/0/0]
quit
Step 6
Configure the static routes on PE1 and PE2 that are destined for CE1, and import the static routes
to the Border Gateway Protocol (BGP).
# Configure PE1.
[PE1]
ip route-static vpn-instance vpna 1.1.1.1 32 10.1.1.1
[PE1]
bgp 100
[PE1-bgp]
ipv4-family vpn-instance vpna
[PE1-bgp-vpna]
import-route direct
[PE1-bgp-vpna]
import-route static
[PE1-bgp-vpna]
quit
# Configure PE2.
[PE2]
ip route-static vpn-instance vpna 1.1.1.1 32 10.1.1.1
[PE2]
bgp 100
[PE2-bgp]
ipv4-family vpn-instance vpna
[PE2-bgp-vpna]
import-route direct
[PE2-bgp-vpna]
import-route static
[PE2-bgp-vpna]
quit
# Configure CE1. Configure the virtual IP address of the VRRP backup group as the gateway
address.
[CE1]
ip route-static 0.0.0.0 0.0.0.0 10.1.1.111
Step 7
Set up MP-IBGP peer relationships between PE1, PE2, and PE3.
# Configure PE1.
[PE1]
bgp 100
[PE1-bgp]
peer 3.3.3.3 as-number 100
[PE1-bgp]
peer 3.3.3.3 connect-interface loopback 1
[PE1-bgp]
peer 4.4.4.4 as-number 100
[PE1-bgp]
peer 4.4.4.4 connect-interface loopback 1
[PE1-bgp]
ipv4-family vpnv4
[PE1-bgp]
peer 3.3.3.3 enable
[PE1-bgp]
peer 4.4.4.4 enable
[PE1-bgp]
quit
# Configure PE2.
[PE2]
bgp 100
[PE2-bgp]
peer 2.2.2.2 as-number 100
[PE2-bgp]
peer 2.2.2.2 connect-interface loopback 1
[PE2-bgp]
peer 4.4.4.4 as-number 100
[PE2-bgp]
peer 4.4.4.4 connect-interface loopback 1
[PE2-bgp]
ipv4-family vpnv4
[PE2-bgp]
peer 2.2.2.2 enable
[PE2-bgp]
peer 4.4.4.4 enable
[PE2-bgp]
quit
# Configure PE3.
[PE3]
bgp 100
[PE3-bgp]
peer 2.2.2.2 as-number 100
[PE3-bgp]
peer 2.2.2.2 connect-interface loopback 1
[PE3-bgp]
peer 3.3.3.3 as-number 100
[PE3-bgp]
peer 3.3.3.3 connect-interface loopback 1
[PE3-bgp]
ipv4-family vpnv4
[PE3-bgp]
peer 2.2.2.2 enable
[PE3-bgp]
peer 3.3.3.3 enable
[PE3-bgp]
quit
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
8 Ethernet OAM Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
614