Managing Switch Network Addresses and Routes set ip route
12-8 Network Address and Route Management Configuration
Example
Thisexampleshowshowtousetraceroutetodisplayaroundtrippathtohost192.167.252.17.In
thiscase,hop1istheEnterasysMatrixSeriesswitch,hop2is14.1.0.45,andhop3isbacktothe
hostIPaddress.RoundtriptimesforeachofthethreeUDPprobes
aredisplayednexttoeachhop:
Matrix(rw)->traceroute 192.167.252.17
traceroute to 192.167.252.17 (192.167.252.17), 30 hops max, 40 byte packets
1 matrix.enterasys.com (192.167.201.40) 20.000 ms 20.000 ms 20.000 ms
2 14.1.0.45 (14.1.0.45) 40.000 ms 10.000 ms 20.000 ms
3 192.167.252.17 (192.167.252.17) 50.000 ms 0.000 ms 20.000 ms
set ip route
Usethiscommandtoaddaroutetotheswitch’sIProutingtable.
Syntax
set ip route {destination | default} gateway
Parameters
Defaults
None.
Mode
Switchcommand,Read‐Write.
Example
ThisexampleshowshowtoaddanIProutefrom192.122.173.42to192.122.168.38totherouting
table:
Matrix(rw)->set ip route 192.122.173.42 192.122.168.38
clear ip route
UsethiscommandtodeleteswitchIProutingtableentries.
Syntax
clear ip route destination | default
Parameters
destination SpecifiestheIPaddressofthenetworkorhosttobeadded.
default Setsthedefaultgateway.
gateway SpecifiestheIPaddressofthenext‐hopdevice.
destination SpecifiestheIPaddressofthenetworkorhosttobecleared.
default Clearsthedefaultgateway.