From 03f82d28c94d4733ad79b47a175f8c2b9c7c4971 Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov Date: Sun, 23 Oct 2016 21:31:58 +0300 Subject: [PATCH] coresw - update with snmp, dns and latest dump --- switch-configs/coresw.cfg | 102 +++++++++++++++++++++++++------------- 1 file changed, 68 insertions(+), 34 deletions(-) diff --git a/switch-configs/coresw.cfg b/switch-configs/coresw.cfg index 27f9cba..1c85660 100644 --- a/switch-configs/coresw.cfg +++ b/switch-configs/coresw.cfg @@ -5,8 +5,9 @@ ! HW: WS-C3550-12T ! SW: c3550-i5q3l2-mz.121-19.EA1c.bin ! -! 2016.09.20 - config pass 1 (mirror last year on new switch) -! 2016.09.07 - initial configuration dump +! 2016.10.23 - augment snmp, dns +! 2016.10.20 - config pass 1 (mirror last year on new switch) +! 2016.10.07 - initial configuration dump ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! @@ -25,6 +26,7 @@ system mtu routing 1500 vtp mode transparent ip subnet-zero ip routing +ip name-server 10.20.0.1 ! ! ! @@ -34,32 +36,43 @@ ip routing ! ! ! -spanning-tree mode pvst +! +spanning-tree mode mst spanning-tree extend system-id ! +spanning-tree mst configuration + name @PW@ +! +! vlan internal allocation policy ascending ! vlan 2 name initlab ! +vlan 6 + name tbc +! +vlan 10 + name of-ext +! +vlan 20 + name of-mgmt +! +vlan 21 + name of-wired +! +vlan 22 + name of-wifi +! +vlan 23 + name of-video +! +vlan 24 + name of-overflow +! vlan 50 name ext/netx ! -vlan 100 - name mgmt -! -vlan 101 - name wired -! -vlan 102 - name wireless -! -vlan 103 - name video -! -vlan 104 - name overflow -! ! interface FastEthernet0 no ip address @@ -88,7 +101,7 @@ interface GigabitEthernet0/4 ! interface GigabitEthernet0/5 description eagle/video - switchport access vlan 103 + switchport access vlan 23 switchport trunk encapsulation dot1q switchport mode access switchport nonegotiate @@ -96,7 +109,7 @@ interface GigabitEthernet0/5 ! interface GigabitEthernet0/6 description eric/video - switchport access vlan 103 + switchport access vlan 23 switchport trunk encapsulation dot1q switchport mode access switchport nonegotiate @@ -105,7 +118,7 @@ interface GigabitEthernet0/6 interface GigabitEthernet0/7 description eric/main switchport trunk encapsulation dot1q - switchport trunk allowed vlan 2,100-104 + switchport trunk allowed vlan 2,10,20-24 switchport mode trunk no cdp enable ! @@ -116,15 +129,15 @@ interface GigabitEthernet0/8 ! interface GigabitEthernet0/9 description encoder - switchport access vlan 103 + switchport access vlan 23 switchport trunk encapsulation dot1q switchport mode access shutdown spanning-tree portfast trunk -! +! interface GigabitEthernet0/10 switchport mode dynamic desirable - shutdown + shutdown spanning-tree portfast trunk ! interface GigabitEthernet0/11 @@ -296,7 +309,7 @@ interface GigabitEthernet0/44 switchport mode dynamic desirable shutdown spanning-tree portfast trunk -! +! interface GigabitEthernet0/45 switchport mode dynamic desirable shutdown @@ -310,13 +323,13 @@ interface GigabitEthernet0/46 interface GigabitEthernet0/47 description eric/main switchport trunk encapsulation dot1q - switchport trunk allowed vlan 2,100-104 + switchport trunk allowed vlan 2,6,10,20-24,100-104 switchport mode trunk no cdp enable ! interface GigabitEthernet0/48 description uplink - switchport access vlan 50 + switchport access vlan 10 switchport mode access no cdp enable ! @@ -339,7 +352,7 @@ interface GigabitEthernet0/52 switchport mode dynamic desirable shutdown spanning-tree portfast trunk -! +! interface TenGigabitEthernet0/1 switchport mode dynamic desirable shutdown @@ -349,23 +362,44 @@ interface TenGigabitEthernet0/2 switchport mode dynamic desirable shutdown spanning-tree portfast trunk -! +! interface Vlan1 no ip address shutdown ! -interface Vlan100 - ip address 10.100.0.11 255.255.255.0 +interface Vlan20 + ip address 10.20.0.11 255.255.255.0 ! -ip default-gateway 10.100.0.1 +ip default-gateway 10.20.0.1 ip classless no ip http server no ip http secure-server ! snmp-server community @SNMP_PW@ RO -snmp-server trap-source Vlan100 +snmp-server trap-source Vlan20 +snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart +snmp-server enable traps transceiver all +snmp-server enable traps tty snmp-server enable traps license -snmp-server host 10.100.0.1 version 2c @SNMP_PW@ +snmp-server enable traps fru-ctrl +snmp-server enable traps entity +snmp-server enable traps cpu threshold +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 config-copy +snmp-server enable traps config +snmp-server enable traps hsrp +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 mac-notification change move threshold +snmp-server enable traps vlan-membership +snmp-server enable traps errdisable +snmp-server host 10.20.0.1 version 2c @SNMP_PW@ ! control-plane !