
Basic IP routing configuration task list
198
IPLink Software Configuration Guide
17 • Basic IP routing configuration
Mode: Administrator execution
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.
IPLink>enable
IPLink#configure
IPLink(cfg)#context ip router
IPLink(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
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.
IPLink>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
Step
Command
Purpose
1
node(cfg)#context ip router
Enters the IP router context
2
node(ctx-ip)[router]#no route
network mask
{
address
|
interface
}
Deletes a static route
Step
Command
Purpose
1
node>show ip route
Displays IP route information
Содержание IPLink Series
Страница 309: ...309 Appendix B Mode summary Chapter contents Introduction 310...
Страница 312: ...Introduction 312 IPLink Software Configuration Guide B Mode summary...
Страница 325: ...325 Appendix D Internetworking terms acronyms Chapter contents Abbreviations 326...
Страница 330: ...330 Appendix E Used IP ports in the IPLink software Chapter contents Used IP ports in the IPLink software 331...