11-Security Command Reference

HomeSupportResource CenterRoutersH3C SR6600-X Router SeriesH3C SR6600-X Router SeriesTechnical DocumentsReference GuidesCommand ReferencesH3C SR6602-X Routers Command References-R7607-6W10011-Security Command Reference
03-User profile commands
Title Size Download
03-User profile commands 40.28 KB

User profile commands

display user-profile

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

Syntax

In standalone mode:

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

In IRF mode:

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

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-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 the slot number of the device, which is fixed at 0. Alternatively, you can execute the command without specifying this option. The command execution results are the same. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the device, which is fixed at 0. If you do not specify an IRF member device, this command displays user profile configuration and online user information on all IRF member devices. (In IRF mode.)

Examples

# (In standalone mode.) Display configuration and online user information for all user profiles in slot 1.

<Sysname> display user-profile slot 1

  User-Profile: aaa

    Inbound:

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

      Policy: p1

    Outbound:

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

      Policy: p2

    Connection-limit amount: 1000

    Connection-limit rate: 100

 

    User user_2:

      Authentication type: Portal

      Network attributes:

        Interface    : GigabitEthernet1/1/3

        IP address   : 172.16.187.16

        VPN          : N/A

        Service VLAN : 100

    User -:

      Reference type: VPN-PEER

 

  User-Profile: bbb

    Inbound:

      CIR 512 (kbps), CBS 1024 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)

      Policy: p3

      Connection-limit rate: 200

 

    User user_4:

    Authentication type: Portal

    Network attributes:

      Interface    : GigabitEthernet1/1/2

      IP address   : 172.16.187.166

      VPN          : N/A

      Service VLAN : 100

# (In IRF mode.) Display configuration and online user information for user profile aaa in slot 1 of IRF member device 1.

<Sysname> display user-profile name aaa chassis 1 slot 1

  User-Profile: aaa

    Inbound:

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

      Policy: p1

    Outbound:

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

      Policy: p2

    Connection-limit amount: 1000

    Connection-limit rate: 100

 

    User user_2:

      Authentication type: Portal

      Network attributes:

        Interface    : GigabitEthernet1/1/1/3

        IP address   : 172.16.187.16

        VPN          : N/A

        Service VLAN : 100

    User -:

      Reference type: VPN-PEER

# (In IRF mode.) Display configuration and online user information for user profile bbb.

<Sysname> display user-profile name bbb

  User-Profile: bbb

    Inbound:

      CIR 512 (kbps), CBS 1024 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)

      Policy: p3

    Connection-limit rate: 200

 

    Chassis 1 Slot 2:

      User user_4:

        Authentication type: PPP

        Network attributes:

          Interface    : GigabitEthernet1/1/1/2

      User -:

        Reference type: VPN-PEER

 

    Chassis 1 Slot 5:

      User user_5:

        Authentication type: IPoE

        Network attributes:

          MAC address  : 2222-3333-4444

# (In IRF mode.) Display configuration and online user information for all user profiles.

<Sysname> display user-profile

  User-Profile: aaa

    Inbound:

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

      Policy: p1

    Connection-limit amount: 1000

    Connection-limit rate: 100

 

    Chassis 1 Slot 5:

      User user_6:

        Authentication type: PPP

        Network attributes:

          Interface    : GigabitEthernet1/1/1/3

 

  User-Profile: bbb

    Inbound:

      CIR 512 (kbps), CBS 1024 (Bytes), EBS 0 (Bytes), PIR 888 (kbps)

      Policy: p3

    Connection-limit rate: 200

 

    Chassis 1 Slot 5:

      User user_7:

        Authentication type: IPoE

        Network attributes:

          Interface    : GigabitEthernet1/1/1/2

          MAC address  : 0000-1111-2222

          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.

PIR

Peak information rate, in kbps.

Connection-limit amount

Maximum number of user connections set by the connection limits.

Connection-limit rate

Maximum connection establishment rate set by the connection limits.

Policy

Policy name.

QMProfile

Queue scheduling profile.

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:

·     Portal—Portal authentication.

·     PPP—PPP authentication.

·     IPoE—IPoE authentication.

·     MACA—MAC authentication.

Network attributes

Online user information.

Failed action list

Actions that failed to be applied to the user.

Reference type

Reference type, which can only be VPN-PEER. The VPN-PEER value indicates that the user profile is used by the VPN peer configuration.

 

user-profile

Use user-profile to create a user profile and enter its view, or enter the view of an existing user profile.

Use undo user-profile to delete a user profile.

Syntax

user-profile profile-name

undo user-profile profile-name

Default

No user profiles exist.

Views

System view

Predefined user roles

network-admin

mdc-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.

Examples

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

<Sysname> system-view

[Sysname] user-profile a123

[Sysname-user-profile-a123]

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网