H3C S3100-52P Operation Manual
H3C S3100-52P Operation Manual

H3C S3100-52P Operation Manual

Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Quick Links

Operation Manual - Login
H3C S3100-52P Ethernet Switch
Chapter 1 Logging into an Ethernet Switch ............................................................................... 1-1
1.1 Logging into an Ethernet Switch ........................................................................................ 1-1
1.2 Introduction to the User Interface ...................................................................................... 1-1
1.2.1 Supported User Interfaces ...................................................................................... 1-1
1.2.2 User Interface Number............................................................................................ 1-1
1.2.3 Common User Interface Configuration ................................................................... 1-2
Chapter 2 Logging in through the Console Port........................................................................ 2-1
2.1 Introduction ........................................................................................................................ 2-1
2.2 Logging in through the Console Port ................................................................................. 2-1
2.3 Console Port Login Configuration...................................................................................... 2-3
2.3.1 Common Configuration ........................................................................................... 2-3
2.4.1 Configuration Procedure ......................................................................................... 2-6
2.4.2 Configuration Example............................................................................................ 2-8
2.5.1 Configuration Procedure ......................................................................................... 2-9
2.5.2 Configuration Example.......................................................................................... 2-11
2.6.1 Configuration Procedure ....................................................................................... 2-13
2.6.2 Configuration Example.......................................................................................... 2-15
Chapter 3 Logging in through Telnet .......................................................................................... 3-1
3.1 Introduction ........................................................................................................................ 3-1
3.1.1 Common Configuration ........................................................................................... 3-1
3.1.2 Telnet Configurations for Different Authentication Modes ...................................... 3-2
3.2 Telnet Configuration with Authentication Mode Being None ............................................. 3-4
3.2.1 Configuration Procedure ......................................................................................... 3-4
3.2.2 Configuration Example............................................................................................ 3-5
3.3.1 Configuration Procedure ......................................................................................... 3-7
3.3.2 Configuration Example............................................................................................ 3-8
3.4 Telnet Configuration with Authentication Mode Being Scheme ...................................... 3-10
3.4.1 Configuration Procedure ....................................................................................... 3-10
3.4.2 Configuration Example.......................................................................................... 3-14
3.5 Telneting to a Switch ....................................................................................................... 3-15
3.5.1 Telneting to a Switch from a Terminal................................................................... 3-15
3.5.2 Telneting to another Switch from the Current Switch............................................ 3-18

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S3100-52P and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S3100-52P

  • Page 1: Table Of Contents

    Operation Manual – Login H3C S3100-52P Ethernet Switch Table of Contents Table of Contents Chapter 1 Logging into an Ethernet Switch ................1-1 1.1 Logging into an Ethernet Switch ..................1-1 1.2 Introduction to the User Interface ..................1-1 1.2.1 Supported User Interfaces ..................1-1 1.2.2 User Interface Number....................
  • Page 2 Operation Manual – Login H3C S3100-52P Ethernet Switch Table of Contents Chapter 4 Logging in Using Modem.................... 4-1 4.1 Introduction ........................4-1 4.2 Configuration on the Administrator Side................4-1 4.3 Configuration on the Switch Side..................4-1 4.3.1 Modem Configuration....................4-1 4.3.2 Switch Configuration ....................
  • Page 3: Chapter 1 Logging Into An Ethernet Switch

    SSH users VTY users. Note: The AUX port and the Console port of a H3C series Ethernet switch are the same port. You will be in the AUX user interface if you log in through this port. 1.2.2 User Interface Number Two kinds of user interface index exist: absolute user interface index and relative user interface index.
  • Page 4: Common User Interface Configuration

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 1 Logging into an Ethernet Switch A relative user interface index can be obtained by appending a number to the identifier of a user interface type. It is generated by user interface type. The...
  • Page 5 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 1 Logging into an Ethernet Switch Caution: The auto-execute command command may cause you unable to perform common configuration in the user interface, so use it with caution. Before executing the auto-execute command command and save your configuration, make sure you can log into the switch in other modes and cancel the configuration.
  • Page 6: Chapter 2 Logging In Through The Console Port

    To log in through the Console port is the most common way to log into a switch. It is also the prerequisite to configure other login methods. Normally, you can log into an S3100-52P Ethernet switch through its Console port. To log into an Ethernet switch through its Console port, the communication configuration of the user terminal must be in accordance with that of the Console port.
  • Page 7 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port the configuration shown in Figure 2-2 through Figure 2-4 for the connection to be created. Normally, the parameters of a terminal are configured as those listed in Table 2-1.
  • Page 8: Console Port Login Configuration

    Figure 2-4 Set port parameters Turn on the switch. You will be prompted to press the Enter key if the switch successfully completes POST (power-on self test). The prompt (such as <H3C>) appears after you press the Enter key. You can then configure the switch or check the information about the switch by executing the corresponding commands.
  • Page 9: Console Port Login Configurations For Different Authentication Modes

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port Configuration Remarks Configure Optional user command level By default, commands of level 3 are interface available to the users available to the users logging into the AUX...
  • Page 10 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port Authentication Console port login Remarks mode configuration Configure Configure the password Required password local authentication Password Optional Perform common Perform configuration for Refer section 2.3.1...
  • Page 11: Console Port Login Configuration With Authentication Mode Being None

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port 2.4 Console Port Login Configuration with Authentication Mode Being None 2.4.1 Configuration Procedure Table 2-4 Console port login configuration with the authentication mode being none...
  • Page 12 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port Operation Command Description Optional default, screen can contain up to 24 lines. Set the maximum number of screen-length You can use the lines the screen can contain...
  • Page 13: Configuration Example

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port Table 2-5 Determine the command level (A) Scenario Command Authentication level User type Command mode The user privilege level Level 3 Users level command not executed...
  • Page 14: Console Port Login Configuration With Authentication Mode Being Password

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port [H3C] user-interface aux 0 # Specify not to authenticate users logging in through the Console port. [H3C-ui-aux0] authentication-mode none # Specify commands of level 2 are available to users logging into the AUX user interface.
  • Page 15 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port Operation Command Description Optional The default baud rate of an AUX speed speed-value baud rate port (also the Console port) is 9,600 bps. Optional...
  • Page 16: Configuration Example

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port Note that the level the commands of which are available to users logging into a switch depends on both the authentication-mode password and the user privilege level level command, as listed in the following table.
  • Page 17 [H3C-ui-aux0] authentication-mode password # Set the local password to 123456 (in plain text). [H3C-ui-aux0] set authentication password simple 123456 # Specify commands of level 2 are available to users logging into the AUX user interface. [H3C-ui-aux0] user privilege level 2 # Set the baud rate of the Console port to 19,200 bps.
  • Page 18: Console Port Login Configuration With Authentication Mode Being Scheme

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port 2.6 Console Port Login Configuration with Authentication Mode Being Scheme 2.6.1 Configuration Procedure Table 2-8 Console port login configuration with the authentication mode being scheme...
  • Page 19 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port Operation Command Description Required The specified AAA scheme authentication-mod determines whether Configure to authenticate scheme authenticate users locally or users locally or remotely command- remotely.
  • Page 20: Configuration Example

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port Operation Command Description Optional The default timeout time of a user interface is 10 minutes. With the timeout time being 10 minutes, the connection to a...
  • Page 21 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port The commands of level 2 are available to users logging into the AUX user interface. The baud rate of the Console port is 19,200 bps.
  • Page 22 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 2 Logging in through the Console Port # Set the maximum number of lines the screen can contain to 30. [H3C-ui-aux0] screen-length 30 # Set the maximum number of commands the history command buffer can store to 20.
  • Page 23: Chapter 3 Logging In Through Telnet

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet Chapter 3 Logging in through Telnet 3.1 Introduction You can manage and maintain a switch remotely by Telneting to the switch. To achieve this, you need to configure both the switch and the Telnet terminal accordingly.
  • Page 24: Telnet Configurations For Different Authentication Modes

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet Configuration Description Optional Make terminal services By default, terminal services are available available in all user interfaces Optional Set the maximum number of lines the screen can...
  • Page 25 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet Authentication Telnet configuration Description mode configuration Optional Specify specifies perform local Local authentication whether authenticatio performed by default. perform local n or RADIUS Refer authenticatio authenticatio AAA&RADIUS&HWTACACS&E...
  • Page 26: Telnet Configuration With Authentication Mode Being None

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet 3.2 Telnet Configuration with Authentication Mode Being None 3.2.1 Configuration Procedure Table 3-4 Telnet configuration with the authentication mode being none Operation Command Description Enter system view system-view —...
  • Page 27: Configuration Example

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet Operation Command Description Optional The default timeout time of a user interface is 10 minutes. With the timeout time being 10 timeout minutes, the connection to a user...
  • Page 28 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet II. Network diagram RS-232 RS-232 Console port Console port Console cable Console cable Figure 3-1 Network diagram for Telnet configuration (with the authentication mode being none) III.
  • Page 29: Telnet Configuration With Authentication Mode Being Password

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet 3.3 Telnet Configuration with Authentication Mode Being Password 3.3.1 Configuration Procedure Table 3-6 Telnet configuration with the authentication mode being password Operation Command Description Enter system view system-view —...
  • Page 30: Configuration Example

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet Operation Command Description Optional The default timeout time of a user interface is 10 minutes. With the timeout time being 10 minutes, the connection to Set the timeout time of...
  • Page 31 # Configure to authenticate users logging into VTY 0 using the local password. [H3C-ui-vty0] authentication-mode password # Set the local password to 123456 (in plain text). [H3C-ui-vty0] set authentication password simple 123456 # Specify commands of level 2 are available to users logging into VTY 0. [H3C-ui-vty0] user privilege level 2 # Configure Telnet protocol is supported.
  • Page 32: Telnet Configuration With Authentication Mode Being Scheme

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet 3.4 Telnet Configuration with Authentication Mode Being Scheme 3.4.1 Configuration Procedure Table 3-8 Telnet configuration with the authentication mode being scheme Operation Command Description Enter system view system-view —...
  • Page 33 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet Operation Command Description Required The specified AAA scheme Configure authentication-mode determines whether authenticate users scheme [ command- authenticate users locally or locally or remotely authorization ] remotely.
  • Page 34 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet Note that if you configure to authenticate the users in the scheme mode, the command level available to users logging into a switch depends on the authentication-mode...
  • Page 35 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet Scenario Command Authenticati level User type Command on mode The user privilege level level command is not executed, and the service-type command does specify available command level.
  • Page 36: Configuration Example

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet 3.4.2 Configuration Example I. Network requirements Assume that you are a level 3 AUX user and want to perform the following configuration for Telnet users logging into VTY 0: Configure the name of the local user to be “guest”.
  • Page 37: Telneting To A Switch

    HyperTerminal in Windows 9X) on the PC, with the baud rate set to 9,600 bps, data bits set to 8, parity check set to none, and flow control set to none. Turn on the switch and press Enter as prompted. The prompt (such as <H3C>) appears, as shown in the following figure.
  • Page 38 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet Figure 3-5 The terminal window Perform the following operations in the terminal window to assign an IP address to the management VLAN interface of the switch.
  • Page 39 If all VTY user interfaces of the switch are in use, you will fail to establish the connection and receive the message that says “All user interfaces are used, please try later!”. A H3C series Ethernet switch can accommodate up to five Telnet connections at same time.
  • Page 40: Telneting To Another Switch From The Current Switch

    You can use the ip host to assign a host name to a switch. Enter the password. If the password is correct, the CLI prompt (such as <H3C>) appears. If all VTY user interfaces of the switch are in use, you will fail to establish the connection and receive the message that says “All user interfaces are used,...
  • Page 41 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 3 Logging in through Telnet After successfully Telneting to the switch, you can configure the switch or display the information about the switch by executing corresponding commands. You can also type ? at any time for help. Refer to the following chapters for the information about the commands.
  • Page 42: Chapter 4 Logging In Using Modem

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 4 Logging in Using Modem Chapter 4 Logging in Using Modem 4.1 Introduction The administrator can log into the Console port of a remote switch using a modem through PSTN (public switched telephone network) if the remote switch is connected to the PSTN through a modem to configure and maintain the switch remotely.
  • Page 43: Switch Configuration

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 4 Logging in Using Modem AT&D ----------------------- Ignore DTR signal AT&K0 ----------------------- Disable flow control AT&R1 ----------------------- Ignore RTS signal AT&S0 ----------------------- Set DSR to high level by force ATEQ1&W ----------------------- Disable the modem from returning command response and the result, save the changes You can verify your configuration by executing the AT&V command.
  • Page 44: Modem Connection Establishment

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 4 Logging in Using Modem III. Configuration on switch when the authentication mode is scheme Refer to section 2.6 “Console Port Login Configuration with Authentication Mode Being Scheme”. 4.4 Modem Connection Establishment Before using Modem to log in the switch, perform corresponding configuration for different authentication modes on the switch.
  • Page 45 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 4 Logging in Using Modem rial cable rial cable Mode Mode Telephone line Telephone line PSTN PSTN Modem Modem Console port Console port Telephone number Telephone number : 82882285 : 82882285...
  • Page 46 Provide the password when prompted. If the password is correct, the prompt (such as <H3C>) appears. You can then configure or manage the switch. You can also enter the character ? at anytime for help. Refer to the following chapters for information about the configuration commands.
  • Page 47: Chapter 5 Logging In Through Web-Based Network Management System

    Management System 5.1 Introduction An S3100-52P Ethernet switch has a Web server built in. You can log into an S3100-52P Ethernet switch through a Web browser and manage and maintain the switch intuitively by interacting with the built-in Web server.
  • Page 48: Web Server Shutdown/Startup

    Operation Manual – Login Chapter 5 Logging in through Web-based Network H3C S3100-52P Ethernet Switch Management System [H3C-luser-admin] password simple admin Establish an HTTP connection between your PC and the switch, as shown in the following figure. Sw itch Sw itch...
  • Page 49 Operation Manual – Login Chapter 5 Logging in through Web-based Network H3C S3100-52P Ethernet Switch Management System Table 5-2 Shut down/start up Web server Operation Command Description Required Shut down ip http shutdown Web server Execute this command in system view.
  • Page 50: Chapter 6 Logging In Through Nms

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 6 Logging in through NMS Chapter 6 Logging in through NMS 6.1 Introduction You can also log into a switch through an NMS (network management station), and then configure and manage the switch through the agent module on the switch.
  • Page 51: Chapter 7 Configuring Source Ip Address For Telnet Service Packets

    Operation Manual – Login Chapter 7 Configuring Source IP Address for H3C S3100-52P Ethernet Switch Telnet Service Packets Chapter 7 Configuring Source IP Address for Telnet Service Packets You can configure source IP address or source interface for the Telnet server and Telnet client.
  • Page 52: Displaying Source Ip Address Configuration

    Operation Manual – Login Chapter 7 Configuring Source IP Address for H3C S3100-52P Ethernet Switch Telnet Service Packets Note: To perform the configurations listed in Table 7-1 and Table 7-2, make sure that: The IP address specified is that of the local device.
  • Page 53: Chapter 8 User Control

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 8 User Control Chapter 8 User Control 8.1 Introduction A switch provides ways to control different types of login users, as listed in Table 8-1. Table 8-1 Ways to control different types of login users...
  • Page 54: Controlling Telnet Users By Source And Destination Ip Addresses

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 8 User Control Table 8-2 Control Telnet users by source IP addresses Operation Command Description Enter system view system-view — number Create a basic ACL number acl-number command, config or enter basic ACL...
  • Page 55: Controlling Telnet Users By Source Mac Addresses

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 8 User Control Operation Command Description rule [ rule-id ] { permit | deny } protocol [ source { source-addr wildcard | destination { dest-addr wildcard | any } ] Required...
  • Page 56: Configuration Example

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 8 User Control Operation Command Description rule [ rule-id ] { permit | deny } [ [ type protocol-type type-mask | lsap lsap-type type-mask ] | format-type | Required source Define rules for the...
  • Page 57: Controlling Network Management Users By Source Ip Addresses

    8.3 Controlling Network Management Users by Source IP Addresses You can manage an S3100-52P Ethernet switch through network management software. Network management users can access switches through SNMP. You need to perform the following two operations to control network management users by source IP addresses.
  • Page 58 Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 8 User Control Operation Command Description rule [ rule-id ] { permit | deny } fragment source Define rules for the { sour-addr sour-wildcard | Required time-range time-name ]* — Quit to system view...
  • Page 59: Configuration Example

    [H3C] snmp-agent group v2c groupa acl 2000 [H3C] snmp-agent usm-user v2c usera groupa acl 2000 8.4 Controlling Web Users by Source IP Address You can manage an S3100-52P Ethernet switch remotely through Web. Web users can access a switch through HTTP connections.
  • Page 60: Prerequisites

    Operation Manual – Login H3C S3100-52P Ethernet Switch Chapter 8 User Control You need to perform the following two operations to control Web users by source IP addresses. Defining an ACL Applying the ACL to control Web users 8.4.1 Prerequisites The controlling policy against Web users is determined, including the source IP addresses to be controlled and the controlling actions (permitting or denying).
  • Page 61: Configuration Example

    # Define a basic ACL. <H3C> system-view [H3C] acl number 2030 match-order config [H3C-acl-basic-2030] rule 1 permit source 10.110.100.46 0 [H3C-acl-basic-2030] rule 2 deny source any # Apply the ACL to only permit the Web users sourced from the IP address of 10.110.100.46 to access the switch.

Table of Contents