Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3.11.2 Configuring the Static Route on the CE
This part describes how to configure static routes on CEs to forward packets from the VPN to
the Internet.
Context
Do as follows on the CE.
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 ] | nexthop-address } [ preference preference | tag tag ]
*
[ description text ]
The static route to the public network destination address.
ip-address can be the destination address of the public network or 0.0.0.0. If the dest-ip-
address is 0.0.0.0, the static route is also called default route, the mask of which must be 0.0.0.0
or the mask-length of which must be 0. Note that, the out-interface must be the interface
connected directly with the PE, and the next-hop is the IP address of the peer PE interface
connected directly with the CE.
If the CE and the PE are connected through an Ethernet network, the next-hop must be specified.
----End
3.11.3 Configuring the Private Network Static Route on the PE
This part describes how to configure static routes on PEs to forward packets from the VPN to
the Internet.
Context
Do as follows on the PE.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ip route-static vpn-instance vpn-source-name destination-address { mask | mask-
length } nexthop-address public [ preference preference | tag tag ]
text ]
Issue 01 (2011-07-15)
NOTE
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 BGP MPLS IP VPN Configuration
*
[ description
146