Sei sulla pagina 1di 14

Network Diagram

Lo0
1.1.1.1/32

Lo0
4.4.4.4/32

S1/0

R2
192.168.24.0/24

Lo0
2.2.2.2/32

24
.0/
2
1
.
68
2.1
9
1

R1
S1/0

S1/1
LSP

19
2.1
68
.13

AS 100
.0/
24

S1/0

IBGP

F2/0
EIGRP
AS 1
F1/0

R4

Basic Configuration
R1
interface Loopback0
ip address 1.1.1.1 255.255.255.255
interface Serial1/0
ip address 192.168.12.1 255.255.255.0
encapsulation ppp
ipv6 address 2001:192:168:12::1/64
interface Serial1/1
ip address 192.168.13.1 255.255.255.0
encapsulation ppp
ipv6 address 2001:192:168:13::1/64
R2
interface Loopback0
ip address 2.2.2.2 255.255.255.255
interface Serial1/0
ip address 192.168.12.2 255.255.255.0
encapsulation ppp
ipv6 address 2001:192:168:12::2/64
interface FastEthernet2/0

192.168.35.0/24

OSPF
Area 0

R3

Lo0
3.3.3.3/32

F2/0
EIGRP
AS 1
F1/0

R5

Lo0
5.5.5.5/32

ip address 192.168.24.2 255.255.255.0


speed 100
duplex full
ipv6 address 2001:192:168:24::2/64
R3
interface Loopback0
ip address 3.3.3.3 255.255.255.255
interface Serial1/0
ip address 192.168.13.3 255.255.255.0
encapsulation ppp
ipv6 address 2001:192:168:13::3/64
interface FastEthernet2/0
ip address 192.168.35.3 255.255.255.0
speed 100
duplex full
ipv6 address 2001:192:168:35::3/64
R4
interface Loopback0
ip address 4.4.4.4 255.255.255.255
ipv6 address 2001::4/128
interface FastEthernet1/0
ip address 192.168.24.4 255.255.255.0
speed 100
duplex full
ipv6 address 2001:192:168:24::4/64
R5
interface Loopback0
ip address 5.5.5.5 255.255.255.255
ipv6 address 2001::5/128
interface FastEthernet1/0
ip address 192.168.35.5 255.255.255.0
speed 100
duplex full
ipv6 address 2001:192:168:35::5/64
VRF Configuration
R2

vrf definition MSSK


rd 100:1
address-family ipv4
route-target export 100:1
route-target import 100:1
exit-address-family
address-family ipv6
route-target export 100:1
route-target import 100:1
exit-address-family
int f2/0
vrf forwarding MSSK
ip address 192.1.24.2 255.255.255.0
ipv6 address 2001:192:168:24::2/64
R3
vrf definition MSSK
rd 100:1
address-family ipv4
route-target export 100:1
route-target import 100:1
exit-address-family
address-family ipv6
route-target export 100:1
route-target import 100:1
exit-address-family
int f2/0
vrf forwarding MSSK
ip address 192.1.35.3 255.255.255.0
ipv6 address 2001:192:168:35::3/64
IGP Configuration
R1
router ospf 1
router-id 1.1.1.1
network 1.1.1.1 0.0.0.0 area 0
network 192.1.12.1 0.0.0.0 area 0
network 192.1.13.1 0.0.0.0 area 0
R2

router ospf 1
router-id 2.2.2.2
network 2.2.2.2 0.0.0.0 area 0
network 192.1.12.2 0.0.0.0 area 0
R3
router ospf 1
router-id 3.3.3.3
network 3.3.3.3 0.0.0.0 area 0
network 192.1.13.3 0.0.0.0 area 0
MPLS LDP Configuration
R1
mpls label protocol ldp
mpls ldp router-id lo0 force
int s1/0
mpls ip
int s1/1
mpls ip
R2
mpls label protocol ldp
mpls ldp router-id Loopback0 force
int s1/0
mpls ip
R3
mpls label protocol ldp
mpls ldp router-id Loopback0 force
int s1/0
mpls ip
MP-BGP Configuration
R2
router bgp 100
no bgp default ipv4-unicast
neighbor 3.3.3.3 remote-as 100
neighbor 3.3.3.3 update-source lo0

address-family vpnv4
neighbor 3.3.3.3 activate
neighbor 3.3.3.3 send-community both
address-family vpnv6
neighbor 3.3.3.3 activate
neighbor 3.3.3.3 send-community both
R3
router bgp 100
neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 update-source lo0
address-family vpnv4
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-community both
address-family vpnv6
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-community both
CE-PE routing Configuration
R2
router eigrp MSSK
address-family ipv4 unicast vrf MSSK autonomous-system 1
topology base
exit-af-topology
network 192.168.24.2 0.0.0.0
exit-address-family
address-family ipv6 unicast vrf MSSK autonomous-system 1
!
topology base
exit-af-topology
exit-address-family
R4
router eigrp MSSK
address-family ipv4 unicast autonomous-system 1
topology base
exit-af-topology
network 4.4.4.4 0.0.0.0
network 192.168.24.4 0.0.0.0
exit-address-family
address-family ipv6 unicast autonomous-system 1
topology base
exit-af-topology
exit-address-family

R3
router eigrp MSSK
address-family ipv4 unicast vrf MSSK autonomous-system 1
topology base
exit-af-topology
network 192.168.35.3 0.0.0.0
exit-address-family
address-family ipv6 unicast vrf MSSK autonomous-system 1
topology base
exit-af-topology
exit-address-family
R5
router eigrp MSSK
address-family ipv4 unicast autonomous-system 1
topology base
exit-af-topology
network 5.5.5.5 0.0.0.0
network 192.168.35.5 0.0.0.0
exit-address-family
address-family ipv6 unicast autonomous-system 1
topology base
exit-af-topology
exit-address-family
VPN Configuration
R2
router eigrp MSSK
address-family ipv4 unicast vrf MSSK autonomous-system 1
!
topology base
redistribute bgp 100 metric 1000 1000 255 1 1500
exit-af-topology
address-family ipv6 unicast vrf MSSK autonomous-system 1
topology base
redistribute bgp 100 metric 1000 1000 255 1 1500
exit-af-topology
router bgp 100
address-family ipv4 vrf MSSK
redistribute eigrp 1
exit-address-family
address-family ipv6 vrf MSSK

redistribute eigrp 1 include-connected


exit-address-family
R3
router eigrp MSSK
address-family ipv4 unicast vrf MSSK autonomous-system 1
topology base
redistribute bgp 100 metric 1000 1000 255 1 1500
exit-af-topology
address-family ipv6 unicast vrf MSSK autonomous-system 1
topology base
redistribute bgp 100 metric 1000 1000 255 1 1500
exit-af-topology
router bgp 100
bgp log-neighbor-changes
address-family ipv4 vrf MSSK
redistribute eigrp 1
exit-address-family
address-family ipv6 vrf MSSK
redistribute eigrp 1 include-connected
exit-address-family
Verifications
R2#sh mpls ldp neighbor
Peer LDP Ident: 1.1.1.1:0; Local LDP Ident 2.2.2.2:0
TCP connection: 1.1.1.1.646 - 2.2.2.2.35742
State: Oper; Msgs sent/rcvd: 77/77; Downstream
Up time: 01:00:24
LDP discovery sources:
Serial1/0, Src IP addr: 192.168.12.1
Addresses bound to peer LDP Ident:
1.1.1.1
192.168.12.1 192.168.13.1
R3#show mpls ldp neighbor
Peer LDP Ident: 1.1.1.1:0; Local LDP Ident 3.3.3.3:0
TCP connection: 1.1.1.1.646 - 3.3.3.3.15654
State: Oper; Msgs sent/rcvd: 76/79; Downstream
Up time: 01:00:23
LDP discovery sources:
Serial1/0, Src IP addr: 192.168.13.1
Addresses bound to peer LDP Ident:
1.1.1.1
192.168.12.1 192.168.13.1

R2#show bgp vpnv4 unicast all summary


BGP router identifier 2.2.2.2, local AS number 100
BGP table version is 10, main routing table version 10
2 network entries using 312 bytes of memory
2 path entries using 160 bytes of memory
2/2 BGP path/bestpath attribute entries using 288 bytes of memory
3 BGP extended community entries using 524 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1284 total bytes of memory
BGP activity 6/0 prefixes, 8/2 paths, scan interval 60 secs
Neighbor
V
State/PfxRcd
3.3.3.3
4

AS MsgRcvd MsgSent
100

25

25

10

TblVer InQ OutQ Up/Down


0

0 00:16:31

R2#show bgp vpnv4 unicast all


BGP table version is 10, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network
Next Hop
Metric LocPrf Weight Path
Route Distinguisher: 100:1 (default for vrf MSSK)
*> 4.4.4.4/32
192.168.24.4
103040
32768 ?
*>i 5.5.5.5/32
3.3.3.3
103040 100
0?
R3#show bgp vpnv4 unicast all summary
BGP router identifier 3.3.3.3, local AS number 100
BGP table version is 10, main routing table version 10
2 network entries using 312 bytes of memory
2 path entries using 160 bytes of memory
2/2 BGP path/bestpath attribute entries using 288 bytes of memory
3 BGP extended community entries using 524 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1284 total bytes of memory
BGP activity 6/0 prefixes, 8/2 paths, scan interval 60 secs
Neighbor
V
AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
2.2.2.2
4
100
25
25
10 0 0 00:16:45
1
R3#show bgp vpnv4 unicast all

BGP table version is 10, local router ID is 3.3.3.3


Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network
Next Hop
Metric LocPrf Weight Path
Route Distinguisher: 100:1 (default for vrf MSSK)
*>i 4.4.4.4/32
2.2.2.2
103040 100
0?
*> 5.5.5.5/32
192.168.35.5
103040
32768 ?
R2#sh ip eigrp vrf MSSK neighbors
EIGRP-IPv4 VR(MSSK) Address-Family Neighbors for AS(1)
VRF(MSSK)
H Address
Interface
Hold Uptime SRTT RTO Q Seq
(sec)
(ms)
Cnt Num
0 192.168.24.4
Fa2/0
14 00:22:39 14 100 0 7
R3#sh ip eigrp vrf MSSK neighbors
EIGRP-IPv4 VR(MSSK) Address-Family Neighbors for AS(1)
VRF(MSSK)
H Address
Interface
Hold Uptime SRTT RTO Q Seq
(sec)
(ms)
Cnt Num
0 192.168.35.5
Fa2/0
11 00:22:27 13 100 0 9
R4#sh ip eigrp neighbors
EIGRP-IPv4 VR(MSSK) Address-Family Neighbors for AS(1)
H Address
Interface
Hold Uptime SRTT RTO Q Seq
(sec)
(ms)
Cnt Num
0 192.168.24.2
Fa1/0
14 00:21:00 13 100 0 8
R5#sh ip eigrp neighbors
EIGRP-IPv4 VR(MSSK) Address-Family Neighbors for AS(1)
H Address
Interface
Hold Uptime SRTT RTO Q Seq
(sec)
(ms)
Cnt Num
0 192.168.35.3
Fa1/0
14 00:20:37 2 100 0 11
R4#show topology all
Topology

Address Family

Associated VRF

State

base

ipv4

default

UP

base

ipv6

default

UP

base

ipv4 multicast

default

DOWN

base

ipv6 multicast

default

DOWN

R5#show topology all


Topology

Address Family

Associated VRF

State

base

ipv4

default

UP

base

ipv6

default

UP

base

ipv4 multicast

default

DOWN

base

ipv6 multicast

default

DOWN

R2#show topology all


Topology

Address Family

Associated VRF

base

ipv4

default

base

ipv4

MSSK

base

ipv6

default

base

ipv6

MSSK

base

ipv4 multicast

default

base

ipv4 multicast

MSSK

base

ipv6 multicast

default

base

ipv6 multicast

MSSK

R3#show topology all


Topology

Address Family

State
UP
UP
UP
UP
DOWN
DOWN
DOWN
DOWN

Associated VRF

base

ipv4

default

base

ipv4

MSSK

base

ipv6

default

base

ipv6

MSSK

State
UP
UP
UP
UP

base

ipv4 multicast

default

base

ipv4 multicast

MSSK

base

ipv6 multicast

default

base

ipv6 multicast

MSSK

DOWN
DOWN
DOWN
DOWN

R4#sh ip route eigrp


Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
D

5.0.0.0/32 is subnetted, 1 subnets


5.5.5.5 [90/153600] via 192.168.24.2, 00:17:47, FastEthernet1/0

R4#ping 5.5.5.5 source lo0


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
Packet sent with a source address of 4.4.4.4
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/16/20 ms
R4#traceroute 5.5.5.5 source lo0 numeric
Type escape sequence to abort.
Tracing the route to 5.5.5.5
VRF info: (vrf in name/id, vrf out name/id)
1 192.168.24.2 4 msec 0 msec 8 msec
2 192.168.12.1 [MPLS: Labels 19/20 Exp 0] 16 msec 20 msec 16 msec
3 192.168.35.3 [MPLS: Label 20 Exp 0] 12 msec 12 msec 12 msec
4 192.168.35.5 20 msec * 16 msec
R2#show eigrp address-family ipv6 vrf MSSK neighbors
EIGRP-IPv6 VR(MSSK) Address-Family Neighbors for AS(1)
VRF(MSSK)
H Address
Interface
Hold Uptime SRTT RTO Q Seq
(sec)
(ms)
Cnt Num
0 Link-local address:
Fa2/0
13 00:20:32 7 100 0 4

FE80::C803:EFF:FE69:1C
R3#show eigrp address-family ipv6 vrf MSSK neighbors
EIGRP-IPv6 VR(MSSK) Address-Family Neighbors for AS(1)
VRF(MSSK)
H Address
Interface
Hold Uptime SRTT RTO Q Seq
(sec)
(ms)
Cnt Num
0 Link-local address:
Fa2/0
11 00:20:32 14 100 0 4
FE80::C804:EFF:FE69:1C
R2#show eigrp address-family ipv6 vrf MSSK interfaces
EIGRP-IPv6 VR(MSSK) Address-Family Interfaces for AS(1)
VRF(MSSK)
Xmit Queue PeerQ
Mean Pacing Time Multicast
Pending
Interface
Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow
Timer Routes
Fa2/0
1
0/0
0/0
7
0/0
50
0
R3#show eigrp address-family ipv6 vrf MSSK interfaces
EIGRP-IPv6 VR(MSSK) Address-Family Interfaces for AS(1)
VRF(MSSK)
Xmit Queue PeerQ
Mean Pacing Time Multicast
Pending
Interface
Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow
Timer Routes
Fa2/0
1
0/0
0/0
14
0/0
64
0
R2#show bgp vpnv6 unicast all summary
BGP router identifier 2.2.2.2, local AS number 100
BGP table version is 7, main routing table version 7
4 network entries using 720 bytes of memory
4 path entries using 432 bytes of memory
4/4 BGP path/bestpath attribute entries using 576 bytes of memory
3 BGP extended community entries using 524 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 2252 total bytes of memory
BGP activity 6/0 prefixes, 8/2 paths, scan interval 60 secs
Neighbor
V
State/PfxRcd
3.3.3.3
4

AS MsgRcvd MsgSent
100

30

R2#show bgp vpnv6 unicast all

29

TblVer InQ OutQ Up/Down


0

0 00:20:26

BGP table version is 7, local router ID is 2.2.2.2


Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network
Next Hop
Metric LocPrf Weight Path
Route Distinguisher: 100:1 (default for vrf MSSK)
*> 2001::4/128
FE80::C803:EFF:FE69:1C
103040
32768 ?
*>i 2001::5/128
::FFFF:3.3.3.3
103040 100
0?
*> 2001:192:168:24::/64
::
0
32768 ?
*>i 2001:192:168:35::/64
::FFFF:3.3.3.3
0 100
0?
R3#show bgp vpnv6 unicast all summary
BGP router identifier 3.3.3.3, local AS number 100
BGP table version is 7, main routing table version 7
4 network entries using 720 bytes of memory
4 path entries using 432 bytes of memory
4/4 BGP path/bestpath attribute entries using 576 bytes of memory
3 BGP extended community entries using 524 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 2252 total bytes of memory
BGP activity 6/0 prefixes, 8/2 paths, scan interval 60 secs
Neighbor
V
State/PfxRcd
2.2.2.2
4

AS MsgRcvd MsgSent
100

30

30

TblVer InQ OutQ Up/Down


0

0 00:20:37

R3#show bgp vpnv6 unicast all


BGP table version is 7, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network
Next Hop
Metric LocPrf Weight Path
Route Distinguisher: 100:1 (default for vrf MSSK)
*>i 2001::4/128
::FFFF:2.2.2.2
103040 100
0?
*> 2001::5/128
FE80::C804:EFF:FE69:1C

103040
32768 ?
*>i 2001:192:168:24::/64
::FFFF:2.2.2.2
0 100
0?
*> 2001:192:168:35::/64
::
0
32768 ?
R4#sh ipv6 eigrp neighbors
EIGRP-IPv6 VR(MSSK) Address-Family Neighbors for AS(1)
H Address
Interface
Hold Uptime SRTT RTO Q Seq
(sec)
(ms)
Cnt Num
0 Link-local address:
Fa1/0
13 00:21:42 11 100 0 3
FE80::C801:EFF:FE69:38
R5#show ipv6 eigrp neighbors
EIGRP-IPv6 VR(MSSK) Address-Family Neighbors for AS(1)
H Address
Interface
Hold Uptime SRTT RTO Q Seq
(sec)
(ms)
Cnt Num
0 Link-local address:
Fa1/0
11 00:21:43 11 100 0 4
FE80::C802:EFF:FE69:38
R4#ping 2001::5 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001::5, timeout is 2 seconds:
Packet sent with a source address of 2001::4
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/20/32 ms
R4#traceroute 2001::5
Type escape sequence to abort.
Tracing the route to 2001::5
1 FE80::C801:EFF:FE69:38 4 msec 4 msec 4 msec
2 ::FFFF:192.168.12.1 [MPLS: Labels 19/21 Exp 0] 20 msec 16 msec 16
msec
3 2001:192:168:35::3 [MPLS: Label 21 Exp 0] 16 msec 12 msec 12 msec
4 2001:192:168:35::5 16 msec 16 msec 16 msec

Potrebbero piacerti anche