0% found this document useful (0 votes)
86 views

Clases PDF

Uploaded by

Franko Aros
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views

Clases PDF

Uploaded by

Franko Aros
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

VRF

Virtual Routing Forwarding


VRF
Virtual Routing Forwarding

ip vrf cliente1
!
ip vrf cliente2
VRF
Virtual Routing Forwarding

interface Loopback0
ip vrf forwarding cliente1
ip address 1.1.1.3 255.255.255.255
!
interface Loopback1
ip vrf forwarding cliente2
ip address 1.1.1.4 255.255.255.255
!
interface FastEthernet0/0
ip vrf forwarding cliente1
ip address 192.168.0.1 255.255.255.252

interface FastEthernet1/0
ip vrf forwarding cliente2
ip address 192.168.0.5 255.255.255.252

interface FastEthernet2/0
ip vrf forwarding cliente1
ip address 192.168.0.9 255.255.255.252

interface FastEthernet3/0
ip vrf forwarding cliente2
ip address 192.168.0.13 255.255.255.252
VRF
Virtual Routing Forwarding

router ospf 1 vrf cliente1


router-id 1.1.1.3
log-adjacency-changes
network 192.168.0.0 0.0.0.3 area 0
network 192.168.0.8 0.0.0.3 area 0
!
router ospf 2 vrf cliente2
router-id 1.1.1.4
log-adjacency-changes
network 192.168.0.4 0.0.0.3 area 0
network 192.168.0.12 0.0.0.3 area 0
!
VRF
Virtual Routing Forwarding
VRF
Virtual Routing Forwarding
VRF
Virtual Routing Forwarding
VRF
Virtual Routing Forwarding
VRF
Virtual Routing Forwarding
VRF
Virtual Routing Forwarding
VRF
Virtual Routing Forwarding
MPLS
MPLS

R2

router ospf 1
interface Loopback0
router-id 1.1.1.2
ip address 1.1.1.2 255.255.255.255
log-adjacency-changes
!
network 1.1.1.2 0.0.0.0 area 0
interface FastEthernet0/0
network 172.16.0.0 0.0.0.3 area 0
ip address 172.16.0.1 255.255.255.252
network 172.16.0.8 0.0.0.3 area 0
mpls ip
network 172.16.0.12 0.0.0.3 area 0
!
network 172.16.0.20 0.0.0.3 area 0
interface FastEthernet0/1
description R3
ip address 172.16.0.9 255.255.255.252
mpls ip
!
interface FastEthernet1/0
ip address 172.16.0.13 255.255.255.252
mpls ip
!
interface FastEthernet1/1
ip address 172.16.0.21 255.255.255.252
mpls ip
MPLS

R2#show mpls ldp discovery

Local LDP Identifier:


1.1.1.2:0
Discovery Sources:
Interfaces:
FastEthernet0/0 (ldp): xmit/recv
LDP Id: 1.1.1.5:0
FastEthernet0/1 (ldp): xmit/recv
LDP Id: 1.1.1.3:0
FastEthernet1/0 (ldp): xmit/recv
LDP Id: 1.1.1.8:0
FastEthernet1/1 (ldp): xmit/recv
LDP Id: 1.1.1.13:0
MPLS

R2#show mpls ldp neighbor

Peer LDP Ident: 1.1.1.5:0; Local LDP Ident 1.1.1.2:0


TCP connection: 1.1.1.5.34600 - 1.1.1.2.646
State: Oper; Msgs sent/rcvd: 48/49; Downstream
Up time: 00:30:10
LDP discovery sources:
FastEthernet0/0, Src IP addr: 172.16.0.2
Addresses bound to peer LDP Ident:
172.16.0.2 1.1.1.5 172.16.0.18
Peer LDP Ident: 1.1.1.13:0; Local LDP Ident 1.1.1.2:0
TCP connection: 1.1.1.13.58006 - 1.1.1.2.646
State: Oper; Msgs sent/rcvd: 48/48; Downstream
Up time: 00:30:09
LDP discovery sources:
FastEthernet1/1, Src IP addr: 172.16.0.22
Addresses bound to peer LDP Ident:
172.16.0.22 1.1.1.13 172.16.0.26
MPLS

R2#show mpls ldp bindings

tib entry: 1.1.1.2/32, rev 10


local binding: tag: imp-null
remote binding: tsr: 1.1.1.5:0, tag: 21
remote binding: tsr: 1.1.1.13:0, tag: 19
remote binding: tsr: 1.1.1.8:0, tag: 21
remote binding: tsr: 1.1.1.3:0, tag: 18
tib entry: 1.1.1.3/32, rev 14
local binding: tag: 17
remote binding: tsr: 1.1.1.5:0, tag: 22
remote binding: tsr: 1.1.1.13:0, tag: 20
remote binding: tsr: 1.1.1.8:0, tag: 22
remote binding: tsr: 1.1.1.3:0, tag: imp-null
tib entry: 1.1.1.5/32, rev 16
local binding: tag: 18
remote binding: tsr: 1.1.1.5:0, tag: imp-null
remote binding: tsr: 1.1.1.13:0, tag: 21
remote binding: tsr: 1.1.1.8:0, tag: 23
remote binding: tsr: 1.1.1.3:0, tag: 19
MPLS

R5

ip vrf cliente_1
rd 100:10
route-target export 100:10
route-target import 100:10
!
ip vrf cliente_2
rd 200:20
route-target export 200:20
route-target import 200:20
MPLS

R5

interface Loopback0
ip address 1.1.1.5 255.255.255.255
!
interface FastEthernet0/0
ip address 172.16.0.2 255.255.255.252
mpls ip
!
interface FastEthernet0/1
ip vrf forwarding cliente_1
ip address 192.168.0.1 255.255.255.252

!
interface FastEthernet1/0
ip vrf forwarding cliente_2
ip address 192.168.0.5 255.255.255.252

interface FastEthernet1/1
ip address 172.16.0.18 255.255.255.252
mpls ip
MPLS

R5

router ospf 1
router-id 1.1.1.5
log-adjacency-changes
network 1.1.1.5 0.0.0.0 area 0
network 172.16.0.0 0.0.0.3 area 0
MPLS

R5

router bgp 123


no synchronization
bgp router-id 1.1.1.5
bgp log-neighbor-changes
neighbor 1.1.1.8 remote-as 123
neighbor 1.1.1.8 update-source Loopback0
neighbor 1.1.1.13 remote-as 123
neighbor 1.1.1.13 update-source Loopback0
no auto-summary
!
address-family vpnv4
neighbor 1.1.1.8 activate
neighbor 1.1.1.8 send-community both
neighbor 1.1.1.8 next-hop-self
neighbor 1.1.1.13 activate
neighbor 1.1.1.13 send-community both
neighbor 1.1.1.13 next-hop-self
exit-address-family
MPLS

R5

address-family ipv4 vrf cliente_2


neighbor 192.168.0.6 remote-as 200
neighbor 192.168.0.6 activate
neighbor 192.168.0.6 as-override
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf cliente_1
neighbor 192.168.0.2 remote-as 100
neighbor 192.168.0.2 activate
neighbor 192.168.0.2 as-override
no auto-summary
no synchronization
exit-address-family
MPLS

R5
R5#show bgp vpnv4 unicast all
BGP table version is 29, local router ID is 1.1.1.5
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


Route Distinguisher: 100:10 (default for vrf cliente_1)
*>i0.0.0.0 1.1.1.13 0 100 0 14100 i
*>i1.2.3.0/24 1.1.1.13 0 100 0 14100 i
*>i8.8.4.0/24 1.1.1.13 0 100 0 14100 i
*>i8.8.8.0/24 1.1.1.13 0 100 0 14100 i
*> 190.100.10.0/24 192.168.0.2 0 0 100 i
*>i196.100.10.0 1.1.1.8 0 100 0 100 i
*>i202.27.3.0 1.1.1.13 0 100 0 14100 i
Route Distinguisher: 200:20 (default for vrf cliente_2)
*>i0.0.0.0 1.1.1.13 0 100 0 14100 i
*>i1.2.3.0/24 1.1.1.13 0 100 0 14100 i
*>i8.8.4.0/24 1.1.1.13 0 100 0 14100 i
*>i8.8.8.0/24 1.1.1.13 0 100 0 14100 i
*> 190.200.20.0/24 192.168.0.6 0 0 200 i
*>i196.200.20.0 1.1.1.8 0 100 0 200 i
*>i202.27.3.0 1.1.1.13 0 100 0 14100 i

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy