20-27To do... Use the command... RemarksEnter Ethernet port view interface interface-typeinterface-number —Configure the port as an edgeport stp edged-port enableRequiredBy default, all the Ethernetports of a switch are non-edgeports.On a switch with BPDU guard disabled, an edge port becomes a non-edge port again once it receives aBPDU from another port.You are recommended to configure the Ethernet ports connected directly to terminals as edge portsand enable the BPDU guard function at the same time. This not only enables these ports to turn to theforwarding state rapidly but also secures your network.Configuration example# Configure Ethernet 1/0/1 as an edge port.1) Configure Ethernet 1/0/1 as an edge port in system view system-view[Sysname] stp interface Ethernet 1/0/1 edged-port enable2) Configure Ethernet 1/0/1 as an edge port in Ethernet port view system-view[Sysname] interface Ethernet 1/0/1[Sysname-Ethernet1/0/1] stp edged-port enableSetting the Link Type of a Port to P2PA point-to-point link directly connects two switches. If the roles of the two ports at the two ends of apoint-to-point link meet certain criteria, the two ports can turn to the forwarding state rapidly byexchanging synchronization packets, thus reducing the forward delay.You can determine whether or not the link connected to a port is a point-to-point link in one of thefollowing two ways.Setting the Link Type of a Port to P2P in system viewFollow these steps to specify whether the link connected to a port is point-to-point link in system view:To do... Use the command... RemarksEnter system view system-view —Specify whether the linkconnected to a port ispoint-to-point linkstp interface interface-listpoint-to-point { force-true |force-false | auto }RequiredThe auto keyword is adoptedby default.