7 Replies Latest reply on Jun 1, 2017 10:25 AM by nbs

    Need to be able to pull variable from a Cisco router and use that in a config change template

    nbs

      Good morning

       

      I need to be able to pull the cisco router's default gateway address and use that to create a static route, ie

       

      abc-de-01234-01#show ip route | inc resort

      Gateway of last resort is 44.44.44.44 to network 0.0.0.0

       

      Then use that 44.44.44.44

       

      conf t

      ip route 11.11.11.0 255.255.255.224 44.44.44.44

       

      As part of a config change template.

       

      Regards

      Nigel