You can configure Trap Event Severity and Syslog Level to achieve the purpose. Syslog Level: Emerg > Alert > Crit > Error > Warning > Notice > Info > Debug (ex. If you setup syslog level as “Info”, it means all Emerg, Alert, Crit, Error, Warning, Notice and Info related messages will send to syslog server.)
IE9+ Edge Chrome Safari Firefox
  1. U can enable STP/RSTP/MSTP (this is an example for setting RSTP on port 2~8 ) :
Switch(stp)# version rstp Switch(stp)# p-mode 2-8 enable Switch(stp)# sh pconf   Port  Mode      AdminEdge AutoEdge  restrRole restrTcn  bpduGuard Point2point ----  --------  ------------------  ------------------  --------------------- Aggr  Disabled  Disabled  Enabled   Disabled  Disabled  Disabled  Enabled   Port  Mode      AdminEdge AutoEdge  restrRole restrTcn  bpduGuard Point2point ----  --------  ------------------  ------------------  --------------------- 1     Disabled  Disabled  Enabled   Disabled  Disabled  Disabled  Auto 2     Enabled   Disabled  Enabled   Disabled  Disabled  Disabled  Auto 3     Enabled   Disabled  Enabled   Disabled  Disabled  Disabled  Auto 4     Enabled   Disabled  Enabled   Disabled  Disabled  Disabled  Auto 5     Enabled   Disabled  Enabled   Disabled  Disabled  Disabled  Auto 6     Enabled   Disabled  Enabled   Disabled  Disabled  Disabled  Auto 7     Enabled   Disabled  Enabled   Disabled  Disabled  Disabled  Auto 8     Enabled   Disabled  Enabled   Disabled  Disabled  Disabled  Auto 9     Disabled  Disabled  Enabled   Disabled  Disabled  Disabled  Auto 10    Disabled  Disabled  Enabled   Disabled  Disabled  Disabled  Auto Switch(stp)#        
  1. U can enable loop-protect (this is an example for enable loop-protect )
Switch# loop-protect Switch(loop-protect)# mode enable Switch(loop-protect)# show config Loop Protection   : Enabled Transmission Time : 5 Shutdown Time     : 180   Port  Mode      Action            Transmit ----  --------  ----------------  -------- 1     Enabled   Shutdown          Enabled 2     Enabled   Shutdown          Enabled 3     Enabled   Shutdown          Enabled 4     Enabled   Shutdown          Enabled 5     Enabled   Shutdown          Enabled 6     Enabled   Shutdown          Enabled 7     Enabled   Shutdown          Enabled 8     Enabled   Shutdown          Enabled 9     Enabled   Shutdown          Enabled 10    Enabled   Shutdown          Enabled   Note :
  1. Do not enable STP/RSTP/MSTP and loop-protect on the same port .
  2. Do not enable loop-protect on bone port (it meaning not directly connect to user )
Account : admin Pass : (default password is empty )
192.168.1.1
Used switch to ping some popular Web site on Internet , like Google . Then check it will response or not . Switch# diag Switch(diagnostic)# ping www.google.com PING server 74.125.23.99, 56 bytes of data. 64 bytes from 74.125.23.99: icmp_seq=0, time=60ms 64 bytes from 74.125.23.99: icmp_seq=1, time=50ms 64 bytes from 74.125.23.99: icmp_seq=2, time=60ms 64 bytes from 74.125.23.99: icmp_seq=3, time=70ms 64 bytes from 74.125.23.99: icmp_seq=4, time=70ms Sent 5 packets, received 5 OK, 0 bad Switch(diagnostic)# For above case :  this switch link to internet well In fail case , user will got response like this : Switch# diag Switch(diagnostic)# ping www.google.com *** Invalid IP address: www.google.com Switch(diagnostic)# And if switch can’t connected to internet , Pls check it’s IP and DNS server correct or not !? If there existed DHCP server , u can enable DHCP , then switch will get IP and DNS server automatic : Switch# ip Switch(ip)# dhcp enable Switch(ip)# sh Configured      Current --------------- --------------- DHCP Client          : Enabled IP Address           : 192.168.3.79    192.168.6.70 IP Mask              : 255.255.255.0   255.255.255.0 IP Gateway           : 0.0.0.0         192.168.6.250 VLAN ID              : 1               1 DNS Server           : 0.0.0.0         168.95.1.1 DNS Proxy            : Disabled