Documente Academic
Documente Profesional
Documente Cultură
Contents
Contents
Chapter 1 HoVPN Configuration Guide....................................................................................
1.1 Description........................................................................................................................
1.2 Networking and Service Description..............................................................................
1.3 Command Line List.......................................................................................................
1.4 Configuration Flow.......................................................................................................
1.5 Configuration Procedure................................................................................................
1.6 Configure Reference.......................................................................................................
Figure 1.1
RTB works as UPE, connecting with users. The requirement for UPE is
lower than SPE.
Version
VRP3.3
Command
peer { peer-address | group-name }
routes of a specified
default-route-advertise [ vpn-instance
vpn-instancename]
VRP5.1
VRP3.3
VRP5.1
Create vpn-instance
1)
Enable OSPF on RTB, RTC, RTE
On RTB and RTC, enable OSPF, use the commands ospf 1 network
xx.xx.xx.xx xx.xx.xx.xx. Enable OSPF on RTB, RTC, RTE, and declare
networks. Use the command ospf 1, area x.x.x.x, network x.x.x.x
x.x.x.x.
On RTB declare 2.2.2.2 /32, 192.2.3.0 /32
On RTC declare 3.3.3.3 /32, 192.2.4.0 /32
On RTE declare 5.5.5.5 /32, 192.2.3.0 /32, 192.2.4.0 /32
2)
Enable BGP on RTA and RTD
Enable BGP on RTA and RTD, and import direct network segment. Use the
command bgp xxx, group xxx external, peer x.x.x.x group xxx asnumber xxx, import-route direct
3)
Enable BGP on RTB,RTC and RTE
Enable BGP on RTB,RTC and RTE. Use loopback address to set up the
IBGP connection between RTB and RTE. RTC and RTE also use loopback
address to set up IBGP connection. RTB and RTC have no BGP connection.
Use the command bgp 100, group 100 internal, peer x.x.x.x group 100,
peer x.x.x.x connect-interface LoopBack0
4)
Enable MPLS on RTB, RTC and RTE
Enable MPLS and LDP on system and interface view of RTB, RTC and RTE.
The interface of E0/0 of RTB and RTC be used binding vpn instance, so do
not need to enable MPLS.
5)
Create vpn instance on RTB, RTC and RTE
Create vpn instance huawei on RTB and RTC, and configure its RD and
RT, then bound the vpn instance to interface E0/0, configure the interfaces
ip address. On RTE, also create vpn instance huawei, but not bind the
interface.
Use the command ip vpn-instance huawei, route-distinguisher 100:1,
vpn-target 100:1 both, ip binding vpn-instance huawei, ip address x.x.x.x
x.x.x.x.
6)
Configure IBGP connection between PE-CE
4
7)
Configure the MP-BGP connection between SPE-PE
Use the command ipv4-family vpnv4 to enter VPNV4 view under bgp view.
Create the MP-BGP connection between SPE-PE, use the command peer
100 enable, peer x.x.x.x group 100.
eg [RTC]bgp 100
[RTC-bgp]ipv4-family vpnv4
[RTC-bgp-af-vpn]peer 100 enable
[RTC-bgp-af-vpn]peer 5.5.5.5 group 100
8)
Configure the MP-BGP connection between SPE-UPE
On RTB, configure the MP-BGP connection between SPE-UPE under vpn
instance view, use the command ipv4-family vpnv4, peer 100 enable,
peer x.x.x.x group 100.
On RTE, configure the MP-BGP connection between SPE-UPE under vpn
instance view, and declare RTB as UPE, use the command ipv4-family
vpnv4, peer 100 enable, peer x.x.x.x group 100, peer x.x.x.x upe, peer
x.x.x.x default-route-advertise vpn-instance huawei
eg [RTB]bgp 100
[RTB-bgp]ipv4-family vpnv4
[RTB-bgp-af-vpn]peer 100 enable
[RTB-bgp-af-vpn]peer 5.5.5.5 group 100
[RTE]bgp 100
[RTE-bgp]ipv4-family vpnv4
[RTE-bgp-af-vpn]peer 100 enable
[RTE-bgp-af-vpn]peer 2.2.2.2 group 100
[RTE-bgp-af-vpn] peer 2.2.2.2 upe
[RTE-bgp-af-vpn] peer 2.2.2.2 default-route-advertise vpn-instance
huawei
Confidential Information of Huawei. No Spreading without Permission