From 791e1af84ffb8827d282d0782c3fed397b801c6c Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov Date: Sun, 23 Oct 2016 21:24:59 +0300 Subject: [PATCH] nocsw - configuration --- switch-configs/nocsw.cfg | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/switch-configs/nocsw.cfg b/switch-configs/nocsw.cfg index 6eaae21..cbec33f 100644 --- a/switch-configs/nocsw.cfg +++ b/switch-configs/nocsw.cfg @@ -10,7 +10,6 @@ hostname nocsw boot-start-marker boot-end-marker ! -enable secret 5 @HEX@ enable password @PW@ ! ! @@ -20,6 +19,7 @@ switch 1 provision ws-c3750g-24ts system mtu routing 1546 vtp mode transparent ip name-server 10.20.0.1 +! ! ! ! @@ -42,7 +42,7 @@ vlan 20 vlan 21 name of-wired ! -vlan 22 +vlan 22 name of-wireless ! vlan 23 @@ -55,13 +55,15 @@ vlan 24 ! ! interface GigabitEthernet1/0/1 - description vocsw + description vocsw-1 switchport trunk encapsulation dot1q switchport mode trunk spanning-tree portfast trunk ! interface GigabitEthernet1/0/2 - shutdown + description vocsw-2 + switchport trunk encapsulation dot1q + switchport mode trunk spanning-tree portfast trunk ! interface GigabitEthernet1/0/3 @@ -111,7 +113,7 @@ interface GigabitEthernet1/0/10 switchport access vlan 21 switchport mode access spanning-tree portfast trunk -! +! interface GigabitEthernet1/0/11 description of-wired-3 switchport access vlan 21 @@ -165,7 +167,7 @@ interface GigabitEthernet1/0/19 switchport access vlan 23 switchport mode access spanning-tree portfast trunk -! +! interface GigabitEthernet1/0/20 description of-video-4 switchport access vlan 23 @@ -185,10 +187,16 @@ interface GigabitEthernet1/0/22 spanning-tree portfast trunk ! interface GigabitEthernet1/0/23 - shutdown + description WIFI-AP15-1 + switchport trunk encapsulation dot1q + switchport trunk allowed vlan 20,22 + spanning-tree portfast trunk ! interface GigabitEthernet1/0/24 - shutdown + description WIFI-AP15-2 + switchport trunk encapsulation dot1q + switchport trunk allowed vlan 20,22 + spanning-tree portfast trunk ! interface GigabitEthernet1/0/25 shutdown @@ -200,16 +208,15 @@ interface GigabitEthernet1/0/26 ! interface GigabitEthernet1/0/27 shutdown - spanning-tree portfast trunk ! interface GigabitEthernet1/0/28 shutdown - spanning-tree portfast trunk ! interface Vlan1 no ip address + shutdown ! -interface Vlan10 +interface Vlan20 ip address 10.20.0.19 255.255.255.0 ! ip classless @@ -219,7 +226,7 @@ no ip http secure-server ! ! snmp-server community @SNMP_PW@ RO -snmp-server trap-source Vlan10 +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