A5 byCCIEMAN2016 - Nonvrf
A5 byCCIEMAN2016 - Nonvrf
A5 byCCIEMAN2016 - Nonvrf
################
WARNING
##################
PAY ATTENCION GUYS, CISCO PUT INTERFACE SW4,SW5,SW6 ON ACCESS MODE,
AND ALL INTERFACE IN SHUTDOWN. WHEN WE START EXAM, UP INTERFACE AND
ENABLED BPDUGUARD, INTERFACE GOES DOWN AGAIN. THIS WAS A WRAP FROM
CISCO.
########################################
####################### TIP ####################
INTERFACE ARE DIFERENCES, EQUAL TOPOLOGY BELLOW, PORTCHANNEL WAS PRECONFIGURED, BUT INTERFACES WE NEED PUT INSIDE PORTCHANNEL!
Solution:
SW3:
vtp domain CCIE
vtp mode server
!
spanning-tree portfast bpduguard default
spanning-tree portfast default
snmp-server enable trap syslog
!
vlan 34,100,153,156,164,173,184,911,999
!
interface range e0/1,e0/3,e2/0-3
switchport mode access
switchport access vlan 999
shutdown
!
interface e0/0
switchport mode access
switchport access vlan 156
interface e0/2
switchport mode access
switchport access vlan 153
!
SW4:
vtp domain CCIE
vtp mode client
!
spanning-tree portfast bpduguard default
spanning-tree portfast default
snmp-server enable trap syslog
SW5:
vtp domain CCIE
vtp mode client
!
spanning-tree portfast bpduguard default
spanning-tree portfast default
snmp-server enable trap syslog
!
interface range e2/0-3
switchport mode access
switchport access vlan 999
shutdown
!
interface e0/0
switchport mode access
switchport access vlan 173
!
interface range e0/1-3
switchport mode access
switchport access vlan 100
!
SW6:
vtp domain CCIE
vtp mode client
!
spanning-tree portfast bpduguard default
spanning-tree portfast default
snmp-server enable trap syslog
!
interface range e2/0-3
switchport mode access
switchport access vlan 999
shutdown
!
interface e0/0
Check:
Spanning-tree
Check:
Check:
!
interface Dialer0
ip address negotiated
encapsulation ppp
dialer pool 1
ppp chap hostname Jamesons-R20
ppp chap password 0 CCIE
ppp ipcp route default
!
interface Ethernet0/0
pppoe enable
pppoe-client dial-pool-number 1
!
ip route 192.0.2.0 255.255.255.0 dialer1
R21
!
interface Dialer0
ip address negotiated
encapsulation ppp
dialer pool 1
ppp chap hostname Jamesons-R21
ppp chap password 0 CCIE
ppp ipcp route default
!
interface Ethernet0/0
pppoe enable
Check:
Solution:
-------------------|Datacenter Network|
-------------------SW3
router ospf 65002
router-id 10.255.1.103
network 10.2.0.6 0.0.0.0 area 0
!
SW4
router ospf 65002
router-id 10.255.1.104
network 10.2.0.10 0.0.0.0 area 0
network 10.2.0.14 0.0.0.0 area 0
network 10.2.0.41 0.0.0.0 area 0
network 10.2.1.254 0.0.0.0 area 0
network 10.2.100.104 0.0.0.0 area 0
network 10.255.1.104 0.0.0.0 area 0
!
R15
router ospf 65002
router-id 10.255.1.15
network 10.2.0.1 0.0.0.0 area 0
network 10.2.0.5 0.0.0.0 area 0
network 10.255.1.15 0.0.0.0 area 0
R16
router ospf 65002
router-id 10.255.1.16
network 10.2.0.2 0.0.0.0 area 0
network 10.2.0.9 0.0.0.0 area 0
network 10.255.1.16 0.0.0.0 area 0
R17
router ospf 65002
router-id 10.255.1.17
network 10.2.0.38 0.0.0.0 area 0
network 10.255.1.17 0.0.0.0 area 0
---------------------|Headquarters Network|
---------------------SW1
interface vlan101
ip ospf priority 255
-------------|Main Network|
-------------SW2
interface vlan101
ip ospf priority 255
!
router ospf 65002
router-id 10.255.1.102
network 10.3.1.254 0.0.0.0 area 0
network 10.3.254.254 0.0.0.0 area 0
network 10.255.1.102 0.0.0.0 area 0
R13
router ospf 65002
router-id 10.255.1.13
network 10.3.254.1 0.0.0.0 area 0
network 10.255.1.13 0.0.0.0 area 0
R14
router ospf 65002
router-id 10.255.1.14
network 10.3.254.2 0.0.0.0 area 0
network 10.255.1.14 0.0.0.0 area 0
Check:
Tip: look loopback address.
Solution (you cannt do this section, before do section 3.1(dmvpn), this is prereq):
Check (usually, I make section 3.1 before this section, but now I created this
section this normal sequence, cuz this this moment we cannot see ospf neighbor UP.
You can jump to section 3.1 and apply solution for test):
Solution:
--------------|CORE JACOBs|
--------------R50
R51
R52
interface Loopback52
ip address 52.52.52.52 255.255.255.255
!
route-tag notation dotted-decimal
!
route-map connected permit 10
match interface Loopback52
set tag 172.172.172.172
!
!
router eigrp CCIE
!
address-family ipv4 unicast autonomous-system 1
!
topology base
redistribute connected metric 10000 1000 255 1 1500 route-map connected
exit-af-topology
network 172.30.1.52 0.0.0.0
network 172.30.100.3 0.0.0.0
eigrp default-route-tag 172.172.172.172
exit-address-family
no router eigrp 10
!
router eigrp CCIE
add ipv4 auto 10
network 172.18.254.1 0.0.0.0
network 172.30.1.55 0.0.0.0
!
Check:
A very smaller output as the one shown below must be seen on R11, R12, R13 and R14 (only
the nexthop, version and updategroup may differ).
R11#sh ip top 10.2.0.0/16
PS.: you dont see this output this point. You need done section 3.2
and 3.4 for see this output.
Solution:
R11
router ospf 65002
default-information originate
!
ip prefix-list ebgp permit 10.1.0.0/16
ip prefix-list ebgp permit 10.255.1.11/32
ip prefix-list ebgp permit 10.255.1.12/32
ip prefix-list ebgp permit 10.255.1.101/32
!
router bgp 65002
aggregate-address 10.1.0.0 255.255.0.0 summary-only
redistribute ospf 65002
neighbor 10.254.0.53 prefix-list ebgp out
neighbor 10.255.1.12 next-hop-self
!
R12
R16
router ospf 65002
R1
router bgp 65001
bgp router-id 10.255.1.1
bgp log-neighbor-changes
neighbor ibgp peer-group
neighbor ibgp remote-as 65001
neighbor ibgp update-source Loopback0
neighbor 10.255.1.3 peer-group ibgp
neighbor 10.255.1.4 peer-group ibgp
neighbor 10.255.1.5 peer-group ibgp
neighbor 10.255.1.6 peer-group ibgp
neighbor 10.255.1.7 peer-group ibgp
neighbor 10.255.1.8 peer-group ibgp
!
address-family ipv4
neighbor ibgp route-reflector-client
neighbor 10.255.1.3 activate
neighbor 10.255.1.4 activate
neighbor 10.255.1.5 activate
neighbor 10.255.1.6 activate
neighbor 10.255.1.7 activate
neighbor 10.255.1.8 activate
!
R3
router bgp 65001
bgp router-id 10.255.1.3
bgp log-neighbor-changes
neighbor 10.255.1.1 remote-as 65001
neighbor 10.255.1.1 up lo0
address-family ipv4
neighbor 10.255.1.1 activate
!
R4
router bgp 65001
bgp router-id 10.255.1.4
bgp log-neighbor-changes
neighbor 10.255.1.1 remote-as 65001
neighbor 10.255.1.1 up lo0
address-family ipv4
neighbor 10.255.1.1 activate
Check:
Check if each prefix is sending for router border. This moment you dont received
nothing, cuz MPLS SETUP no configure yet. After section 3.2,3.3,3.4 you should see
routes receive. Check only if you sent network.
Solution:
R18
ip prefix-list merge seq 5 permit 10.0.0.0/8
!
router ospf 65002
router-id 10.255.1.18
redistribute bgp 65002 subnets metric-type 1
network 10.2.0.42 0.0.0.0 area 0
R57
Check:
R9
route-tag notation dotted-decimal
!
route-map loop deny 10
match tag 172.172.172.172
route-map loop permit 20
!
router ospf 65001
router-id 10.255.1.9
redistribute eigrp 1 subnets
distribute-list route-map loop in
!
R10
route-tag notation dotted-decimal
!
route-map loop deny 10
match tag 172.172.172.172
route-map loop permit 20
!
router ospf 65001
router-id 10.255.1.10
redistribute eigrp 1 subnets
distribute-list route-map loop in
!
inte ran e0/0,lo0
ip ospf 65001 area 0
!
router eigrp CCIE
!
address-family ipv4 unicast autonomous-system 1
!
topology base
redistribute ospf 65001 metric 10000 1000 255 1 1500
exit-af-topology
network 10.254.0.65 0.0.0.0
R53
router eigrp CCIE
address-family ipv4 unicast autonomous-system 1
topology base
exit-af-topology
network 10.254.0.62 0.0.0.0
network 172.30.1.53 0.0.0.0
network 172.30.100.4 0.0.0.0
Check:
Both solutions you should get prefix 52.52.52.52/32 on R9/R10 by EIGRP
Refer to the Overall Scenario, Diagram 2: Initial Topology and Diagram 6: Merge Phase 2.
Configure the network as per the following requirements:
Network managers have decided that the primary path for all traffic between Jamesons
10.2.1.0/24 and Jacobs 172.18.1.0/24 must be routed preferably via the BGP backdoor link
between R18 and R57. If this link should fail then traffic should fall back over the MPLS core
network.
All other traffic must be routed preferably via the MPLS core network.
Do not configure any routemap nor accesslist in order to achieve this requirement.
Ensure that the following test reveals the same path as shown below:
Solution:
R18
ip prefix-list merge seq 10 permit 10.2.1.0/24
!
clear ip bgp * out
R57
ip prefix-list merge permit 172.18.1.0/24
!
clear ip bgp * out
Check:
This moment, you dont make section 5.1 and 5.3 (dhcp and hsrp) so you cannot
test from PC. For test, use source vlan over swich. Too you dont make section MPLS
vpn, so you dont get traceroute over MPLS cloud. We can test for specfic network.
Solution:
SW3
ipv6 unicast-routing
!
router ospfv3 65002
router-id 10.255.1.103
!
interface range l0, vlan153, vlan34
ospfv3 65002 ipv6 area 0
!
interface vlan 100
ipv6 nd router-preference High
ipv6 nd ra interval 20
SW4
ipv6 unicast-routing
!
router ospfv3 65002
router-id 10.255.1.104
!
interface range l0, vlan34
ospfv3 65002 ipv6 area 0
!
interface vlan 100
ipv6 nd router-preference medium
ipv6 nd ra interval 20
R15
R16
ipv6 unicast-routing
!
Ipv6 router ospf 65002
router-id 10.255.1.16
!
interface range e0/0, e0/2
ospfv3 65002 ipv6 area 0
!
Check:
R101
inte e0/0
ipv6 address autoconfig
Check:
R17
ip pim bsr-candidate lo0
ip pim rp-candidate loopback 0
!
ip multicast-routing
!
interface range e0/1, tunnel0
ip pim sparse-mode
!
R19
!
ip multicast-routing
!
interface range e0/1, tunnel0
ip pim sparse-mode
!
interface e0/1
ip igmp join-group 239.1.1.1
R20
ip multicast-routing
!
interface range e0/1, tunnel0
ip pim sparse-mode
!
interface e0/1
ip igmp join-group 239.1.1.1
R21
ip multicast-routing
!
interface range e0/1, tunnel0
ip pim sparse-mode
!
interface e0/1
ip igmp join-group 239.1.1.1
Check:
Solution:
ON EXAM, CRYPTO POLICY WAS PRE-CONFIGURED, WE NEED PUT ON INTERFACE;
R17
interface Tunnel0
ip mtu 1400
ip nhrp authentication 65002key
interface Tunnel0
ip mtu 1400
ip nhrp authentication 65002key
ip nhrp map multicast 192.0.2.2
ip nhrp map 10.100.0.1 192.0.2.2
ip nhrp network-id 65002
ip nhrp holdtime 300
ip nhrp nhs 10.100.0.1
ip nhrp shortcut
ip ospf network broadcast
ip ospf priority 0
tunnel source Dialer0
tunnel vrf LOCALSP
tunnel protection ipsec profile cisco
!
R21
interface Tunnel0
ip mtu 1400
ip nhrp authentication 65002key
Check:
Ensure that R101 in the datacenters VLAN 100 can successfully ping SW2 in the main
office as shown below:
R6
mpls ldp router-id lo0 force
!
inte ran e0/0-1
mpls ip
!
ip vrf GREEN
rd 65002:6
!
interface Ethernet0/2
ip vrf forwarding GREEN
ip address 10.254.0.45 255.255.255.252
!
router bgp 65001
no neighbor 10.254.0.46 remote-as 65002
!
address-family vpnv4
neighbor 10.255.1.1 activate
neighbor 10.255.1.1 send-community extended
add ipv4 vrf GREEN
neighbor 10.254.0.46 remote-as 65002
neighbor 10.254.0.46 as-override
neighbor 10.254.0.46 soo 5:6
R7
mpls ldp router-id lo0 force
!
inte ran e0/3
mpls ip
!
ip vrf RED
rd 65002:7
!
int e0/0
ip vrf forwarding RED
ip address 10.254.0.53 255.255.255.252
!
router bgp 65001
no neighbor 10.254.0.54 remote-as 65002
address-family vpnv4
neighbor 10.255.1.1 activate
neighbor 10.255.1.1 send-community extended
Check:
Solution:
R9
mpls ldp router-id lo0 force
!
interface range e0/0-1
mpls ip
R10
mpls ldp router-id lo0 force
!
ip vrf GREEN
rd 65005:51
!
interface e0/1
ip vrf fo GREEN
ip address 172.18.253.5 255.255.255.252
!
no router bgp 65006
!
#we need wait some sec here#
!
router bgp 65001
bgp router-id 172.30.1.51
neighbor 10.255.1.1 remote-as 65001
neighbor 10.255.1.1 up lo0
add ipv4 vrf GREEN
neighbor 172.18.253.6 remote-as 65005
neighbor 172.18.253.6 local-as 65006
add vpnv4
neighbor 10.255.1.1 act
R52
mpls ldp router-id lo0 force
!
interface e0/0
mpls ip
!
ip vrf BLUE
rd 65007:52
!
interface e0/1
ip vrf fo BLUE
ip address 172.17.253.22 255.255.255.252
!
no router bgp 65006
R1
router bgp 65001
neighbor 172.30.1.50
neighbor 172.30.1.51
neighbor 172.30.1.52
!
add vpnv4
neighbor 172.30.1.50
neighbor 172.30.1.51
neighbor 172.30.1.52
peer-group ibgp
peer-group ibgp
peer-group ibgp
act
act
act
Check:
export
import
import
import
import
import
65001:1
65001:1
65001:2
65001:3
65001:4
65001:5
export
import
import
import
import
import
65001:1
65001:1
65001:2
65001:3
65001:4
65001:5
R4
ip vrf GREEN
route-target
route-target
route-target
route-target
route-target
route-target
R5
ip vrf GREEN
route-target export 65001:2
route-target import 65001:1
route-target import 65001:2
R6
ip vrf GREEN
route-target export 65001:2
route-target import 65001:1
route-target import 65001:2
R7
ip vrf RED
route-target export 65001:3
route-target import 65001:1
route-target import 65001:3
R8
ip vrf RED
R50
ip vrf GREEN
route-target export 65001:4
route-target import 65001:1
R51
ip vrf GREEN
route-target export 65001:4
route-target import 65001:1
R52
ip vrf BLUE
route-target export 65001:5
route-target import 65001:1
Check:
R17
ip access-list extended ttl
deny pim any any
deny ospf any any
deny gre any any
deny udp any any eq isakmp
deny esp any any
deny tcp any eq 179 any
deny tcp any any eq 179
permit ip any any ttl lt 2
!
class-map match-all classttl
match access-group name ttl
!
policy-map policyttl
class classttl
drop
!
control-plane
service-policy input policyttl
Check:
Solution:
R15
ip dhcp excluded-address 10.2.1.1
ip dhcp excluded-address 10.2.1.253
ip dhcp excluded-address 10.2.1.254
ip dhcp pool VLAN100
network 10.2.1.0 255.255.255.0
default-router 10.2.1.1
!
SW3
interface vlan 100
ip helper-address 10.255.1.15
SW4
interface vlan 100
ip helper-address 10.255.1.15
Check:
Solution:
R17
access-list 99 permit 10.0.0.0 0.255.255.255
access-list 99 permit 172.0.0.0 0.255.255.255
!
interface e0/0
ip nat outside
!
interface range e0/1, tunnel0
ip nat inside
Check:
SW3 and SW4 must monitor the reachability of their OSPF IPv4 default route and in case it
is not available, the HSRP priority must be decreased by 10.
Solution:
SW3
track 1 ip route 0.0.0.0/0 reachability
!
interface vlan100
standby 100 track 1 decrement 10
SW4
track 1 ip route 0.0.0.0/0 reachability
!
interface vlan100
standby 100 track 1 decrement 10
Check: