08-Security Command Reference

HomeSupportSwitchesH3C S5130 Switch SeriesReference GuidesCommand ReferencesH3C S5130-HI Command References-R1118P02[R1122]-6W10208-Security Command Reference
19-User profile commands
Title Size Download
19-User profile commands 36.29 KB

User profile commands

display user-profile

Use display user-profile to display configuration and online user information for a user profile or all 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. 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 this option, the command displays user profile configuration and online user information on all member devices.

Examples

# Display configuration and online user information for all user profiles.

<Sysname> display user-profile

  User-Profile: abc

    Inbound:

      Policy: abc

    Outbound:

      Policy: abc

 

    slot 1:

      User -:

        Authentication type: 802.1X

        Network attributes:

          Interface    : GigabitEthernet1/0/1

          MAC address  : 6805-ca06-557b

          Service VLAN : 1 

Table 1 Command output

Field

Description

User-Profile

User profile name.

Policy

Policy name.

Authentication type

Authentication type:

·     802.1X—802.1X authentication.

·     MACA—MAC authentication.

Network attributes

Online user information.

 

user-profile

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

Use undo user-profile to remove 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.

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 user profile a123.

<Sysname> system-view

[Sysname] user-profile a123

[Sysname-user-profile-a123]

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