diff options
author | Steve McIntyre <steve.mcintyre@linaro.org> | 2014-09-17 20:44:18 +0100 |
---|---|---|
committer | Steve McIntyre <steve.mcintyre@linaro.org> | 2014-09-17 20:44:18 +0100 |
commit | 24e7c242148685c1ad6ed8d089890c201062ce2e (patch) | |
tree | 9034f5f3c0801235d72a2abf030b6fe24141cafa /drivers | |
parent | ad9799deddedeba58a61ec17ec7737e74adab396 (diff) |
Add "no shutdown" when changing VLANs
Cisco docs suggest this, and it doesn't hurt
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cisco-catalyst.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cisco-catalyst.py b/drivers/cisco-catalyst.py index 166024d..a350917 100644 --- a/drivers/cisco-catalyst.py +++ b/drivers/cisco-catalyst.py @@ -237,6 +237,7 @@ class CiscoCatalyst(SwitchDriver): self._configure() self._cli("interface %s" % port) self._cli("switchport access vlan %d" % tag) + self._cli("no shutdown" % tag) self._end_configure() # Finally, validate things worked |