BPDU Tunnel Configuration 139Enabling the loop prevention function on specified ports in system viewEnabling the loop prevention function on a port in Ethernet port viewConfiguration exampleEnable loop prevention function on GigabitEthernet1/0/1 port. system-viewSystem View: return to User View with Ctrl+Z.[4200G] interface GigabitEthernet1/0/1[4200G-GigabitEthernet1/0/1] stp loop-protectionTC-BPDU AttackPreventionConfigurationConfiguration procedureConfiguration exampleEnable the TC-BPDU attack prevention function system-viewSystem View: return to User View with Ctrl+Z.[4200G] stp tc-protection enableBPDU TunnelConfigurationIntroduction The BPDU Tunnel function enables BPDUs to be transparently transmitted betweengeographically dispersed user networks through specified VLAN VPNs in operator’snetworks, through which spanning trees can be generated across these usernetworks and are independent of those of the operator’s network.Table 114 Enable the loop prevention function on specified ports in system viewOperation Command DescriptionEnter system view system-view —Enable the loopprevention function onspecified portsstp interface interface-listloop-protectionRequiredBy default, the loop preventionfunction is disabled.Table 115 Enable the loop prevention function on a port in Ethernet port viewOperation Command DescriptionEnter system view system-view —Enter Ethernet portviewinterface interface-typeinterface-number—Enable the loopprevention function onthe current portstp loop-protection RequiredThe loop prevention function isdisabled by default.Table 116 Enable the TC-BPDU attack prevention functionOperation Command DescriptionEnter system view system-view —Enable the TC-BPDUattack preventionfunctionstp tc-protection enable RequiredThe TC-BPDU attack preventionfunction is enabled by default.