- To view the management route, type the following command:
tmsh list /sys management-route
- To view all existing routes, type the following command:
tmsh show /net route
- To add a static route for traffic to use the management network, use the following command syntax:
tmsh create /sys management-route <name> network \\
<dest_net>/<netmask> gateway <mgt_gw>
For example:
tmsh create /sys management-route dns1 network \ 8.8.8.8/255.255.255.255 gateway 10.129.1.1
tmsh create /sys management-route dns2 network \ 8.8.4.4/255.255.255.255 gateway 10.129.1.1
tmsh create /sys management-route ntp1 network \ 10.1.1.1/255.255.255.255 gateway 10.129.1.1
tmsh create /sys management-route ntp2 network \ 192.168.1.3/255.255.255.255 gateway 10.129.1.1
|
- To delete an existing static route for the management network, type the following command:
tmsh delete /sys management-route <name>
- To save any changes made to the static routes for the management network,type the following command:
tmsh save /sys config