- Introducing the IOS XE REST API
- Installing the Virtual Services Management Container
- Client Authentication
- Global Configuration Requirements
- Domain Name System (DNS) Server
- Network Time Protocol (NTP)
- IP Interface Configuration Requirements
- L2 Interfaces
- Bridge Domains
- Multicast
- VxLAN
- DHCP Server and Relay Agent
- Routing Protocol (OSPF, BGP, EIGRP) Requirements
- ACL Requirements for Subnets or IP Ranges
- Network Address Translation (NAT)
- Firewall Inspection Requirements
- License Requirements
- Memory and CPU Usage Report
- VRF
- Virtual Private Networks (SVTI and EzVPN)
- LISP
- QoS
- HSRP
ACL Requirements for Subnets or IP Ranges
Resource Summary for ACL
|
|||||
---|---|---|---|---|---|
|
|
|
|
|
|
ACL Resource
History
|
|
Properties
JSON Representation
ICMP Options
|
|
|
---|---|---|
DSCP Values
|
|
|
|
---|---|---|---|
Modify an ACL
Resource URI
|
|
---|---|
Example
Retrieve an ACL
Resource URI
|
|
---|---|
Example
Delete an ACL
Resource URI
|
|
---|---|
Example
Configure an ACL
Resource URI
|
|
---|---|
Example
Retrieve All ACLs
Note When many ACLs are configured on the router, the Retrieve All ACLs operation produces a very long list. To retrieve a smaller set of ACLs, use ACL Batching.
Resource URI
|
|
---|---|
Example
ACL Batching
When many ACLs are configured on the router, the Retrieve All ACLs operation produces a very long list. To retrieve a smaller set of ACLs, use ACL batching. ACL batching retrieves a limited number of ACLs, as defined by count in the operation.
Resource URI
|
|
---|---|
Example
GET /api/v1/acl?start-index=0&count=2
Content-type: application/json
"destination": "192.168.200.0/24",
"destination": "192.168.200.0/24",
All ACL Match Statistics Resource
The all ACL match statistics resource represents ACL match statistics (match counters for rules of ACLs).
History
|
|
Properties
|
|
|
---|---|---|
JSON Representation
This resource also supports clearing of all statistics by doing a POST on the resource with the following request message. See Resource specific operations for more details & examples.
JSON Representation
Retrieve All ACL Statistics
Resource URI
|
|
---|---|
Example
Single ACL Match Statistics Resource
History
|
|
Properties
JSON Representation
The single ACL match statistics resource also supports clearing of ACL statistics by doing a POST on the resource with the following request message. See Resource specific operations for more details and examples.
JSON Representation for Clearning ACL Statistics
Retrieve Statistics for a Single ACL
Resource URI
|
|
---|---|
Example
ACL Associated with an Interface Resource
History
|
|
Properties
|
|
|
---|---|---|
Direction of traffic to which the ACL is applied. Valid values are "inside" and "outside". The interface is viewed as “inside” or “outside” from NAT point of view. |
JSON Representation
Retrieve ACL Associated with an Interface
Resource URI
|
|
---|---|
Example
Retrieve All ACL Interfaces
Resource URI
|
|
---|---|
Properties for Retrieve All
|
|
|
---|---|---|
JSON Representation
Example
Delete ACL Associated with an Interface
Resource URI
|
|
---|---|
Example
Apply an ACL to Interfaces
ACL is applied to an interface by doing a POST on this resource with the following request content.
Resource URI
|
|
---|---|