3com S7906E インストール手順
1-42
Configuring a Loopback Interface
Follow these steps to configure a loopback interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a loopback interface
and enter loopback interface
view
and enter loopback interface
view
interface loopback
interface-number
interface-number
Required
Bind the loopback interface to
VPN instance
VPN instance
ip binding vpn-instance
vpn-instance-name
vpn-instance-name
Required
By default, an interface is
associated with no VPN
instance.
associated with no VPN
instance.
Configure the address of the
loopback interface
loopback interface
ip address ip-address { mask |
mask-length }
mask-length }
Required
Advertising Routes of a Loopback Interface
Follow these steps to advertise routes of a loopback interface:
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
vpn-instance-name
Required
Inject direct routes, that is,
loopback host routes
loopback host routes
import-route direct
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 ] *
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 ]*
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.
configured.