H3C S12500 Configuration Examples
H3C S12500 Configuration Examples

H3C S12500 Configuration Examples

Login authentication
Hide thumbs Also See for S12500:

Advertisement

Quick Links

H3C S12500 Login Authentication
Configuration Examples
Copyright © 2013 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
No part of this manual may be reproduced or transmitted in any form or by any means without
prior written consent of Hangzhou H3C Technologies Co., Ltd.
The information in this document is subject to change without notice.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S12500 and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S12500

  • Page 1 H3C S12500 Login Authentication Configuration Examples Copyright © 2013 Hangzhou H3C Technologies Co., Ltd. All rights reserved. No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd.
  • Page 2: Table Of Contents

    Contents Introduction ··································································································································································· 1   Prerequisites ·································································································································································· 1   Example: Configuring password authentication for console users ··········································································· 2   Network requirements ······················································································································································ 2   Requirements analysis ······················································································································································· 2   Software version used ······················································································································································ 2   Configuration procedures ················································································································································ 2   Verifying the configuration ···············································································································································...
  • Page 3: Introduction

    Introduction This document provides authentication configuration examples for console and Telnet logins. The H3C S12500 switch supports the following login authentication modes: None—Disables authentication. This mode allows access without authentication and is insecure. • Password—Requires a password for login authentication.
  • Page 4: Example: Configuring Password Authentication For Console Users

    The user role depends on the user role setting for the console user interface and is network-admin by default. Software version used This configuration example was created and verified on S12500-CMW710-R7129. Configuration procedures # Enable password authentication for the console user interface, and set the password to test.
  • Page 5: Configuration Files

    * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed. ****************************************************************************** User interface con0 is available. Press ENTER to get started. Password: # Enter the correct password to verify that you can access the CLI. <Switch1>...
  • Page 6: Software Version Used

    The user role of a login user depends on the user role setting for the local user. It is network-operator by default when local scheme authentication is used. Software version used This configuration example was created and verified on S12500-CMW710-R7129. Configuration procedures # Enable scheme authentication for the console user interface.
  • Page 7: Configuration Files

    System View: return to User View with Ctrl+Z. [Switch1] Configuration files domain default enable system user-interface con 0 authentication-mode scheme user-role network-admin local-user test class manage password hash $h$6$DaTNpkN/T5vDTCTX$knzvBlMhlFZ77CORDl55gdS8+oMzxCsxe/xH+qoSllg AEyWm7wW70ZB5O2QqlvHEUg8nkLaM/1/xK/6Cvq5shQ== service-type terminal authorization-attribute user-role network-admin authorization-attribute user-role network-operator Example: Configuring password authentication for Telnet users Network requirements Configure password authentication for Telnet users on the switch in...
  • Page 8: Software Version Used

    Software version used This configuration example was created and verified on S12500-CMW710-R7129. Configuration procedures # Enable Telnet server. <switch1> system-view [switch1] telnet server enable # Configure interface GigabitEthernet 7/0/35. [switch1] interface Vlan-interface 5 [switch1-Vlan-interface5] ip address 15.15.1.1 16 [switch1-Vlan-interface5] quit...
  • Page 9: Example: Configuring Local Scheme Authentication For Telnet Users

    domain default enable system telnet server enable vlan 5 interface Vlan-interface5 ip address 15.15.1.1 255.255.0.0 interface GigabitEthernet7/0/35 port link-mode bridge port access vlan 5 user-interface vty 0 15 user-role network-admin user-role network-operator set authentication password hash $h$6$ifF6RyM3SrB7BiSA$2zNo5WkQc2Oz8GXYOq7FkL2s 98vO13C11511sWzNn+J/NcqmEKGuwbMubqY0r8gA5iGy7ojYux/m1A+ux+F5yw== idle-timeout 0 0 Example: Configuring local scheme authentication for Telnet users Network requirements...
  • Page 10: Software Version Used

    The user role of a login user depends on the user role setting for the local user. It is network-operator by default when local scheme authentication is used. Software version used This configuration example was created and verified on S12500-CMW710-R7129. Configuration procedures # Enable Telnet server.
  • Page 11: Configuration Files

    0 0 local-user test class manage password hash $h$6$uUxUbGGD00+3wYOs$cVq29Rs+FEp5GSCfTmCw3Wkg43lLKHtUaWOf7LkHDAP 7B2VqITsm5OK7vIgd3W2HGDHXzjc1g/Z4PNPIkFN2WQ== service-type telnet authorization-attribute user-role network-admin authorization-attribute user-role network-operator Related documentation H3C S12500 Routing Switch Series Fundamentals Configuration Guide • • H3C S12500 Routing Switch Series Fundamentals Command Reference...

Table of Contents