2022/switch-configs/nocsw.cfg

117 lines
2.7 KiB
INI

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! NOCSW for OpenFest 2022
!
! HW: WS-C3750G-24TS
! SW: c3750-ipservicesk9-mz.122-55.SE6.bin
!
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service unsupported-transceiver
!
hostname nocsw
!
enable secret 5 $1$fSD/$82QbgmM7wh0wUSmw9PGij1
enable password OPENFEST
!
no aaa new-model
switch 3 provision ws-c3750g-48ts
system mtu routing 1500
ip subnet-zero
!
!
!
!
!
!
no errdisable detect cause gbic-invalid
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface range GigabitEthernet3/0/1-10
description MANAGEMENT DEBUG
switchport access vlan 20
switchport mode access
spanning-tree portfast trunk
!
interface range GigabitEthernet3/0/11-46
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet3/0/47
description PHONE NOC
switchport access vlan 25
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet3/0/48
description uplink
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
!
interface range GigabitEthernet3/0/49-52
shutdown
!
interface Vlan1
no ip address
!
interface Vlan20
ip address 10.20.0.28 255.255.255.0
!
interface Vlan24
description overflow
no ip address
!
ip classless
ip http server
ip http secure-server
!
snmp-server community @_PW_@ RO
snmp-server trap-source Vlan20
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps tty
snmp-server enable traps cluster
snmp-server enable traps fru-ctrl
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps power-ethernet group 1-9
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
snmp-server enable traps port-security
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps mac-notification
snmp-server enable traps stackwise
snmp-server enable traps license
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps hsrp
snmp-server enable traps rtr
snmp-server enable traps bridge newroot topologychange
snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
snmp-server enable traps syslog
snmp-server enable traps vlan-membership
snmp-server host 10.20.0.1 version 2c @_PW_@
!
control-plane
!
!
line con 0
exec-timeout 0 0
line vty 0 15
password @_PW_@
login
!
end