ipv6/access-list

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

Resource URIs

URI Description
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6 The Internet Protocol configuration.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/standard Standard IP ACL configuration.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/standard=%name%/seq=%seq-id% Sequence number configuration.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended Extended IP ACL configuration.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended=%name%/seq=%seq-id% Sequence number configuration.
GET URIs Description
/restconf/data/brocade-ipv6-access-list:ipv6-acl/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.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/standard=%name%/seq=%seq-id%/src-mask Displays whether count is enabled for a standard ACL.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/standard=%name%/seq=%seq-id%//count Displays whether count is enabled for a specific standard ACL.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/standard=%name%/seq=%seq-id%//log Displays whether log is configured for a specific standard ACL.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/standard=%name%/seq=%seq-id%//copy-sflow Sends matching inbound packets to the sFlow collector.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended%name%/seq=%seq-id%//sport-number-lt-tcp s-port numbers less than or equal to Transmission Control Protocol (TCP).
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended=%name%/seq=%seq-id%//sport-number-gt-tcp s-port numbers greater than or equal to Transmission Control Protocol (TCP).
/restconf/data/brocade-ipv6-access-list:ipv6-acl/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.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended=%name%/seq=%seq-id%//sport-number-lt-udp s-port numbers less than or equal to User Datagram Protocol (UDP).
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended=%name%/seq=%seq-id%//sport-number-gt-udp s-port numbers greater than or equal to User Datagram Protocol (UDP).
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended=%name%/seq=%seq-id%//vlan Displays the VLAN interface to which the ACL is bound.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended=%name%/seq=%seq-id%//count Displays whether count is enabled for an extended ACL.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended=%name%/seq=%seq-id%/log Displays whether log is configured for an extended ACL.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended=%name%/seq=%seq-id%/mirror Mirrors packets matching the rule.
POST URIs Payload Description
/config/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list <standard><name>{name}</name></standard> Configures a standard IPv6 access list.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended=%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.
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list <extended><name>{name}</name></extended> Configures an extended IPv6 access list.
DELETE URIs
/restconf/data/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/standard=%name%
/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/extended=%name%

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:443/restconf/data/brocade-ipv6-access-list:ipv6-acl/ipv6/access-list/standard=%name%/seq=%seq-id%/src-host-ip

None

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

URI

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

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

<standard><name>rest1</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