EasyManua.ls Logo

Tiesse Imola - STATIC ROUTES

Tiesse Imola
56 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Static routes
IMOLA/LIPARI QUICK START GUIDE
STATIC ROUTES
Download the complete Imola/Lipari User Guide at www.tiesse.com
CONFIGURATION
Static routing tables can be configured with the command:
set route net <dest> netmask <netmask> gw <ipaddr> [options]
set route net <dest> netmask <netmask> dev <interface> [options]
set route host <dest> gw <gw_ip_addr> [options]
set route host <dest> dev <interface> [options]
In order to remove a route the command is:
set no-route net <dest> netmask <netmask> gw <gw_ip_addr>
set no-route net <dest> netmask <netmask> dev <interface>
set no-route host <dest> gw <gw_ip_addr>
set no-route host <dest> dev <interface>
It is possible to give to the route several attributes through additional parameters.
DISPLAYING STATIC ROUTES
The static routes configured can be displayed using the following command:
show ip route
For example:
root@IMOLA> show ip route
Router# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
B - BGP, > - selected route, * - FIB route
C>* 10.10.0.0/16 is directly connected, eth0
B>* 11.11.0.0/16 [20/0] via 172.151.113.100, eth1, 09:39:06
R 11.11.0.0/16 [120/2] via 172.151.113.100, eth1, 09:39:30
C>* 11.11.11.11/32 is directly connected, ippp1
C>* 100.100.100.0/30 is directly connected, tun0
R>* 111.111.111.111/32 [120/2] via 172.151.113.100, eth1, 09:39:30
C>* 127.0.0.0/8 is directly connected, lo
C>* 172.151.0.0/16 is directly connected, eth1
C>* 202.202.202.202/32 is directly connected, dummy0
Router#
root@IMOLA>
In this way the protocol of the routes acquisition is visible.
For IPv6 routes the command is: show ipv6 route.
The command show ip route can have options, the most commonly used are:

Related product manuals