The static route from the VPN to Internet is configured and the next-hop address is a public
network address.
----End
3.11.4 Configuring the Static Route to VPN on the Device of the
Public Network
This part describes how to configure static routes to VPN users to forward packets from the
Internet to the VPN.
Context
Do as follows on the PE.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ip route-static
ip-address
{
mask
|
mask-length
} {
interface-type
interface-
number
nexthop-address
|
vpn-instance
vpn-instance-name
nexthop-address
|
nexthop-
address
} [
preference
preference
|
tag
tag
]
*
[
description
text
]
The static route from the public network to the VPN is configured and the next-hop address is
a private network address.
NOTE
If the CE and the PE are connected through an Ethernet network, the next-hop must be specified.
----End
3.11.5 Checking the Configuration
After configuring the interconnection between a VPN and the Internet, you can find that the
VPN routing table contains the routes destined for the CE and the router in the public network,
and the routing table in the destined device of the public network contains the route to the CE.
Prerequisite
The configurations of the VPN and the Internet function are complete.
Procedure
l
Run the
display ip routing-table vpn-instance
vpn-instance-name
command to check the
VPN routing table on the PE.
l
Run the
display ip routing-table
command to check the routing table on the CE and the
destination switch in the public network.
----End
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
147