Deleting Static Ip Routes; Displaying Ip Route Information - Patton electronics SmartNode Series Software Configuration Manual

Software for smartnode series
Hide thumbs Also See for SmartNode Series:
Table of Contents

Advertisement

SmartWare Software Configuration Guide

Deleting static IP routes

The
form of the
no
route
This procedure describes how to delete one or more static IP routes from the routing table
Mode: Administrator execution
Step
1
node(cfg)#context ip router
2
node(ctx-ip)[router]#no route network mask {address | interface} Deletes a static route
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.
node>enable
node#configure
node(cfg)#context ip router
node(ctx-ip)[router]#no route 20.0.0.0 255.255.255.0 172.17.100.2

Displaying IP route information

This procedure describes how to display static IP routes
Mode: Operator or administrator execution
Step
Command
1
node>show ip route
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.
node>show ip route
Routes of IP context 'router':
Status codes: * valid, U up, H host, G Gateway, L local, D default
Destination
---------------------------------------------------------------------
* 127.0.0.1/32
* 172.16.40.77/32
* 172.17.100.210/32
* 172.17.100.0/24
* 20.0.0.0/24
* 172.16.0.0/16
Basic IP routing configuration task list
command deletes a static IP route from the routing table.
Command
Displays IP route information
Nexthop
wan
172.17.100.2
lan
22 • Basic IP routing configuration
Purpose
Protocol
Metric
Flags
local
0
LHG
local
0
LHG
local
0
LHG
local
1
UL
static
0
U
local
1
UL
Purpose
Enters the IP router context
Used
n/a
n/a
n/a
0
0
6
236

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartware release 5.1

Table of Contents