playbook_create_switch_configs_stock: add config template for s2800s-8t2f-p from fs.com

This commit is contained in:
Gregor Michels 2023-01-05 04:17:21 +01:00
parent 6524149a48
commit c40e49d645
1 changed files with 151 additions and 0 deletions

View File

@ -0,0 +1,151 @@
SYSTEM CONFIG FILE ::= BEGIN
! System Description: S2800S-8T2F-P Switch
! System Version: v27272
! System Name:
! System Up Time:
!
!
cpu-protect cpu bandwidth 500
cpu-protect sub-interface manage pps 500
cpu-protect sub-interface route pps 200
cpu-protect sub-interface protocol pps 500
username web admin password "{{ lookup('passwordstore', 'switches/{{ inventory_hostname }}') }}"
web-login-time 14400
web-language en
web http port 80
!
!
!
system name "{{ inventory_hostname }}"
ip default-gateway 10.86.1.1
no easycwmp acs enable
easycwmp acs periodic_enable
easycwmp acs periodic_interval 60
username "admin" privilege user password "{{ lookup('passwordstore', 'switches/{{ inventory_hostname }}') }}"
vlan 2
description "clients"
vlan 8
description "backoffice"
management-vlan enable
voice-vlan oui-table 00:E0:BB:00:00:00 mask FF:FF:FF:00:00:00 "3COM"
voice-vlan oui-table 00:03:6B:00:00:00 mask FF:FF:FF:00:00:00 "Cisco"
voice-vlan oui-table 00:E0:75:00:00:00 mask FF:FF:FF:00:00:00 "Veritel"
voice-vlan oui-table 00:D0:1E:00:00:00 mask FF:FF:FF:00:00:00 "Pingtel"
voice-vlan oui-table 00:01:E3:00:00:00 mask FF:FF:FF:00:00:00 "Siemens"
voice-vlan oui-table 00:60:B9:00:00:00 mask FF:FF:FF:00:00:00 "NEC/Philips"
voice-vlan oui-table 00:0F:E2:00:00:00 mask FF:FF:FF:00:00:00 "Huawei-3COM"
voice-vlan oui-table 00:09:6E:00:00:00 mask FF:FF:FF:00:00:00 "Avaya"
!
!
surveillance-vlan vlan 4095
!
!
!
!
!
!
!
eee interface gi0/1
eee interface gi0/2
eee interface gi0/3
eee interface gi0/4
eee interface gi0/5
eee interface gi0/6
eee interface gi0/7
eee interface gi0/8
no ip igmp snooping vlan 1 fast-leave enable
no ipv6 mld snooping vlan 1 fast-leave enable
!
!
snmp community "public" ro
snmp community "private" rw
snmp enable
!
!
!
!
!
no ip telnet
ip ssh
ip ssh v1
ip ssh v2
ip http
ip https
!
!
dhcp-snooping vlan 1-4094
arp-inspection vlan 1-4094
!
!
!
!
interface gi0/1
switch mode trunk
switch trunk native vlan 1
flowcontrol on
poe max-power 35
poe alloc-power 35
!
interface gi0/2
switch mode trunk
switch trunk native vlan 1
poe max-power 15.4
poe alloc-power 35
!
interface gi0/3
switch mode trunk
switch trunk native vlan 1
poe max-power 35
poe alloc-power 0
!
interface gi0/4
switch mode trunk
switch trunk native vlan 1
poe max-power 35
poe alloc-power 0
!
interface gi0/5
switch mode trunk
switch trunk native vlan 1
poe max-power 35
poe alloc-power 0
!
interface gi0/6
switch mode trunk
switch trunk native vlan 1
poe max-power 35
poe alloc-power 0
!
interface gi0/7
switch mode trunk
switch trunk native vlan 1
poe max-power 35
poe alloc-power 0
!
interface gi0/8
switch mode trunk
switch trunk native vlan 1
poe max-power 35
poe alloc-power 0
!
interface gi0/9
switch mode trunk
switch trunk native vlan 1
!
interface gi0/10
switch mode trunk
switch trunk native vlan 1
!
!
!
!
interface vlan 1
ip address {{ ip }} mask 255.255.255.0
ip default-gateway 10.86.1.1
ip dhcpserver gate-way 192.168.1.254
ip dhcpserver pool 192.168.1.11-192.168.1.200
ip dhcpserver mask 255.255.255.0
ip dhcpserver major 8.8.8.8
ip dhcpserver minor 0.0.0.0
ip dhcpserver leasetime 1200
!