set network virtual-router [name of virtual router i.e. default] routing-table ip static-route [name of route i.e. Shanes-Route] admin-dist 10 destination [network/subnet mask i.e 10.10.10.0/24] interface [name of interface to be used outgoing i.e. ethernet1/1] nexthop ip-address [next hop ip i.e. 4.4.4.4]
Add 50 or so of them from notepad at one time, then type in "commit".
Thanks! Very useful and exactly what I was looking for during a large migration-job to be done.
ReplyDelete