Port-Channel
Diagram
Section titled “Diagram”Classes
Section titled “Classes”interfaces (nxos.devices.configuration)
Section titled “interfaces (nxos.devices.configuration)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| port_channels | List | [port_channels] | No |
port_channels (nxos.devices.configuration.interfaces)
Section titled “port_channels (nxos.devices.configuration.interfaces)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| id | Integer | min: 1, max: 4096 | Yes | |
| port_channel_mode | Choice | on, static, active, passive, mac-pin | No | |
| minimum_links | Integer | min: 1, max: 32 | No | |
| maximum_links | Integer | min: 1, max: 32 | No | |
| suspend_individual | Boolean | true, false | No | |
| access_vlan | Integer | min: 1, max: 4094 | No | |
| admin_state | Boolean | true, false | No | true |
| auto_negotiation | Choice | on, off, 25G | No | |
| bandwidth | Integer | min: 0, max: 3200000000 | No | |
| delay | Integer | min: 1, max: 16777215 | No | |
| description | String | No | ||
| duplex | Choice | auto, full, half | No | |
| layer3 | Boolean | true, false | No | |
| link_logging | Choice | default, enable, disable | No | |
| medium | Choice | broadcast, p2p | No | |
| mode | Choice | access, trunk, fex-fabric, dot1q-tunnel, promiscuous, host, trunk_secondary, trunk_promiscuous, vntag | No | |
| mtu | Integer | min: 576, max: 9216 | No | |
| native_vlan | Integer | min: 1, max: 4094 | No | |
| speed | Choice | unknown, 100M, 1G, 10G, 40G, auto, auto 100M, auto 100M 1G, 100G, 25G, 10M, 50G, 200G, 400G, 2.5G, 5G, auto 2.5G 5G 10G, auto 100M 1G 2.5G 5G | No | |
| trunk_vlans | String | No | ||
| vrf | String | No | ||
| ip_unnumbered | String | No | ||
| urpf | Choice | disabled, strict, loose, loose-allow-default, strict-allow-vni-hosts | No | |
| ipv4_address | IP | No | ||
| ipv4_secondary_addresses | List | IP | No | |
| ospf | Class | [ospf] | No | |
| pim | Class | [pim] | No |
ospf (nxos.devices.configuration.interfaces.port_channels)
Section titled “ospf (nxos.devices.configuration.interfaces.port_channels)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| process_name | String | Yes | ||
| advertise_secondaries | Boolean | true, false | No | true |
| area | String | No | ||
| bfd | Choice | unspecified, enabled, disabled | No | |
| cost | Integer | min: 0, max: 65535 | No | |
| dead_interval | Integer | min: 0, max: 65535 | No | |
| hello_interval | Integer | min: 0, max: 65535 | No | |
| network_type | Choice | unspecified, p2p, bcast | No | |
| passive | Choice | unspecified, enabled, disabled | No | |
| priority | Integer | min: 0, max: 255 | No | |
| authentication_key | String | No | ||
| authentication_key_id | Integer | min: 0, max: 255 | No | |
| authentication_key_secure_mode | Boolean | true, false | No | |
| authentication_keychain | String | No | ||
| authentication_md5_key | String | No | ||
| authentication_md5_key_secure_mode | Boolean | true, false | No | |
| authentication_type | Choice | unspecified, simple, md5, none | No |
pim (nxos.devices.configuration.interfaces.port_channels)
Section titled “pim (nxos.devices.configuration.interfaces.port_channels)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| admin_state | Boolean | true, false | Yes | |
| bfd | Choice | none, enabled, disabled | No | |
| dr_priority | Integer | min: 1, max: 4294967295 | No | |
| passive | Boolean | true, false | No | |
| sparse_mode | Boolean | true, false | No |
Examples
Section titled “Examples”nxos: devices: - name: Device1 configuration: interfaces: port_channels: - id: 1 port_channel_mode: on description: My first port channel access_vlan: 100