Advertising Routes of a
Loopback Interface
Creating a Sham Link
Configuring
Multi-VPN-instance CE
To do...
Configure the address of the
loopback interface
Follow these steps to advertise routes of a loopback interface:
To do...
Enter system view
Enter BGP view
Enter BGP VPN instance view
Inject direct routes, that is,
loopback host routes
Follow these steps to create a sham link:
To do...
Enter system view
Enter OSPF view
Configure the route tag
Enter OSPF area view
Configure a sham link
n
If you start OSPF but do not configure the router ID, the system will
■
automatically elect one. However, the same election rules produce the same
router ID. Therefore, you are recommended to configure the router ID when
starting an OSPF process. For the election rules, refer to
on page
917.
If you configure multiple OSPF VPN instances but do not configure the route
■
tag, the system will automatically create one based on the AS number
configured. If you do not configure BGP, the tag will be 0. However, the same
calculation rule produces the same tag, and hence the same tag will be created
for multiple OSPF VPN instances on the same PE or PEs with the same AS
number. Therefore, you are recommended to configure different tags for
different OSPF VPN instance.
Multi-VPN-instance CE is used in LANs. By configuring multiple OSPF instances on
CEs, you can implement service isolation.
One OSPF process can belong to only one VPN instance; one VPN instance can run
several OSPF processes.
Configuring Multi-VPN-instance CE
Use the command...
ip address ip-address { mask |
mask-length }
Use the command...
system-view
bgp as-number
ipv4-family vpn-instance
vpn-instance-name
import-route direct
Use the command...
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
route-tag tag-id
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 ]*
1497
Remarks
Required
Remarks
-
Required
Required
Required
Remarks
-
-
Required
Required
Required
By default, no
sham link is
configured.
"OSPF Configuration"