Configuring An Ipv4 Static Route On The Public Network - Huawei S6700 Series Configuration Manual

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
l
Pre-configuration Tasks
Before configuring an IPv4 static route, complete the following task:
l
Data Preparation
To configure an IPv4 static route, you need the following data.
No.
1
2
3

1.3.2 Configuring an IPv4 Static Route on the Public Network

When configuring an IPv4 static route, configure its destination address, outbound interface,
and next hop.
Context
Do as follows on the switch to be configured with a static route:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ip route-static ip-address { mask | mask-length } { nexthop-address | interface-
type interface-number [ nexthop-address ] | vpn-instance vpn-instance-name nexthop-
address } [ preference preference | tag tag ]
An IPv4 static route is configured.
By default, no IPv4 static route is configured.
Issue 01 (2012-03-15)
Other attributes
Setting different preferences for static routes helps flexibly apply routing policies. For
example, when configuring multiple routes to the same destination address, you can set the
same preference for these routes to implement load balancing. You can also set different
preferences to implement routing redundancy.
When the ip route-static command is run to configure a static route, a default route is
configured if the destination address and the mask are set to all 0s (0.0.0.0 0.0.0.0 ).
Configuring link layer protocol parameters and IP addresses for interfaces to ensure that
the link layer protocol status of the interfaces is Up
Data
Destination address and mask
Outbound interface or next-hop IPv4 address
Preference of the IPv4 static route
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 IP Static Route Configuration
*
[ description text ]
4

Advertisement

Table of Contents
loading

Table of Contents