access-list
To apply an access list to an interface, use the access-list command in the SD-WAN physical interface configuration mode. To remove the access list, use the no form of the command.
access-list acl-name { in | out }
no access-list acl-name { in | out }
Syntax Description
acl-name |
Name of the access list to apply to the interface. |
in | out |
Direction in which to apply the access list. Applying it in the inbound direction (in ) affects packets being received on the interface. Applying it in the outbound direction (out ) affects packets being transmitted on the interface. |
Command Default
An access list is not applied to an interface.
Command Modes
SD-WAN physical interface configuration mode (config-interface-interface-name)
Command History
Release |
Modification |
---|---|
Cisco IOS XE Catalyst SD-WAN Release 17.2.1v |
Command qualified for use in Cisco vManage CLI templates. |
Usage Guidelines
Example
Device(config)# sdwan
Device(config-sdwan)# interface ge0/2.101
Device(config-interface-ge0/2.101)# access-list acl1 in