Upload
massimo-agostini
View
215
Download
0
Embed Size (px)
DESCRIPTION
chess
Citation preview
******************* POP Primario *******************
Verificare se c':
router bgp 3269 neighbor BACKUP peer-group neighbor BACKUP remote-as 65101 neighbor BACKUP version 4 neighbor BACKUP prefix-list deny-all out neighbor BACKUP route-map BACKUP in
e
!route-map BACKUP permit 10 match as-path 101 match community 99!
router bgp 3269 neighbor [ptp cliente tir1] peer-group BACKUP neighbor [ptp cliente tir1] description [NOMECLIENTE]-Primario neighbor [ptp cliente tir1] prefix-list [NOMECLIENTE] in
neighbor [ptp cliente tir2] peer-group BACKUP neighbor [ptp cliente tir2] description [NOMECLIENTE]_2-Backup neighbor [ptp cliente tir2] prefix-list [NOMECLIENTE]_2 in
ip as-path access-list 101 permit ^65101$
ip community-list 99 permit no-advertise
ip prefix-list deny-all seq 5 deny 0.0.0.0/0
ip prefix-list [NOMECLIENTE] seq 5 permit [192.168.1.x1]/32ip prefix-list [NOMECLIENTE]_2 seq 5 permit [192.168.1.x2]/32
no ip route [retelancliente] [mask] [ATM] tag 1000
ip route [retelancliente] [mask] [192.168.1.x1] tag 1000ip route [retelancliente] [mask] [192.168.1.x2] 250 tag 1200
Se non funziona inserire:
route-map redistr-statiche-bgp permit 10 set ip next-hop [loopback della L0 del POP]
************************************************************************
******************* TIR Primario *******************
!interface Ethernet0/0 no ip address ip address [lan cliente] [mask] standby 1 priority 100 standby 1 preempt standby 1 ip [ip virtuale] standby 1 track Serial0/0.1!!router bgp 65101 bgp log-neighbor-changes network [192.168.1.x1] mask 255.255.255.255 neighbor [ptpclientepop1] remote-as 3269 neighbor [ptpclientepop1] version 4 neighbor [ptpclientepop1] send-community neighbor [ptpclientepop1] route-map no-adv out!ip route 0.0.0.0 0.0.0.0 Serial0/0.1ip route [192.168.1.x1] 255.255.255.255 Ethernet0/0
!route-map no-adv permit 10 set community no-advertise!
************************************************************************
********************* TIR Secondario *********************
! interface FastEthernet0 no ip redirects ip address [lan cliente] [mask] standby 1 ip [ip virtuale] standby 1 priority 95 standby 1 preempt!
router bgp 65101 bgp log-neighbor-changes network [192.168.1.x2] mask 255.255.255.255 neighbor [ptpclientepop2] remote-as 3269 neighbor [ptpclientepop2] version 4 neighbor [ptpclientepop2] send-community neighbor [ptpclientepop2] route-map no-adv out
!!route-map no-adv permit 10 set community no-advertise!
ip route 0.0.0.0 0.0.0.0 Serial0/0.1ip route [192.168.1.x2] 255.255.255.255 Ethernet0/0
access-list 103 permit tcp [ptp cliente tir1] 0.0.0.0 any established