IzzyMenu.com

BGP °ü·Ã ÀÚ·á¹× ÀÚü °­ÀÇ ÀÚ·á

 ·Î±×ÀÎ  È¸¿ø°¡ÀÔ

[Exam-1] AS-PATH Filtering
ANTON  2009-06-30 00:39:36, Á¶È¸ : 549, Ãßõ : 84

neighbor 150.100.1.254 route-map filterBB1 in
neighbor 150.100.1.254 maximum-prefix 20 100
ip as-path access-list 10 permit ^254(_[0-9]+)?$
!
!
ip prefix-list net197 seq 10 permit 197.68.1.0/24
ip prefix-list net197 seq 20 permit 197.68.3.0/24
ip prefix-list net197 seq 30 permit 197.68.5.0/24
route-map filterBB1 permit 10
match ip address prefix-list net197
match as-path 10

R1#sh ip bgp        
BGP table version is 28, local router ID is 3.3.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.111.0/24     150.100.1.1                            0 254 1 i
*> 1.1.122.0/24     150.100.1.254                          0 254 1 i
*> 1.1.133.0/24     150.100.1.254                          0 254 1 i
*> 1.1.144.0/24     150.100.1.1                            0 254 1 i
*> 3.3.111.0/24     0.0.0.0                  0         32768 i
*> 3.3.122.0/24     3.3.2.2                  0             0 103 i
*>i3.3.133.0/24     3.3.3.3                  0    100      0 103 i
*>i3.3.144.0/24     3.3.4.4                  0    100      0 i
*> 4.4.111.0/24     150.100.1.254                          0 254 4 i
*> 4.4.122.0/24     150.100.1.254                          0 254 4 14 i
*> 4.4.133.0/24     150.100.1.254                          0 254 4 14 i
*> 4.4.144.0/24     150.100.1.254                          0 254 4 ?
*> 10.0.0.254/32    150.100.1.254            0             0 254 i
*> 20.0.0.254/32    150.100.1.254            0             0 254 i
*> 30.0.0.254/32    150.100.1.254            0             0 254 i
*> 40.0.0.254/32    150.100.1.254            0             0 254 i
*> 50.0.0.254/32    150.100.1.254            0             0 254 i
   Network          Next Hop            Metric LocPrf Weight Path
*> 60.0.0.254/32    150.100.1.254            0             0 254 i
*> 70.0.0.254/32    150.100.1.254            0             0 254 i
*> 80.0.0.254/32    150.100.1.254            0             0 254 i
*> 192.168.1.0      150.100.1.254            0             0 254 i
*> 192.168.2.0      150.100.1.254            0             0 254 i
*> 197.68.1.0       150.100.1.254            0             0 254 i
*> 197.68.3.0       150.100.1.254            0             0 254 i
*> 197.68.5.0       150.100.1.254            0             0 254 253 i
*> 197.68.21.0      150.100.1.254            0             0 254 253 i
*> 197.68.22.0      150.100.1.254            0             0 254 253 i
R1(config-router)#neighbor 150.100.1.254 maximum-prefix 20 100
*Mar  5 10:43:31.333: %BGP-5-ADJCHANGE: neighbor 150.100.1.254 Down Maximum-Prefix restart timeout
*Mar  5 10:43:31.601: %SYS-5-CONFIG_I: Configured from console by console
Building configuration...
[OK]
R1#
*Mar  5 10:43:49.789: %BGP-5-ADJCHANGE: neighbor 150.100.1.254 Up
R1#clear ip bgp * in
R1#sh ip bgp        
BGP table version is 54, local router ID is 3.3.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network          Next Hop            Metric LocPrf Weight Path
*> 3.3.111.0/24     0.0.0.0                  0         32768 i
*> 3.3.122.0/24     3.3.2.2                  0             0 103 i
*>i3.3.133.0/24     3.3.3.3                  0    100      0 103 i
*>i3.3.144.0/24     3.3.4.4                  0    100      0 i
*> 197.68.1.0       150.100.1.254            0             0 254 i
*> 197.68.3.0       150.100.1.254            0             0 254 i
*> 197.68.5.0       150.100.1.254            0             0 254 253 i
R1#


  ÃßõÇÏ±â   ¸ñ·Ïº¸±â

Copyright 1999-2024 Zeroboard / skin by zero