140
MSR4000:
display mac-authentication connection [ interface interface-type interface-number | slot slot-number |
user-mac mac-addr | user-name user-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Specifies a port by its type and number. If you do not specify
a port, this command displays information about the online MAC authentication users on all ports.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays
information about the online MAC authentication users on all cards. (MSR4000.)
user-mac mac-addr: Specifies an online MAC authentication user by its MAC address. The mac-addr
argument represents the MAC address of the user, in the form of H-H-H.
user-name user-name: Specifies an online MAC authentication user by its username. The user name is a
case-sensitive string of 1 to 253 characters, and it can include the domain name.
Examples
# Display information about all online MAC authentication users on the MSR1000, MSR2000 or
MSR3000 router.
<Sysname> display mac-authentication connection
User MAC address: 0015-e9a6-7cfe
Access interface: GigabitEthernet2/1/1
Username: ias
Authentication domain: HP
Initial VLAN: 1
Authorization untagged VLAN: 100
Authorization ACL ID: 3001
Authorization user profile: N/A
Termination action: Radius-request
Session timeout period: 2 s
Online from: 2013/03/02 13:14:15
Online duration: 0h 2m 15s
Total 1 connection(s) matched.
# Display information about all online MAC authentication users on the MSR4000 router.
<Sysname> display mac-authentication connection
Slot ID: 2
User MAC address: 0015-e9a6-7cfe
Access interface: GigabitEthernet2/1/1
Username: ias
Authentication domain: HP
Initial VLAN: 1
Authorization untagged VLAN: 100