Atlantis Land A02-RA(Atmos)_ME01 routeflush, routes, snmp, 10.45.1Syntax, 10.45.2Description

Models: A02-RA(Atmos)_ME01

1 112
Download 112 pages 14.35 Kb
Page 97
Image 97

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 [<i/f>] [all]

10.45.2Description

Removes routes from the route table. If an interface (<i/f>) 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

Page 97
Image 97
Atlantis Land A02-RA(Atmos)_ME01 manual routeflush, routes, snmp, 10.45.1Syntax, 10.45.2Description, 10.45.3Example