ip/access-list

Configures, modifies, or retrieves the Internet Protocol (IP) access list configuration.

Resource URIs

URI Description
/restconf/data/brocade-ip-access-list:ip-acl The Internet Protocol configuration.
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/standard Standard IP ACL configuration.
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/extended Extended IP ACL configuration.
POST URIs Payload Description
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list <standard><name>{acl-name}</name></standard> Configures a standard ACL.
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list <extended><name>{acl-name}</name></extended> Configures an extended ACL.
DELETE URIs
/restconf/data/brocade-ip-access-list:ip-acl
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/standard=%name%
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/extended=%name%
/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-ip-access-list:ip-acl-interface
/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-ip-access-list:ip-acl-interface/ip/access-group=%ip-access-list%,%ip-direction%
/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-ip-access-list:ip-acl-interface/ip/access-group=%ip-access-list%,%ip-direction%/traffic-type
/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-ip-access-list:ip-acl-interface
/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-ip-access-list:ip-acl-interface
/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-ip-access-list:ip-acl-interface/ip/access-group=%ip-access-list%,%ip-direction%

Parameters

name
Specifies the IPv4 access list name.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the access list configurations.

http://host:443/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/standard=%name%

None

<ip-acl xmlns="urn:brocade.com:mgmt:brocade-ip-access-list">
				<ip>
					<access-list>
						<standard>
							<name>%req_val%</name>
						</standard>
					</access-list>
				</ip>
			</ip-acl>

URI

The following example uses the POST option to configure a standard access list.

http://host:443/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/standard=%name%

<standard >
    <name>std10</name>
</standard>

None

URI

The following example uses the DELETE option to remove a standard access list.

http://host:443/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/standard=%name%

None

None