beautypg.com

45 routeflush, 46 routes, 47 snmp – Atlantis Land I-Storm A02-RA(Atmos)_ME01 User Manual

Page 97: 1syntax

background image

mymachine>

ip route add default 0.0.0.0 192.168.2.3 0:0:0:0

mymachine>

ip route add testnet1 192.168.101.0 192.168.2.34

mymachine>

ip route add testnet2 192.168.102.0 192.168.2.34 ff:ff:ff:0 1 60

mymachine>

ip route

route add testnet2 192.168.102.0 192.168.2.34 ff:ff:ff:00 1 # MAN 58s/1m via

ether *

route add testnet1 192.168.101.0 192.168.2.34 ff:ff:ff:00 1 # MAN via

ether

route add default 0.0.0.0 192.168.2.3 00:00:00:00 1 # MAN via

ether

10.45 routeflush

10.45.1Syntax

routeflush [] [all]

10.45.2Description

Removes routes from the route table. If an interface (>) is specified, only routes
through the named interface are removed. If all is not specified, only host routes
(those with a mask of ff:ff:ff:ff) are removed.
The routeflush command is hidden, not shown by ip help.
Configuration saving saves this information.

10.45.3Example

mymachine>

ip routeflush ether all

mymachine>

ip routeflush

10.46 routes

10.46.1Syntax

routes

10.46.2Description

Lists routes. (The same as route, with no parameters.)

10.46.3Example

mymachine>

ip routes

route add testnet1 192.168.101.0 192.168.2.34 ff:ff:ff:00 1 # MAN via

ether

route add default 0.0.0.0 192.168.2.3 00:00:00:00 1 # MAN via

ether

10.47 snmp