nocsw - configuration
This commit is contained in:
parent
6a4bf56ca7
commit
791e1af84f
|
@ -10,7 +10,6 @@ hostname nocsw
|
||||||
boot-start-marker
|
boot-start-marker
|
||||||
boot-end-marker
|
boot-end-marker
|
||||||
!
|
!
|
||||||
enable secret 5 @HEX@
|
|
||||||
enable password @PW@
|
enable password @PW@
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
|
@ -20,6 +19,7 @@ switch 1 provision ws-c3750g-24ts
|
||||||
system mtu routing 1546
|
system mtu routing 1546
|
||||||
vtp mode transparent
|
vtp mode transparent
|
||||||
ip name-server 10.20.0.1
|
ip name-server 10.20.0.1
|
||||||
|
!
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
|
@ -42,7 +42,7 @@ vlan 20
|
||||||
vlan 21
|
vlan 21
|
||||||
name of-wired
|
name of-wired
|
||||||
!
|
!
|
||||||
vlan 22
|
vlan 22
|
||||||
name of-wireless
|
name of-wireless
|
||||||
!
|
!
|
||||||
vlan 23
|
vlan 23
|
||||||
|
@ -55,13 +55,15 @@ vlan 24
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
interface GigabitEthernet1/0/1
|
interface GigabitEthernet1/0/1
|
||||||
description vocsw
|
description vocsw-1
|
||||||
switchport trunk encapsulation dot1q
|
switchport trunk encapsulation dot1q
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
spanning-tree portfast trunk
|
spanning-tree portfast trunk
|
||||||
!
|
!
|
||||||
interface GigabitEthernet1/0/2
|
interface GigabitEthernet1/0/2
|
||||||
shutdown
|
description vocsw-2
|
||||||
|
switchport trunk encapsulation dot1q
|
||||||
|
switchport mode trunk
|
||||||
spanning-tree portfast trunk
|
spanning-tree portfast trunk
|
||||||
!
|
!
|
||||||
interface GigabitEthernet1/0/3
|
interface GigabitEthernet1/0/3
|
||||||
|
@ -111,7 +113,7 @@ interface GigabitEthernet1/0/10
|
||||||
switchport access vlan 21
|
switchport access vlan 21
|
||||||
switchport mode access
|
switchport mode access
|
||||||
spanning-tree portfast trunk
|
spanning-tree portfast trunk
|
||||||
!
|
!
|
||||||
interface GigabitEthernet1/0/11
|
interface GigabitEthernet1/0/11
|
||||||
description of-wired-3
|
description of-wired-3
|
||||||
switchport access vlan 21
|
switchport access vlan 21
|
||||||
|
@ -165,7 +167,7 @@ interface GigabitEthernet1/0/19
|
||||||
switchport access vlan 23
|
switchport access vlan 23
|
||||||
switchport mode access
|
switchport mode access
|
||||||
spanning-tree portfast trunk
|
spanning-tree portfast trunk
|
||||||
!
|
!
|
||||||
interface GigabitEthernet1/0/20
|
interface GigabitEthernet1/0/20
|
||||||
description of-video-4
|
description of-video-4
|
||||||
switchport access vlan 23
|
switchport access vlan 23
|
||||||
|
@ -185,10 +187,16 @@ interface GigabitEthernet1/0/22
|
||||||
spanning-tree portfast trunk
|
spanning-tree portfast trunk
|
||||||
!
|
!
|
||||||
interface GigabitEthernet1/0/23
|
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
|
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
|
interface GigabitEthernet1/0/25
|
||||||
shutdown
|
shutdown
|
||||||
|
@ -200,16 +208,15 @@ interface GigabitEthernet1/0/26
|
||||||
!
|
!
|
||||||
interface GigabitEthernet1/0/27
|
interface GigabitEthernet1/0/27
|
||||||
shutdown
|
shutdown
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
!
|
||||||
interface GigabitEthernet1/0/28
|
interface GigabitEthernet1/0/28
|
||||||
shutdown
|
shutdown
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
!
|
||||||
interface Vlan1
|
interface Vlan1
|
||||||
no ip address
|
no ip address
|
||||||
|
shutdown
|
||||||
!
|
!
|
||||||
interface Vlan10
|
interface Vlan20
|
||||||
ip address 10.20.0.19 255.255.255.0
|
ip address 10.20.0.19 255.255.255.0
|
||||||
!
|
!
|
||||||
ip classless
|
ip classless
|
||||||
|
@ -219,7 +226,7 @@ no ip http secure-server
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
snmp-server community @SNMP_PW@ RO
|
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 snmp authentication linkdown linkup coldstart warmstart
|
||||||
snmp-server enable traps transceiver all
|
snmp-server enable traps transceiver all
|
||||||
snmp-server enable traps tty
|
snmp-server enable traps tty
|
||||||
|
|
Loading…
Reference in New Issue