Operation Manual – MSTPH3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration1-33II. Configuration example# Enable the BPDU guard function. system-view[H3C] stp bpdu-protection1.5.4 Root Guard ConfigurationI. Configuration procedureFollow these steps to enable the root guard function in system view:To do ... Use the command ... RemarksEnter system view system-view —Enable the rootguard function onspecified portsstp interface interface-listroot-protectionRequiredThe root guard function isdisabled by default.Follow these steps to enable the root guard function in Ethernet port view:To do ... Use the command ... RemarksEnter system view system-view —Enter Ethernet portviewInterface interface-typeinterface-number —Enable the rootguard function oncurrent portstp root-protectionRequiredThe root guard function isdisabled by default.II. Configuration example# Enable the root guard function on Ethernet2/0/1.1) Configure in system view. system-view[H3C] stp interface ethernet2/0/1 root-protection2) Configure in Ethernet port view. system-view[H3C] interface ethernet2/0/1[H3C-Ethernet2/0/1] stp root-protection1.5.5 Loop Guard ConfigurationI. Configuration procedureFollow these steps to enable the loop guard function on a port: