3Com 8807 Configuration Manual page 607

8800 series
Hide thumbs Also See for 8807:
Table of Contents

Advertisement

Intermixing Configuration Task
607
[CE1-bgp] import-route direct
[CE1-bgp] import-route static
n
The configuration on CE2 is similar to that on CE1, so the configuration procedure
is omitted.
2 Configure PE1
# Configure global MPLS.
[PE1] mpls lsr-id 1.1.1.1
[PE1] mpls
[PE1] mpls ldp
# Configure public network interface and enable MPLS on the interface.
[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 0 permit ingress 10 egress 00e0-fc99-6738
0000-0000-0000
[PE1-acl-link-4000] quit

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

88108814

Table of Contents