141
[Sysname-GigabitEthernet3/0/1] access-user detect type arp retransmit 3 interval 10
display portal acl
Use
display portal acl
to display the ACLs on a specific interface.
Syntax
display portal acl
{
all
|
dynamic
|
static
}
interface
interface-type interface-number
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
all
: Displays all portal ACLs, including dynamic and static portal ACLs.
dynamic
: Displays dynamic portal ACLs—ACLs generated dynamically after a user passes portal
authentication.
static
: Displays static portal ACLs—ACLs generated through portal related configuration, such as
portal-free rule configuration.
interface
interface-type interface-number
: Displays the ACLs on the specified interface.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display all ACLs on interface GigabitEthernet 3/0/1.
<Sysname> display portal acl all interface gigabitethernet 3/0/1
IPv4 portal ACL rules on GigabitEthernet3/0/1:
Rule 0
Inbound interface : GigabitEthernet3/0/1
Type : static
Action : permit
Protocol : 6
Source:
IP : 222.222.222.222
Mask : 255.255.255.255
Port : 50000 ~ 51000
MAC : 0000-0000-0000
Interface : any
VLAN : 0
Destination:
IP : 111.111.111.111
Mask : 255.255.255.255