User Manual

Chapter 4 - Operation and Administration Using the CLI NPU Configuration
4Motion 212 System Manual
“Displaying the IP Routing Table” on page 214
There are four automatically created static route with the IP addresses of the
directly connected Bearer, External Management, Local Management and Internal
Management interfaces (the IP address of the Internal Management interface is set
to 10.0.0.254. Note that availability of certain interfaces depend on the
connectivity mode). These routes cannot be modified or deleted.
In addition, the “Any Destination” entry with Destination 0.0.0.0 and Mask
0.0.0.0 must be created during initial setup and should not be deleted. The Next
Hop IP address of this route must be in the same subnet with the interface used
for remote management.
4.3.8.1 Adding a Static Route
To add a static route, run the following command:
npu(config)# ip route <ip_address> <ip_mask> <ip_nexthop>
For example, run the following command to add an entry for a static route with
the destination IP address, 11.0.0.2, and the address mask, 255.255.255.255,
and next-hop IP address, 192.168.10.1.
npu(config)# ip route 11.0.0.2 255.255.255.255 192.168.10.1
NOTE
Refer to Section 4.3.8.3 to display the IP routing table.
IMPORTANT
An error may occur if:
The IP address, address mask or the next-hop IP address are invalid.
A route with the parameters that you have specified already exists.
The IP address that you have specified is being used for another interface.
The next-hop IP address that you have specified is either unreachable or is down.
Command
Syntax
npu(config)# ip route <ip_address> <ip_mask> <ip_nexthop>