STP Maintenance Configuration 181n ■ The rapid transition feature can be enabled on only root ports or alternateports.■ If you configure the rapid transition feature on a designated port, the featuredoes not take effect on the port.STP MaintenanceConfigurationIntroduction In a large-scale network with MSTP enabled, there may be many MSTP instances,and so the status of a port may change frequently. In this case, maintenancepersonnel may expect that log/trap information is output to the log host whenparticular ports fail, so that they can check the status changes of those portsthrough alarm information.Enabling Log/TrapOutput for Ports ofMSTP InstanceConfiguration Example # Enable log/trap output for the ports of instance 1.<4210> system-view[4210] stp instance 1 portlog# Enable log/trap output for the ports of all instances.<4210> system-view[4210] stp portlog allEnabling TrapMessages Conformingto 802.1d StandardA switch sends trap messages conforming to 802.1d standard to the networkmanagement device in the following two cases:■ The switch becomes the root bridge of an instance.Enter Ethernet port view interface interface-typeinterface-number-Enable the rapid transitionfeaturestp no-agreement-check RequiredBy default, the rapid transitionfeature is disabled on a port.Table 137 Configure the rapid transition feature in Ethernet port viewOperation Command DescriptionTable 138 Enable log/trap output for ports of MSTP instanceOperation Command DescriptionEnter system view system-view -Enable log/trap output for theports of a specified instancestp [ instance instance-id ]portlogRequiredBy default, log/trap output isdisabled for the ports of allinstances.Enable log/trap output for theports of all instancesstp portlog all RequiredBy default, log/trap output isdisabled for the ports of allinstances.