Hirdetés
- ubyegon2: Airfryer XL XXL forrólevegős sütő gyakorlati tanácsok, ötletek, receptek
- bambano: Bambanő háza tája
- D1Rect: Nagy "hülyétkapokazapróktól" topik
- sziku69: Fűzzük össze a szavakat :)
- hege8888: Retro Kocka Kuckó harmadjára Hódmezővásárhelyen
- Luck Dragon: Asszociációs játék. :)
- Geri Bátyó: Agglegénykonyha 10 – Alapanyagok/készételek többféle felhasználása
- Jhonny06: Új gépsárkány
- laca223: Miért győz a kollektív meggyőződés akkor is, ha saját magát teszi tönkre?
- Luck Dragon: Alza kuponok – aktuális kedvezmények, tippek és tapasztalatok (külön igényre)
-
LOGOUT
--- Még az új vizsgarendszer előtti információk, majd frissítjük! ---
Gyakran ismételt kérdések
Olvasd el a cikkeket itt.
Új hozzászólás Aktív témák
-
crok
Topikgazda
Prefix-list 101 - kellett ma egy srácnak valami kézzelfoghatóbb mint a Google..
http://www.ciscopress.com/articles/article.asp?p=2273507&seqNum=11
http://blog.ine.com/2007/12/26/how-do-prefix-lists-work/
http://packetlife.net/blog/2010/feb/1/understanding-ip-prefix-lists/To limit/filter sending or receiving of prefixes via BGP we can use prefix lists:
Example config:
How it is applied:
router bgp 65000
neighbor 1.2.3.4 prefix-list permit-bgp-default-and-some-others-only-from-pe inip prefix-list permit-bgp-default-and-some-others-only-from-pe seq 50 permit 10.15.20.0/24
ip prefix-list permit-bgp-default-and-some-others-only-from-pe seq 51 permit 10.15.30.0/24
ip prefix-list permit-bgp-default-and-some-others-only-from-pe seq 100 permit 0.0.0.0/0
This will allow only 10.15.20.0/24, 10.15.30.0/24 and the default route to be learned and installed to the routing table.ip prefix-list permit-bgp-default-only-from-netw seq 50 deny 10.15.20.0/24
ip prefix-list permit-bgp-default-only-from-netw seq 51 deny 10.15.30.0/24
ip prefix-list permit-bgp-default-only-from-netw seq 100 permit 0.0.0.0/0 le 32
This will deny 10.15.20.0/24, 10.15.30.0/24 and allow everything else to be learned and installed to the routing table.So, you can specify the subnet mask of the prefixes (most likely) like:
/##: exact match
/## le #: longer or equal - match the subnet with prefix length ## or has prefix length up to #, prefix length must be between ## and # but not longer
/## ge #: greater or equal - match the subnet with prefix length ## or has prefix length down to #, prefix length must be between ## and # but not longerip prefix-list permit-bgp-default-only-from-netw seq 105 permit 10.15.30.0/24 le 30
This is permitting every prefixes that matches into 10.15.30.0/24 and the prefix length ("subnet mask") is not more than 30.
For example it matches 10.15.30.0/24, 10.15.30.64/26 and 10.15.30.192/27 but not matching 10.15.30.254/32.ip prefix-list permit-bgp-default-only-from-netw seq 110 permit 10.0.0.0/8 ge 24
This is permitting everything between from 10.0.0.0/8 range up to the prefix length /24
For example it matches 10.0.0.0/8, 10.12.0.0/16, 10.12.34.0/24 but not mathing 10.12.34.64/26 because it's length is longer than /24..ip prefix-list permit-bgp-default-only-from-netw seq 115 permit 10.0.0.0/8 ge 24 le 26
For example it matches 10.15.30.0/24, 10.15.30.128/25 and 10.15.30.192/26 but but not matching 10.15.0.0/16 nor 10.15.30.254/32.Seq is to identify the statement in the config - like in ACLs, it is needed for modification, deletion, addition..
ProTip: if you change the config of a prefix-list that is somehow attached to a BGP peer you should clear the BGP peer to make the change happen in the BGP table (soft or hard reset both works most of the time.. of soft does not do the trick do the hard kick) like clear ip bgp and stuff..
[Bocs hogy angol, de így mehet majd ki bárkinek aki legközelebb megkeres ezzel, mindegy milyen országban ül.. meg amúgy is a szama nyelve az angol ( : ]
Új hozzászólás Aktív témák
- Kérlek használd a keresőt, mielőtt kérdezel!
- Olvasd el a téma összefoglalót mielőtt kérdezel!
- A dumpok és a warez tiltott témának számítanak!
- ubyegon2: Airfryer XL XXL forrólevegős sütő gyakorlati tanácsok, ötletek, receptek
- Arany-fekete színben is elérhető a profi dínó
- Házak után a VGA: ASRock csúcskártya kijelzővel
- AMD Ryzen 9 / 7 / 5 7***(X) "Zen 4" (AM5)
- Nem hiszed el, mi a Firefox új célja
- Xiaomi Watch 2 Pro - oké, Google, itt vagyunk mi is
- Ford topik
- 3D nyomtatás
- Microsoft Excel topic
- Óra topik
- További aktív témák...
- Asus RGB gamer pc Z790 i5/i7/i9 13600k 32GB DDR5 6400MHz nvidia RTX 5050 + garancia
- BESZÁMÍTÁS! Samsung S27D850T 27 75Hz PLS QHD 5ms monitor garanciával hibátlan működéssel
- BESZÁMÍTÁS! Asus VG27AQL3A 27 180Hz IPS QHD 1ms monitor garanciával hibátlan működéssel
- Lexar Ares RGB 32GB (2x16GB) DDR5 6000MHz CL28 - Élettartam garancia
- HP E2620 J9626A-48port - Managed switch
- Macbook Air M3 15" 16GB 256GB 100%
- Xiaomi 14T 25,Újszerű,Dobozával,12 hónap garanciával
- BESZÁMÍTÁS! MSI Thin GF63 12VF-1279XHU Gamer notebook-i5 12450H 16GB DDR4 512GB SSD RTX 4060 8GB W11
- Egyedi névre szóló karácsonyfadísz rendelhető! 3D Nyomtatott!
- LG 27GR95QE - 27" OLED / QHD 2K / 240Hz & 0.03ms / NVIDIA G-Sync / FreeSync Premium / HDMI 2.1
Állásajánlatok
Cég: Laptopszaki Kft.
Város: Budapest
Cég: BroadBit Hungary Kft.
Város: Budakeszi
FecoGee
crok
