10-Security

HomeSupportResource CenterH3C Access Controllers Command References(E5208P03 E5215P01 R5215P01)-6W10210-Security
06-User profile commands
Title Size Download
06-User profile commands 38.45 KB

User profile commands

The WX1800H series, WX2500H series, and WX3000H series access controllers do not support the slot keyword or the slot-number argument.

display user-profile

Use display user-profile to display configuration and online user information for user profiles.

Syntax

display user-profile [ name profile-name ] [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

name profile-name: Specifies a user profile by its name, a case-sensitive string of 1 to 31 characters. Valid characters include English letters, digits, and underscores (_). The name must start with an English letter and must be unique. If you do not specify this option, the command displays configuration and online user information for all user profiles.

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays user profile configuration and online user information for all member devices.

Examples

# (IRF-incapable devices.) Display configuration and online user information for user profile aaa.

<Sysname> display user-profile name aaa

  User-Profile: aaa

    Inbound:

      CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes)

      Policy: p1

    Outbound:

      CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes)

 

    User user_1:

      Authentication type: 802.1X

      Network attributes:

        Interface    : WLAN-BSS1/0/5

        MAC address  : 0000-1111-2222

      Failed action list:

        Inbound: Policy p1

        Inbound: CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes)

    User user_2:

      Authentication type: Portal

      Network attributes:

        Interface    : WLAN-BSS1/0/5

        IP address   : 172.16.187.16

        VPN          : N/A

        Service VLAN : 100

# Display configuration and online user information for all user profiles on IRF member device 1.

<Sysname> display user-profile slot 1

  User-Profile: aaa

    Inbound:

      CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes)

      Policy: p1

    Outbound:

      CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes)

 

    User user_1:

      Authentication type: 802.1X

      Network attributes:

        Interface    : WLAN-BSS1/0/5

        MAC address  : 0000-1111-2222

      Failed action list:

        Inbound: Policy p1

        Inbound: CIR 32 (kbps), CBS 2048 (Bytes), EBS 0 (Bytes)

    User user_2:

      Authentication type: Portal

      Network attributes:

        Interface    : WLAN-BSS1/0/5

        IP address   : 172.16.187.16

        VPN          : N/A

        Service VLAN : 100

  User-Profile: bbb

    Inbound:

      CIR 512 (kbps), CBS 1062 (Bytes), EBS 0 (Bytes)

      Policy: p3

 

    User user_4:

    Authentication type: Portal

    Network attributes:

      Interface    : WLAN-BSS1/0/5

      IP address   : 172.16.187.166

      VPN          : N/A

      Service VLAN : 100

Table 1 Command output

Field

Description

User-Profile

User profile name.

Inbound

Policy applied to incoming traffic.

Outbound

Policy applied to outgoing traffic.

CIR

Committed information rate, in kbps.

CBS

Committed burst size, in bytes.

EBS

Excess burst size, in bytes.

Policy

Policy name.

User user_1

Username of a user account with which a user profile is associated.

If no user is online, User - is displayed.

Authentication type

Authentication type:

·     802.1X—802.1X authentication.

·     Portal—Portal authentication.

·     PPP—PPP authentication.

·     MACA—MAC authentication.

Network attributes

Online user information.

Failed action list

Actions that failed to be applied to the user.

 

user-profile

Use user-profile to create a user profile and enter user profile view.

Use undo user-profile to delete a user profile.

Syntax

user-profile profile-name

undo user-profile profile-name

Default

No user profile exists.

Views

System view

Predefined user roles

network-admin

Parameters

profile-name: Specifies a user profile by its name, a case-sensitive string of 1 to 31 characters. A user profile name can only contain English letters, digits, and underscores (_), and it must start with an English letter. The name must be unique.

Usage guidelines

You can use the command to enter the view of an existing user profile.

Examples

# Create user profile a123 and enter the view of a123.

<Sysname> system-view

[Sysname] user-profile a123

[Sysname-user-profile-a123]