CiscoDevNet/terraform-provider-iosxe

support for speed nonegotiate in iosxe_interface_ethernet

Closed this issue · 4 comments

Hi,

Is it possible to add support for speed nonegotiate in resource iosxe_interface_ethernet?

CLI:

interface TwentyFiveGigE1/0/1
speed nonegotiate

On a C9500-48Y4C (fiber ony) you cannot specify the speed.
Only nonegotiate.

regards

I agree. Thank you Thomas. I was going to submit the same issue.

The ability to configure (disable) the interface network autonegotiation seems to be missing.
This is required to put the interface in 10G mode.

Can you please tell us how to configure or implement these features?
Thank you,

This is part of the running config:

cx-nl-ams-01#show running-config interface gigabitEthernet 9
Building configuration...

Current configuration : 147 bytes
!
interface GigabitEthernet9
 description not in use
 no ip address
 shutdown
 speed 10000
 no negotiation auto
 no mop enabled
 no mop sysid
end

This is the restconf-json formatted running config:

cx-nl-ams-01#show running-config interface gigabitEthernet 9 | format restconf-json
{
  "data": {
    "Cisco-IOS-XE-native:native": {
      "interface": {
        "GigabitEthernet": [
          {
            "name": "9",
            "description": "not in use",
            "shutdown": [null],
            "mop": {
              "enabled": false,
              "sysid": false
            },
            "Cisco-IOS-XE-ethernet:speed": {
              "value-10000": [null]
            },
            "Cisco-IOS-XE-ethernet:negotiation": {
              "auto": false
            }
          }
        ]
      }
    }
  }
}

Thank you!

Added in v0.5.5 release.