Redistributing The Loopback Interface Route And Ospf Routes Into Bgp; Creating A Sham Link - H3C S5500-HI Series Mpls Configuration Manual

Hide thumbs Also See for S5500-HI Series:
Table of Contents

Advertisement

Step
4.
Configure the address of the
loopback interface.
Redistributing the loopback interface route and OSPF routes
into BGP
Step
1.
Enter system view.
2.
Enter BGP view.
3.
Enter BGP VPN instance view.
4.
Redistribute direct routes into BGP (to redistribute
the loopback interface route into BGP).
5.
Redistribute OSPF VPN routes.

Creating a sham link

Step
1.
Enter system view.
2.
Enter OSPF view.
3.
Configure the external route
tag for imported VPN routes.
4.
Enter OSPF area view.
5.
Configure a sham link.
If you start OSPF but do not configure the router ID, the system automatically elects one. However, the
same election rules produce the same router ID. Therefore, H3C recommends that you configure the
router ID when starting an OSPF process. For the election rules, see Layer 3—IP Routing Configuration
Guide.
If you configure multiple OSPF VPN instances but do not configure the route tag, the system automatically
creates one based on the AS number configured. If you do not configure BGP, the tag is 0. However, the
same calculation rule produces the same tag, and hence the same tag is created for multiple OSPF VPN
Command
ip address ip-address { mask |
mask-length }
Command
system-view
bgp as-number
ipv4-family vpn-instance vpn-instance-name
import-route direct [ med med-value | route-policy
route-policy-name ] *
import-route ospf [ { process-id | all-processes }
[ allow-direct | med med-value | route-policy
route-policy-name ] * ]
Command
system-view
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
route-tag tag-value
area area-id
sham-link source-ip-address
destination-ip-address [ cost cost |
dead dead-interval | hello
hello-interval | retransmit
retrans-interval | trans-delay delay
| simple [ cipher | plain ]
password | { md5 | hmac-md5 }
key-id [ cipher | plain ]
password ]*
267
Remarks
N/A
Remarks
N/A
N/A
N/A
N/A
By default, no sham link is
configured.

Advertisement

Table of Contents
loading

This manual is also suitable for:

S10500 series

Table of Contents