IP TECH III/BGP eksempel

From Teknologisk videncenter
< IP TECH III
Revision as of 11:45, 16 December 2010 by Heth (talk | contribs) (New page: <source lang=cli> interface Loopback0 ip address 1.1.1.1 255.255.255.255 ! interface Loopback100 ip address 192.168.1.1 255.255.255.0 ! interface Loopback200 ip address 205.1.0.1 255.25...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface Loopback100
 ip address 192.168.1.1 255.255.255.0
!
interface Loopback200
 ip address 205.1.0.1 255.255.255.0
!
interface Loopback201
 ip address 205.1.1.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 172.16.1.1 255.255.255.252
 speed auto
 full-duplex
 no mop enabled
!
interface Serial0/0
 ip address 172.16.1.5 255.255.255.252
 shutdown
 no fair-queue
!
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 1.1.1.1 mask 255.255.255.255
 network 192.168.1.0
 network 205.1.0.0
 network 205.1.1.0
 aggregate-address 205.1.0.0 255.255.254.0 summary-only
 neighbor 172.16.1.2 remote-as 200
 neighbor 172.16.1.2 prefix-list STOP out
 no auto-summary
!
ip prefix-list STOP seq 5 deny 192.168.1.0/24
ip prefix-list STOP seq 100 permit 0.0.0.0/0 le 32