Skip to main content

System IPv4 Device Access Policy Feature

The control plane of Cisco WAN Edge devices process the data traffic for local services like, SSH and SNMP, from a set of sources. It is important to protect the CPU from device access traffic by applying the filter to avoid malicious traffic.

Device access policy defines the rules that traffic must meet to reach the control plane.

Diagram

Classes

system_profiles (sdwan.feature_profiles)

NameTypeConstraintMandatoryDefault Value
ipv4_device_access_policyClass[ipv4_device_access_policy]No

ipv4_device_access_policy (sdwan.feature_profiles.system_profiles)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[^&<>! "]{1,128}$Noipv4_device_access_policy
descriptionStringNo
default_actionChoiceaccept, dropYes
sequencesList[sequences]No

sequences (sdwan.feature_profiles.system_profiles.ipv4_device_access_policy)

NameTypeConstraintMandatoryDefault Value
base_actionChoiceaccept, dropYes
nameStringmin: 1, max: 19Noacl
match_entriesClass[match_entries]Yes

match_entries (sdwan.feature_profiles.system_profiles.ipv4_device_access_policy.sequences)

NameTypeConstraintMandatoryDefault Value
destination_data_prefix_listStringmin: 1, max: 64No
destination_data_prefixesListIPNo
destination_data_prefixes_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
destination_portChoice22, 161Yes
source_data_prefix_listStringmin: 1, max: 64No
source_data_prefixesListIPNo
source_data_prefixes_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
source_portsListInteger[min: 0, max: 65535]No

Examples

The example shows how to configure IPv4 device access policy that allows SSH traffic (port 22) with source IP from "jumpservers" prefix-list, source ports either 1000 or 2001. The rest of the management traffic is dropped with default action drop statement.

sdwan:
feature_profiles:
system_profiles:
- name: system
ipv4_device_access_policy:
name: ipv4_device_access_policy
description: basic ipv4 device access policy
default_action: drop
sequences:
- base_action: accept
match_entries:
source_data_prefix_list: jumpservers
source_ports:
- 1000
- 2001
destination_port: 22