Configuring An Ipv4 Static Route; Establishing The Configuration Task - 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
If the destination address of a packet does not match any entry in the routing table, the switch
uses the default route to forward the packet. If no default route exists, the packet is discarded,
and an Internet Control Message Protocol (ICMP) packet is sent to inform the originating host
that the destination host or network is unreachable.
BFD for IPv4 Static Route
Unlike dynamic routing, static routing does not have a detection mechanism. If a fault occurs
on the network, administrator involvement is required. Bidirectional Forwarding Detection
(BFD) for IPv4 static route is used to bind BFD sessions to IPv4 static routes on the public
network. The BFD sessions are used to detect the link status of a static route. The system then
uses the detection results to determine whether to add static routes to its IP routing table.
After BFD for IPv4 static route is configured, each static route can be bound to a BFD session.
l
l

1.3 Configuring an IPv4 Static Route

On an IPv4 network, you can accurately control route selection by configuring IPv4 static routes.

1.3.1 Establishing the Configuration Task

Before configuring an IPv4 static route, familiarize yourself with the applicable environment,
complete the pre-configuration tasks, and obtain the data required for the configuration. This
will help you complete the configuration task quickly and accurately.
Applicable Environment
When configuring an IPv4 static route, note the following:
l
l
Issue 01 (2012-03-15)
When the BFD session on the link of a static route detects that the link changes from Up
to Down, BFD reports the fault to the RM module, and then the RM module sets the route
to inactive. Subsequently, the route becomes unavailable and is deleted from the routing
table.
When a BFD session is established on the link of a static route (the link changes from Down
to Up), BFD reports the success to the RM module, and then the RM module sets the route
to active. Subsequently, the route becomes available and is added to the IP routing table.
Destination address and mask
In the ip route-static command, the IPv4 destination address is in dotted decimal notation,
and the mask can be either expressed in dotted decimal notation or replaced by the mask
length (namely, the number of consecutive 1s in the mask).
Outbound interface and next-hop address
When configuring a static route, you can specify either interface-type interface-number or
nexthop-address depending on which parameter is better suited to your situation.
In real-world situations, each routing entry requires a next-hop address. When sending a
packet, the switch first searches for the matched route in the routing table against the
destination address.
For example, in some cases, the link layer is encapsulated with PPP, you can also specify
outbound interfaces when configuring the switch even if the remote address is not known.
In this manner, it is unnecessary to modify the switch configuration if the remote address
changes.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 IP Static Route Configuration
3

Advertisement

Table of Contents
loading

Table of Contents