new config (#69)

This commit is contained in:
Vasil Kolev 2016-10-22 16:00:00 +03:00
parent da16f288eb
commit b3d4d5c93b
1 changed files with 30 additions and 27 deletions

View File

@ -1,27 +1,27 @@
!TL-SG3210
#
vlan 2,50,100-104
vlan 2,10,20-24
#
vlan 2
name "initlab"
#
vlan 50
name "netx/uplink"
vlan 10
name "of-ext"
#
vlan 100
name "mgmt"
vlan 20
name "of-mgmt"
#
vlan 101
name "wired"
vlan 21
name "of-wired"
#
vlan 102
name "wireless"
vlan 22
name "of-wifi"
#
vlan 103
name "video"
vlan 23
name "of-video"
#
vlan 104
name "overflow"
vlan 24
name "of-overflow"
#
#
#
@ -35,7 +35,7 @@ no logging file flash
#
enable password @PW@
#
system-time ntp UTC+08:00 133.100.9.2 139.78.100.163 12
system-time ntp UTC+02:00 10.20.0.1 79.98.105.18 4
#
spanning-tree
spanning-tree mode mstp
@ -51,12 +51,13 @@ snmp-server
snmp-server community @SNMP_PW@ read-only viewDefault
#
snmp-server host 10.100.0.1 161 monitoring smode v2c slev noAuthNoPriv type trap
snmp-server host 10.20.0.1 161 monitoring smode v2c slev noAuthNoPriv type trap
snmp-server traps flash
snmp-server traps cpu
#
interface gigabitEthernet 1/0/1
switchport mode trunk
switchport trunk allowed vlan 100-104
switchport trunk allowed vlan 20-24
description "teamsw/trunk"
spanning-tree
@ -65,10 +66,10 @@ interface gigabitEthernet 1/0/1
#
interface gigabitEthernet 1/0/2
switchport mode trunk
switchport trunk allowed vlan 100-104
switchport trunk allowed vlan 20-24
description "camsw/trunk"
spanning-tree
spanning-tree
spanning-tree common-config portfast enable
#
@ -88,15 +89,16 @@ interface gigabitEthernet 1/0/4
#
interface gigabitEthernet 1/0/5
switchport mode trunk
switchport trunk allowed vlan 100,102
switchport trunk allowed vlan 20,22
description "ap-lobby0-2-lega"
spanning-tree
spanning-tree common-config portfast enable
#
#
interface gigabitEthernet 1/0/6
switchport mode trunk
switchport trunk allowed vlan 100,102
switchport trunk allowed vlan 20,22
description "ap-lobby0-3-ac"
spanning-tree
@ -115,9 +117,9 @@ interface gigabitEthernet 1/0/8
shutdown
spanning-tree
spanning-tree common-config portfast enable
#
interface gigabitEthernet 1/0/9
interface gigabitEthernet 1/0/9
speed 1000
shutdown
spanning-tree
@ -131,17 +133,17 @@ interface gigabitEthernet 1/0/10
spanning-tree common-config portfast enable
#
ip management-vlan 100
interface vlan 100
ip address 10.100.0.17 255.255.255.0
ip management-vlan 20
interface vlan 20
ip address 10.20.0.17 255.255.255.0 10.20.0.1
#
line vty 0 0
password @PW@
login
#
line vty 1 1
line vty 1 1
password @PW@
login
login
#
line vty 2 2
password @PW@
@ -160,3 +162,4 @@ password @PW@
login
#
end