· 7 years ago · Jul 01, 2018, 08:10 PM
1Building configuration...
2
3Current configuration : 2764 bytes
4!
5! Last configuration change at 15:09:04 EET Sun Jul 1 2018
6!
7version 15.4
8service timestamps debug datetime msec
9service timestamps log datetime msec
10no service password-encryption
11!
12hostname CPE
13!
14boot-start-marker
15boot-end-marker
16!
17aqm-register-fnf
18!
19!
20no aaa new-model
21clock timezone EET 2 0
22mmi polling-interval 60
23no mmi auto-configure
24no mmi pvc
25mmi snmp-timeout 180
26!
27!
28!
29!
30!
31!
32!
33!
34
35
36!
37ip dhcp support tunnel unicast
38!
39ip dhcp pool 192.168.2.0
40 network 192.168.2.0 255.255.255.0
41 default-router 192.168.2.254
42!
43ip dhcp pool 192.168.3.0
44 network 192.168.3.0 255.255.255.0
45 default-router 192.168.3.254
46!
47ip dhcp pool 192.168.4.0
48 network 192.168.4.0 255.255.255.0
49 default-router 192.168.4.254
50!
51ip dhcp pool 192.168.5.0
52 network 192.168.5.0 255.255.255.0
53 default-router 192.168.5.254
54!
55!
56!
57ip cef
58no ipv6 cef
59!
60multilink bundle-name authenticated
61!
62!
63!
64!
65!
66!
67!
68!
69!
70redundancy
71!
72!
73track 1 ip sla 1 reachability
74!
75!
76!
77!
78!
79!
80!
81!
82!
83!
84!
85!
86!
87!
88interface Loopback1
89 ip address 2.2.2.2 255.255.255.0
90!
91interface Tunnel1
92 ip dhcp client broadcast-flag clear
93 ip address 172.16.1.1 255.255.255.0
94 ip mtu 1400
95 ip tcp adjust-mss 1360
96 tunnel source 192.168.1.9
97 tunnel destination 192.168.1.30
98!
99interface Ethernet0/0
100 ip address 192.168.1.13 255.255.255.252
101 ip nat outside
102 ip virtual-reassembly in
103!
104interface Ethernet0/1
105 ip address 192.168.1.9 255.255.255.252
106 ip nat outside
107 ip virtual-reassembly in
108!
109interface Ethernet0/2
110 ip address 192.168.3.254 255.255.255.0
111 ip nat inside
112 ip virtual-reassembly in
113!
114interface Ethernet0/3
115 ip address 192.168.2.254 255.255.255.0
116 ip nat inside
117 ip virtual-reassembly in
118!
119router ospf 100
120 network 2.2.2.0 0.0.0.255 area 0
121 network 192.168.1.8 0.0.0.3 area 0
122 network 192.168.1.12 0.0.0.3 area 0
123!
124ip forward-protocol nd
125!
126!
127no ip http server
128no ip http secure-server
129ip nat translation timeout 2
130ip nat translation tcp-timeout 2
131ip nat translation udp-timeout 2
132ip nat translation icmp-timeout 2
133ip nat inside source list 100 interface Loopback1 overload
134ip nat inside source list 101 interface Ethernet0/0 overload
135ip route 0.0.0.0 0.0.0.0 192.168.1.10
136ip route 0.0.0.0 0.0.0.0 192.168.1.14 10
137ip route 192.168.1.0 255.255.255.255 192.168.1.10 permanent
138ip route 192.168.1.0 255.255.255.255 192.168.1.14 permanent
139!
140ip sla auto discovery
141ip sla 1
142 icmp-echo 192.168.1.10 source-interface Ethernet0/1
143 timeout 6000
144 frequency 10
145ip sla schedule 1 life forever start-time now
146!
147!
148access-list 100 permit ip 192.168.2.0 0.0.0.255 any
149access-list 100 permit ip 192.168.3.0 0.0.0.255 any
150access-list 101 permit ip 192.168.2.0 0.0.0.255 any
151access-list 101 permit ip 192.168.3.0 0.0.0.255 any
152!
153control-plane
154!
155!
156!
157!
158!
159!
160!
161!
162line con 0
163 logging synchronous
164line aux 0
165line vty 0 4
166 login
167 transport input none
168!
169!
170end