Operation Manual – MCE
H3C S3610&S5510 Series Ethernet Switches
Chapter 2 MCE Configuration
2-17
[MCE-vlan10] quit
[MCE] interface Vlan-interface 10
# Bind VLAN-interface 10 to VPN1, and configure IP address 10.214.10.3/24 for
VLAN-interface 10.
[MCE-Vlan-interface10] ip binding vpn-instance vpn1
[MCE-Vlan-interface10] ip address 10.214.10.3 24
# Create VLAN 20, add Ethernet 1/0/20 to VLAN 20, create VLAN-interface 20, bind
VLAN-interface 20 to VPN2, and configure IP address 10.214.20.3/24 for
VLAN-interface 20.
[MCE-Vlan-interface10] quit
[MCE] vlan 20
[MCE-vlan20] port Ethernet 1/0/20
[MCE-vlan20] quit
[MCE] interface Vlan-interface 20
[MCE-Vlan-interface20] ip binding vpn-instance vpn2
[MCE-Vlan-interface20] ip address 10.214.20.3 24
z
Configure the routing protocol running between MCE and a site
MCE is directly connected to VPN1, which has no routing protocol enabled. You can
configure to use static routes between MCE and a site.
Configuration on VR1: Assume VR1 is an S3610 switch, configure IP address
10.214.10.2/24 for the interface connecting to MCE and IP address 192.168.0.1/24 for
the interface connecting to VPN1. The operation of adding a port to a VLAN and
configuring IP address for a VLAN-interface is omitted here.
# Configure a default route on VR1, specifying the next hop address to 10.214.10.3.
<VR1> system-view
[VR1] ip route-static 0.0.0.0 0.0.0.0 10.214.10.3
# Define a static route on MCE, specify the next hop address 10.214.10.2 for packets
destined for the network segment 192.168.0.0, and bind this route to VPN1.
[MCE-Vlan-interface10] quit
[MCE] ip route-static vpn-instance vpn1 192.168.0.0 16 10.214.10.2
# Display the information about the routes of VPN1 maintained on MCE.
[MCE] display ip routing-table vpn-instance vpn1
Routing Tables: vpn1
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost NextHop Interface
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0