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

Configuring static routing between an MCE and a PE, Configuring RIP between an MCE and a PE,

Page 15 highlights

Configuring static routing between an MCE and a PE Step 1. Enter system view. 2. Configure a static route for a VPN instance. 3. (Optional.) Configure the default preference for static routes. Command system-view ip route-static vpn-instance s-vpn-instance-name dest-address { mask | mask-length } { next-hop-address [ public ] [ track track-entry-number ] | interface-type interface-number [ next-hop-address ] | vpn-instance d-vpn-instance-name next-hop-address [ track track-entry-number ] } [ permanent ] [ preference preference-value ] [ tag tag-value ] [ description description-text ] ip route-static default-preference default-preference-value Remarks N/A By default, no static route is configured. The default setting is 60. Configuring RIP between an MCE and a PE Step Command 1. Enter system view. system-view 2. Create a RIP process for a VPN instance and rip [ process-id ] vpn-instance enter RIP view. vpn-instance-name 3. Enable RIP on the interface attached to the specified network. network network-address 4. Redistribute the VPN routes. import-route protocol [ process-id ] [ allow-ibgp ] [ cost cost | route-policy route-policy-name | tag tag ] * 5. (Optional.) Configure the default cost value for the redistributed routes. default cost value Remarks N/A N/A By default, RIP is disabled on an interface. By default, no route of any other routing protocol is redistributed into RIP. If you do not specify a default cost, the default cost is 0. For more information about RIP, see Layer 3-IP Routing Configuration Guide. Configuring OSPF between an MCE and a PE Step Command 1. Enter system view. system-view 2. Create an OSPF process for a ospf [ process-id | router-id VPN instance and enter OSPF router-id | vpn-instance view. vpn-instance-name ] * 3. Disable routing loop detection. vpn-instance-capability simple Remarks N/A N/A Routing loop detection is enabled. You must disable routing loop detection for a VPN OSPF process on the MCE. Otherwise, the MCE cannot receive OSPF routes from the PE. 12

  • 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

12
Configuring static routing between an MCE and a PE
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a static route
for a VPN instance.
ip route-static vpn-instance
s-vpn-instance-name
dest-address
{
mask
|
mask-length
} {
next-hop-address
[
public
]
[
track
track-entry-number
] |
interface-type
interface-number
[
next-hop-address
] |
vpn-instance
d-vpn-instance-name
next-hop-address
[
track
track-entry-number
] }
[
permanent
] [
preference
preference-value
]
[
tag
tag-value
] [
description
description-text
]
By default, no static route is
configured.
3.
(Optional.) Configure
the default preference for
static routes.
ip route-static default-preference
default-preference-value
The default setting is 60.
Configuring RIP between an MCE and a PE
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a RIP process for
a VPN instance and
enter RIP view.
rip
[
process-id
]
vpn-instance
vpn-instance-name
N/A
3.
Enable RIP on the
interface attached to
the specified network.
network
network-address
By default, RIP is disabled on
an interface.
4.
Redistribute the VPN
routes.
import-route
protocol
[
process-id
]
[
allow-ibgp
] [
cost
cost
|
route-policy
route-policy-name
|
tag
tag
] *
By default, no route of any
other routing protocol is
redistributed into RIP.
5.
(Optional.) Configure
the default cost value
for the redistributed
routes.
default cost
value
If you do not specify a default
cost, the default cost is 0.
For more information about RIP, see
Layer 3—IP Routing Configuration Guide
.
Configuring OSPF between an MCE and a PE
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an OSPF process for a
VPN instance and enter OSPF
view.
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Disable routing loop
detection.
vpn-instance-capability simple
Routing loop detection is enabled.
You must disable routing loop
detection for a VPN OSPF process
on the MCE. Otherwise, the MCE
cannot receive OSPF routes from
the PE.