ipv6/access-list

Configures, modifies, or retrieves the Internet Protocol version 6 (IPv6) access list configuration.

Resource URIs

URI Description
<base_URI>/config/running/ipv6 The Internet Protocol configuration.
<base_URI>/config/running/ipv6/access-list/standard Standard IP ACL configuration.
<base_URI>/config/running/ipv6/access-list/standard/{ACL-name}/seq Sequence number configuration.
<base_URI>/config/running/ipv6/access-list/extended Extended IP ACL configuration.
<base_URI>/config/running/ipv6/access-list/extended/{ACL-name}/seq Sequence number configuration.
GET URIs Description
<base_URI>/config/running/ipv6/access-list/standard/{name}/seq/{seq-id}/src-host-ip Retrieves the source host IP of a specific standard ACL with a sequence ID.
<base_URI>/config/running/ipv6/access-list/standard/{name}/seq/{seq-id}/src-mask Displays whether count is enabled for a standard ACL.
<base_URI>/config/running/ipv6/access-list/standard/{name}/seq/{seq-id}/count Displays whether count is enabled for a specific standard ACL.
<base_URI>/config/running/ipv6/access-list/standard/{name}/seq/{seq-id}/log Displays whether log is configured for a specific standard ACL.
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/copy-sflow Sends matching inbound packets to the sFlow collector.
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/sport-number-lt-tcp s-port numbers less than or equal to Transmission Control Protocol (TCP).
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/sport-number-gt-tcp s-port numbers greater than or equal to Transmission Control Protocol (TCP).
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/sport-number-eq-neq-udp All TCP or User Datagram Protocol (UDP) port numbers except the s-port number.
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/sport-number-lt-udp s-port numbers less than or equal to User Datagram Protocol (UDP).
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/sport-number-gt-udp s-port numbers greater than or equal to User Datagram Protocol (UDP).
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/vlan Displays the VLAN interface to which the ACL is bound.
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/count Displays whether count is enabled for an extended ACL.
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/log Displays whether log is configured for an extended ACL.
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/mirror Mirrors packets matching the rule.
POST URIs Payload Description
<base_URI>/config/running/ipv6/access-list <standard><name>{name}</name></standard> Configures a standard IPv6 access list.
<base_URI>/config/running/ipv6/access-list/standard/{name} <seq><seq-id>{seq-id}</seq-id><action>{enumeration}</action><src-host-any-sip>{sip-cid})</src-host-any-sip></seq> Configures the parameters of a standard IPv6 access list.
<base_URI>/config/running/ipv6/access-list <extended><name>{name}</name></extended> Configures an extended IPv6 access list.
DELETE URIs
<base_URI>/config/running/ipv6/access-list/standard/{name}
<base_URI>/config/running/ipv6/access-list/extended/{name}
<base_URI>/config/running/ipv6/access-list/extended/{name}/seq/{seq-id}/

Parameters

name
Specifies the IPv6 access list name.
seq
Specifies the sequence number.
seq-id
Specifies the sequence number for the rule.
action
Specifies the action to be performed. Supported actions are deny, hard-drop, and permit. Configuring deny drops traffic. Configuring hard-drop force drops traffic. Configuring permit allows traffic.
src-host-any-sip
Specifies any source host IP address.
src-host-ip
Specifies the source host IP address.
count
Enables the counting of the packets matching the rule.
log
Packets matching the filter are sent to the CPU and a corresponding log entry is generated by enabling the logging mechanism. This parameter is only available with permit and deny.
protocol-type
The type of protocol used.
dst-host-any-dip
Specifies any destination host IP address.
dst-host-ip
Specifies the destination host IP address.

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 source host IP address.

http://host:80/rest/config/running/ipv6/access-list/standard/ACL-std/seq/40/src-host-ip

None

<src-host-ip xmlns="urn:brocade.com:mgmt:brocade-ipv6-access-list" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/ipv6/access-list/standard/ACL-std/seq/40/src-host-ip">2807::1</src-host-ip>

URI

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

http://host:80/rest/config/running/ipv6/access-list

<standard><name>rest1</name></standard>

None

URI

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

http://host:80/rest/config/running/ipv6/access-list/standard/rest1

None

None