H3C S9500 Series Operation Manual page 630

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

Advertisement

Operation Manual – MPLS
H3C S9500 Series Routing Switches
[PE2-ospf-100] area 0.0.0.0
[PE2-ospf-100-area-0.0.0.0] network 20.1.1.0 0.0.0.255
# Configuring Sham-link
[PE2-ospf-100-area-0.0.0.0] sham-link 2.2.2.2 1.1.1.1
# Configure static route to PE1 and PE3.
[PE2] ip route-static 50.1.1.1 255.255.255.255 168.1.12.1
[PE2] ip route-static 50.1.1.3 255.255.255.255 168.1.23.3
# Configure the routes distributed to PE1 and PE3.
[PE1] ospf 1000
[PE1-ospf-1000]area 0
[H3C-ospf-1000-area-0.0.0.0] network 168.12.1.0 0.0.0.255
[H3C-ospf-1000-area-0.0.0.0] network 50.1.1.1 0.0.0.0
3)
Configure CE1.
# Configure interfaces
[CE1] vlan 202
[CE1-vlan202] port gigabitethernet 2/1/2
[CE1-vlan202] quit
[CE1] interface Vlan-interface 202
[CE1-Vlan-interface202] ip address 12.1.1.1 255.255.255.0
[CE1-Vlan-interface202] ospf cost 100
[CE1-Vlan-interface202] quit
[CE1] vlan 201
[CE1-vlan201] port gigabitethernet 2/1/1
[CE1-vlan201] quit
[CE1] interface Vlan-interface 201
[CE1-Vlan-interface201] ip address 10.1.1.1 255.255.255.0
[CE1-Vlan-interface201] ospf cost 1
# Configure OSPF.
[CE1] ospf 100 router-id 10.10.10.129
[CE1-ospf-100] import-route direct
[CE1-ospf-100] area 0.0.0.0
[CE1-ospf-100-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[CE1-ospf-100-area-0.0.0.0] network 12.1.1.0 0.0.0.255
4)
Configure CE2
# Configure interface.
[CE2] vlan 202
[CE2-vlan202] port gigabitethernet 2/1/2
[CE2-vlan202] quit
[CE2] interface Vlan-interface 202
Chapter 3 BGP/MPLS VPN Configuration
3-70

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents