121 lines
1.7 KiB
INI
121 lines
1.7 KiB
INI
|
!TL-SG3210
|
||
|
#
|
||
|
vlan 2,50,100-104
|
||
|
#
|
||
|
vlan 2
|
||
|
name "initlab"
|
||
|
#
|
||
|
vlan 50
|
||
|
name "netx/uplink"
|
||
|
#
|
||
|
vlan 100
|
||
|
name "mgmt"
|
||
|
#
|
||
|
vlan 101
|
||
|
name "wired"
|
||
|
#
|
||
|
vlan 102
|
||
|
name "wireless"
|
||
|
#
|
||
|
vlan 103
|
||
|
name "video"
|
||
|
#
|
||
|
vlan 104
|
||
|
name "overflow"
|
||
|
#
|
||
|
#
|
||
|
#
|
||
|
#
|
||
|
hostname "vocsw"
|
||
|
#
|
||
|
mac address-table aging-time 300
|
||
|
#
|
||
|
logging buffer 6
|
||
|
no logging file flash
|
||
|
#
|
||
|
enable password @PW@
|
||
|
#
|
||
|
system-time ntp UTC+08:00 133.100.9.2 139.78.100.163 12
|
||
|
#
|
||
|
#
|
||
|
user name admin privilege admin password 0 @PW@
|
||
|
#
|
||
|
#
|
||
|
#
|
||
|
#
|
||
|
#
|
||
|
#
|
||
|
#
|
||
|
interface gigabitEthernet 1/0/1
|
||
|
switchport mode trunk
|
||
|
switchport trunk allowed vlan 2,50,100-104
|
||
|
description "coresw/trunk"
|
||
|
#
|
||
|
interface gigabitEthernet 1/0/2
|
||
|
switchport mode trunk
|
||
|
switchport trunk allowed vlan 100-104
|
||
|
description "f2sw/trunk"
|
||
|
#
|
||
|
interface gigabitEthernet 1/0/3
|
||
|
switchport mode trunk
|
||
|
switchport trunk allowed vlan 2,50,100-104
|
||
|
description "nocsw/trunk"
|
||
|
#
|
||
|
interface gigabitEthernet 1/0/4
|
||
|
shutdown
|
||
|
#
|
||
|
interface gigabitEthernet 1/0/5
|
||
|
switchport mode trunk
|
||
|
switchport trunk allowed vlan 100,102-103
|
||
|
#
|
||
|
interface gigabitEthernet 1/0/6
|
||
|
shutdown
|
||
|
#
|
||
|
interface gigabitEthernet 1/0/7
|
||
|
switchport access vlan 103
|
||
|
description "video/bulgaria"
|
||
|
#
|
||
|
interface gigabitEthernet 1/0/8
|
||
|
shutdown
|
||
|
#
|
||
|
interface gigabitEthernet 1/0/9
|
||
|
speed 1000
|
||
|
duplex full
|
||
|
shutdown
|
||
|
#
|
||
|
interface gigabitEthernet 1/0/10
|
||
|
speed 1000
|
||
|
duplex full
|
||
|
shutdown
|
||
|
#
|
||
|
ip management-vlan 100
|
||
|
interface vlan 100
|
||
|
ip address 10.100.0.12 255.255.255.0
|
||
|
#
|
||
|
#
|
||
|
line vty 0 0
|
||
|
password @PW@
|
||
|
login
|
||
|
#
|
||
|
line vty 1 1
|
||
|
password @PW@
|
||
|
login
|
||
|
#
|
||
|
line vty 2 2
|
||
|
password @PW@
|
||
|
login
|
||
|
#
|
||
|
line vty 3 3
|
||
|
password @PW@
|
||
|
login
|
||
|
#
|
||
|
line vty 4 4
|
||
|
password @PW@
|
||
|
login
|
||
|
#
|
||
|
line vty 5 5
|
||
|
password @PW@
|
||
|
login
|
||
|
#
|
||
|
end
|