Skip to main content

IPv4 Prefix List

Diagram

Classes

routing (nxos.devices.configuration)

NameTypeConstraintMandatoryDefault Value
ipv4_prefix_listsList[ipv4_prefix_lists]No

ipv4_prefix_lists (nxos.devices.configuration.routing)

NameTypeConstraintMandatoryDefault Value
nameStringYes
entriesList[entries]No

entries (nxos.devices.configuration.routing.ipv4_prefix_lists)

NameTypeConstraintMandatoryDefault Value
orderIntegerYes
actionChoicepermit, denyNopermit
prefixIPNo
criteriaChoiceexact, inexactNoexact
from_rangeIntegermin: 0, max: 32No0
to_rangeIntegermin: 0, max: 32No0

Examples

nxos:
devices:
- name: Device1
configuration:
routing:
ipv4_prefix_lists:
- name: MyPrefixList1
entries:
- order: 10
action: permit
prefix: 10.0.0.0/8
criteria: exact
from_range: 16
to_range: 24