3com S7906E 설치 설명서

다운로드
페이지 2621
 
1-27 
To do… 
Use the command… 
Remarks 
Create a VPN instance and 
enter VPN instance view 
ip vpn-instance 
vpn-instance-name 
Required 
No VPN instance exists by 
default. 
Configure an RD for the VPN 
instance 
route-distinguisher 
route-distinguisher 
Required 
Associate the current VPN 
instance with one or more VPN 
targets 
vpn-target vpn-target&<1-8> 
both | export-extcommunity 
import-extcommunity ] 
Required 
Return to system view 
quit 
— 
Enter interface view 
interface interface-type 
interface-number
 
— 
Associate the current interface 
with the VPN instance 
ip binding vpn-instance 
vpn-instance-name 
Required 
By default, an interface is 
associated with no VPN 
instance. 
 
Configuring Route Advertisement between PE and CE 
Route advertisement between PE and CE can depend on static routes, RIP, OSPF, IS-IS, or EBGP. You 
may choose one as needed. 
Configuring static routes between PEs and CEs 
Follow these steps to configure static routes between PEs and CEs: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
ip route-static dest-address 
mask | mask-length } 
gateway-address | 
interface-type interface-number 
gateway-address ] | 
vpn-instance 
d-vpn-instance-name 
gateway-address } 
preference preference-value ] 
tag tag-value ] [ description 
description-text 
Configure static routes for a 
specified VPN instance 
ip route-static vpn-instance 
s-vpn-instance-name&<1-5> 
dest-address { mask | 
mask-length } 
gateway-address public ] | 
interface-type interface-number 
gateway-address ] | 
vpn-instance 
d-vpn-instance-name 
gateway-address } 
preference preference-value ] 
tag tag-value ] [ description 
description-text ] 
Required