3 static routing configuration, Introduction, Configuring a static route – H3C Technologies H3C SecBlade IPS Cards User Manual
Page 13: Configuration prerequisites, Configuration procedure, 1 configuring a static route, 1 configuration procedure, Static routing configuration
3-1
3
Static Routing Configuration
Introduction
A device can be managed by multiple network management stations (NMSs). It reports abnormalities
and network attacks to the NMSs, so that the network administrator can manage the device remotely on
an NMS, or analyze logs received by other NMSs to take countermeasures.
The route management module of the device manages the manually configured routes to the NMSs,
each of which specifies the next hop to reach a specific NMS.
A static default route is used to forward packets matching no entry in the routing table. Its destination IP
address and mask are both configured as 0.0.0.0.
Configuring a Static Route
Configuration Prerequisites
Before configuring a static route, you need to finish the following tasks:
z
Configure physical parameters for relevant interfaces
z
Configure link-layer attributes for relevant interfaces
z
Configure IP addresses for relevant interfaces
Configuration Procedure
Follow these steps to configure a static route:
To do…
Use the command…
Remarks
Enter system view
System-view
—
Configure a static route to a
destination NMS
ip
route-static dest-addr mask geteway-addr Required
z
If the destination IP address and subnet mask are both configured as 0.0.0.0 with the ip
route-static
command, the route is a default route.
z
The IP address of the next hop cannot be the IP address of any local interface; otherwise, the static
route does not take effect.