Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
subrun_jamil
Participant

How to see route metric in CLI of CP

Jump to solution

Hi, 

How to see route metric in CLI of CP ?

From GAIA, Advanced Routing I can see Metric for a Subnet but with show route command from CLI it does not show the metric 

S 10.10.0.0/16 via 10.38.245.61, eth2.3016, cost 0, age 18826163
Subnet to  Inside Networks

 

 

0 Kudos
1 Solution

Accepted Solutions
HeikoAnkenbrand
Champion
Champion

 

Hi @subrun_jamil,

You can use the following commands:
ip route
netstat -rn

This shows the metric:
route -n

Destination Gateway                      Genmask       Flags Metric Ref Use Iface
0.0.0.0         192.168.160.2             0.0.0.0             UG      0         0      0      eth2


View solution in original post

(1)
1 Reply
HeikoAnkenbrand
Champion
Champion

 

Hi @subrun_jamil,

You can use the following commands:
ip route
netstat -rn

This shows the metric:
route -n

Destination Gateway                      Genmask       Flags Metric Ref Use Iface
0.0.0.0         192.168.160.2             0.0.0.0             UG      0         0      0      eth2


View solution in original post

(1)