HP 6125XLG R2306-HP 6125XLG Blade Switch MCE Configuration Guide - Page 9

Configuring routing on an MCE device, Configuration prerequisites

Page 9 highlights

Step 1. Enter system view. Command system-view Remarks N/A 2. Enter VPN instance view. 3. (Optional.) Enter IPv4 VPN view. ip vpn-instance vpn-instance-name N/A ipv4-family N/A 4. Configure route targets for the vpn-target vpn-target& VPN instance. [ both | export-extcommunity | import-extcommunity ] By default, no route target is configured for the VPN instance. 5. (Optional.) Configure the maximum number of routes for routing-table limit number the VPN instance. { warn-threshold | simply-alert } By default, the maximum route number is not configured. Setting the maximum number of routes for a VPN instance is for preventing too many routes from being redistributed into the PE. 6. (Optional.) Apply a routing policy to filter incoming routes import route-policy route-policy for the VPN instance. By default, all routes matching the import target attribute are accepted. Make sure the routing policy already exists. Otherwise, the device does not filter received routes. 7. (Optional.) Apply a routing policy to filter outgoing routes export route-policy route-policy for the VPN instance. By default, no routing policy is applied to filter the routes to be advertised. Make sure the routing policy already exists. Otherwise, the device does not filter routes to be advertised. NOTE: • Route related attributes configured in VPN instance view are applicable to both IPv4 VPNs and IPv6 VPNs. • You can configure route related attributes for IPv4 VPNs in both VPN instance view and IPv4 VPN view. Those configured in IPv4 VPN view take precedence. Configuring routing on an MCE device MCE implements service isolation through route isolation. MCE routing configuration includes: • MCE-VPN site routing configuration. • MCE-PE routing configuration. Configuration prerequisites Before you configure routing on an MCE, complete the following tasks: • Configuring VPN instances, and binding the VPN instances with the interfaces connected to the VPN sites and the PE. 6

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52

6
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VPN instance view.
ip vpn-instance
vpn-instance-name
N/A
3.
(Optional.) Enter IPv4 VPN
view.
ipv4-family
N/A
4.
Configure route targets for the
VPN instance.
vpn-target
vpn-target
&<1-8>
[
both
|
export-extcommunity
|
import-extcommunity
]
By default, no route target is
configured for the VPN instance.
5.
(Optional.) Configure the
maximum number of routes for
the VPN instance.
routing-table
limit
number
{
warn-threshold
|
simply-alert
}
By default, the maximum route
number is not configured.
Setting the maximum number of
routes for a VPN instance is for
preventing too many routes from
being redistributed into the PE.
6.
(Optional.) Apply a routing
policy to filter incoming routes
for the VPN instance.
import route-policy
route-policy
By default, all routes matching the
import target attribute are
accepted.
Make sure the routing policy
already exists. Otherwise, the
device does not filter received
routes.
7.
(Optional.) Apply a routing
policy to filter outgoing routes
for the VPN instance.
export route-policy
route-policy
By default, no routing policy is
applied to filter the routes to be
advertised.
Make sure the routing policy
already exists. Otherwise, the
device does not filter routes to be
advertised.
NOTE:
Route related attributes configured in VPN instance view are applicable to both IPv4 VPNs and IPv6
VPNs.
You can configure route related attributes for IPv4 VPNs in both VPN instance view and IPv4 VPN view.
Those configured in IPv4 VPN view take precedence.
Configuring routing on an MCE device
MCE implements service isolation through route isolation. MCE routing configuration includes:
MCE-VPN site routing configuration.
MCE-PE routing configuration.
Configuration prerequisites
Before you configure routing on an MCE, complete the following tasks:
Configuring VPN instances, and binding the VPN instances with the interfaces connected to the
VPN sites and the PE.