Community discussions

MikroTik App
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

About Commands

Wed Nov 29, 2006 8:18 pm

Hi, I wan't to know if exist a command like those in Cisco:

1) sh ip route x.x.x.x
2) sh ...... | include {string}


Thanks a lot.
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Wed Nov 29, 2006 8:44 pm

/ip route print from=[/ip route find dst-address=0.0.0.0/0]

ie;

/ip route print from=[/ip route find dst-address=10.20.30.40/24]

Not that elegant but it works.

Sam