Checking configurations of an S series switch

1

You can run the following commands to check configuratio of an S series switch (except the S1700):
1. Run the display current-configuration command to check the current valid configurations. This command does not display parameters that use default settings.
2. Run the display saved-configuration command to check the configuration file to be used for the next startup.
3. Run the display startup command to check the system software, backup system software, configuration file, license file, patch file, and voice file for the current and next startup.

Other related questions:
Checking historical operation records on an S series switch
By default, an S series switch (except the S1700) saves a maximum of 10 historical commands for each user. You can run the history-command max-size size-value command in the user interface view to reset the number of historical commands that can be saved. The maximum number is 256. You can also run the display history-command [ all-users ] command in any view to check historical commands stored on a switch. Note: If all-users is not specified in this command, the historical commands entered by the current user are displayed. If all-users is specified in this command, the historical commands entered by all users are displayed. (Only users at level 3 or a higher level can specify this parameter in this command.)

Check DHCP information on S series switches
Method to check DHCP information on S series switches: - Run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command to check address allocation in interface address pool mode. - Run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command to check address allocation in global address pool mode. - Run the display dhcp server database command to check the names and directories of files in which DHCP data is saved. - Run the display nat-policy template [ template-name ] command to check the configuration of the DHCP Option template. - Run the display dhcp relay { all | interface interface-type interface-number } command to check DHCP server or DHCP server group information on the interface configured with the DHCP relay function. - Run the display dhcp server group [ group-name ] command to check the configuration of the DHCP server group. - Run the display dhcp client command to check information about DHCP clients. - Run the display dhcp server statistics command to check statistics on received and sent DHCP packet by the switch used as the DHCP server. - Run the display dhcp relay statistics command to check statistics on received and sent DHCP packet by the switch used as the DHCP relay agent. - Run the display dhcp client statistics [ interface interface-type interface-number ] command to check statistics on received and sent DHCP packet by the switch used as the DHCP client. - Run the display dhcp statistics command to check statistics on received and sent DHCP packet by the switch.

Check address allocation on S series switch
On S series switches except S1700 switches, you can view information about IP addresses in an address pool as follows: - If an interface address pool is used, run the display ip pool [ interface interface-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. - If a global address pool is used, run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. You can configure fields in the command as required: - To view information about all IP addresses in an address pool, specify all. - To view information about conflicting IP addresses in an address pool, specify conflict. - To view information about expired and idle IP addresses in an address pool, specify expired. - To view information about used IP addresses in an address pool, specify used. - To view information about a specific IP address or an IP address range in an address pool, specify start-ip-address [ end-ip-address ].

Checking the restart reasons of an S series switch
the display reboot-info command to check restart reasons of S series switches (except S1700 switches). A switch may be restarted due to one of the following reasons: MANUAL: It is restarted by using the reboot command. POWER: It is restarted after being powered off. SCHEDU: It is restarted by using the schedule reboot command. OTHER: It is restarted due to either of the following reasons: 1. It is power recycled instantly, for example, the power cable is in bad contact or transient overvoltage and loss of voltage occurs. In this case, check whether the power cable is correctly connected to the switch. 2. An exception occurs in the system.

If SCHEDU or MANUAL is displayed in the command output, the switch is normally restarted. If POWER or OTHER is displayed, check whether any other devices using the same power supply system have reboot records around the time when the switch is restarted. If such reboot records are found, the switch's restart is caused by exceptions in the external power supply system. If no such reboot record is found, go to the next step . If the switch uses pluggable power modules, replace the power modules with power modules that can work normally to determine whether the power modules are faulty. If the switch uses built-in power modules, collect required information and contact Huawei technical support personnel if the external power supply system works properly. The information includes the outputs of the display version, display device, display reboot-info, display alarm urgent, and display power commands. (If pluggable power modules are used, the output of the display power command is not required.)


Check the PoE status on an S series switch
Command for displaying PoE status of S series switches:

<HUAWEI> display poe information
PSE Information of slot 0:
    User Set Max Power(mW)     : 739200     //Set the maximum output power. Use the maximum power by default.
    POE Power Supply(mW)       : 369600     //PoE power supply, which is determined by the PoE power supply configured on the device.
    Available Total Power(mW)  : 369600     //Total available power.
    Total Power Consumption(mW): 0          //Total output power.     
    Power Peak Value(mW)       : 0          //Peak output power.  
    Power-Management Mode      : auto
    Power High Inrush          : disable

<HUAWEI> display poe power interface gigabitethernet 0/0/3
Port PD power(mW)           : 3710          //Output power of the interface.                                           
Port PD class               : 2             //Classes of PDs. The system classifies PDs based on their maximum power.                                           
Port PD reference power(mW) : 7000          //Reference power of the PD.                                   
Port user set max power(mW) : 15400         //Set the maximum output power of the port.                                    
Port PD peak power(mW)      : 3816          //Peak power of the PDs connected to the port.                                          
Port PD average power(mW)   : 3487          //Average power of the PDs connected to the port.    



If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top