new config (#69)
This commit is contained in:
parent
da16f288eb
commit
b3d4d5c93b
|
@ -1,27 +1,27 @@
|
||||||
!TL-SG3210
|
!TL-SG3210
|
||||||
#
|
#
|
||||||
vlan 2,50,100-104
|
vlan 2,10,20-24
|
||||||
#
|
#
|
||||||
vlan 2
|
vlan 2
|
||||||
name "initlab"
|
name "initlab"
|
||||||
#
|
#
|
||||||
vlan 50
|
vlan 10
|
||||||
name "netx/uplink"
|
name "of-ext"
|
||||||
#
|
#
|
||||||
vlan 100
|
vlan 20
|
||||||
name "mgmt"
|
name "of-mgmt"
|
||||||
#
|
#
|
||||||
vlan 101
|
vlan 21
|
||||||
name "wired"
|
name "of-wired"
|
||||||
#
|
#
|
||||||
vlan 102
|
vlan 22
|
||||||
name "wireless"
|
name "of-wifi"
|
||||||
#
|
#
|
||||||
vlan 103
|
vlan 23
|
||||||
name "video"
|
name "of-video"
|
||||||
#
|
#
|
||||||
vlan 104
|
vlan 24
|
||||||
name "overflow"
|
name "of-overflow"
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
@ -35,7 +35,7 @@ no logging file flash
|
||||||
#
|
#
|
||||||
enable password @PW@
|
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
|
||||||
spanning-tree mode mstp
|
spanning-tree mode mstp
|
||||||
|
@ -51,12 +51,13 @@ snmp-server
|
||||||
snmp-server community @SNMP_PW@ read-only viewDefault
|
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.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 flash
|
||||||
snmp-server traps cpu
|
snmp-server traps cpu
|
||||||
#
|
#
|
||||||
interface gigabitEthernet 1/0/1
|
interface gigabitEthernet 1/0/1
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
switchport trunk allowed vlan 100-104
|
switchport trunk allowed vlan 20-24
|
||||||
description "teamsw/trunk"
|
description "teamsw/trunk"
|
||||||
|
|
||||||
spanning-tree
|
spanning-tree
|
||||||
|
@ -65,7 +66,7 @@ interface gigabitEthernet 1/0/1
|
||||||
#
|
#
|
||||||
interface gigabitEthernet 1/0/2
|
interface gigabitEthernet 1/0/2
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
switchport trunk allowed vlan 100-104
|
switchport trunk allowed vlan 20-24
|
||||||
description "camsw/trunk"
|
description "camsw/trunk"
|
||||||
|
|
||||||
spanning-tree
|
spanning-tree
|
||||||
|
@ -88,7 +89,8 @@ interface gigabitEthernet 1/0/4
|
||||||
#
|
#
|
||||||
interface gigabitEthernet 1/0/5
|
interface gigabitEthernet 1/0/5
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
switchport trunk allowed vlan 100,102
|
switchport trunk allowed vlan 20,22
|
||||||
|
description "ap-lobby0-2-lega"
|
||||||
|
|
||||||
spanning-tree
|
spanning-tree
|
||||||
spanning-tree common-config portfast enable
|
spanning-tree common-config portfast enable
|
||||||
|
@ -96,7 +98,7 @@ interface gigabitEthernet 1/0/5
|
||||||
#
|
#
|
||||||
interface gigabitEthernet 1/0/6
|
interface gigabitEthernet 1/0/6
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
switchport trunk allowed vlan 100,102
|
switchport trunk allowed vlan 20,22
|
||||||
description "ap-lobby0-3-ac"
|
description "ap-lobby0-3-ac"
|
||||||
|
|
||||||
spanning-tree
|
spanning-tree
|
||||||
|
@ -131,9 +133,9 @@ interface gigabitEthernet 1/0/10
|
||||||
spanning-tree common-config portfast enable
|
spanning-tree common-config portfast enable
|
||||||
|
|
||||||
#
|
#
|
||||||
ip management-vlan 100
|
ip management-vlan 20
|
||||||
interface vlan 100
|
interface vlan 20
|
||||||
ip address 10.100.0.17 255.255.255.0
|
ip address 10.20.0.17 255.255.255.0 10.20.0.1
|
||||||
#
|
#
|
||||||
line vty 0 0
|
line vty 0 0
|
||||||
password @PW@
|
password @PW@
|
||||||
|
@ -160,3 +162,4 @@ password @PW@
|
||||||
login
|
login
|
||||||
#
|
#
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue