On UP
Code: Select all
/ip route remove [ find gateway="4.2.2.3" ]
/ip route remove [ find where dst-address ~"4.2.2.3" ]
/ip route add comment="c.resolvers.level3.net route through seven sky emergency isp" distance=1 dst-address=4.2.2.3/32 gateway=$"remote-address" scope=10
/ip route add check-gateway=ping comment="seven sky emergency default route" distance=4 gateway=4.2.2.3
/ip route add check-gateway=ping comment="seven sky emergency default route for seven-sky routing table (PCC load balancing)" distance=1 gateway=4.2.2.3 routing-mark=seven-sky
/ip route add check-gateway=ping comment="seven sky emergency default route for mgts-main routing table (PCC load balancing)" distance=3 gateway=4.2.2.3 routing-mark=mgts-main
/ip route add check-gateway=ping comment="seven sky emergency default route for mgts-mrgncy routing table (PCC load balancing)" distance=3 gateway=4.2.2.3 routing-mark=mgts-mrgncy
Code: Select all
/ip route remove [ find gateway="4.2.2.3" ]
/ip route remove [ find where dst-address ~"4.2.2.3" ]