H3C S3100-52P Ethernet Switch Command Manual-Release 1702-6W100

HomeSupportResource CenterSwitchesH3C S3100 Switch SeriesH3C S3100 Switch SeriesTechnical DocumentsCommandCommand ReferencesH3C S3100-52P Ethernet Switch Command Manual-Release 1702-6W100


To read the whole book, click the link on the right side to download the whole book; to read the individual chapters, click the links on the left.


About This Guide

The H3C S3100-52P Ethernet Switch Command Manual, Release 1702 describes the commands available in the software release 1702 for the S3100-52P switch.


This guide is for administrators managing the S3100-52P switch, hereafter referred to as the switch.

Part Organization

Table 1-1 presents the part organization of this guide:

Table 1-1 Part organization




CLI Configuration commands

2 Login

l      Login Commands

l      Controlling Logging in Users Commands

l      Switching User Level Commands

3 Configuration File Management

Configuration File Management Commands


l      VLAN Configuration Commands

l      Port-Based VLAN Configuration Commands

l      Protocol-Based VLAN Configuration Commands

5 IP Address and Performance

l      IP Address Configuration Commands

l      IP Performance Configuration Commands

6 Voice VLAN

Voice VLAN Configuration Commands


l      GARP Configuration Commands

l      GVRP Configuration Commands

8 Port Basic Configuration

Port Basic Configuration Commands

9 Link Aggregation

Link Aggregation Configuration Commands

10 Port Isolation

Port Isolation Configuration Commands

11 Port Security-Port Binding

l      Port Security Configuration Commands

l      Port Binding Configuration Commands


DLDP Configuration Commands

13 MAC Address Table Management

MAC Address Table Management Configuration Commands


MSTP Configuration Commands

15 Static Route.

Static route Commands

16 Multicast

l      Common Multicast Configuration Commands

l      IGMP Snooping Configuration Commands

17 802.1x and System Guard

l      802.1x Configuration Commands

l      Quick EAD Deployment Configuration Commands

l      HABP Configuration Commands

l      System Guard Configuration Commands

18 AAA

l      AAA Configuration Commands

l      RADIUS Configuration Commands

l      HWTACACS Configuration Commands

l      EAD Configuration Commands

19 Web Authentication

Web Authentication Configuration Commands

20 MAC Address Authentication

l      MAC Address Authentication Basic Function Configuration Commands

l      MAC Address Authentication Enhanced Function Configuration Commands

21 ARP

l      ARP Configuration Commands

l      ARP Attack Defense Configuration Commands


l      DHCP Snooping Configuration Commands

l      DHCP Rate Limit Configuration Commands

l      DHCP/BOOTP Client Configuration Commands

23 ACL

ACL Configuration Commands

24 QoS-QoS Profile

l      QoS Configuration Commands

l      QoS Profile Configuration Commands

25 Mirroring

Mirroring Configuration Commands

26 Stack-Cluster

l      Stack Configuration Commands

l      Neighbor Discovery Protocol (NDP) Configuration Commands

l      Neighbor Topology Discovery Protocol (NTDP) Configuration Commands

l      Cluster Configuration Commands

l      Enhanced Cluster Feature Configuration Commands


l      SNMP Commands

l      RMON Commands

28 NTP

NTP Configuration Commands

29 SSH

SSH Configuration Commands

30 File System Management

l      File System Configuration Commands

l      File Attribute Configuration Commands


l      FTP Server Configuration Commands

l      FTP Client Configuration Commands

l      SFTP Server Configuration Commands

l      SFTP Client Configuration Commands

l      TFTP Configuration Commands

32 Information Center

Information Center Configuration Commands

33 System Maintenance and Debugging

l      Basic System Configuration Commands

l      Network Connectivity Test Commands

l      Device Management Commands

l      Scheduled Task Configuration Commands


l      VLAN VPN Configuration Commands

l      Selective QinQ Configuration Commands

l      BPDU Tunnel Configuration Commands

35 HWPing

l      HWPing Client Commands

l      HWPing Server Commands

36 IPv6 Management

l      Basic IPv6 Configuration Commands

l      IPv6 Application Configuration Commands

37 DNS

DNS Configuration Commands

38 Smart Link-Monitor Link

l      Smart Link Configuration Commands

l      Monitor Link Configuration Commands


LLDP Configuration Commands

40 PKI

PKI Configuration Commands

41 SSL

SSL Configuration Commands


HTTPS Configuration Commands


Correspondence Between Documentation and Software

H3C S3100-52P Ethernet Switch Operation Manual-Release 1702 and H3C S3100-52P Ethernet Switch Command Manual-Release 1702 are for the software version of Release1702 of the S3100-52P.

Compared with Release 1602, many new commands are added in Release 1702. For details, refer to Table 1-2.

Table 1-2 Added commands in Release 1702

Added command in Release 1702


command-alias enable


command-alias mapping

display command-alias

icmp acl-priority

05-IP Address and Performance

voice vlan qos trust

06-Voice VLAN

voice vlan qos

flow-control no-pauseframe-sending

08-Port Basic Configuration

loopback-detection shutdown enable

loopback-detection interface-list enable

port-security guest-vlan

11-Port Security-Port Binding

port-security timer guest-vlan-reauth

port-security timer autolearn

igmp-snooping special-query source-ip

16-Multicast Protocol

system-guard cpu-rcv-limit

17-802.1x and System-Guard



web-authentication timer max-online

19-Web Authentication

web-authentication protocol

ARP attack detection commands


ip check dot1x enable


reset dhcp-snooping

ruleIPv6 ACL


mirroring stp-collaboration




cluster-snmp-agent community

cluster-snmp-agent group v3

cluster-snmp-agent mib-view included

cluster-snmp-agent usm-user v3

display job

33-System Maintenance and Debugging


port auto-power-down

time at

time delay


igmp transparent enable


New HWPing commands are added including adv-factor, datafill, description, display hwping statistics, filesize, history keep-time, history-record enable, hwping-agent clear, hwping-agent max-requests, sendpacket passroute, statistics, statistics keep-time, test-time begin and ttl.


LLDP commands


PKI commands


SSL commands


HTTPS commands



Compared with Release 1602, some commands’ keywords are added or changed in Release 1702. For details, refer to Table 1-3.

Table 1-3 Changed command in Release 1702

Modified command in Release 1702


storm-constrain { broadcast | multicast | unicast } max-packets min-packets { pps | kbps }

08-Port Basic Configuration

am user-bind mac-addr mac-address ip-addr ip-address [ interface interface-type interface-number ]

11-Port Security-Port Binding

vlan-assignment-mode vlan-list


web-authentication customize file web-file

19-Web Authentication

ip check source ip-address [ mac-address ] [ qos-profile string ]


cluster switch-to { member-number | mac-address mac-address | administrator | sysname member-sysname }




Command conventions




The keywords of a command line are in Boldface.


Command arguments are in italic.

[ ]

Items (keywords or arguments) in square brackets [ ] are optional.

{ x | y | ... }

Alternative items are grouped in braces and separated by vertical bars. One is selected.

[ x | y | ... ]

Optional alternative items are grouped in square brackets and separated by vertical bars. One or none is selected.

{ x | y | ... } *

Alternative items are grouped in braces and separated by vertical bars. A minimum of one or a maximum of all can be selected.

[ x | y | ... ] *

Optional alternative items are grouped in square brackets and separated by vertical bars. Many or none can be selected.


The argument(s) before the ampersand (&) sign can be entered 1 to n times.


A line starting with the # sign is comments.


Command line interface (CLI) commands of H3C products are case insensitive.


GUI conventions




Window names, button names, field names, and menu items are in Boldface. For example, the New User window appears; click OK.

Multi-level menus are separated by angle brackets. For example, File > Create > Folder.



Means reader be extremely careful. Improper operation may cause bodily injury.

Means reader be careful. Improper operation may cause data loss or damage to equipment.

Means a complementary description.

Means techniques helpful for you to make configuration with ease.


Obtaining Documentation and Technical Support

Hangzhou H3C Technologies Co., Ltd. (hereafter referred to as H3C) provides various ways for you to obtain product documents and new feature releases in a convenient and timely manner. The documentations are available with:

l          CD-ROMs shipped with the devices

l          H3C website

l          Software release notes


H3C delivers a CD-ROM together with each device. The CD-ROM contains a complete set of electronic documents of the product, including operation manuals and command manuals. After installing the reader program provided by the CD-ROM, you can search for the desired contents in a convenient way through the reader interface.

The contents in the manual are subject to update on an irregular basis due to product version upgrade or some other reasons. Therefore, the contents in the CD-ROM may not be the latest version. This manual serves the purpose of user guide only. Unless otherwise noted, all the information in the document set does not claim or imply any warranty. For the latest software documentation, go to the H3C website.

H3C Website

To obtain up-to-date documentation and technical support, go to http://www.h3c.com and select your country or region. Depending on your selection, you will be redirected to either of the following websites:

Go to the following columns for different categories of product documentation:

[Products & Solutions]: Provides information about products and technologies, as well as solutions.

[Technical Support & Document > Technical Documents]: Provides several categories of product documentation, such as installation, configuration, and maintenance.

[Technical Support & Document > Software Download]: Provides the documentation released with the software version.

Software Release Notes

With software upgrade, new software features may be added. You can acquire the information about the newly added software features through software release notes.

Related Documentation

H3C S3100-52P Ethernet Switch Operation Manual describes the principles and configuration procedures of the software features.

Other related documentation and their contents are listed in Table 2-1.

Table 2-1 Related documentation

Document title


H3C S3100-52P Ethernet Switch Command Manual, Release 1702

Describes the commands for the S3100-52P Ethernet Switch. A master index of all commands covered by the whole manual is provided for your convenience.

H3C S3100-52P Ethernet Switch Operation Manual, Release 1702

Introduces the principles and configuration procedures of the software features for the S3100-52P Ethernet Switch.

H3C S3100-52P Ethernet Switch Installation Manual

Introduces the appearance, installation, power-on and startup, troubleshooting and maintenance of the H3C S3100-52P Ethernet switch.

H3C S3100-52P Ethernet Switch Compliance and Safety Manual

Introduces the security-preventive measures that you must comply with when installing and maintaining the H3C S3100-52P Ethernet switch.

H3C Low-End Ethernet Switches Configuration Guide

Introduces the typical application scenarios of the H3C S3100-52P Ethernet switch, and the related configuration procedures and configuration guidelines.


Reading Documents of Interest

l              To get an idea of the basic principles and configuration procedures of supported software features, read H3C S3100-52P Ethernet Switch Operation Manual at the H3C website.

l              To learn about the uses and parameters of commands and the meanings of displayed information, read H3C S3100-52P Ethernet Switch Command Manual at the H3C website.

l              To learn about the hardware characteristics, installation, and troubleshooting of available switch models and pluggable hardware components, read H3C S3100-52P Ethernet Switch Installation Manual at the H3C website.

Documentation Feedback

You can e-mail your comments about product documentation to info@h3c.com.

We appreciate your comments.


Product Overview

H3C S3100-52P Ethernet switch is a Layer 2 wire speed Ethernet switch developed by H3C independently. It is the intelligent and manageable switch designed for network environments where high performance, high port density, and ease of installation are required.

Table 3-1 S3100-52P Ethernet switch hardware specifications


Power supply unit (PSU)

Number of service ports

Number of 100 Mbps ports

Number of 1,000 Mbps uplink ports

Console port

H3C S3100-52P



48 10/100 Mbps ports(electrical)

4 Gigabit (SFP) ports



Networking Applications

You can deploy S3100-52P Ethernet switch on many types of networks, such as enterprise networks and broadband access networks. Following are several typical networking applications.

Broadband Ethernet Access for Residential Communities

On the broadband access network of a residential community, an S3100-52P Ethernet switch is located in the center. It is downlinked to S3100 series switches to reach the Ethernet users and uplinked to a core Layer 3 switch through a GE port to connect to the MAN backbone.

Figure 3-1 Connecting community Ethernet to MAN using S3100-52P Ethernet switch


Application for Connecting Branches or Small- to Medium-Sized Enterprises

For small-to medium-sized enterprises or branches of a large enterprise, S3100-52P Ethernet switch can serve as a downstream device connected to the backbone switch, and can be connected to the headquarters or other branches through Layer 3 switches or routers. As the enterprise size increases, the network also can expand by subtending the S3100-52P Ethernet switch.

Figure 3-2 S3100-52P Ethernet switch application in branch network of midsize/large enterprise


Application in Large Enterprise and Campus Networks

In a large enterprise or campus network, the S3100-52P Ethernet switch can operate on the access layer. They are uplinked to layer 3 switches, S3600 Series or S5600 Series for example; and uplinked to a layer 3 switch. These switches together provide a network-wide intranet solution that covers Gigabit-to-backbone and 100 Mbps-to-desktop.

Figure 3-3 S3100-52P Ethernet switch application in large enterprise and campus network