155
Parameters
all: Displays all portal rules, including dynamic and static portal rules.
dynamic: Displays dynamic portal rules, which are generated after users pass portal authentication.
These rules allow packets with specific source IP addresses to pass the interface.
static: Displays static portal rules, which are generated after portal authentication is enabled. The
interface filters packets by these rules when portal authentication is enabled.
interface interface-type interface-number: Specifies an interface by its type and number.
slot slot-number: Specifies a card by its slot number. If you do not specify this option, this command
displays portal rules for all cards. (MSR4000.)
Examples
# Display all portal rules on interface GigabitEthernet 2/1/1.
<Sysname> display portal rule all interface gigabitethernet 2/1/1 slot 2
IPv4 portal rules on GigabitEthernet2/1/1:
Rule 1
Type : Static
Action : Permit
Protocol : Any
Status : Active
Source:
IP : 0.0.0.0
Mask : 0.0.0.0
Port : Any
MAC : 0000-0000-0000
Interface : GigabitEthernet2/1/1
VLAN : Any
Destination:
IP : 192.168.0.111
Mask : 255.255.255.255
Port : Any
Rule 2
Type : Dynamic
Action : Permit
Status : Active
Source:
IP : 2.2.2.2
MAC : 000d-88f8-0eab
Interface : GigabitEthernet2/1/1
VLAN : Any
Author ACL:
Number : 3001
Rule 3
Type : Static
Action : Redirect
Status : Active