Hostname Public-wan
Logging Buffered 65536
Service Timestamps Debug datetime localtime
Service Timestamps log datetime localtime
Service Password-encryption
No IP domain-lookup
VTP mode Transparent
Enable Secret public
errdisable recovery Cause Pagp-flap
errdisable recovery Cause Link-flap
errdisable recovery cause loopback
errdisable recovery Cause Bpduguard
errdisable recovery interval 30
Port-channel load-balance Src-dst-ip
VLAN 8
Interface Vlan1
Shutdown
Interface VLAN 8
IP address 8.8.8.8 255.255.255.0
Interface Range Gigabitethernet 0/1-20
Switchport mode access
Switchport Access VLAN 8
Spanning-tree Portfast
Spanning-tree Bpduguard Enable
Interface GIGABITETHERNET0/23
Des to_ct
Switchport mode Trunk
Channel-group 1 Mode Active
!
Interface GIGABITETHERNET0/24
Des to_ct
Switchport mode Trunk
Channel-group 1 Mode Active
Interface Port-channel1
Des to_ct
Switchport mode Trunk
IP Default-gateway 8.8.8.8
No IP HTTP Server
No IP http secure-server
Access-list 2 Permit 8.8.8.8
Snmp-server Community Public RO
NTP server 8.8.8.8
Clock timezone GTM 8 0
Line con 0
Line Vty 0 15
Access-class 2 in
Password public
Login
Exit
Exit
Write
This article from "Tong Brother's operation and maintenance notes" blog, declined reproduced!
The bulk brushes of the Brother OPS note Cisco switch configuration template