Update _ios_l2_interface.py (#61401)
Add support for TwoGigabitEthernet switchports in IOS-XE
This commit is contained in:
parent
e7a9d71ac0
commit
0696fcacf0
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ from ansible.module_utils.network.ios.ios import ios_argument_spec
|
|||
|
||||
def get_interface_type(interface):
|
||||
intf_type = 'unknown'
|
||||
if interface.upper()[:2] in ('ET', 'GI', 'FA', 'TE', 'FO', 'HU', 'TWE'):
|
||||
if interface.upper()[:2] in ('ET', 'GI', 'FA', 'TE', 'FO', 'HU', 'TWE', 'TW'):
|
||||
intf_type = 'ethernet'
|
||||
elif interface.upper().startswith('VL'):
|
||||
intf_type = 'svi'
|
||||
|
|
Loading…
Reference in a new issue