This commit is contained in:
Vladimir Vitkov 2017-10-28 15:45:32 +03:00
parent 3589a02c98
commit 66b926fdea
3 changed files with 10 additions and 11 deletions

View File

@ -161,7 +161,7 @@ interface range GigabitEthernet0/11-16
interface range GigabitEthernet0/17-18 interface range GigabitEthernet0/17-18
description OVERFLOW description OVERFLOW
switchport access vlan 24 switchport access vlan 24
switcport mode access switchport mode access
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
no shutdown no shutdown
@ -186,16 +186,16 @@ interface GigabitEthernet0/44
! !
interface GigabitEthernet0/45 interface GigabitEthernet0/45
description eric2/standby description eric2/standby
switchport trunk enacapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk alliwed vlan 2,10,20-25 switchport trunk allowed vlan 2,10,20-25
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/46 interface GigabitEthernet0/46
description eric description eric
switchport trunk enacapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk alliwed vlan 2,10,20-25 switchport trunk allowed vlan 2,10,20-25
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk

View File

@ -89,24 +89,21 @@ interface gigabitEthernet 1/0/2
# #
interface gigabitEthernet 1/0/3 interface gigabitEthernet 1/0/3
switchport mode trunk switchport access vlan 21
switchport trunk allowed vlan 21,25
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "reception/pc1" description "reception/pc1"
# #
interface gigabitEthernet 1/0/4 interface gigabitEthernet 1/0/4
switchport mode trunk switchport access vlan 21
switchport trunk allowed vlan 21,25
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "reception/pc2" description "reception/pc2"
# #
interface gigabitEthernet 1/0/5 interface gigabitEthernet 1/0/5
switchport mode trunk switchport access vlan 21
switchport trunk allowed vlan 21,25
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "reception/pc3" description "reception/pc3"

View File

@ -15,6 +15,8 @@ BASEDIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
source ${BASEDIR}/secrets.conf source ${BASEDIR}/secrets.conf
rm -f *_compiled.cfg
for _config in $(ls -1 ${BASEDIR}/*.cfg) ; do for _config in $(ls -1 ${BASEDIR}/*.cfg) ; do
sed \ sed \
-e "s/@PW@/${ACCESS_PW}/g" \ -e "s/@PW@/${ACCESS_PW}/g" \