Building configuration...

  
Current configuration : 24500 bytes
!
! Last configuration change at 08:38:50 SAMT Tue Aug 30 2022 by akhmetzyanovrr_adm
! NVRAM config last updated at 08:38:54 SAMT Tue Aug 30 2022 by akhmetzyanovrr_adm
!
version 15.6
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone year
service timestamps log datetime msec localtime show-timezone year
service password-encryption
service internal
service sequence-numbers
!
hostname BBN-RN-BBN-RT-1-1
!
boot-start-marker
boot system flash c800-universalk9-mz.SPA.156-3.M3.bin
boot-end-marker
!
!
logging userinfo
logging buffered 128000
enable secret 5 $1$QW0D$QYciH.O0GY9GW37Ao2khP1
!
aaa new-model
!
!
aaa group server radius NPS
 server name IZH-RDS002
 server name P11-RDS003
 ip radius source-interface Vlan10
 load-balance method least-outstanding
!
aaa authentication login default group NPS local enable
aaa authentication login CONSOLE local group NPS
aaa authorization exec default group NPS local if-authenticated 
!
!
!
!
!
aaa session-id common
clock timezone SAMT 4 0
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!


!
ip dhcp excluded-address 10.5.194.0 10.5.194.99
ip dhcp excluded-address 10.5.194.254
!
ip dhcp pool DHCP_USER_VLAN_10
 utilization mark high 80 log
 network 10.5.194.0 255.255.255.0
 default-router 10.5.194.254 
 dns-server 10.5.194.254 
 lease 0 2
!
!
!
ip flow-cache timeout inactive 60
ip flow-cache timeout active 5
ip domain name komos.ru
ip host tftp 10.4.0.214
ip inspect WAAS flush-timeout 10
ip inspect tcp reassembly queue length 128
ip inspect tcp reassembly timeout 10
ip inspect name INTERNET tcp router-traffic
ip inspect name INTERNET udp router-traffic
ip inspect name INTERNET icmp router-traffic
ip cef
login on-failure log
login on-success log
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
vpdn enable
!
vpdn-group 1
!
!
!
!
!
!
!
!
cts logging verbose
license feature MEM-8XX-512U1GB
license udi pid C881-K9 sn FCZ184295FW
license accept end user agreement
license boot module c800 level advipservices
!
!
archive
 log config
  logging enable
  logging size 900
  notify syslog contenttype plaintext
  hidekeys
 path tftp://tftp/BBN/RN/BBN-RT/$H-$T
 write-memory
 time-period 10080
object-group network NET_KOMOSGROUP 
 description --KOMOS--
 91.240.179.0 255.255.255.0
 host 5.227.124.143
 host 62.141.96.126
 host 84.201.247.190
 host 88.80.33.10
 host 88.80.33.50
 host 94.25.46.122
!
object-group network NET_MLK_IZH 
 description --IZHMOLOKO--
 host 31.173.105.54
 host 78.85.13.42
 host 84.201.247.157
 host 85.140.32.27
 host 217.14.195.253
!
object-group network OBJ_BBN_RN_BBN 
 host 85.140.32.104
 host 78.85.13.205
!
object-group network OBJ_BBN_VST_BBN 
 host 85.140.32.103
 host 83.169.220.204
!
object-group network OBJ_IZH_MLK_IZM 
 host 85.140.32.27
 host 78.85.13.42
 host 5.227.126.169
 host 31.173.105.54
 host 217.14.195.253
!
object-group network OBJ_IZH_KG_P11 
 91.240.179.0 255.255.255.0
 host 5.227.124.143
 host 78.85.13.93
 host 62.141.96.126
 host 84.201.247.190
 host 88.80.33.50
 host 94.25.46.122
!
object-group network OBJ_IZH_VST_IZM 
 host 5.227.124.82
 host 78.85.13.38
!
object-group network OBJ_IZH_TK_M44 
 host 212.46.204.74
 host 88.80.33.162
!
object-group network OBJ_IZH_TK_M48 
 host 87.249.237.250
!
object-group network OBJ_IZH_TK_SMR 
 host 87.249.239.226
 host 88.80.33.42
!
object-group network OBJ_MSK_KG_MSK 
 host 185.62.195.150
 host 185.6.175.101
!
object-group network OBJ_GLZ_MLK_GMK 
 host 31.173.105.62
 host 85.140.32.29
!
object-group network OBJ_KZN_MLK_KMK 
 host 83.69.126.54
 host 94.180.253.210
 host 78.138.171.82
!
object-group network OBJ_KEZ_MLK_KZS 
 host 31.173.105.66
 host 78.85.13.52
 host 85.140.32.30
!
object-group network OBJ_PRM_MLK_PHK 
 host 178.47.128.18
 host 46.146.210.68
!
object-group network OBJ_SAR_MLK_SRM 
 host 31.173.105.58
 host 78.85.13.53
 host 85.140.32.28
!
object-group network OBJ_CLB_MLK_CMK 
 host 37.113.128.241
 host 149.255.6.35
!
object-group network OBJ_GLZ_GKZ_GKZ 
 host 78.85.13.94
 host 146.120.104.181
!
object-group network OBJ_KIA_RN_KIA 
 host 78.85.14.97
!
object-group network OBJ_IZH_TZK_TZK 
 host 78.25.80.134
 host 5.227.124.235
!
object-group network OBJ_IZH_MK_VS17 
 host 5.227.124.141
!
object-group network OBJ_IZH_KL_KLI 
 host 78.85.15.85
 host 84.201.247.24
 host 79.175.36.97
 host 84.201.244.235
!
object-group network OBJ_EKB_KG_EKB 
 host 62.168.232.182
 host 176.215.14.11
!
object-group network OBJ_IZH_KEN_VS56 
 host 83.143.54.246
 host 92.55.54.109
!
object-group network OBJ_IZH_VRS_IZM 
 host 85.140.32.177
 host 78.85.14.98
!
object-group network OBJ_GLZ_VRS_UPF 
 host 95.215.208.234
 host 78.85.13.119
!
object-group network OBJ_IZH_VRS_IPF 
 host 85.140.32.141
 host 78.85.13.117
!
object-group network OBJ_IZH_VRS_PFV 
 host 85.140.32.178
 host 94.181.119.90
 host 78.85.33.50
!
object-group network OBJ_VOT_VRS_VPF 
 host 78.85.13.118
 host 88.80.33.14
!
object-group network OBJ_MSB_TMA_MSB 
 host 78.138.182.214
!
object-group network OBJ_KIB_TMA_KIB 
 host 78.138.182.126
!
object-group network OBJ_PRM_VRS_MPF 
 host 178.47.130.10
 host 5.227.121.127
!
object-group network OBJ_LAI_VRS_DPF 
 host 178.205.241.114
 host 46.232.164.108
!
object-group network OBJ_SHM_TMA_SHM 
 host 89.232.91.106
 host 31.173.182.210
!
object-group network OBJ_EVL_TMA_EVL 
 host 89.232.102.166
!
object-group network OBJ_ITL_VST_ITL 
 host 5.227.124.130
 host 78.85.34.99
 host 81.211.13.82
!
object-group network OBJ_MZH_VST_MZH 
 host 88.80.33.250
 host 83.169.220.171
!
object-group network OBJ_KIA_VST_KIA 
 host 85.140.32.24
 host 188.94.168.238
!
object-group network OBJ_KGB_VST_KBB 
 host 78.85.37.88
 host 88.80.33.154
!
object-group network OBJ_SAR_VST_SMK 
 host 78.85.19.93
 host 88.80.33.234
!
object-group network OBJ_KNK_VST_KMK 
 host 178.161.242.67
!
object-group network OBJ_IZH_KM_S61 
 host 84.201.247.32
 host 88.80.33.194
!
object-group network OBJ_YAN_GKZ_YEL 
 host 77.94.97.222
!
object-group network OBJ_KUN_KMK_B2 
 94.138.150.0 255.255.255.0
!
object-group network OBJ_KUN_KMK_H80 
 host 178.161.207.26
 host 77.43.193.88
!
object-group network OBJ_KUN_KMK_CH9 
 host 178.47.128.98
 host 194.150.90.20
!
object-group network OBJ_KGB_RN_KGB 
 host 78.85.13.165
!
object-group network OBJ_NCH_RN_NCH 
 host 78.85.13.166
!
object-group network OBJ_PRI_RN_PRI 
 host 78.85.13.167
!
object-group network OBJ_URN_RN_URN 
 host 78.85.20.49
!
object-group network OBJ_MZH_TK_TKM 
 host 88.80.32.230
 host 78.85.35.34
!
object-group network OBJ_GLZ_TK_TKG 
 host 95.215.208.240
 host 146.120.104.235
 host 95.215.208.173
!
object-group network OBJ_IZH_TK_M21 
 host 84.201.242.133
!
object-group network OBJ_IZH_HLA_PP 
 host 92.61.17.250
!
object-group network OBJ_IZH_HLA_UHK 
 host 92.55.7.148
!
object-group network OBJ_IZH_VD_VS17 
 host 84.201.247.100
!
object-group network OBJ_IZH_KS_H17 
 85.140.32.64 255.255.255.252
 host 85.140.32.63
 host 85.140.32.68
!
object-group network OBJ_IZH_KI_VOR158 
 host 46.147.130.59
 host 5.227.125.126
!
object-group network OBJ_SPB_KG_SPB 
 host 62.141.114.190
 host 94.72.27.43
!
object-group network OBJ_BRANCHES 
 group-object OBJ_IZH_MLK_IZM
 group-object OBJ_IZH_KG_P11
 group-object OBJ_IZH_VST_IZM
 group-object OBJ_IZH_TK_M44
 group-object OBJ_IZH_TK_M48
 group-object OBJ_IZH_TK_SMR
 group-object OBJ_MSK_KG_MSK
 group-object OBJ_GLZ_MLK_GMK
 group-object OBJ_KZN_MLK_KMK
 group-object OBJ_KEZ_MLK_KZS
 group-object OBJ_PRM_MLK_PHK
 group-object OBJ_SAR_MLK_SRM
 group-object OBJ_CLB_MLK_CMK
 group-object OBJ_BBN_RN_BBN
 group-object OBJ_GLZ_GKZ_GKZ
 group-object OBJ_KIA_RN_KIA
 group-object OBJ_IZH_TZK_TZK
 group-object OBJ_IZH_MK_VS17
 group-object OBJ_IZH_KL_KLI
 group-object OBJ_EKB_KG_EKB
 group-object OBJ_IZH_KEN_VS56
 group-object OBJ_IZH_VRS_IZM
 group-object OBJ_GLZ_VRS_UPF
 group-object OBJ_IZH_VRS_IPF
 group-object OBJ_IZH_VRS_PFV
 group-object OBJ_VOT_VRS_VPF
 group-object OBJ_MSB_TMA_MSB
 group-object OBJ_KIB_TMA_KIB
 group-object OBJ_PRM_VRS_MPF
 group-object OBJ_LAI_VRS_DPF
 group-object OBJ_BBN_VST_BBN
 group-object OBJ_SHM_TMA_SHM
 group-object OBJ_EVL_TMA_EVL
 group-object OBJ_ITL_VST_ITL
 group-object OBJ_MZH_VST_MZH
 group-object OBJ_KIA_VST_KIA
 group-object OBJ_KGB_VST_KBB
 group-object OBJ_SAR_VST_SMK
 group-object OBJ_KNK_VST_KMK
 group-object OBJ_IZH_KM_S61
 group-object OBJ_YAN_GKZ_YEL
 group-object OBJ_KUN_KMK_B2
 group-object OBJ_KUN_KMK_H80
 group-object OBJ_KUN_KMK_CH9
 group-object OBJ_KGB_RN_KGB
 group-object OBJ_NCH_RN_NCH
 group-object OBJ_PRI_RN_PRI
 group-object OBJ_URN_RN_URN
 group-object OBJ_MZH_TK_TKM
 group-object OBJ_GLZ_TK_TKG
 group-object OBJ_IZH_TK_M21
 group-object OBJ_IZH_HLA_PP
 group-object OBJ_IZH_HLA_UHK
 group-object OBJ_IZH_VD_VS17
 group-object OBJ_IZH_KS_H17
 group-object OBJ_IZH_KI_VOR158
 group-object OBJ_SPB_KG_SPB
!
object-group network RUSSIAN_NIVA 
 host 78.85.13.165
 host 78.85.13.166
 host 78.85.13.167
 host 78.85.21.21
!
object-group network STATIC_ISP_IP 
 host 85.140.32.104
 host 78.85.13.205
!
username netadmin privilege 15 secret 5 $1$Xaaa$53sDIZvqLgpSlT2KwcSYi0
!
redundancy
 notification-timer 120000
!
!
!
!
!
track 1 ip sla 1 reachability
 delay down 10 up 5
!
track 2 ip sla 2 reachability
 delay down 10 up 5
!
track 3 ip sla 3 reachability
 delay down 10 up 5
!
track 4 ip sla 4 reachability
 delay down 10 up 5
!
track 5 ip sla 5 reachability
 delay down 10 up 5
!
track 6 ip sla 6 reachability
 delay down 10 up 5
!
track 10 list boolean or
 object 1
 object 2
 object 3
 object 4
 object 5
 object 6
 delay down 5 up 30
!
track 11 ip sla 11 reachability
 delay down 10 up 5
!
track 12 ip sla 12 reachability
 delay down 10 up 5
!
track 13 ip sla 13 reachability
 delay down 10 up 5
!
track 14 ip sla 14 reachability
 delay down 10 up 5
!
track 15 ip sla 15 reachability
 delay down 10 up 5
!
track 16 ip sla 16 reachability
 delay down 10 up 5
!
track 20 list boolean or
 object 11
 object 12
 object 13
 object 14
 object 15
 object 16
 delay down 5 up 30
!
pseudowire-class pw-class-ka
 encapsulation l2tpv2
 ip local interface Vlan102
!
! 
crypto logging session
!
crypto isakmp policy 150
 encr aes
 authentication pre-share
 group 2
crypto isakmp key mlk20kom19 address 0.0.0.0         no-xauth
crypto isakmp keepalive 30
crypto isakmp nat keepalive 10
!
!
crypto ipsec transform-set CRYPTO_TS_DMVPN esp-aes esp-sha-hmac 
 mode transport
!
crypto ipsec profile CRYPTO_IPSEC_DMVPN
 description --SPOKE_TO_SITE_DMVPN_IPSEC_GRE--
 set transform-set CRYPTO_TS_DMVPN 
!
crypto ipsec profile CRYPTO_IPSEC_DMVPN_FOR_TU_1002
 description --SPOKE_TO_SITE_DMVPN_IPSEC_GRE--
 set transform-set CRYPTO_TS_DMVPN 
!
!
!
!
!
!
!
!
interface Tunnel1001
 description --DMVPN_SPOKE_45_CLOUD_1--
 ip address 172.30.1.47 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip mtu 1400
 ip nhrp authentication M_K.Cl01
 ip nhrp map 172.30.1.1 85.140.32.27
 ip nhrp map 172.30.1.2 78.85.13.42
 ip nhrp map multicast 85.140.32.27
 ip nhrp map multicast 78.85.13.42
 ip nhrp network-id 1001
 ip nhrp holdtime 300
 ip nhrp nhs 172.30.1.1
 ip nhrp nhs 172.30.1.2
 ip tcp adjust-mss 1360
 tunnel source Vlan102
 tunnel mode gre multipoint
 tunnel key 1001
 tunnel protection ipsec profile CRYPTO_IPSEC_DMVPN shared
!
interface Tunnel1002
 description --DMVPN_SPOKE_45_CLOUD_2--
 ip address 172.30.2.47 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip mtu 1400
 ip nhrp authentication M_K.Cl02
 ip nhrp map 172.30.2.1 5.227.124.143
 ip nhrp map 172.30.2.2 78.85.13.93
 ip nhrp map multicast 5.227.124.143
 ip nhrp map multicast 78.85.13.93
 ip nhrp network-id 1002
 ip nhrp holdtime 300
 ip nhrp nhs 172.30.2.1
 ip nhrp nhs 172.30.2.2
 ip tcp adjust-mss 1360
 tunnel source Vlan102
 tunnel mode gre multipoint
 tunnel key 1002
 tunnel protection ipsec profile CRYPTO_IPSEC_DMVPN_FOR_TU_1002 shared
!
interface FastEthernet0
 switchport access vlan 100
 no ip address
!
interface FastEthernet1
 description LOCAL_AREA
 switchport access vlan 10
 no ip address
!
interface FastEthernet2
 description ISP_MTS
 switchport access vlan 101
 no ip address
 shutdown
!
interface FastEthernet3
 description [ISP-50M] Rostelecom
 switchport access vlan 102
 no ip address
!
interface FastEthernet4
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Virtual-PPP1
 description L2TP Tunnel
 ip address negotiated
 ip mtu 1450
 ip tcp adjust-mss 1400
 no keepalive
 ppp chap hostname RN_l2tp_user1
 ppp chap password 7 107C1C2A361E13055D5C24223209
 pseudowire 78.85.13.165 10 encapsulation l2tpv2 pw-class pw-class-ka
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan10
 description LOCAL_AREA
 ip address 10.5.194.254 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip flow ingress
 ip flow egress
 ip dns view-group DNS_ACCESS_AREA_10
 ip nat inside
 ip virtual-reassembly in
 arp timeout 600
!
interface Vlan101
 description ISP_MTS
 ip address 85.140.32.104 255.255.255.0
 ip access-group FIREWALL in
 ip inspect INTERNET out
 ip virtual-reassembly in
!
interface Vlan102
 description ISP_ROSTELECOM
 ip address 78.85.13.205 255.255.255.0
 ip access-group FIREWALL in
 ip nat outside
 ip inspect INTERNET out
 ip virtual-reassembly in
!
router ospf 1
 router-id 10.5.194.254
 area 1 default-cost 10
 passive-interface default
 no passive-interface Virtual-PPP1
 network 10.5.193.0 0.0.0.127 area 1
 network 10.5.194.0 0.0.0.255 area 1
!
router bgp 64536
 bgp log-neighbor-changes
 bgp graceful-restart
 aggregate-address 10.5.194.0 255.255.254.0
 redistribute connected route-map RM_BGP_REDISTR_CON
 neighbor PG_BGP_OCOD peer-group
 neighbor PG_BGP_OCOD remote-as 64512
 neighbor PG_BGP_OCOD next-hop-self
 neighbor PG_BGP_OCOD soft-reconfiguration inbound
 neighbor PG_BGP_OCOD route-map RM_BGP_TO_HUB out
 neighbor PG_BGP_RCOD peer-group
 neighbor PG_BGP_RCOD remote-as 64513
 neighbor PG_BGP_RCOD next-hop-self
 neighbor PG_BGP_RCOD soft-reconfiguration inbound
 neighbor PG_BGP_RCOD route-map RM_BGP_TO_HUB out
 neighbor 172.30.1.1 peer-group PG_BGP_OCOD
 neighbor 172.30.1.2 peer-group PG_BGP_OCOD
 neighbor 172.30.2.1 peer-group PG_BGP_RCOD
 neighbor 172.30.2.2 peer-group PG_BGP_RCOD
 distance bgp 150 150 150
!
ip local policy route-map RM_SELF
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip flow-export source Vlan10
ip flow-export version 5
ip flow-export destination 10.4.0.215 9995
ip flow-export destination 10.4.0.217 9995
ip flow-top-talkers
 top 10
 sort-by bytes
 cache-timeout 20000
!
ip tftp source-interface Vlan10
ip dns view KOMOS.LOCAL.10
 domain name komos.local
 domain list komos.local
 domain round-robin
 dns forwarder 192.168.1.21
 dns forwarder 192.168.1.100
 dns forwarding source-interface Vlan10
ip dns view MILKOM-KOMOS.RU.10
 domain name milkom-komos.ru
 domain list milkom-komos.ru
 domain round-robin
 dns forwarder 192.168.8.200
 dns forwarder 192.168.8.201
 dns forwarding source-interface Vlan10
ip dns view UDMPF.LOCAL.10
 domain name udmpf.local
 domain list udmpf.local
 domain round-robin
 dns forwarder 10.8.0.11
 dns forwarder 10.8.0.12
 dns forwarding source-interface Vlan10
ip dns view default
 dns forwarder 77.88.8.1
 dns forwarder 8.8.4.4
ip dns view-list DNS_ACCESS_AREA_10
 view KOMOS.LOCAL.10 10
  restrict name-group 1
 view MILKOM-KOMOS.RU.10 20
  restrict name-group 2
 view UDMPF.LOCAL.10 30
  restrict name-group 3
 view default 100
ip dns name-list 1 permit .*\.KOMOS\.LOCAL
ip dns name-list 1 permit 192\.IN-ADDR
ip dns name-list 1 permit .*\.KOMOS-GROUP\.RU
ip dns name-list 1 permit .*\.KOMOS\.RU
ip dns name-list 2 permit .*\.MILKOM-KOMOS\.RU
ip dns name-list 2 permit 192\.IN-ADDR
ip dns name-list 3 permit .*\.UDMPF\.LOCAL
ip dns server view-group DNS_ACCESS_AREA_10
ip dns server
ip nat translation timeout 450
ip nat translation tcp-timeout 300
ip nat translation pptp-timeout 1800
ip nat translation udp-timeout 45
ip nat translation dns-timeout 5
ip nat translation port-timeout tcp 110 60
ip nat translation port-timeout tcp 25 60
ip nat translation port-timeout tcp 80 15
ip nat translation port-timeout udp 5060 180
ip nat inside source route-map ISP_1 interface Vlan101 overload
ip nat inside source route-map ISP_2 interface Vlan102 overload
ip nat inside source static tcp 10.5.194.10 4899 78.85.13.205 40001 extendable
ip nat inside source static tcp 10.5.194.100 80 78.85.13.205 40080 extendable
ip nat inside source static tcp 10.5.194.99 554 78.85.13.205 40554 extendable
ip nat inside source static tcp 10.5.194.99 8081 78.85.13.205 40555 extendable
ip nat inside source static tcp 10.5.194.10 3389 78.85.13.205 43210 extendable
ip nat inside source static tcp 10.5.194.100 8091 78.85.13.205 48091 extendable
ip nat inside source static tcp 10.5.194.100 8192 78.85.13.205 48192 extendable
ip nat inside source static tcp 10.5.194.100 8899 78.85.13.205 48899 extendable
ip nat inside source static tcp 10.5.194.10 4899 85.140.32.104 40001 extendable
ip nat inside source static tcp 10.5.194.100 80 85.140.32.104 40080 extendable
ip nat inside source static tcp 10.5.194.99 554 85.140.32.104 40554 extendable
ip nat inside source static tcp 10.5.194.99 8081 85.140.32.104 40555 extendable
ip nat inside source static tcp 10.5.194.10 3389 85.140.32.104 43210 extendable
ip nat inside source static tcp 10.5.194.100 8091 85.140.32.104 48091 extendable
ip nat inside source static tcp 10.5.194.100 8192 85.140.32.104 48192 extendable
ip nat inside source static tcp 10.5.194.100 8899 85.140.32.104 48899 extendable
ip route 0.0.0.0 0.0.0.0 78.85.13.1 50 name --RT--
ip route 0.0.0.0 0.0.0.0 85.140.32.1 100 name --MTS--
ip route 10.1.51.0 255.255.255.0 Virtual-PPP1
ip route 85.140.32.27 255.255.255.255 78.85.13.1
ip route 192.168.2.202 255.255.255.255 Virtual-PPP1
ip ssh rsa keypair-name SSH_KEY
ip ssh version 2
ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
!
ip access-list extended ACL_FOR_NAT
 deny   ip any 10.0.0.0 0.255.255.255
 deny   ip any 192.168.0.0 0.0.255.255
 deny   ip any 172.16.0.0 0.15.255.255
 permit ip 10.5.194.0 0.0.1.255 any
ip access-list extended FIREWALL
 permit ip object-group OBJ_BRANCHES object-group STATIC_ISP_IP
 permit icmp any any
 permit ip host 78.85.25.1 object-group STATIC_ISP_IP
 permit gre object-group RUSSIAN_NIVA object-group STATIC_ISP_IP
 permit udp object-group RUSSIAN_NIVA object-group STATIC_ISP_IP
 permit tcp object-group RUSSIAN_NIVA object-group STATIC_ISP_IP
 permit tcp any object-group STATIC_ISP_IP eq 40080
 permit tcp any object-group STATIC_ISP_IP eq 40554
 permit tcp any object-group STATIC_ISP_IP eq 40555
 permit tcp any object-group STATIC_ISP_IP eq 48091
 permit tcp any object-group STATIC_ISP_IP eq 48192
 permit tcp any object-group STATIC_ISP_IP eq 48899
 deny   tcp any object-group STATIC_ISP_IP eq 43210
 deny   tcp any object-group STATIC_ISP_IP eq 40001
 deny   tcp any object-group STATIC_ISP_IP eq 40000
!
!
ip prefix-list PFL_BGP_REDISTR_CON seq 10 permit 10.0.0.0/8 le 24
!
ip prefix-list PFL_TO_HUB seq 10 permit 10.5.194.0/23
ip sla auto discovery
ip sla 1
 icmp-echo 8.8.8.8 source-ip 85.140.32.104
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 1 life forever start-time now
ip sla 2
 icmp-echo 8.8.4.4 source-ip 85.140.32.104
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 2 life forever start-time now
ip sla 3
 icmp-echo 77.88.8.8 source-ip 85.140.32.104
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 3 life forever start-time now
ip sla 4
 icmp-echo 77.88.8.1 source-ip 85.140.32.104
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 4 life forever start-time now
ip sla 5
 icmp-echo 77.88.8.88 source-ip 85.140.32.104
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 5 life forever start-time now
ip sla 6
 icmp-echo 77.88.8.2 source-ip 85.140.32.104
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 6 life forever start-time now
ip sla 11
 icmp-echo 8.8.8.8 source-ip 78.85.13.205
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 11 life forever start-time now
ip sla 12
 icmp-echo 8.8.4.4 source-ip 78.85.13.205
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 12 life forever start-time now
ip sla 13
 icmp-echo 77.88.8.8 source-ip 78.85.13.205
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 13 life forever start-time now
ip sla 14
 icmp-echo 77.88.8.1 source-ip 78.85.13.205
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 14 life forever start-time now
ip sla 15
 icmp-echo 77.88.8.88 source-ip 78.85.13.205
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 15 life forever start-time now
ip sla 16
 icmp-echo 77.88.8.2 source-ip 78.85.13.205
 threshold 2000
 timeout 3000
 frequency 10
ip sla schedule 16 life forever start-time now
logging origin-id hostname
logging source-interface Vlan10
logging host 10.4.244.4 transport udp port 515
ipv6 ioam timestamp
!
route-map RM_BGP_REDISTR_CON permit 10
 match ip address prefix-list PFL_BGP_REDISTR_CON
!
route-map ISP_1 permit 10
 match ip address ACL_FOR_NAT
 match interface Vlan101
!
route-map ISP_2 permit 10
 match ip address ACL_FOR_NAT
 match interface Vlan102
!
route-map RM_BGP_TO_HUB permit 10
 match ip address prefix-list PFL_TO_HUB
!
route-map RM_SELF permit 10
 match ip address 11
 set ip next-hop 85.140.32.1
!
route-map RM_SELF permit 20
 match ip address 12
 set ip next-hop 78.85.13.1
!
route-map RM_BGP_FROM_HUB permit 10
 set local-preference 1000
!
snmp-server community lmTUEsk6Yvlv RO
snmp-server host 10.5.192.229 lmTUEsk6Yvlv 
snmp-server host 192.168.8.99 lmTUEsk6Yvlv 
access-list 11 permit 85.140.32.104
access-list 12 permit 78.85.13.205
!
radius server IZH-RDS002
 address ipv4 10.4.0.248 auth-port 1645 acct-port 1646
 timeout 3
 retransmit 2
 key 7 000C0A0D227A2A2627261576501F1618193C04513B73332D2976642D064F0F285F4354577C251B14245C4A0461770275094832147240003138367E38204B24661E
!
radius server P11-RDS003
 address ipv4 10.1.122.248 auth-port 1645 acct-port 1646
 timeout 3
 retransmit 2
 key 7 000C0A0D227A2A2627261576501F1618193C04513B73332D2976642D064F0F285F4354577C251B14245C4A0461770275094832147240003138367E38204B24661E
!
!
!
control-plane
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
!
gateway 
 timer receive-rtp 1200
!
!
no vstack
!
line con 0
 logging synchronous
 login authentication CONSOLE
 no modem enable
 no domain-lookup
line aux 0
line vty 0 4
 exec-timeout 120 0
 logging synchronous
 login authentication NPS
 no domain-lookup
 transport input telnet ssh
line vty 5 15
 exec-timeout 120 0
 logging synchronous
 login authentication NPS
 no domain-lookup
 transport input telnet ssh
!
scheduler allocate 20000 1000
ntp source Vlan10
ntp server 192.168.8.200
ntp server 192.168.8.201
event manager applet --ROSTELEKOM_DOWN--
 event track 20 state down
 action 001 cli command "enable"
 action 002 cli command "conf t"
 action 003 cli command "pseudowire-class pw-class-ka"
 action 004 cli command "no ip local interface Vlan102"
 action 005 cli command "ip local interface Vlan101"
 action 006 cli command "end"
 action 007 syslog msg "ROSTELEKOM is DOWN"
event manager applet --ROSTELEKOM_UP--
 event track 20 state up
 action 001 cli command "enable"
 action 002 cli command "conf t"
 action 003 cli command "pseudowire-class pw-class-ka"
 action 004 cli command "no ip local interface Vlan101"
 action 005 cli command "ip local interface Vlan102"
 action 006 cli command "end"
 action 007 syslog msg "ROSTELEKOM is UP"
event manager applet --MTS_UP--
 event track 10 state up
 action 001 cli command "enable"
 action 002 cli command "conf t"
 action 003 cli command "interface Vlan101"
 action 004 cli command "ip nat outside"
 action 005 cli command "ip route 0.0.0.0 0.0.0.0 78.85.13.1 150 name --RT--"
 action 006 cli command "end"
 action 007 cli command "clear ip nat translation *"
 action 008 syslog msg "MTS is UP"
event manager applet --MTS_DOWN--
 event track 10 state down
 action 001 cli command "enable"
 action 002 cli command "conf t"
 action 003 cli command "interface Vlan101"
 action 004 cli command "no ip nat outside"
 action 005 cli command "ip route 0.0.0.0 0.0.0.0 78.85.13.1 50 name --RT--"
 action 006 cli command "end"
 action 007 cli command "clear ip nat translation *"
 action 008 syslog msg "MTS is DOWN"
!
end