January 2019
Beginner to intermediate
776 pages
19h 58m
English
Similar to the earlier scenario, where we want a switchport as a trunk port for AP, we can configure the switchport to work with IP Phones. An additional task for configuring a port to be used as IP Phone is that another end machine or data machine can be connected to the IP Phone for data transfer. In other words, a single switchport of a Cisco router can act as both a voice and data port when used with IP Phone.
Let's see an example of configuring a switchport to act as an IP Phone port:
from netmiko import ConnectHandlerimport timedef ipphoneconfig(routerip,switchport): uname="cisco" passwd="cisco" device = ConnectHandler(device_type='cisco_ios', ip=routerip, username=uname, password=passwd) cmds="interface ...
Read now
Unlock full access