The networking_generic_switch.devices.netmiko_devices.cisco300 Module

class networking_generic_switch.devices.netmiko_devices.cisco300.Cisco300(device_cfg)

Bases: networking_generic_switch.devices.netmiko_devices.NetmikoSwitch

ADD_NETWORK = ('vlan {segmentation_id}',)
DELETE_NETWORK = ('no vlan {segmentation_id}',)
DELETE_PORT = ('interface {port}', 'no switchport access vlan', 'switchport trunk allowed vlan remove all')
PLUG_PORT_TO_NETWORK = ('interface {port}', 'switchport mode access', 'switchport access vlan {segmentation_id}')
SAVE_CONFIGURATION = ('copy run start',)