From 2f7f0edbbe31a6ddfc0aaa465550b1edbbec67a4 Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov Date: Fri, 21 Oct 2016 23:56:02 +0300 Subject: [PATCH] f2sw - initial load --- switch-configs/f2sw.cfg | 151 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 switch-configs/f2sw.cfg diff --git a/switch-configs/f2sw.cfg b/switch-configs/f2sw.cfg new file mode 100644 index 0000000..78d1fbc --- /dev/null +++ b/switch-configs/f2sw.cfg @@ -0,0 +1,151 @@ +!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 "f2sw" +# +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 +# +spanning-tree +spanning-tree mode mstp +# +# +user name admin privilege admin password 0 @PW@ +# +# +no ip http server +# +# +# +# +# +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 traps flash +snmp-server traps cpu +snmp-server traps memory +# +interface gigabitEthernet 1/0/1 + switchport mode trunk + switchport trunk allowed vlan 100-104 + description "vocsw/trunk" + spanning-tree +# +interface gigabitEthernet 1/0/2 + switchport mode trunk + switchport trunk allowed vlan 100-104 + description "mussw/trunk" + spanning-tree +# +interface gigabitEthernet 1/0/3 + switchport mode trunk + switchport trunk allowed vlan 100-104 + description "team/trunk" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/4 + shutdown + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/5 + switchport mode trunk + switchport trunk allowed vlan 100,102 + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/6 + switchport mode trunk + switchport trunk allowed vlan 100,102 + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/7 + switchport access vlan 101 + description "usersw/f2" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/8 + switchport access vlan 104 + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/9 + speed 1000 + duplex full + shutdown + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/10 + speed 1000 + duplex full + shutdown + spanning-tree + spanning-tree common-config portfast enable +# +ip management-vlan 100 +interface vlan 100 +ip address 10.100.0.17 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