init III
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
|
||||
!
|
||||
end
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
!
|
||||
end
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
!
|
||||
end
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
!
|
||||
end
|
||||
|
||||
158
LinuxServerTools/konfiguration_per_tftp/-srv-tftp/convert.txt
Normal file
158
LinuxServerTools/konfiguration_per_tftp/-srv-tftp/convert.txt
Normal file
@@ -0,0 +1,158 @@
|
||||
Die Zeilen mit zwei Ausrufezeichen sind besondere Zeilen. Diese markieren neue Abschnitte in der Datei.
|
||||
Diese Zeilen müssen am Anfang einer Zeile stehen und dürfen keine Leerzeichen beinhalten.
|
||||
Darüberhinaus sind alle Zeichen groß zu schreiben.
|
||||
|
||||
Als erstes muss !!ROUTER kommen, diese Zeile markiert den eigentlichen Anfang. Es passiert nichts bis !!VARIABLEN erscheint.
|
||||
Ab dort erfolgt die Definition der Variablen.
|
||||
|
||||
Ab !!CONFIG kommt die eigentliche Konfiguration. Alle im Abschnitt !!VARIABLEN definierten Werte werden im Abschnitt !!CONFIG eingesetzt.
|
||||
|
||||
Ansonsten sind Zeilen die mit einem ! beginnen Kommentare (Cisco Syntax).
|
||||
|
||||
!!ROUTER
|
||||
|
||||
!!VARIABLEN
|
||||
|
||||
<HOSTNAME> = ICM-WSE-UAT
|
||||
<TFTP_HOST_STRING> = tftp://10.101.2.113/x-confg
|
||||
|
||||
<INT_NAME> = f0/0
|
||||
<INT_IP_MASK> = 192.168.1.2 255.255.255.248
|
||||
!<INT_IP_MASK> = DHCP
|
||||
|
||||
<DEF_GW> = 192.168.1.1
|
||||
|
||||
<SNMP_READ> = con
|
||||
<SNMP_WRITE> = 5NMP-Wr1t3-(0mm
|
||||
|
||||
<SYSLOG_FACILITY> = local1
|
||||
<SYSLOG_SRC_INT> =
|
||||
<SYSLOG_SEVERITY> = errors
|
||||
<SYSLOG_SRV> = 10.101.2.113
|
||||
<LOG_SEVERITY> = informational
|
||||
|
||||
|
||||
<SOMMERZEITVONBIS> = Mar 31 2013 2:00 Oct 27 2013 2:00
|
||||
<NTP_SRV1> = 90.200.31.21
|
||||
<NTP_SRV2> = 90.200.31.23
|
||||
|
||||
! PTB NTP Server
|
||||
! ntp server 192.53.103.103
|
||||
! ntp server 192.53.103.108
|
||||
! ntp server 192.53.103.104
|
||||
|
||||
|
||||
<DOMAIN> = corp.conet.local
|
||||
<ADM_PW> = LicherExport
|
||||
<ENABLE_SECRET> = ensinus
|
||||
|
||||
! Netze/IPs zur Administration, AdminText, AdminNetz
|
||||
<AT1> = extern 1
|
||||
<AN1> = 195.20.133.6
|
||||
<AT2> = extern 2
|
||||
<AN2> = 212.202.166.58
|
||||
<AT3> = Eschborner Ldstr 1
|
||||
<AN3> = 192.168.88.0 0.0.0.255
|
||||
<AT4> = Eschborner Ldstr 2
|
||||
<AN4> = 172.23.210.0 0.0.0.255
|
||||
<AT5> = Interxion
|
||||
<AN5> = 88.205.102.128 0.0.0.127
|
||||
<ATI> = Initial Netz
|
||||
<ANI> = 192.1.1.0 0.0.0.255
|
||||
|
||||
|
||||
!!CONFIG
|
||||
|
||||
boot network <TFTP_HOST_STRING>
|
||||
|
||||
hostname <HOSTNAME>
|
||||
|
||||
int <INT_NAME>
|
||||
ip address <INT_IP_MASK>
|
||||
no shut
|
||||
|
||||
|
||||
ip route 0.0.0.0 0.0.0.0 <DEF_GW>
|
||||
|
||||
! snmp
|
||||
snmp-server community <SNMP_READ> RO ACL_telnet_ssh_snmp
|
||||
snmp-server community <SNMP_WRITE> RW ACL_telnet_ssh_snmp
|
||||
|
||||
! enable
|
||||
no enable password
|
||||
enable secret <ENABLE_SECRET>
|
||||
|
||||
! syslog
|
||||
logging facility <SYSLOG_FACILITY>
|
||||
logging source-interface <SYSLOG_SRC_INT>
|
||||
logging <SYSLOG_SRV>
|
||||
logging trap <SYSLOG_SEVERITY>
|
||||
|
||||
! lokales log
|
||||
logging buffered 4096 <LOG_SEVERITY>
|
||||
logging history <LOG_SEVERITY>
|
||||
logging console <LOG_SEVERITY>
|
||||
logging monitor <LOG_SEVERITY>
|
||||
|
||||
|
||||
! ntp
|
||||
clock timezone MEZ 1
|
||||
clock summer-time MESZ date <SOMMERZEITVONBIS>
|
||||
|
||||
ntp server <NTP_SRV1> prefer
|
||||
ntp server <NTP_SRV2>
|
||||
|
||||
! ssh
|
||||
ip domain name <DOMAIN>
|
||||
!crypto key generate rsa
|
||||
!1024
|
||||
!ip ssh ver 2
|
||||
|
||||
|
||||
! login
|
||||
username admin priv 15 pass <ADM_PW>
|
||||
ip access-list standard ACL_telnet_ssh_snmp
|
||||
remark <AT1>
|
||||
permit <AN1>
|
||||
remark <AT2>
|
||||
permit <AN2>
|
||||
remark <AT3>
|
||||
permit <AN3>
|
||||
remark <AT4>
|
||||
permit <AN4>
|
||||
remark <AT5>
|
||||
permit <AN5>
|
||||
remark <ATI>
|
||||
permit <ANI>
|
||||
|
||||
|
||||
line vty 0 4
|
||||
session-timeout 60
|
||||
access-class ACL_telnet_ssh_snmp in
|
||||
exec-timeout 60 0
|
||||
login local
|
||||
transport input all
|
||||
line con 0
|
||||
login local
|
||||
line aux 0
|
||||
login local
|
||||
|
||||
|
||||
! services
|
||||
service tcp-keepalives-in
|
||||
service timestamps debug datetime localtime show-timezone
|
||||
service timestamps log datetime localtime show-timezone
|
||||
service password-encryption
|
||||
service linenumber
|
||||
|
||||
|
||||
! domain-lookup
|
||||
no ip domain-lookup
|
||||
|
||||
|
||||
! http
|
||||
no ip http server
|
||||
no ip http secure-server
|
||||
|
||||
|
||||
end
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
!
|
||||
end
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
!!CONFIG
|
||||
|
||||
boot network tftp://10.101.2.113/x-confg
|
||||
|
||||
hostname ICM-WSE-UAT
|
||||
|
||||
int f0/0
|
||||
ip address 192.168.1.2 255.255.255.248
|
||||
no shut
|
||||
|
||||
|
||||
ip route 0.0.0.0 0.0.0.0 192.168.1.1
|
||||
|
||||
! snmp
|
||||
snmp-server community con RO ACL_telnet_ssh_snmp
|
||||
snmp-server community 5NMP-Wr1t3-(0mm RW ACL_telnet_ssh_snmp
|
||||
|
||||
! enable
|
||||
no enable password
|
||||
enable secret ensinus
|
||||
|
||||
! syslog
|
||||
logging facility local1
|
||||
logging 10.101.2.113
|
||||
logging trap errors
|
||||
|
||||
! lokales log
|
||||
logging buffered 4096 informational
|
||||
logging history informational
|
||||
logging console informational
|
||||
logging monitor informational
|
||||
|
||||
|
||||
! ntp
|
||||
clock timezone MEZ 1
|
||||
clock summer-time MESZ date Mar 31 2013 2:00 Oct 27 2013 2:00
|
||||
|
||||
ntp server 90.200.31.21 prefer
|
||||
ntp server 90.200.31.23
|
||||
|
||||
! ssh
|
||||
ip domain name corp.conet.local
|
||||
!crypto key generate rsa
|
||||
!1024
|
||||
!ip ssh ver 2
|
||||
|
||||
|
||||
! login
|
||||
username admin priv 15 pass LicherExport
|
||||
ip access-list standard ACL_telnet_ssh_snmp
|
||||
remark extern 1
|
||||
permit 195.20.133.6
|
||||
remark extern 2
|
||||
permit 212.202.166.58
|
||||
remark Eschborner Ldstr 1
|
||||
permit 192.168.88.0 0.0.0.255
|
||||
remark Eschborner Ldstr 2
|
||||
permit 172.23.210.0 0.0.0.255
|
||||
remark Interxion
|
||||
permit 88.205.102.128 0.0.0.127
|
||||
remark Initial Netz
|
||||
permit 192.1.1.0 0.0.0.255
|
||||
|
||||
|
||||
line vty 0 4
|
||||
session-timeout 60
|
||||
access-class ACL_telnet_ssh_snmp in
|
||||
exec-timeout 60 0
|
||||
login local
|
||||
transport input all
|
||||
line con 0
|
||||
login local
|
||||
line aux 0
|
||||
login local
|
||||
|
||||
|
||||
! services
|
||||
service tcp-keepalives-in
|
||||
service timestamps debug datetime localtime show-timezone
|
||||
service timestamps log datetime localtime show-timezone
|
||||
service password-encryption
|
||||
service linenumber
|
||||
|
||||
|
||||
! domain-lookup
|
||||
no ip domain-lookup
|
||||
|
||||
|
||||
! http
|
||||
no ip http server
|
||||
no ip http secure-server
|
||||
|
||||
|
||||
end
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
!
|
||||
end
|
||||
|
||||
214
LinuxServerTools/konfiguration_per_tftp/-srv-tftp/testconf
Normal file
214
LinuxServerTools/konfiguration_per_tftp/-srv-tftp/testconf
Normal file
@@ -0,0 +1,214 @@
|
||||
|
||||
!
|
||||
! Last configuration change at 16:06:02 MEZ Fri Jan 18 2013 by admin
|
||||
! NVRAM config last updated at 13:04:03 MEZ Mon Jan 14 2013 by admin
|
||||
!
|
||||
version 15.1
|
||||
service tcp-keepalives-in
|
||||
service timestamps debug datetime localtime show-timezone
|
||||
service timestamps log datetime localtime show-timezone
|
||||
service password-encryption
|
||||
service linenumber
|
||||
!
|
||||
hostname ConC2921XTR2
|
||||
!
|
||||
boot-start-marker
|
||||
boot-end-marker
|
||||
!
|
||||
logging buffered 4096 informational
|
||||
logging console informational
|
||||
logging monitor informational
|
||||
enable secret 5 $1$klF6$XTb6PpNdazSglZHOZyU6h0
|
||||
!
|
||||
no aaa new-model
|
||||
clock timezone MEZ 1
|
||||
clock summer-time MESZ date Mar 31 2013 2:00 Oct 27 2013 2:00
|
||||
!
|
||||
no ipv6 cef
|
||||
ip source-route
|
||||
ip cef
|
||||
!
|
||||
!
|
||||
ip multicast-routing
|
||||
!
|
||||
!
|
||||
no ip domain lookup
|
||||
ip domain name corp.conet.local
|
||||
multilink bundle-name authenticated
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
license udi pid CISCO2921/K9 sn FHK1436F351
|
||||
!
|
||||
!
|
||||
username admin privilege 15 password 7 1062001A0D12002E1414253930
|
||||
!
|
||||
!
|
||||
ip ssh version 2
|
||||
!
|
||||
track 2 interface GigabitEthernet0/2 line-protocol
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
interface GigabitEthernet0/0
|
||||
description Eurex01 CCP01 Xetra01 EurexMIC ZOS Member Lan
|
||||
ip address 90.206.113.22 255.255.255.0 secondary
|
||||
ip address 92.254.234.21 255.255.255.0 secondary
|
||||
ip address 90.200.31.21 255.255.255.0
|
||||
ip accounting output-packets
|
||||
ip pim neighbor-filter DenyRtrB
|
||||
ip pim sparse-mode
|
||||
ip igmp access-group IGMP_ACC
|
||||
duplex full
|
||||
speed 1000
|
||||
standby 25 ip 92.254.234.25
|
||||
standby 25 priority 110
|
||||
standby 25 preempt
|
||||
standby 25 track 2 decrement 10
|
||||
!
|
||||
interface GigabitEthernet0/1
|
||||
ip address 90.208.181.21 255.255.255.0
|
||||
ip accounting output-packets
|
||||
ip pim neighbor-filter DenyRtrB
|
||||
ip pim sparse-mode
|
||||
ip igmp join-group 224.0.50.224
|
||||
ip igmp join-group 224.0.50.96
|
||||
ip igmp access-group IGMP_ACC
|
||||
duplex full
|
||||
speed 1000
|
||||
standby 181 ip 90.208.181.31
|
||||
standby 181 priority 110
|
||||
standby 181 preempt
|
||||
standby 181 track 2 decrement 10
|
||||
!
|
||||
interface GigabitEthernet0/2
|
||||
no ip address
|
||||
duplex full
|
||||
speed 100
|
||||
!
|
||||
interface GigabitEthernet0/2.90
|
||||
description To Deutsche Boerse
|
||||
encapsulation dot1Q 90
|
||||
ip address 90.7.5.2 255.255.255.0
|
||||
ip pim sparse-mode
|
||||
!
|
||||
interface GigabitEthernet0/2.92
|
||||
encapsulation dot1Q 92
|
||||
ip address 92.7.250.2 255.255.255.252
|
||||
!
|
||||
interface GigabitEthernet0/2.98
|
||||
description For EMDI
|
||||
encapsulation dot1Q 98
|
||||
ip address 10.20.0.22 255.255.255.252
|
||||
ip pim sparse-mode
|
||||
!
|
||||
interface GigabitEthernet0/2.99
|
||||
description For DB Trading
|
||||
encapsulation dot1Q 99
|
||||
ip address 10.20.0.18 255.255.255.252
|
||||
!
|
||||
interface FastEthernet0/1/0
|
||||
!
|
||||
interface FastEthernet0/1/1
|
||||
!
|
||||
interface FastEthernet0/1/2
|
||||
!
|
||||
interface FastEthernet0/1/3
|
||||
!
|
||||
interface FastEthernet0/1/4
|
||||
!
|
||||
interface FastEthernet0/1/5
|
||||
!
|
||||
interface FastEthernet0/1/6
|
||||
!
|
||||
interface FastEthernet0/1/7
|
||||
!
|
||||
interface FastEthernet0/1/8
|
||||
!
|
||||
interface Vlan1
|
||||
no ip address
|
||||
!
|
||||
!
|
||||
router eigrp 56
|
||||
network 90.0.0.0
|
||||
network 92.0.0.0
|
||||
auto-summary
|
||||
!
|
||||
router bgp 65222
|
||||
no synchronization
|
||||
bgp log-neighbor-changes
|
||||
network 90.208.181.0 mask 255.255.255.0
|
||||
neighbor 10.20.0.17 remote-as 12625
|
||||
neighbor 10.20.0.17 description DB
|
||||
neighbor 10.20.0.21 remote-as 12625
|
||||
neighbor 10.20.0.21 description DB_EEMDI
|
||||
neighbor 90.208.181.23 remote-as 65222
|
||||
neighbor 90.208.181.23 next-hop-self
|
||||
no auto-summary
|
||||
!
|
||||
ip forward-protocol nd
|
||||
!
|
||||
ip pim rp-address 193.29.89.252 emdi_simu_A
|
||||
ip pim rp-address 193.29.95.252 EbsA
|
||||
ip pim rp-address 193.29.93.252 XEbsA
|
||||
ip pim rp-address 193.29.91.252 emdi_prod_A
|
||||
no ip http server
|
||||
no ip http secure-server
|
||||
!
|
||||
ip route 0.0.0.0 0.0.0.0 90.200.31.230
|
||||
!
|
||||
ip access-list standard ACL_telnet_ssh_snmp
|
||||
remark alle
|
||||
permit any log
|
||||
ip access-list standard DenyRtrB
|
||||
deny any
|
||||
ip access-list standard EbsA
|
||||
permit 224.0.29.0 0.0.0.255
|
||||
permit 233.49.81.0 0.0.0.127
|
||||
ip access-list standard IGMP_ACC
|
||||
permit 224.0.46.0 0.0.0.255
|
||||
permit 224.0.48.0 0.0.0.255
|
||||
permit 224.0.50.0 0.0.0.127
|
||||
permit 224.0.29.0 0.0.0.255
|
||||
permit 233.49.81.0 0.0.0.127
|
||||
ip access-list standard XEbsA
|
||||
permit 224.0.46.0 0.0.0.255
|
||||
permit 224.0.48.0 0.0.0.255
|
||||
ip access-list standard emdi_prod_A
|
||||
permit 224.0.50.0 0.0.0.63
|
||||
permit 224.0.50.64 0.0.0.15
|
||||
ip access-list standard emdi_simu_A
|
||||
permit 224.0.50.80 0.0.0.15
|
||||
permit 224.0.50.96 0.0.0.31
|
||||
!
|
||||
logging history informational
|
||||
logging trap errors
|
||||
logging facility local1
|
||||
logging 10.101.2.113
|
||||
!
|
||||
!
|
||||
snmp-server community con RO ACL_telnet_ssh_snmp
|
||||
snmp-server community 5NMP-Wr1t3-(0mm RW ACL_telnet_ssh_snmp
|
||||
!
|
||||
control-plane
|
||||
!
|
||||
!
|
||||
line con 0
|
||||
login local
|
||||
line aux 0
|
||||
login local
|
||||
line vty 0 4
|
||||
session-timeout 60
|
||||
access-class ACL_telnet_ssh_snmp in
|
||||
exec-timeout 60 0
|
||||
login local
|
||||
transport input all
|
||||
!
|
||||
scheduler allocate 20000 1000
|
||||
ntp server 212.82.32.15
|
||||
ntp peer 90.200.31.23
|
||||
ntp server 192.53.103.104 prefer
|
||||
ntp server 192.53.103.108
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
conf t
|
||||
int d18
|
||||
disable
|
||||
speed-duplex 100-full
|
||||
int d19
|
||||
disable
|
||||
speed-duplex 100-full
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
!
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user