59Step Command Remarks1. Enter system view. system-view N/A2. Enter interface view or port groupview.• Enter Ethernet interface view orLayer 2 aggregate interface view:interface interface-typeinterface-number• Enter port group view:port-group manualport-group-nameUse either command.3. Enable No Agreement Check. stp no-agreement-check By default, No AgreementCheck is disabled.No Agreement Check configuration example1. Network requirementsAs shown in Figure 20:{ Device A connects to Device B, a third-party device that has a different spanning treeimplementation. Both devices are in the same region.{ Device B is the regional root bridge, and Device A is the downstream device.Figure 20 Network diagram2. Configuration procedure# Enable No Agreement Check on GigabitEthernet 3/1/1 of Device A. system-view[DeviceA] interface gigabitethernet 3/1/1[DeviceA-GigabitEthernet3/1/1] stp no-agreement-checkConfiguring protection functionsA spanning tree device supports the following protection functions:• BPDU guard• Root guard• Loop guard• TC-BPDU guardConfiguration prerequisitesThe spanning tree feature has been correctly configured on the router.