#
Access Control List
#
URL
frinx-openconfig-acl:acl/interfaces/interface=
#
OPENCONFIG YANG
{
"interface": [
{
"id": "",
"config": {
"id":""
},
"ingress-acl-sets": {
"ingress-acl-set": [
{
"set-name": "",
"type": "frinx-openconfig-acl:ACL_IPV4|frinx-openconfig-acl:ACL_IPV6",
"config": {
"set-name": "",
"type": "frinx-openconfig-acl:ACL_IPV4|frinx-openconfig-acl:ACL_IPV6"
}
}
]
},
"egress-acl-sets": {
"egress-acl-set": [
{
"set-name": "",
"type": "frinx-openconfig-acl:ACL_IPV4|frinx-openconfig-acl:ACL_IPV6",
"config": {
"set-name": "",
"type": "frinx-openconfig-acl:ACL_IPV4|frinx-openconfig-acl:ACL_IPV6"
}
}
]
}
}
]
}
#
OS Configuration Commands
#
Cisco IOS XR 5.3.4, IOS XR 6.6.2
#
CLI
interface ipv4|ipv6 access-group ingress ipv4|ipv6 access-group egress
#
Unit
Link to github : xr-unit
#
Cisco IOS XE 15.4(2)S
#
CLI
interface ip access-group in|out ipv6 traffic-filter in|out
#
Examples
interface GigabitEthernet1 ip access-group inacl1 in ipv6 traffic-filter outacl1 out
#
Unit
Link to github : xe-unit
#
Junos 14.1X53-D40.8
#
CLI
set interfaces unit 0 family inet filter input
#
Unit
Link to github : junos-unit
#
Junos 17.3R1.10
#
CLI
set interfaces unit 0 family inet filter input set interfaces unit 0 family inet filter output
#
Unit
Link to github : junos-unit
#
Junos 18.2R1-S2.1
#
CLI
set interfaces unit family inet filter input set interfaces unit family inet filter output
iacl_intf_index , iacl_subintf_index is a conversion of set .
#
Unit
Link to github : junos-unit