Creating a sham link – H3C Technologies H3C S10500 Series Switches User Manual
Page 273
262
Redistributing the loopback interface route and OSPF routes
into BGP
Follow these steps to redistribute the loopback interface route and OSPF routes into BGP:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number Required
Enter BGP VPN instance view
ipv4-family vpn-instance
vpn-instance-name
Required
Redistribute direct routes into BGP
(to redistribute the loopback
interface route into BGP)
import-route direct [ med
med-value | route-policy
route-policy-name ] *
Required
Redistribute OSPF VPN routes
import-route ospf [ { process-id |
all-processes } [ allow-direct | med
med-value | route-policy
route-policy-name ] * ]
Required
Creating a sham link
Follow these steps to create a sham link:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
—
Configure the route tag
route-tag tag-value
Required
Enter OSPF area view
area area-id
Required
Configure a sham link
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 ]*
Required
By default, no sham link is
configured.