H3C E500C-F Series Configuration Manual Download Page 32

26 

 

Destinations : 6 Routes : 6 

 

Destination: ::1/128                                     Protocol  : Direct 

NextHop    : ::1                                         Preference: 0 

Interface  : InLoop0                                     Cost      : 0 

 

Destination: 40::/64                                     Protocol  : Direct 

NextHop    : ::                                          Preference: 0 

Interface  : Vlan40                                      Cost      : 0 

 

Destination: 40::2/128                                   Protocol  : Direct 

NextHop    : ::1                                         Preference: 0 

Interface  : InLoop0                                     Cost      : 0 

 

Destination: 2012::/64                                   Protocol  : O_ASE2 

NextHop    : FE80::200:FF:FE0F:5                         Preference: 150 

Interface  : Vlan40                                      Cost      : 1 

 

Destination: FE80::/10                                   Protocol  : Direct 

NextHop    : ::                                          Preference: 0 

Interface  : NULL0                                       Cost      : 0 

 

Destination: FF00::/8                                    Protocol  : Direct 

NextHop    : ::                                          Preference: 0 

Interface  : NULL0                                       Cost      : 0 

The routing information for the two VPNs has been added into the routing tables on PE 1. 

 

Summary of Contents for E500C-F Series

Page 1: ...H3C E500C F FS5100 EI Switch Series MCE Configuration Guide New H3C Technologies Co Ltd http www h3c com Document version 6W100 20230130...

Page 2: ...espective owners Notice The information in this document is subject to change without notice All contents in this document including statements information and recommendations are believed to be accur...

Page 3: ...text represents commands and keywords that you enter literally as shown Italic Italic text represents arguments that you replace with actual values Square brackets enclose syntax choices keywords or...

Page 4: ...at contains additional or supplementary information TIP An alert that provides helpful information Network topology icons Convention Description Represents a generic network device such as a router sw...

Page 5: ...document might use devices that differ from your device in hardware model configuration or software version It is normal that the port numbers sample output screenshots and other information in the e...

Page 6: ...a PE 9 Display and maintenance commands for MCE 9 MCE configuration examples 10 Example Configuring the MCE that uses OSPF to advertise VPN routes to the PE 10 Configuring IPv6 MCE 15 About IPv6 MCE 1...

Page 7: ...evices Using a common CE for multiple VPNs cannot ensure data security because the VPNs use the same routing table The MCE feature offers balance between cost and security It creates multiple VPN inst...

Page 8: ...e classified into different sets by policies Only the sites in the same set can access each other through the provider network Such a set is called a VPN VPN instance VPN instances implement route iso...

Page 9: ...e global uniqueness for a VPN IPv4 address do not set the Administrator subfield to any private AS number or private IP address Route target attribute MPLS L3VPN uses route target community attributes...

Page 10: ...amic IP assignment for DHCP clients in private networks you can configure DHCP server or DHCP relay agent on the MCE When the MCE functions as the DHCP server the IP addresses assigned to different pr...

Page 11: ...nstance 5 Optional Configure a VPN ID for the VPN instance vpn id vpn id By default no VPN ID is configured for a VPN instance Associating a VPN instance with a Layer 3 interface 1 Enter system view s...

Page 12: ...nity By default no route targets are configured 4 Set the maximum number of active routes routing table limit number warn threshold simply alert By default the number of active routes in a VPN instanc...

Page 13: ...mmon RIP process Procedure 1 Enter system view system view 2 Create a RIP process for a VPN instance and enter RIP view rip process id vpn instance vpn instance name A RIP process can belong to only o...

Page 14: ...nable OSPF on the interface attached to the specified network in the area network ip address wildcard mask By default an interface neither belongs to any area nor runs OSPF Configuring routing between...

Page 15: ...spf process id router id router id vpn instance vpn instance name 3 Disable routing loop detection vpn instance capability simple By default routing loop detection is enabled and the MCE does not rece...

Page 16: ...Network diagram Procedure 1 Configure the VPN instances on the MCE and PE 1 On the MCE configure VPN instances vpn1 and vpn2 and specify an RD and route targets for each VPN instance MCE system view M...

Page 17: ...e vpn2 quit 2 Configure routing between the MCE and VPN sites The MCE is connected to VPN 1 directly and no routing protocol is enabled in VPN 1 Therefore you can configure static routes On VR 1 assig...

Page 18: ...stem view VR2 ospf 2 VR2 ospf 2 area 0 VR2 ospf 2 area 0 0 0 0 network 192 168 10 0 0 0 0 255 VR2 ospf 2 area 0 0 0 0 network 10 214 20 0 0 0 0 255 VR2 ospf 2 area 0 0 0 0 quit VR2 ospf 2 quit On the...

Page 19: ...nterface40 ip binding vpn instance vpn2 PE1 Vlan interface40 ip address 40 1 1 2 24 PE1 Vlan interface40 quit Configure the IP address of the interface Loopback 0 as 101 101 10 1 for the MCE and as 10...

Page 20: ...lan30 224 0 0 0 4 Direct 0 0 0 0 0 0 NULL0 224 0 0 0 24 Direct 0 0 0 0 0 0 NULL0 255 255 255 255 32 Direct 0 0 127 0 0 1 InLoop0 Verify that PE 1 has learned the routes of OSPF process 20 in VPN 2 thr...

Page 21: ...routing protocols to save system resources IPv6 MCE tasks at a glance To configure IPv6 MCE perform the following tasks 1 Configuring VPN instances Perform the following VPN instance tasks on PEs and...

Page 22: ...e with an interface or disassociating a VPN instance from an interface will clear the IP address and routing protocol settings of the interface Configuration of this command deletes the IPv6 address o...

Page 23: ...MCE and a VPN site About IPv6 static routing between an MCE and a VPN site An MCE can reach a VPN site through an IPv6 static route IPv6 static routing on a traditional CE is globally effective and d...

Page 24: ...e redistributed into RIPng 4 Return to system view quit 5 Enter interface view interface interface type interface number 6 Enable RIPng on the interface ripng process id enable By default RIPng is dis...

Page 25: ...ng configurations on the MCE For information about configuring the PE see the documentation for the PE Configuring IPv6 static routing between an MCE and a PE 1 Enter system view system view 2 Configu...

Page 26: ...receive OSPFv3 routes from the PE 5 Redistribute VPN routes import route protocol as number process id all processes allow direct cost cost value nssa only route policy route policy name tag tag type...

Page 27: ...N instances vpn1 and vpn2 and specify an RD and route targets for each VPN instance MCE system view MCE ip vpn instance vpn1 MCE vpn instance vpn1 route distinguisher 10 1 MCE vpn instance vpn1 vpn ta...

Page 28: ...PN sites The MCE is connected to VPN 1 directly and no routing protocol is enabled in VPN 1 Therefore you can configure IPv6 static routes On VR 1 assign IPv6 address 2001 1 2 64 to the interface conn...

Page 29: ...ce 0 Interface Vlan10 Cost 0 Destination 2001 1 1 128 Protocol Direct NextHop 1 Preference 0 Interface InLoop0 Cost 0 Destination 2012 1 64 Protocol Static NextHop 2001 1 2 Preference 60 Interface Vla...

Page 30: ...terface MCE interface vlan interface 40 MCE Vlan interface40 ip binding vpn instance vpn2 MCE Vlan interface40 ipv6 address 40 1 64 MCE Vlan interface40 quit On PE 1 bind VLAN interface 30 to VPN inst...

Page 31: ...tails not shown Verifying the configuration Verify that PE 1 has learned the private route of VPN 1 through OSPFv3 PE1 display ipv6 routing table vpn instance vpn1 Destinations 6 Routes 6 Destination...

Page 32: ...otocol Direct NextHop 1 Preference 0 Interface InLoop0 Cost 0 Destination 2012 64 Protocol O_ASE2 NextHop FE80 200 FF FE0F 5 Preference 150 Interface Vlan40 Cost 1 Destination FE80 10 Protocol Direct...

Reviews: