Ospf Multi-Instance Sham-Link Configuration Example - H3C S9500 Series Operation Manual

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – MPLS
H3C S9500 Series Routing Switches
[UPE-vpn-vpn1] vpn-target 100:1 both
# Configure interfaces
[UPE] vlan 301
[UPE-vlan301] port gigabitethernet 2/2/1
[UPE-vlan301] quit
[UPE] interface Vlan-interface 301
[UPE-Vlan-interface301] mpls
[UPE-Vlan-interface301] mpls ldp enable
[UE1-Vlan-interface301] mpls ldp transport-ip interface
[UPE-Vlan-interface301] ip address 10.0.0.2 255.0.0.0
[UPE-Vlan-interface301] quit
[UPE] interface loopback0
[UPE-LoopBack 0] ip address 1.0.0.1 255.255.255.255
# Configure BGP
[UPE] bgp 100
[UPE-bgp] group 1 internal
[UPE-bgp] peer 1.0.0.2 group 1
[UPE-bgp] ipv4-family vpn-instance vpn1
[UPE--bgp-af-vpn-instance] import direct
[UPE-bgp] ipv4-family vpnv4
[UPE-bgp-af-vpn] peer 1 enable
[UPE-bgp-af-vpn] peer 1.0.0.2 group 1
# Configure OSPF
[UPE] ospf
[UPE-ospf-1] import-route direct
[UPE-ospf-1] area 0
[UPE-ospf-1-area-0.0.0.0] network 1.0.0.1 0.0.0.0
[UPE-ospf-1-area-0.0.0.0] network 10.0.0.2 0.255.255.255
[UPE-ospf-1-area-0.0.0.0] quit

3.4.8 OSPF Multi-instance Sham-link Configuration Example

I. Network requirements
As shown in the following picture, a company connects to a WAN through OSPF
multi-instance function of H3C router. OSPF is bind to VPN1.MPLS VPN backbone
runs between PEs and OSPF runs between PE and CE. Configure a Sham-link
between PE1 and PE2 to ensure the traffic between CE1 and CE2 does not pass the
Backdoor link that directly connects CE1 and CE2.
Chapter 3 BGP/MPLS VPN Configuration
3-65

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents