The set service-mode command sets the working mode of the device to enhanced.
The undo set service-mode command restores the working mode of the device to normal.
By default, the working mode of the device is normal.
This command is supported only by S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S.
Command format on the S5732-H, S6730-S, S6730S-S, S6730S-H, and S6730-H:
set service-mode { enhanced-bfd | enhanced-oam | enhanced-ptp }
undo set service-mode { enhanced-bfd | enhanced-oam | enhanced-ptp }
Command format on other switches:
set service-mode enhanced
undo set service-mode enhanced
Parameter |
Description |
Value |
---|---|---|
enhanced |
Sets the working mode of the device to enhanced. |
- |
enhanced-bfd |
Sets the BFD working mode of the device to enhanced. |
- |
enhanced-oam |
Sets the OAM working mode of the device to enhanced. |
- |
enhanced-ptp |
Sets the PTP working mode of the device to enhanced. |
- |
Usage Scenario
In normal mode, the interval for receiving BFD packets must be more than or equal to 100 ms. If the interval cannot meet requirements, run the set service-mode command to change the working mode of the switch to enhanced or enhanced-bfd mode so that the switch supports a minimum of 3 ms interval.
To implement some OAM functions, you need to run the set service-mode command to change the working mode of the switch to enhanced or enhanced-oam mode. For more details, see the OAM description.
To configure PTP, you need to run the set service-mode command to change the working mode of the switch to enhanced enhanced-ptp mode.
Precautions
Running the set service-mode command will reduce the device forwarding performance. Therefore, confirm the action before you use the command.
If BFD has been enabled before this command is executed, disable BFD first.
Before changing the working mode from enhanced to normal, disable the PTP function.