R1#sh ip pim rp mapping
PIM Group-to-RP Mappings
This system is an RP (Auto-RP)
This system is an RP-mapping agent
Group(s) 224.0.0.0/4
RP 1.1.1.1 (?), v2v1
Info source: 1.1.1.1 (?), elected via Auto-RP
Uptime: 00:00:05, expires: 00:02:51
R1# ]
R1(config)#ip pim send-r
R1(config)#ip pim send-rp-ann
R1(config)#ip pim send-rp-announce lo0
% Incomplete command.
R1(config)#ip pim send-rp-announce lo0 sco 255
R1(config)#ip pim send
R1(config)#ip pim send-rp-dis
R1(config)#ip pim send-rp-discovery sco 255
R1(config)#exit
R1#sh i
PIM Group-to-RP Mappings
Group(s) 224.0.0.0/4
RP 1.1.1.1 (?), v2v1
Info source: 12.12.12.1 (?), elected via Auto-RP
Uptime: 00:03:20, expires: 00:02:34
R2#
R2
PIM Group-to-RP Mappings
Group(s) 224.0.0.0/4
RP 1.1.1.1 (?), v2v1
Info source: 12.12.12.1 (?), elected via Auto-RP
Uptime: 00:03:20, expires: 00:02:34
R2#
9 Hari CCIE bootcamp
Rabu, 07 Desember 2011
Multicast Lab2: Sparse Mode-Static RP
konfig R2
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 12.12.12.2 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 23.23.23.2 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
ip pim rp-address 2.2.2.2
!
!
!
!
!
Konfig R3
!
ip multicast-routing
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
duplex auto
speed auto
!
!
router ospf 1
log-adjacency-changes
!
no ip http secure-server
ip pim rp-address 2.2.2.2
R1#show ip pim int
Address Interface Ver/ Nbr Query DR DR
Mode Count Intvl Prior
12.12.12.1 FastEthernet0/0 v2/S 1 30 1 12.12.12.2
1.1.1.1 Loopback0 v2/S 0 30 1 1.1.1.1
R1#
R1#sh ip pim rp mapping
PIM Group-to-RP Mappings
Group(s): 224.0.0.0/4, Static
RP: 2.2.2.2
R1#
utgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.0.0.1), 00:47:15/00:02:59, RP 2.2.2.2, flags: SJCL
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse, 00:47:15/00:02:59
(*, 239.0.0.2), 00:47:15/00:02:54, RP 2.2.2.2, flags: SJCL
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse, 00:47:15/00:02:54
(*, 224.0.1.40), 00:57:03/00:02:59, RP 2.2.2.2, flags: SJPCL
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list: Null
R2#sh ip pim int
Address Interface Ver/ Nbr Query DR DR
Mode Count Intvl Prior
12.12.12.2 FastEthernet0/0 v2/S 1 30 1 12.12.12.2
23.23.23.2 FastEthernet0/1 v2/S 1 30 1 23.23.23.3
2.2.2.2 Loopback0 v2/S 0 30 1 2.2.2.2
R2#
R3#ping 239.0.0.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:
Reply to request 0 from 12.12.12.1, 60 ms
Reply to request 0 from 12.12.12.1, 60 ms
R3#sh ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.0.0.1), 00:00:26/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: FastEthernet0/0, RPF nbr 23.23.23.2
Outgoing interface list: Null
(3.3.3.3, 239.0.0.1), 00:00:26/00:03:10, flags: FT
Incoming interface: Loopback0, RPF nbr 0.0.0.0, Registering
Outgoing interface list:
FastEthernet0/0, Forward/Sparse, 00:00:26/00:03:03
(23.23.23.3, 239.0.0.1), 00:00:26/00:02:40, flags: PFT
Incoming interface: FastEthernet0/0, RPF nbr 0.0.0.0
Outgoing interface list: Null
(*, 224.0.1.40), 00:58:48/00:02:28, RP 2.2.2.2, flags: SJPCL
Incoming interface: FastEthernet0/0, RPF nbr 23.23.23.2
Outgoing interface list: Null
R3#
R1#
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 12.12.12.2 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 23.23.23.2 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
ip pim rp-address 2.2.2.2
!
!
!
!
!
Konfig R3
!
ip multicast-routing
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
duplex auto
speed auto
!
!
router ospf 1
log-adjacency-changes
!
no ip http secure-server
ip pim rp-address 2.2.2.2
R1#show ip pim int
Address Interface Ver/ Nbr Query DR DR
Mode Count Intvl Prior
12.12.12.1 FastEthernet0/0 v2/S 1 30 1 12.12.12.2
1.1.1.1 Loopback0 v2/S 0 30 1 1.1.1.1
R1#
R1#sh ip pim rp mapping
PIM Group-to-RP Mappings
Group(s): 224.0.0.0/4, Static
RP: 2.2.2.2
R1#
utgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.0.0.1), 00:47:15/00:02:59, RP 2.2.2.2, flags: SJCL
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse, 00:47:15/00:02:59
(*, 239.0.0.2), 00:47:15/00:02:54, RP 2.2.2.2, flags: SJCL
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse, 00:47:15/00:02:54
(*, 224.0.1.40), 00:57:03/00:02:59, RP 2.2.2.2, flags: SJPCL
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list: Null
R2#sh ip pim int
Address Interface Ver/ Nbr Query DR DR
Mode Count Intvl Prior
12.12.12.2 FastEthernet0/0 v2/S 1 30 1 12.12.12.2
23.23.23.2 FastEthernet0/1 v2/S 1 30 1 23.23.23.3
2.2.2.2 Loopback0 v2/S 0 30 1 2.2.2.2
R2#
R3#ping 239.0.0.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:
Reply to request 0 from 12.12.12.1, 60 ms
Reply to request 0 from 12.12.12.1, 60 ms
R3#sh ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.0.0.1), 00:00:26/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: FastEthernet0/0, RPF nbr 23.23.23.2
Outgoing interface list: Null
(3.3.3.3, 239.0.0.1), 00:00:26/00:03:10, flags: FT
Incoming interface: Loopback0, RPF nbr 0.0.0.0, Registering
Outgoing interface list:
FastEthernet0/0, Forward/Sparse, 00:00:26/00:03:03
(23.23.23.3, 239.0.0.1), 00:00:26/00:02:40, flags: PFT
Incoming interface: FastEthernet0/0, RPF nbr 0.0.0.0
Outgoing interface list: Null
(*, 224.0.1.40), 00:58:48/00:02:28, RP 2.2.2.2, flags: SJPCL
Incoming interface: FastEthernet0/0, RPF nbr 23.23.23.2
Outgoing interface list: Null
R3#
R1#
Multicast Lab 1: Dense Mode
konfig R1
!
ip multicast-routing
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip pim dense-mode
ip igmp join-group 239.0.0.1
ip igmp join-group 239.0.0.2
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 12.12.12.1 255.255.255.0
ip pim dense-mode
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
Konfig R2
ip multicast-routing
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip pim dense-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 12.12.12.2 255.255.255.0
ip pim dense-mode
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 23.23.23.2 255.255.255.0
ip pim dense-mode
ip ospf 1 area 0
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
!
konfig R3
!
!
ip multicast-routing
interface Loopback0
ip address 3.3.3.3 255.255.255.255
ip pim dense-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
ip pim dense-mode
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
!
R3#ping 239.0.0.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:
Reply to request 0 from 12.12.12.1, 72 ms
Reply to request 0 from 12.12.12.1, 76 ms
R3#ping 239.0.0.2
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.0.0.2, timeout is 2 seconds:
Reply to request 0 from 12.12.12.1, 44 ms
Reply to request 0 from 12.12.12.1, 48 ms
R3#
!
ip multicast-routing
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip pim dense-mode
ip igmp join-group 239.0.0.1
ip igmp join-group 239.0.0.2
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 12.12.12.1 255.255.255.0
ip pim dense-mode
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
Konfig R2
ip multicast-routing
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip pim dense-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 12.12.12.2 255.255.255.0
ip pim dense-mode
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 23.23.23.2 255.255.255.0
ip pim dense-mode
ip ospf 1 area 0
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
!
konfig R3
!
!
ip multicast-routing
interface Loopback0
ip address 3.3.3.3 255.255.255.255
ip pim dense-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
ip pim dense-mode
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
!
R3#ping 239.0.0.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:
Reply to request 0 from 12.12.12.1, 72 ms
Reply to request 0 from 12.12.12.1, 76 ms
R3#ping 239.0.0.2
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.0.0.2, timeout is 2 seconds:
Reply to request 0 from 12.12.12.1, 44 ms
Reply to request 0 from 12.12.12.1, 48 ms
R3#
Lab 5: MPLS VPN- PE CE EIGRP Routing
konfig PE1
hostname PE1
!
!
ip vrf BCA.KIRI
rd 65000:2
route-target export 65000:2
route-target import 65000:2
!
ip vrf BRI.KIRI
rd 65000:1
route-target export 65000:1
route-target import 65000:1
!
!
interface Loopback0
ip address 10.10.10.1 255.255.255.255
!
interface FastEthernet0/0
ip vrf forwarding BRI.KIRI
ip address 192.168.0.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip vrf forwarding BCA.KIRI
ip address 192.168.0.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.10.1 255.255.255.252
speed 100
full-duplex
mpls ip
!
router eigrp 65000
auto-summary
!
address-family ipv4 vrf BRI.KIRI
redistribute bgp 65000 metric 1 1 1 1 1
network 192.168.0.0
auto-summary
autonomous-system 100
exit-address-family
!
router ospf 1
log-adjacency-changes
network 10.10.10.1 0.0.0.0 area 0
network 192.168.10.1 0.0.0.0 area 0
!
router bgp 65000
bgp log-neighbor-changes
neighbor 10.10.10.2 remote-as 65000
neighbor 10.10.10.2 update-source Loopback0
!
address-family ipv4
no neighbor 10.10.10.2 activate
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 10.10.10.2 activate
neighbor 10.10.10.2 send-community extended
exit-address-family
!
address-family ipv4 vrf BRI.KIRI
redistribute connected
redistribute static
redistribute eigrp 100
no synchronization
exit-address-family
!
address-family ipv4 vrf BCA.KIRI
no synchronization
exit-address-family
!
ip forward-protocol nd
ip route vrf BRI.KIRI 10.0.0.1 255.255.255.255 192.168.0.2
!
!
konfig PE2
!
ip vrf BCA.KANAN
rd 65000:2
route-target export 65000:2
route-target import 65000:2
!
ip vrf BRI.KANAN
rd 65000:1
route-target export 65000:1
route-target import 65000:1
!
!
!
interface Loopback0
ip address 10.10.10.2 255.255.255.255
!
interface FastEthernet0/0
ip vrf forwarding BCA.KANAN
ip address 192.168.0.5 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip vrf forwarding BRI.KANAN
ip address 192.168.1.5 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.20.2 255.255.255.252
speed 100
full-duplex
mpls ip
!
router eigrp 65000
auto-summary
!
address-family ipv4 vrf BRI.KANAN
redistribute bgp 65000 metric 1 1 1 1 1
network 192.168.0.0
network 192.168.1.0
auto-summary
autonomous-system 100
exit-address-family
!
router ospf 1
log-adjacency-changes
network 10.10.10.2 0.0.0.0 area 0
network 192.168.20.2 0.0.0.0 area 0
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.10.10.1 remote-as 65000
neighbor 10.10.10.1 update-source Loopback0
no auto-summary
!
address-family vpnv4
neighbor 10.10.10.1 activate
neighbor 10.10.10.1 send-community extended
exit-address-family
!
address-family ipv4 vrf BRI.KANAN
redistribute connected
redistribute static
redistribute eigrp 100
no synchronization
exit-address-family
!
address-family ipv4 vrf BCA.KANAN
no synchronization
exit-address-family
!
ip forward-protocol nd
ip route vrf BRI.KANAN 10.0.0.2 255.255.255.255 192.168.1.6
!
!
end
PE1#show mpls ldp nei
Peer LDP Ident: 10.10.10.10:0; Local LDP Ident 10.10.10.1:0
TCP connection: 10.10.10.10.26892 - 10.10.10.1.646
State: Oper; Msgs sent/rcvd: 17/17; Downstream
Up time: 00:08:24
LDP discovery sources:
FastEthernet1/0, Src IP addr: 192.168.10.2
Addresses bound to peer LDP Ident:
192.168.10.2 10.10.10.10 192.168.20.1
PE1#
P#show mpls ldp nei
Peer LDP Ident: 10.10.10.2:0; Local LDP Ident 10.10.10.10:0
TCP connection: 10.10.10.2.646 - 10.10.10.10.11833
State: Oper; Msgs sent/rcvd: 18/18; Downstream
Up time: 00:09:13
LDP discovery sources:
FastEthernet0/1, Src IP addr: 192.168.20.2
Addresses bound to peer LDP Ident:
192.168.20.2 10.10.10.2
Peer LDP Ident: 10.10.10.1:0; Local LDP Ident 10.10.10.10:0
TCP connection: 10.10.10.1.646 - 10.10.10.10.26892
State: Oper; Msgs sent/rcvd: 18/18; Downstream
Up time: 00:09:13
LDP discovery sources:
FastEthernet0/0, Src IP addr: 192.168.10.1
Addresses bound to peer LDP Ident:
192.168.10.1 10.10.10.1
P#
PE2#show mpls ldp nei
Peer LDP Ident: 10.10.10.10:0; Local LDP Ident 10.10.10.2:0
TCP connection: 10.10.10.10.11833 - 10.10.10.2.646
State: Oper; Msgs sent/rcvd: 19/19; Downstream
Up time: 00:10:02
LDP discovery sources:
FastEthernet1/0, Src IP addr: 192.168.20.1
Addresses bound to peer LDP Ident:
192.168.10.2 10.10.10.10 192.168.20.1
PE2#
CE- BRI-1
Gateway of last resort is 192.168.0.1 to network 0.0.0.0
10.0.0.0/32 is subnetted, 2 subnets
D EX 10.0.0.2 [170/2560025856] via 192.168.0.1, 00:14:58, FastEthernet0/0
C 10.0.0.1 is directly connected, Loopback0
192.168.0.0/30 is subnetted, 1 subnets
C 192.168.0.0 is directly connected, FastEthernet0/0
192.168.1.0/30 is subnetted, 1 subnets
D EX 192.168.1.4
[170/2560025856] via 192.168.0.1, 00:14:58, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 192.168.0.1
CE-BRI-1#
CE-BRI-2
10.0.0.0/32 is subnetted, 2 subnets
C 10.0.0.2 is directly connected, Loopback0
D EX 10.0.0.1 [170/2560025856] via 192.168.1.5, 00:00:59, FastEthernet0/0
192.168.0.0/30 is subnetted, 1 subnets
D 192.168.0.0 [90/307200] via 192.168.1.5, 00:00:59, FastEthernet0/0
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.4 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 192.168.1.5
CE-BRI-2#
CE-BRI-1#ping 10.0.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
CE-BRI-1#ping 10.0.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/63/80 ms
CE-BRI-1#tracer 10.0.0.2
Type escape sequence to abort.
Tracing the route to 10.0.0.2
1 192.168.0.1 4 msec 8 msec 24 msec
2 192.168.10.2 [MPLS: Labels 16/19 Exp 0] 52 msec 44 msec 68 msec
3 192.168.1.5 [MPLS: Label 19 Exp 0] 44 msec 28 msec 24 msec
4 192.168.1.6 40 msec 36 msec *
CE-BRI-1#
CE-BRI-2#
CE-BRI-2#ping 10.0.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/53/100 ms
CE-BRI-2#tracer 10.0.0.1
Type escape sequence to abort.
Tracing the route to 10.0.0.1
1 192.168.1.5 28 msec 12 msec 16 msec
2 192.168.20.1 [MPLS: Labels 17/19 Exp 0] 40 msec 36 msec 68 msec
3 192.168.0.1 [MPLS: Label 19 Exp 0] 40 msec 48 msec 52 msec
4 192.168.0.2 48 msec 24 msec *
CE-BRI-2#
Lab 2: MPLS VPN
PE1#show mpls ldp nei
Peer LDP Ident: 10.10.10.10:0; Local LDP Ident 10.10.10.1:0
TCP connection: 10.10.10.10.26892 - 10.10.10.1.646
State: Oper; Msgs sent/rcvd: 17/17; Downstream
Up time: 00:08:24
LDP discovery sources:
FastEthernet1/0, Src IP addr: 192.168.10.2
Addresses bound to peer LDP Ident:
192.168.10.2 10.10.10.10 192.168.20.1
PE1#
P#show mpls ldp nei
Peer LDP Ident: 10.10.10.2:0; Local LDP Ident 10.10.10.10:0
TCP connection: 10.10.10.2.646 - 10.10.10.10.11833
State: Oper; Msgs sent/rcvd: 18/18; Downstream
Up time: 00:09:13
LDP discovery sources:
FastEthernet0/1, Src IP addr: 192.168.20.2
Addresses bound to peer LDP Ident:
192.168.20.2 10.10.10.2
Peer LDP Ident: 10.10.10.1:0; Local LDP Ident 10.10.10.10:0
TCP connection: 10.10.10.1.646 - 10.10.10.10.26892
State: Oper; Msgs sent/rcvd: 18/18; Downstream
Up time: 00:09:13
LDP discovery sources:
FastEthernet0/0, Src IP addr: 192.168.10.1
Addresses bound to peer LDP Ident:
192.168.10.1 10.10.10.1
P#
PE2#show mpls ldp nei
Peer LDP Ident: 10.10.10.10:0; Local LDP Ident 10.10.10.2:0
TCP connection: 10.10.10.10.11833 - 10.10.10.2.646
State: Oper; Msgs sent/rcvd: 19/19; Downstream
Up time: 00:10:02
LDP discovery sources:
FastEthernet1/0, Src IP addr: 192.168.20.1
Addresses bound to peer LDP Ident:
192.168.10.2 10.10.10.10 192.168.20.1
PE2#
CE- BRI-1
Gateway of last resort is 192.168.0.1 to network 0.0.0.0
10.0.0.0/32 is subnetted, 2 subnets
D EX 10.0.0.2 [170/2560025856] via 192.168.0.1, 00:14:58, FastEthernet0/0
C 10.0.0.1 is directly connected, Loopback0
192.168.0.0/30 is subnetted, 1 subnets
C 192.168.0.0 is directly connected, FastEthernet0/0
192.168.1.0/30 is subnetted, 1 subnets
D EX 192.168.1.4
[170/2560025856] via 192.168.0.1, 00:14:58, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 192.168.0.1
CE-BRI-1#
CE-BRI-2
10.0.0.0/32 is subnetted, 2 subnets
C 10.0.0.2 is directly connected, Loopback0
D EX 10.0.0.1 [170/2560025856] via 192.168.1.5, 00:00:59, FastEthernet0/0
192.168.0.0/30 is subnetted, 1 subnets
D 192.168.0.0 [90/307200] via 192.168.1.5, 00:00:59, FastEthernet0/0
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.4 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 192.168.1.5
CE-BRI-2#
Peer LDP Ident: 10.10.10.10:0; Local LDP Ident 10.10.10.1:0
TCP connection: 10.10.10.10.26892 - 10.10.10.1.646
State: Oper; Msgs sent/rcvd: 17/17; Downstream
Up time: 00:08:24
LDP discovery sources:
FastEthernet1/0, Src IP addr: 192.168.10.2
Addresses bound to peer LDP Ident:
192.168.10.2 10.10.10.10 192.168.20.1
PE1#
P#show mpls ldp nei
Peer LDP Ident: 10.10.10.2:0; Local LDP Ident 10.10.10.10:0
TCP connection: 10.10.10.2.646 - 10.10.10.10.11833
State: Oper; Msgs sent/rcvd: 18/18; Downstream
Up time: 00:09:13
LDP discovery sources:
FastEthernet0/1, Src IP addr: 192.168.20.2
Addresses bound to peer LDP Ident:
192.168.20.2 10.10.10.2
Peer LDP Ident: 10.10.10.1:0; Local LDP Ident 10.10.10.10:0
TCP connection: 10.10.10.1.646 - 10.10.10.10.26892
State: Oper; Msgs sent/rcvd: 18/18; Downstream
Up time: 00:09:13
LDP discovery sources:
FastEthernet0/0, Src IP addr: 192.168.10.1
Addresses bound to peer LDP Ident:
192.168.10.1 10.10.10.1
P#
PE2#show mpls ldp nei
Peer LDP Ident: 10.10.10.10:0; Local LDP Ident 10.10.10.2:0
TCP connection: 10.10.10.10.11833 - 10.10.10.2.646
State: Oper; Msgs sent/rcvd: 19/19; Downstream
Up time: 00:10:02
LDP discovery sources:
FastEthernet1/0, Src IP addr: 192.168.20.1
Addresses bound to peer LDP Ident:
192.168.10.2 10.10.10.10 192.168.20.1
PE2#
CE- BRI-1
Gateway of last resort is 192.168.0.1 to network 0.0.0.0
10.0.0.0/32 is subnetted, 2 subnets
D EX 10.0.0.2 [170/2560025856] via 192.168.0.1, 00:14:58, FastEthernet0/0
C 10.0.0.1 is directly connected, Loopback0
192.168.0.0/30 is subnetted, 1 subnets
C 192.168.0.0 is directly connected, FastEthernet0/0
192.168.1.0/30 is subnetted, 1 subnets
D EX 192.168.1.4
[170/2560025856] via 192.168.0.1, 00:14:58, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 192.168.0.1
CE-BRI-1#
CE-BRI-2
10.0.0.0/32 is subnetted, 2 subnets
C 10.0.0.2 is directly connected, Loopback0
D EX 10.0.0.1 [170/2560025856] via 192.168.1.5, 00:00:59, FastEthernet0/0
192.168.0.0/30 is subnetted, 1 subnets
D 192.168.0.0 [90/307200] via 192.168.1.5, 00:00:59, FastEthernet0/0
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.4 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 192.168.1.5
CE-BRI-2#
Lab 1: MPLS backbone
Konfig PE2
!
interface Loopback0
ip address 10.10.10.2 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.20.2 255.255.255.252
mpls ip
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 10.10.10.2 0.0.0.0 area 0
network 192.168.20.2 0.0.0.0 area 0
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.10.10.1 remote-as 65000
neighbor 10.10.10.1 update-source Loopback0
no auto-summary
!
PE2(config)#do show mpls forw
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Untagged 192.168.10.0/30 0 Se1/0 point2point
17 Untagged 192.168.10.0/24 0 Se1/0 point2point
18 Untagged 10.10.10.1/32 0 Se1/0 point2point
PE2(config)#
PE1
interface Loopback0
ip address 10.10.10.1 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.10.1 255.255.255.0
mpls ip
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 10.10.10.1 0.0.0.0 area 0
network 192.168.10.1 0.0.0.0 area 0
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.10.10.2 remote-as 65000
neighbor 10.10.10.2 update-source Loopback0
no auto-summary
!
*Mar 1 00:18:58.559: %SYS-5-CONFIG_I: Configured from console by consolempls for
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Untagged 192.168.10.0/30 0 Se1/0 point2point
17 Untagged 192.168.20.0/30 0 Se1/0 point2point
18 Untagged 10.10.10.2/32 0 Se1/0 point2point
PE1#
P#show
*Mar 1 00:19:24.743: %SYS-5-CONFIG_I: Configured from console by consolempls fror
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Untagged 192.168.10.0/24 0 Se1/0 point2point
17 Untagged 10.10.10.2/32 0 Se1/1 point2point
18 Untagged 10.10.10.1/32 0 Se1/0 point2point
P#
!
interface Loopback0
ip address 10.10.10.2 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.20.2 255.255.255.252
mpls ip
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 10.10.10.2 0.0.0.0 area 0
network 192.168.20.2 0.0.0.0 area 0
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.10.10.1 remote-as 65000
neighbor 10.10.10.1 update-source Loopback0
no auto-summary
!
!
interface Loopback0
ip address 10.10.10.2 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.20.2 255.255.255.252
mpls ip
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 10.10.10.2 0.0.0.0 area 0
network 192.168.20.2 0.0.0.0 area 0
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.10.10.1 remote-as 65000
neighbor 10.10.10.1 update-source Loopback0
no auto-summary
!
PE2(config)#do show mpls forw
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Untagged 192.168.10.0/30 0 Se1/0 point2point
17 Untagged 192.168.10.0/24 0 Se1/0 point2point
18 Untagged 10.10.10.1/32 0 Se1/0 point2point
PE2(config)#
PE1
interface Loopback0
ip address 10.10.10.1 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.10.1 255.255.255.0
mpls ip
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 10.10.10.1 0.0.0.0 area 0
network 192.168.10.1 0.0.0.0 area 0
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.10.10.2 remote-as 65000
neighbor 10.10.10.2 update-source Loopback0
no auto-summary
!
*Mar 1 00:18:58.559: %SYS-5-CONFIG_I: Configured from console by consolempls for
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Untagged 192.168.10.0/30 0 Se1/0 point2point
17 Untagged 192.168.20.0/30 0 Se1/0 point2point
18 Untagged 10.10.10.2/32 0 Se1/0 point2point
PE1#
P#show
*Mar 1 00:19:24.743: %SYS-5-CONFIG_I: Configured from console by consolempls fror
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Untagged 192.168.10.0/24 0 Se1/0 point2point
17 Untagged 10.10.10.2/32 0 Se1/1 point2point
18 Untagged 10.10.10.1/32 0 Se1/0 point2point
P#
!
interface Loopback0
ip address 10.10.10.2 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.20.2 255.255.255.252
mpls ip
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 10.10.10.2 0.0.0.0 area 0
network 192.168.20.2 0.0.0.0 area 0
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.10.10.1 remote-as 65000
neighbor 10.10.10.1 update-source Loopback0
no auto-summary
!
Selasa, 06 Desember 2011
Lab 21 - BGP mindah Jalur - Local Preference
R1(config)#route
R1(config)#route-ma
R1(config)#route-map LOC_PREF permit 10
R1(config-route-map)#set loca
R1(config-route-map)#set local-preference 200
R1(config-route-map)#router bgp 1
R1(config-router)#nei 12.12.12.2 route
R1(config-router)#nei 12.12.12.2 route-map LOC_PREF in
R1(config-router)#do clear ip bgp *
R1(config-router)#
*Mar 1 00:40:41.311: %BGP-5-ADJCHANGE: neighbor 12.12.12.2 Down User reset
*Mar 1 00:40:41.315: %BGP-5-ADJCHANGE: neighbor 13.13.13.3 Down User reset
*Mar 1 00:40:42.063: %BGP-5-ADJCHANGE: neighbor 13.13.13.3 Up
*Mar 1 00:40:42.319: %BGP-5-ADJCHANGE: neighbor 12.12.12.2 Up
R1(config-router)#exit
R1(config)#^Z
R1#
*Mar 1 00:40:49.363: %SYS-5-CONFIG_I: Configured from console by console
R1#ping 3.3.3.3 so 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
.....
Success rate is 0 percent (0/5)
R1#ping 3.3.3.3 so 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/48/72 ms
R1#trace 3.3.3.3 so 1.1.1.1
Type escape sequence to abort.
Tracing the route to 3.3.3.3
1 12.12.12.2 36 msec 52 msec 12 msec
2 23.23.23.3 4 msec * 32 msec
R1#sh ip bgp
BGP table version is 3, local router ID is 1.1.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.1.1/32 0.0.0.0 0 32768 i
*> 3.3.3.3/32 12.12.12.2 200 0 23 i
* 13.13.13.3 200 0 23 i
R1#sh ip bgp 3.3.3.
% Incomplete command.
R1#sh ip bgp 3.3.3.3
BGP routing table entry for 3.3.3.3/32, version 2
Paths: (2 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
Advertised to update-groups:
1
23
12.12.12.2 from 12.12.12.2 (23.23.23.2)
Origin IGP, localpref 200, valid, external, best
23
13.13.13.3 from 13.13.13.3 (3.3.3.3)
Origin IGP, metric 200, localpref 100, valid, external
R1#
R1(config)#route-ma
R1(config)#route-map LOC_PREF permit 10
R1(config-route-map)#set loca
R1(config-route-map)#set local-preference 200
R1(config-route-map)#router bgp 1
R1(config-router)#nei 12.12.12.2 route
R1(config-router)#nei 12.12.12.2 route-map LOC_PREF in
R1(config-router)#do clear ip bgp *
R1(config-router)#
*Mar 1 00:40:41.311: %BGP-5-ADJCHANGE: neighbor 12.12.12.2 Down User reset
*Mar 1 00:40:41.315: %BGP-5-ADJCHANGE: neighbor 13.13.13.3 Down User reset
*Mar 1 00:40:42.063: %BGP-5-ADJCHANGE: neighbor 13.13.13.3 Up
*Mar 1 00:40:42.319: %BGP-5-ADJCHANGE: neighbor 12.12.12.2 Up
R1(config-router)#exit
R1(config)#^Z
R1#
*Mar 1 00:40:49.363: %SYS-5-CONFIG_I: Configured from console by console
R1#ping 3.3.3.3 so 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
.....
Success rate is 0 percent (0/5)
R1#ping 3.3.3.3 so 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/48/72 ms
R1#trace 3.3.3.3 so 1.1.1.1
Type escape sequence to abort.
Tracing the route to 3.3.3.3
1 12.12.12.2 36 msec 52 msec 12 msec
2 23.23.23.3 4 msec * 32 msec
R1#sh ip bgp
BGP table version is 3, local router ID is 1.1.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.1.1/32 0.0.0.0 0 32768 i
*> 3.3.3.3/32 12.12.12.2 200 0 23 i
* 13.13.13.3 200 0 23 i
R1#sh ip bgp 3.3.3.
% Incomplete command.
R1#sh ip bgp 3.3.3.3
BGP routing table entry for 3.3.3.3/32, version 2
Paths: (2 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
Advertised to update-groups:
1
23
12.12.12.2 from 12.12.12.2 (23.23.23.2)
Origin IGP, localpref 200, valid, external, best
23
13.13.13.3 from 13.13.13.3 (3.3.3.3)
Origin IGP, metric 200, localpref 100, valid, external
R1#
Langganan:
Postingan (Atom)