In the last module, your script talked to one device at a time.
Now your network has three switches: SW1, SW2, and SW3.You need to add VLAN 20 on every switch.
Your script can do this at two levels: the device level or the controller level.Answer the question below
In the last module, did your script use a controller: yes or no?
With device-level management, your script connects directly to each switch.
It sends a separate request to each device using that device's own API.SW1 and SW3 run IOS XE, so your script uses RESTCONF.
SW2 runs NX-OS, so your script uses NX-API.
Figure 1 - Device-Level Management
You have total control: nothing is between your script and the switch.
Complexity grows with the network.
Your script opens one session per switch.
It must also support the API of each switch.Answer the question below
With 300 switches at device level, how many sessions does your script open?
A controller is a central software system that manages your network devices.
With controller-level management, your script talks only to the controller.
Figure 2 - Controller-Level Management
Your script sends its request to the REST API of the controller.
The controller then configures SW1, SW2, and SW3.A controller gives you three benefits:
One API: your script uses one API, and the controller uses the right API for each switch.
Global view: the controller knows the state of the whole network.
Consistency: every switch receives the same configuration.
Answer the question below
With 300 switches and a controller, how many systems does your script talk to?
The right level depends on your network size and your needs:
Size: device level works for a few devices, and controller level works for hundreds of devices.
Control: device level gives access to every setting on a switch, while controller level only offers what the controller supports.
Dependency: device level needs no extra server, while controller level requires the controller to stay reachable.
If the controller stops working, the switches still forward traffic on their own.
However, you cannot apply new changes through the controller until it is back.In the next lessons, you will work with Cisco controllers such as Catalyst Center, Meraki, and ACI.
Answer the question below
If the controller goes offline, do switches stop forwarding traffic: yes or no?