How to disable the tracert function on S series switches

4

S series switches (except the S1700) send ICMP Time Exceeded messages to obtain IP addresses of each hops using tracert. You can disable an interface from sending ICMP Time Exceeded messages to disable the tracert function. The configuration method is as follows:
Disable VLANIF 100 from sending ICMP Time Exceeded messages.
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] undo icmp ttl-exceeded send

Other related questions:
Can the NTP server function be disabled on an S series switch that functions as a client
You can run the ntp-service server disable command on an S series switch (except the S1700) to disable the NTP server function. Perform the following configuration: [HUAWEI] ntp-service server disable

Disable IPSG on S series switches
To disable the IPSG function on an S series switch (except the S1700), run the undo ip source check user-bind enable command in the VLAN or interface view.

Enable and disable PoE on an S series switch
Enable or disable the PoE function on S series switches:

1. By default, the PoE function is enabled on an interface
2. Enable or disable PoE power supply.
<HUAWEI>system-view
[HUAWEI]interface gigabitethernet 1/0/0
[HUAWEI-GigabitEthernet1/0/0]undo poe enable  //Disable PoE power supply.
[HUAWEI-GigabitEthernet1/0/0]poe enable       //Enable PoE power supply.

The downlink electrical interfaces of PoE switches support PoE power supply, with up to 30 W power on each interface. The maximum power supply distance is 100 m.
Only ES0D0G48VA00 (S7700)/LE0DG48VEA00 (S9300) cards of modular switches (S7700/S9700/S9300/S12700) support PoE power supply.

If the switch connects to 48 V standard PoE powered devices but cannot negotiate power supply capabilities with the devices, you can run poe force-power on the interfaces to forcibly power on the devices.


How to disable the timestamp in logs on S series switches
For S series switches (except the S1700), logs, traps and debug messages carry a timestamp by default to record the time when the message is generated. You can run the following commands in the system view to disable the timestamp in logs: - info-center timestamp log none - info-center timestamp trap none - info-center timestamp debugging none

How to disable the log display function on the terminal or console
For S series switches (except the S1700), run the following commands in the user view to disable the log display function on the terminal or console: - Run the undo terminal debugging command to disable debug message display on the terminal or console. - Run the undo terminal logging command to disable log display on the terminal or console. -Run the undo terminal monitor command to disable the terminal or console from displaying messages sent by the information center, such as the messages displayed upon console login. - Run the undo terminal trapping command to disable trap display on the terminal or console.

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