Published using Google Docs
Configurations_V8_AS-PATH_ACL
Updated automatically every 5 minutes

BGP. Настройка

Конфигурация других устройств базовая.

msk-arbat-gw1

hostname msk-arbat-gw1

!

interface Loopback0

 ip address 100.0.0.1 255.255.255.255

!

interface FastEthernet0/0

 description Balagan_Telecom_Internet

 ip address 101.0.0.2 255.255.255.252

 duplex auto

 speed auto

!

interface FastEthernet0/1

 description Philkin_Certificate_Internet

 ip address 102.0.0.2 255.255.255.252

 speed 100

 full-duplex

!

!

router bgp 64500

 no synchronization

 bgp log-neighbor-changes

 network 100.0.0.0 mask 255.255.254.0

 neighbor 101.0.0.1 remote-as 64501

 neighbor 101.0.0.1 filter-list 100 in

 neighbor 102.0.0.1 remote-as 64502

 no auto-summary

!        

ip route 100.0.0.0 255.255.254.0 Null0

!

ip as-path access-list 100 deny ^64501$

ip as-path access-list 100 permit .*