ACL Commands
permit (IPv6)
permit (IPv6)
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
To set permit conditions for an IPv6-based ACL, use the permit command in the
IPv6 Access-List Configuration mode.
To remove an IPv6-based ACE, use the no sequence command.
Syntax
value
[sequence
] permit
prefix/length
} [dscp
[sequence
value
] permit
prefix/length
icmp-type
} {any |
number
]
[sequence
value
] permit
range
destination- prefix/length
} {any |
number
| precedence
[sequence
value
] permit
range
destination- prefix/length
} {any |
numbe
|
r
precedence
no sequence
value
Parameters
value
•
sequence
The acceptable range is from 1 to 2147483547. If not specified, the switch
provides a number starting from 1 in ascending order.
protocol
•
—The name or the number of an IP protocol. Available protocol
names are icmp (58), tcp (6), and udp (17). To match any protocol, use the
ipv6 keyword. (Range: 0 to 255)
source-prefix/length
•
which to set permit conditions. This argument must be in the form
documented in RFC 3513 where the address is specified in hexadecimal
using 16-bit values between colons.
source-port/port-range
•
names are defined in the
to 65535)
destination-prefix/length
•
networks about which to set permit conditions. This argument must be in
protocol
source-prefix/length
{any |
number
| precedence
icmp
{any | {
source-prefix/length
icmp-code
} {any |
tcp
{any |
source-prefix/length
} {any |
number
] [match-all
udp
{any |
source-prefix/length
} {any |
number
]
—(Optional) The sequence number for the IPv6-based ACL.
—The source IPv6 network or class of networks about
—The UDP or TCP source port. Predefined port
destination-port/port-range
—The destination IPv6 network or class of
} {any |
number
]
} {any |
number
} [dscp
} {any |
source-port/port-
destination-port
port-range
/
list-of-flags
]
} {any |
source-port/port-
destination-port/port-range
parameter. (Range: 0
4
destination-
destination-
| precedence
} [dscp
} [dscp
82