On Nexus 9k switches above version 9, the ethernet interface by default comes in switchport mode, checking the interface modules, l2_interface and l3_interface, I did not find a way to disable the switchport to put the IP on the ethernet interface, which ends up generating an error right away to configure IP on the interface
SUMMARY
On Nexus 9k switches above version 9, the ethernet interface by default comes in switchport mode, checking the interface modules, l2_interface and l3_interface, I did not find a way to disable the switchport to put the IP on the ethernet interface, which ends up generating an error right away to configure IP on the interface
ISSUE TYPE
COMPONENT NAME
cisco.nxos.nxos_interfaces module cisco.nxos.nxos_l2_interfaces module cisco.nxos.nxos_l3_interfaces module
OS / ENVIRONMENT
Cisco NXOS 9.3 and 10.2F
STEPS TO REPRODUCE
Run any of the interface modules
EXPECTED RESULTS
Have the switchport line removed from the port
ACTUAL RESULTS
switchport is not removed from the ethernet port currently