As its name states, this module manages static route configuration on a Cisco network device. We will set a static route switch in the following example playbook:
- name: setup a static route on CISCO switches
ios_static_route:
prefix: 192.168.11.0
mask: 255.255.255.0
next_hop: 192.168.10.1
state: present