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
Summary of Contents for S7906E - Switch
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Page 598: ...ii...
Page 1757: ...4 9...
Page 1770: ...6 4...
Page 2017: ...2 11 Figure 2 3 SFTP client interface...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...