ipv6 access-list¶
Configure a IPv6 Access List
access-list Specification¶
Type Collection Object Key(s) name Collection Name access-list-list Collection URI /axapi/v3/ipv6/access-list Element Name access-list Element URI /axapi/v3/ipv6/access-list/{name} Element Attributes access-list_attributes Schema access-list schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ipv6/access-list | ||
Create List | POST | /axapi/v3/ipv6/access-list | ||
Get Object | GET | /axapi/v3/ipv6/access-list/{name} | ||
Get List | GET | /axapi/v3/ipv6/access-list | ||
Modify Object | POST | /axapi/v3/ipv6/access-list/{name} | ||
Replace Object | PUT | /axapi/v3/ipv6/access-list/{name} | ||
Replace List | PUT | /axapi/v3/ipv6/access-list | ||
Delete Object | DELETE | /axapi/v3/ipv6/access-list/{name} |
access-list-list¶
access-list-list is JSON List of access-list attributes
access-list-list : [
]
access-list attributes¶
name
Description Named Access List
Type: string
Maximum Length: 16 characters
Maximum Length: 1 characters
rules
Type: Listuser-tag
Description Customized tag
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
rules¶
Specification Type list Block object keys acl-log
Description Log matches against this entry
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
action
Description ‘deny’: Deny; ‘permit’: Permit; ‘l3-vlan-fwd-disable’: Disable L3 forwarding between VLANs;
Type: string
Supported Values: deny, permit, l3-vlan-fwd-disable
any-code
Description Any ICMP code
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: any-code is mutually exclusive with icmp-code and special-code
any-type
Description Any ICMP type
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: any-type is mutually exclusive with icmp-type and special-type
dscp
Description DSCP
Type: number
Range: 1-63
dst-any
Description Any destination host
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: dst-any is mutually exclusive with dst-host, dst-subnet and dst-object-group
dst-eq
Description Match only packets on a given destination port (port number)
Type: number
Range: 1-65535
Mutual Exclusion: dst-eq is mutually exclusive with dst-gt, dst-lt and dst-range
dst-gt
Description Match only packets with a greater port number
Type: number
Range: 1-65534
Mutual Exclusion: dst-gt is mutually exclusive with dst-eq, dst-lt and dst-range
dst-host
Description A single destination host (Host address)
Type: string
Format: ipv6-address
Mutual Exclusion: dst-host is mutually exclusive with dst-any, dst-subnet and dst-object-group
dst-lt
Description Match only packets with a lesser port number
Type: number
Range: 2-65535
Mutual Exclusion: dst-lt is mutually exclusive with dst-eq, dst-gt and dst-range
dst-object-group
Description Destination network object group name (Source network object group name)
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
Mutual Exclusion: dst-object-group is mutually exclusive with dst-any, dst-host and dst-subnet
dst-port-end
Description Edning Destination Port Number
Type: number
Range: 1-65535
dst-range
Description Match only packets in the range of port numbers (Starting Destination Port Number)
Type: number
Range: 1-65535
Mutual Exclusion: dst-range is mutually exclusive with dst-eq, dst-gt and dst-lt
dst-subnet
Description Destination Address
Type: string
Format: ipv6-address-plen
Mutual Exclusion: dst-subnet is mutually exclusive with dst-any, dst-host and dst-object-group
established
Description TCP established
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ethernet
Description Ethernet interface (Port number)
Type: number
Format: interface
fragments
Description IP fragments
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
geo-location
Description Specify geo-location name
Type: string
Maximum Length: 63 characters
Maximum Length: 1 characters
Mutual Exclusion: geo-location is mutually exclusive with icmp, tcp, udp, ipv6 and service-obj-group
icmp
Description Internet Control Message Protocol
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: icmp is mutually exclusive with tcp, udp, ipv6, service-obj-group and geo-location
icmp-code
Description ICMP code number
Type: number
Range: 0-254
Mutual Exclusion: icmp-code is mutually exclusive with any-code and special-code
icmp-type
Description ICMP type number
Type: number
Range: 0-254
Mutual Exclusion: icmp-type is mutually exclusive with any-type and special-type
ipv6
Description Any Internet Protocol
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: ipv6 is mutually exclusive with icmp, tcp, udp, service-obj-group and geo-location
remark
Description Access list entry comment (Notes for this ACL)
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
seq-num
Description Sequence Number
Type: number
Range: 1-8192
service-obj-group
Description Service object group (Source object group name)
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
Mutual Exclusion: service-obj-group is mutually exclusive with icmp, tcp, udp, ipv6 and geo-location
special-code
Description ‘addr-unreachable’: Code 3, address unreachable; ‘admin-prohibited’: Code 1, admin prohibited; ‘no-route’: Code 0, no route to destination; ‘not-neighbour’: Code 2, not neighbor; ‘port-unreachable’: Code 4, destination port unreachable;
Type: string
Supported Values: addr-unreachable, admin-prohibited, no-route, not-neighbour, port-unreachable
Mutual Exclusion: special-code is mutually exclusive with any-code and icmp-code
special-type
Description ‘echo-reply’: Type 129, echo reply; ‘echo-request’: help Type 128, echo request; ‘packet-too-big’: Type 2, packet too big; ‘param-prob’: Type 4, parameter problem; ‘time-exceeded’: Type 3, time exceeded; ‘dest-unreachable’: Type 1, destination unreachable;
Type: string
Supported Values: echo-reply, echo-request, packet-too-big, param-prob, time-exceeded, dest-unreachable
Mutual Exclusion: special-type is mutually exclusive with icmp-type and any-type
src-any
Description Any source host
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: src-any is mutually exclusive with src-host, src-subnet and src-object-group
src-eq
Description Match only packets on a given source port (port number)
Type: number
Range: 1-65535
Mutual Exclusion: src-eq is mutually exclusive with src-gt, src-lt and src-range
src-gt
Description Match only packets with a greater port number
Type: number
Range: 1-65534
Mutual Exclusion: src-gt is mutually exclusive with src-eq, src-lt and src-range
src-host
Description A single source host (Host address)
Type: string
Format: ipv6-address
Mutual Exclusion: src-host is mutually exclusive with src-any, src-subnet and src-object-group
src-lt
Description Match only packets with a lower port number
Type: number
Range: 2-65535
Mutual Exclusion: src-lt is mutually exclusive with src-eq, src-gt and src-range
src-object-group
Description Network object group (Source network object group name)
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
Mutual Exclusion: src-object-group is mutually exclusive with src-any, src-host and src-subnet
src-port-end
Description Ending Port Number
Type: number
Range: 1-65535
src-range
Description match only packets in the range of port numbers (Starting Port Number)
Type: number
Range: 1-65535
Mutual Exclusion: src-range is mutually exclusive with src-eq, src-gt and src-lt
src-subnet
Description Source Address
Type: string
Format: ipv6-address-plen
Mutual Exclusion: src-subnet is mutually exclusive with src-any, src-host and src-object-group
tcp
Description protocol TCP
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: tcp is mutually exclusive with icmp, udp, ipv6, service-obj-group and geo-location
trunk
Description Ethernet trunk (trunk number)
Type: number
Format: interface
udp
Description protocol UDP
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: udp is mutually exclusive with icmp, tcp, ipv6, service-obj-group and geo-location
vlan
Description VLAN ID
Type: number
Range: 1-4094