2-16
192.168.10.0/24 RIP 100 1 10.214.20.2 Vlan20
As shown in the displayed information above, MCE has obtained the routes of VPN2 through RIP, and
maintains these routes in a routing table different from the routing table for routing information of VPN1
to the network segment 192.168.0.0, thus isolating the routes of VPN1 from the routes of VPN2.
z
Configure the routing protocol running between the MCE and a PE
# MCE uses GigabitEthernet 2/0/3 to connect to GigabitEthernet 2/0/18 of PE. Configure the two ports
to be trunk ports and permit tagged packets of VLAN 30 and VLAN 40.
[MCE-rip-20] quit
[MCE] interface GigabitEthernet 2/0/3
[MCE-GigabitEthernet2/0/3] port link-type trunk
[MCE-GigabitEthernet2/0/3] port trunk permit vlan 30 40
# Configure GigabitEthernet 2/0/18 of PE.
<PE> system-view
[PE] interface GigabitEthernet 2/0/18
[PE-GigabitEthernet2/0/18] port link-type trunk
[PE-GigabitEthernet2/0/18] port trunk permit vlan 30 40
# Configure IP addresses 10.214.30.2 and 10.214.40.2 for VLAN-interface 30 and VLAN-interface 40 of
PE respectively. The configuration procedures are omitted here.
# Configure Loopback0 of MCE and CE to specify the router ID for MCE and PE respectively. The IP
addresses for Loopback0 of MCE and CE are 101.101.10.1 and 100.100.10.1 respectively.
Configuration procedures are omitted here.
# Create OSPF process 10 on MCE, bind the process to VPN1, and set the OSPF domain ID to 10, and
enable OSPF multi-instance.
[MCE-GigabitEthernet2/0/3] quit
[MCE] ospf 10 router-id 101.101.10.1 vpn-instance vpn1
[MCE-ospf-10] domain 10
[MCE-ospf-10] vpn-instance-capability simple
# Advertise the network segment 10.214.30.0 within Area0, and import static routes of VPN1.
[MCE-ospf-10] area 0
[MCE-ospf-10-area-0.0.0.0] network 10.214.30.0 0.0.0.255
[MCE-ospf-10-area-0.0.0.0] quit
[MCE-ospf-10] import-route static
# Create OSPF process 10 on PE, bind the process to VPN1, set the OSPF domain ID to 10, enable
OSPF multi-instance, and advertise the network segment 10.214.30.0 within Area0.
[PE-GigabitEthernet2/0/18] quit
[PE] ospf 10 router-id 100.100.10.1 vpn-instance vpn1
[PE-ospf-10] domain-id 10
[PE-ospf-10] vpn-instance-capability simple
[PE-ospf-10] area 0
[PE-ospf-10-area-0.0.0.0] network 10.214.30.0 0.0.0.255
# Display the information about the routes of VPN1 on PE.
[PE-ospf-10-area-0.0.0.0] display ip routing-table vpn-instance vpn1
Routing Tables: vpn1
Summary of Contents for S7902E
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Page 598: ...ii ...
Page 1757: ...4 9 ...
Page 1770: ...6 4 ...
Page 2017: ...2 11 Figure 2 3 SFTP client interface ...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...