148
Basic IP Routing Configuration
Procedure
To delete one or more static IP routes from the routing table
Mode
Administrator execution
Command
Purpose
Step 1
node
(cfg)#context ip router
Enters the IP router context
Step 2
node
(ctx-ip)[router]#no route
network mask
{
address
|
interface
}
Deletes a static route
For the syntax description see Chapter
, “Configuring Static IP Routes” above.
Example: Deleting a Static IP Route
In the following example, the route for packets to network 20.0.0.0/24, which are routed to device
with IP address 172.17.100.2, shall be deleted.
SN>
enable
SN#
configure
SN(cfg)#
context ip router
SN(ctx-ip)[router]#
no route 20.0.0.0 255.255.255.0 172.17.100.2
17.5 Displaying IP Route Information
Procedure
To display static IP routes
Mode
Operator or administrator execution
Command
Purpose
17.3
Step 1
node
>show ip route
Displays IP route information
This command displays the destination address, next-hop interface, protocol (local, static, rip, or
icmp), metric, flags (U up, H host, G Gateway, L local, D default), and amount of use for each route
in the routing table. If there are multiple routes to the same destination, the preferred route is
indicated by an asterisk (*).
Example: Displaying IP Route
In the following example, IP route information is displayed.
SN>
show ip route
Routes of IP context 'router':
Status codes: * valid, U up, H host, G Gateway, L local, D default
Destination
Nexthop
Protocol
Metric
Flags
Used
---------------------------------------------------------------------
* 127.0.0.1/32
local
0
LHG
n/a
* 172.16.40.77/32
local
0
LHG
n/a
* 172.17.100.210/32
local
0
LHG
n/a
* 172.17.100.0/24
wan
local
1
UL
0
* 20.0.0.0/24
172.17.100.2
static
0
U
0
* 172.16.0.0/16
lan
local
1
UL
6
Software Configuration Guide Release 2.10, Revision 1.00
Summary of Contents for SmartWare Release 2.10
Page 2: ...2 Legal Notice Software Configuration Guide Release 2 10 Revision 1 00...
Page 15: ...Terms and Definitions 15 Software Configuration Guide Release 2 10 Revision 1 00...
Page 218: ...218 PPP Configuration no shutdown Software Configuration Guide Release 2 10 Revision 1 00...
Page 272: ...272 Tone Configuration Software Configuration Guide Release 2 10 Revision 1 00...