Skip to main content

VLAN

Diagram

Classes

interfaces (nxos.devices.configuration)

NameTypeConstraintMandatoryDefault Value
vlansList[vlans]No

vlans (nxos.devices.configuration.interfaces)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 4094Yes
interface_groupsListStringNo
admin_stateBooleantrue, falseNotrue
descriptionStringNo
vrfStringNo
ipv4_addressIPNo
ipv4_secondary_addressesListIPNo
delayIntegermin: 1, max: 16777215No
bandwidthIntegermin: 0, max: 400000000No
ip_forwardBooleantrue, falseNo
ip_drop_gleanBooleantrue, falseNo
mediumChoicebroadcast, p2pNo
mtuIntegermin: 576, max: 9216No
fabric_forwarding_modeChoiceanycastGW, proxyGWNo
ospfClass[ospf]No
pimClass[pim]No

ospf (nxos.devices.configuration.interfaces.vlans)

NameTypeConstraintMandatoryDefault Value
process_nameStringYes
advertise_secondariesBooleantrue, falseNotrue
areaStringNo
bfdChoiceunspecified, enabled, disabledNo
costIntegermin: 0, max: 65535No
dead_intervalIntegermin: 0, max: 65535No
hello_intervalIntegermin: 0, max: 65535No
network_typeChoiceunspecified, p2p, bcastNo
passiveChoiceunspecified, enabled, disabledNo
priorityIntegermin: 0, max: 255No
authentication_keyStringNo
authentication_key_idIntegermin: 0, max: 255No
authentication_key_secure_modeBooleantrue, falseNo
authentication_keychainStringNo
authentication_md5_keyStringNo
authentication_md5_key_secure_modeBooleantrue, falseNo
authentication_typeChoiceunspecified, simple, md5, noneNo

pim (nxos.devices.configuration.interfaces.vlans)

NameTypeConstraintMandatoryDefault Value
admin_stateBooleantrue, falseYes
bfdChoicenone, enabled, disabledNo
dr_priorityIntegermin: 1, max: 4294967295No
passiveBooleantrue, falseNo
sparse_modeBooleantrue, falseNo

Examples

nxos:
devices:
- name: Device1
configuration:
interfaces:
vlans:
- id: 100
description: SVI 100
ipv4_address: 1.1.10.1/24