H3C S9500 Series Operation Manual page 676

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

Advertisement

Operation Manual – MPLS
H3C S9500 Series Routing Switches
[PE1] interface loopback0
[PE1-LoopBack0] ip address 1.1.1.1 32
[PE1-LoopBack0] quit
[PE1] vlan 100
[PE1-vlan100] port GigabitEthernet 2/2/1
[PE1-vlan100] interface vlan-interface 100
[PE1-vlan-interface100] ip address 196.168.1.1 255.255.255.0
[PE1-vlan-interface100] mpls
[PE1-vlan-interface100] mpls ldp enable
[PE1-vlan-interface100] quit
# Enable OSPF on the interface connecting PE1 and P router and the Loopback
interface.
[PE1] ospf 1 route-id 1.1.1.1
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 196.168.1.0 0.0.0.255
[PE1-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] quit
# Configure VPN-instance. The configuration of VPN B is similar to that of VPN A, so
followed is only the configuration of VPN A.
<PE1> system-view
[PE1] ip vpn-instance vpna
[PE1-vpn-vpna] route-distinguisher 100:1
[PE1-vpn-vpna] vpn-target 100:1 both
[PE1-vpn-vpna] quit
# Configure ACL and redirection, and configure a basic IP ACL to permit all the IP
packets in CE devices to be redirected.
[PE1] flow-template user-defined slot 3 dmac 0000-0000-0000 sip 0.0.0.0
vlan-id
[PE1] acl number 2000
[PE1-acl-basic-2000] rule 0 permit source any
[PE1-acl-basic-2000] quit
[PE1] acl number 4000
[PE1-acl-link-4000]rule
0000-0000-0000
[PE1-acl-link-4000] quit
Chapter 5 Card Intermixing for MPLS Support
0
permit
ingress
5-9
10
egress
00e0-fc99-6738

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents