Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungBreeze TTS 2 vs ElevenLabs: Open Source TTS Verdict(23.09.2026 um 05:44 Uhr)
Sichere ProgrammierungAgentic AI vs Generative AI: The 2026 Verdict(23.09.2026 um 05:44 Uhr)
Sichere ProgrammierungI made my agent prove every quote against the source document(23.09.2026 um 05:45 Uhr)
Sichere Programmierung8mb.video Alternative: Skip the Line, Skip the Upsell(23.09.2026 um 05:47 Uhr)
Sichere ProgrammierungBuilding a GTA 6 JSON API for entities and current status(23.09.2026 um 05:52 Uhr)
Sichere ProgrammierungEvery filter needs a documented exception(23.09.2026 um 06:01 Uhr)
Sichere ProgrammierungBreeze TTS 2 vs ElevenLabs: Open Source TTS Verdict(23.09.2026 um 05:44 Uhr)
Sichere ProgrammierungAgentic AI vs Generative AI: The 2026 Verdict(23.09.2026 um 05:44 Uhr)
Sichere ProgrammierungI made my agent prove every quote against the source document(23.09.2026 um 05:45 Uhr)
Sichere Programmierung8mb.video Alternative: Skip the Line, Skip the Upsell(23.09.2026 um 05:47 Uhr)
Sichere ProgrammierungBuilding a GTA 6 JSON API for entities and current status(23.09.2026 um 05:52 Uhr)
Sichere ProgrammierungEvery filter needs a documented exception(23.09.2026 um 06:01 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Protocolo BGP ejemplo

hola *Configuración BGP básico * enable conf t hostname R1 # Configuración de interfaces interface s0/0/0 ip address 192.168.12.1 255.255.255.0 no shutdown exit interface s0/0/1 ip address 192.168.13.1 255.255.255.0 no sh…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

hola

*Configuración BGP básico *




enable
conf t
hostname R1

# Configuración de interfaces
interface s0/0/0
ip address 192.168.12.1 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 192.168.13.1 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.14.1 255.255.255.0
no shutdown
exit
interface g0/0
ip address 10.1.1.1 255.255.255.0
no shutdown
exit

# Configuración de BGP

router bgp 100
neighbor 192.168.12.2 remote-as 200
neighbor 192.168.13.2 remote-as 300
neighbor 192.168.14.2 remote-as 400
network 192.168.12.0 mask 255.255.255.0
network 192.168.13.0 mask 255.255.255.0
network 192.168.14.0 mask 255.255.255.0
network 10.1.1.0 mask 255.255.255.0
exit

-------------------------------------R2----------------------------------------
enable
conf t
hostname R2

# Configuración de interfaces
interface s0/0/0
ip address 192.168.12.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 192.168.23.1 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.24.1 255.255.255.0
no shutdown
exit
interface g0/0
ip address 10.2.2.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 200
neighbor 192.168.12.1 remote-as 100
neighbor 192.168.23.2 remote-as 300
neighbor 192.168.24.2 remote-as 600
network 192.168.12.0 mask 255.255.255.0
network 192.168.23.0 mask 255.255.255.0
network 192.168.24.0 mask 255.255.255.0
network 10.2.2.0 mask 255.255.255.0
exit
-------------------------------------R3----------------------------------------
enable
conf t
hostname R3

# Configuración de interfaces
interface s0/0/0
ip address 192.168.13.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 192.168.23.2 255.255.255.0
no shutdown
exit
interface g0/0
ip address 10.3.3.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 300
neighbor 192.168.13.1 remote-as 100
neighbor 192.168.23.1 remote-as 200
network 192.168.13.0 mask 255.255.255.0
network 192.168.23.0 mask 255.255.255.0
network 10.3.3.0 mask 255.255.255.0
exit

-------------------------------------R4----------------------------------------
enable
conf t
hostname R4

# Configuración de interfaces
interface s0/0/0
ip address 172.16.10.1 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 172.16.11.1 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.14.2 255.255.255.0
no shutdown
exit
interface g0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 400
neighbor 172.16.10.2 remote-as 500
neighbor 172.16.11.2 remote-as 600
neighbor 192.168.14.1 remote-as 100
network 172.16.10.0 mask 255.255.255.0
network 172.16.11.0 mask 255.255.255.0
network 192.168.14.0 mask 255.255.255.0
network 192.168.1.0 mask 255.255.255.0
exit

-------------------------------------R5----------------------------------------
enable
conf t
hostname R5

# Configuración de interfaces
interface s0/0/0
ip address 172.16.10.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 172.16.12.1 255.255.255.0
no shutdown
exit
interface g0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 500
neighbor 172.16.10.1 remote-as 400
neighbor 172.16.12.2 remote-as 600
network 172.16.10.0 mask 255.255.255.0
network 172.16.12.0 mask 255.255.255.0
network 192.168.2.0 mask 255.255.255.0
exit

-------------------------------------R6----------------------------------------
enable
conf t
hostname R6

# Configuración de interfaces
interface s0/0/0
ip address 172.16.11.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 172.16.12.2 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.24.2 255.255.255.0
no shutdown
exit
interface g0/0
ip address 192.168.3.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 600
neighbor 172.16.11.1 remote-as 400
neighbor 172.16.12.1 remote-as 500
neighbor 192.168.24.1 remote-as 200
network 172.16.11.0 mask 255.255.255.0
network 172.16.12.0 mask 255.255.255.0
network 192.168.24.0 mask 255.255.255.0
network 192.168.3.0 mask 255.255.255.0
exit




--------------------------------------
show run
show ip route







** Configuración BGP avanzado **




-------------------------------------R1----------------------------------------
enable
conf t
hostname R1

# Configuración de interfaces
interface s0/0/0
ip address 192.168.12.1 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 192.168.13.1 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.14.1 255.255.255.0
no shutdown
exit
interface g0/0
ip address 10.1.1.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 100
neighbor 192.168.12.2 remote-as 200
neighbor 192.168.12.2 send-community
neighbor 192.168.13.2 remote-as 300
neighbor 192.168.13.2 send-community
neighbor 192.168.14.2 remote-as 400
neighbor 192.168.14.2 send-community
network 192.168.12.0 mask 255.255.255.0
network 192.168.13.0 mask 255.255.255.0
network 192.168.14.0 mask 255.255.255.0
network 10.1.1.0 mask 255.255.255.0
bgp community new-format
ip bgp-community new-format
exit

# Preferencia y negación de rutas
ip community-list 1 permit 100:100
ip community-list 2 deny 100:200

route-map PREFERENCIA permit 10
match community 1
set local-preference 200
exit
route-map NEGAR deny 10
match community 2
exit

-------------------------------------R2----------------------------------------
enable
conf t
hostname R2

# Configuración de interfaces
interface s0/0/0
ip address 192.168.12.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 192.168.23.1 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.24.1 255.255.255.0
no shutdown
exit
interface g0/0
ip address 10.2.2.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 200
neighbor 192.168.12.1 remote-as 100
neighbor 192.168.12.1 send-community
neighbor 192.168.23.2 remote-as 300
neighbor 192.168.23.2 send-community
neighbor 192.168.24.2 remote-as 600
neighbor 192.168.24.2 send-community
network 192.168.12.0 mask 255.255.255.0
network 192.168.23.0 mask 255.255.255.0
network 192.168.24.0 mask 255.255.255.0
network 10.2.2.0 mask 255.255.255.0
exit

-------------------------------------R3----------------------------------------
enable
conf t
hostname R3

# Configuración de interfaces
interface s0/0/0
ip address 192.168.13.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 192.168.23.2 255.255.255.0
no shutdown
exit
interface g0/0
ip address 10.3.3.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 300
neighbor 192.168.13.1 remote-as 100
neighbor 192.168.13.1 send-community
neighbor 192.168.23.1 remote-as 200
neighbor 192.168.23.1 send-community
network 192.168.13.0 mask 255.255.255.0
network 192.168.23.0 mask 255.255.255.0
network 10.3.3.0 mask 255.255.255.0
exit

-------------------------------------R4----------------------------------------
enable
conf t
hostname R4

# Configuración de interfaces
interface s0/0/0
ip address 172.16.10.1 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 172.16.11.1 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.14.2 255.255.255.0
no shutdown
exit
interface g0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 400
neighbor 172.16.10.2 remote-as 500
neighbor 172.16.10.2 send-community
neighbor 172.16.11.2 remote-as 600
neighbor 172.16.11.2 send-community
neighbor 192.168.14.1 remote-as 100
neighbor 192.168.14.1 send-community
network 172.16.10.0 mask 255.255.255.0
network 172.16.11.0 mask 255.255.255.0
network 192.168.14.0 mask 255.255.255.0
network 192.168.1.0 mask 255.255.255.0
exit

-------------------------------------R5----------------------------------------
enable
conf t
hostname R5

# Configuración de interfaces
interface s0/0/0
ip address 172.16.10.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 172.16.12.1 255.255.255.0
no shutdown
exit
interface g0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 500
neighbor 172.16.10.1 remote-as 400
neighbor 172.16.10.1 send-community
neighbor 172.16.12.2 remote-as 600
neighbor 172.16.12.2 send-community
network 172.16.10.0 mask 255.255.255.0
network 172.16.12.0 mask 255.255.255.0
network 192.168.2.0 mask 255.255.255.0
exit

-------------------------------------R6----------------------------------------
enable
conf t
hostname R6

# Configuración de interfaces
interface s0/0/0
ip address 172.16.11.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 172.16.12.2 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.24.2 255.255.255.0
no shutdown
exit
interface g0/0
ip address 192.168.3.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 600
neighbor 172.16.11.1 remote-as 400
neighbor 172.16.11.1 send-community
neighbor 172.16.12.1 remote-as 500
neighbor 172.16.12.1 send-community
neighbor 192.168.24.1 remote-as 200
neighbor 192.168.24.1 send-community
network 172.16.11.0 mask 255.255.255.0
network 172.16.12.0 mask 255.255.255.0
network 192.168.24.0 mask 255.255.255.0
network 192.168.3.0 mask 255.255.255.0
exit






Configuración de BGP básico + ACl's




enable
conf t
hostname R1

# Configuración de interfaces
interface s0/0/0
ip address 192.168.12.1 255.255.255.0
ip access-group BLOCK_R2_TO_R1 in
no shutdown
exit
interface s0/0/1
ip address 192.168.13.1 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.14.1 255.255.255.0
no shutdown
exit
interface g0/0
ip address 10.1.1.1 255.255.255.0
no shutdown
exit

ip access-list extended BLOCK_R2_TO_R1
deny ip 10.2.2.0 0.0.0.255 10.1.1.0 0.0.0.255
permit ip any any

# Configuración de BGP

router bgp 100
neighbor 192.168.12.2 remote-as 200
neighbor 192.168.13.2 remote-as 300
neighbor 192.168.14.2 remote-as 400
network 192.168.12.0 mask 255.255.255.0
network 192.168.13.0 mask 255.255.255.0
network 192.168.14.0 mask 255.255.255.0
network 10.1.1.0 mask 255.255.255.0
exit

-------------------------------------R2----------------------------------------
enable
conf t
hostname R2

# Configuración de interfaces
interface s0/0/0
ip address 192.168.12.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 192.168.23.1 255.255.255.0
ip access-group BLOCK_R3_TO_R2 in
no shutdown
exit
interface s0/1/0
ip address 192.168.24.1 255.255.255.0
no shutdown
exit
interface g0/0
ip address 10.2.2.1 255.255.255.0
no shutdown
exit

ip access-list extended BLOCK_R3_TO_R2
deny ip 10.3.3.0 0.0.0.255 10.2.2.0 0.0.0.255
permit ip any any

# Configuración de BGP
router bgp 200
neighbor 192.168.12.1 remote-as 100
neighbor 192.168.23.2 remote-as 300
neighbor 192.168.24.2 remote-as 600
network 192.168.12.0 mask 255.255.255.0
network 192.168.23.0 mask 255.255.255.0
network 192.168.24.0 mask 255.255.255.0
network 10.2.2.0 mask 255.255.255.0
exit
-------------------------------------R3----------------------------------------
enable
conf t
hostname R3

# Configuración de interfaces
interface s0/0/0
ip address 192.168.13.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 192.168.23.2 255.255.255.0
ip access-group BLOCK_R4_TO_R3 in
no shutdown
exit
interface g0/0
ip address 10.3.3.1 255.255.255.0
no shutdown
exit

ip access-list extended BLOCK_R4_TO_R3
deny ip 192.168.1.0 0.0.0.255 10.3.3.0 0.0.0.255
permit ip any any

# Configuración de BGP
router bgp 300
neighbor 192.168.13.1 remote-as 100
neighbor 192.168.23.1 remote-as 200
network 192.168.13.0 mask 255.255.255.0
network 192.168.23.0 mask 255.255.255.0
network 10.3.3.0 mask 255.255.255.0
exit

-------------------------------------R4----------------------------------------
enable
conf t
hostname R4

# Configuración de interfaces
interface s0/0/0
ip address 172.16.10.1 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 172.16.11.1 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.14.2 255.255.255.0
no shutdown
exit
interface g0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 400
neighbor 172.16.10.2 remote-as 500
neighbor 172.16.11.2 remote-as 600
neighbor 192.168.14.1 remote-as 100
network 172.16.10.0 mask 255.255.255.0
network 172.16.11.0 mask 255.255.255.0
network 192.168.14.0 mask 255.255.255.0
network 192.168.1.0 mask 255.255.255.0
exit

-------------------------------------R5----------------------------------------
enable
conf t
hostname R5

# Configuración de interfaces
interface s0/0/0
ip address 172.16.10.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 172.16.12.1 255.255.255.0
no shutdown
exit
interface g0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 500
neighbor 172.16.10.1 remote-as 400
neighbor 172.16.12.2 remote-as 600
network 172.16.10.0 mask 255.255.255.0
network 172.16.12.0 mask 255.255.255.0
network 192.168.2.0 mask 255.255.255.0
exit

-------------------------------------R6----------------------------------------
enable
conf t
hostname R6

# Configuración de interfaces
interface s0/0/0
ip address 172.16.11.2 255.255.255.0
no shutdown
exit
interface s0/0/1
ip address 172.16.12.2 255.255.255.0
no shutdown
exit
interface s0/1/0
ip address 192.168.24.2 255.255.255.0
no shutdown
exit
interface g0/0
ip address 192.168.3.1 255.255.255.0
no shutdown
exit

# Configuración de BGP
router bgp 600
neighbor 172.16.11.1 remote-as 400
neighbor 172.16.12.1 remote-as 500
neighbor 192.168.24.1 remote-as 200
network 172.16.11.0 mask 255.255.255.0
network 172.16.12.0 mask 255.255.255.0
network 192.168.24.0 mask 255.255.255.0
network 192.168.3.0 mask 255.255.255.0
exit



Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Protocolo BGP ejemplo

Thematisch verwandte Begriffe: Protocolo, ejemplo · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-17636 | IBM Financial Transaction Manager (FTM) for RedHat OpenShift could allow…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick