Beruflich Dokumente
Kultur Dokumente
BRKCRT-2001
Lab Guide
Joe Rinehart
Senior Education Specialist
Cisco Systems
Copyright 2014 Cisco Systems, Inc. All rights reserved.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not
intended to be actual addresses and phone numbers. Any examples, command display
output, network topology diagrams, and other figures included in the document are
shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in
illustrative content is unintentional and coincidental.
Before You Begin
Conventions
This lab guide uses the following conventions:
Contents
Before You Begin ............................................................................................ i
Conventions ................................................................................................................... i
Overview for All Labs .................................................................................11
Outline ...................................................................................................................... 11
Required Resources .................................................................................................. 11
Lab Topology ............................................................................................................. 12
Outline
This guide includes these activities:
Required Resources
The following resources and equipment are required to complete the activities in
this lab guide:
Lab Topology
To reflect the details of the BRK-2001 session on IOS, NX-OS and IOS-XR, the
equipment in the lab includes equipment from each target operating system.
Utilizing the Virtual Internet Routing (VIRL) platform, these are as follows:
One Cisco NX-OS Layer 3 Switch (Nexus 7010 Class, referred to as a router
rather than a switch for the purposes of this lab)
Description
To better highlight the similarities and differences between the various Cisco
operating systems, only a default configuration will exist on the lab devices.
Under normal circumstances, initial configuration such as hostnames, interface
configuration, IP addressing, and such, would have been already present. In this
exercise, you will perform configuration on the IOS (R1-IOS) and IOS-XE (R4-XE)
devices.
Activity Objective
In this activity, you will complete common, basic configuration actions on two lab
devices. After completing this activity, you will be able to meet these objectives:
Verify access to the VIRL lab via web interface and terminal session
Verify that all devices in the lab are present and functional
Visual Objective
The figure below illustrates the network topology for this activity.
Activity Procedure
Complete these steps:
Activity Verification
You have completed this task when you attain these results:
Activity Procedure
Complete the following steps on the IOS-XE device (R4-XE):
Step 1 Establish connectivity to the console port of R4-XE, using PUTTY or
a similar client application. If you are using VIRL/VMMaestro, you
may also use the default client.
Step 2 Configure R4-XE with basic device settings:
a) Upon successful connection, you may not see the familiar
startup menu, especially if using the VIRL environment (may
encounter prompt of ultra-vmdk, as shown below).
Activity Verification
You have completed this task when you have completed the initial
configurations of R1-IOS and R4-XE, and compared the results.
Description
To better highlight the similarities and differences between the various Cisco
operating systems, only a default configuration will exist on the lab devices.
Under normal circumstances, initial configuration such as hostnames, interface
configuration, IP addressing, and such, would have been already present. In this
exercise, you will perform basic configurations on the IOS-XR (R2-XR) and NX-OS
(R3-NXOS) devices.
Activity Objective
In this activity, you will complete common, basic configuration actions on all lab
devices. After completing this activity, you will be able to meet these objectives:
Verify access to the VIRL lab via web interface and terminal session
Verify that R2-XR and R3-NXOS are the lab is present and functional
Visual Objective
The figure below illustrates the network topology for this activity.
Activity Procedure
Complete the following steps on the IOS-XR device (R2-XR):
Step 1 Establish connectivity to the console port of R2-XR, using PUTTY or
a similar client application. If you are using VIRL/VMMaestro, you
may also use the default client.
Step 2 Configure R2-XR with basic device settings:
a) Upon successful connection, you will encounter a login screen
requesting a username and password combination. This is the
default behavior of IOS-XR, even with a default configuration.
Use the username cisco with the password cisco (both are case-
sensitive)
Activity Verification
You have completed this task when you have completed the initial
configuration of R2-XR, and compared the results to that of R1-IOS.
Activity Procedure
Complete the following steps on the NX-OS device (R3-NXOS):
Step 1 Establish connectivity to the console port of R3-NXOS, using
PUTTY or a similar client application. If you are using VIRL or
VMMaestro, you may also use the default client.
Step 2 Configure R3-NXOS with basic device settings:
a) Upon successful connection, you will encounter a login screen
requesting a username and password combination. This is the
default behavior of NX-OS, even with a default configuration.
Use the username admin with the password admin (both are
case-sensitive)
Activity Verification
You have completed this task when you have completed the initial configuration of
R2-XR and R3-NXOS, and compared the results to that of R1-IOS.
Lab 3: Interface
Configuration(s)
Description
One of the many configuration differences between traditional IOS devices and
those with IOS-XR an NX-OS lies in how each operating system handles
interfaces. To introduce you to those differences, this lab will focus on interface
configurations on all devices in the lab, including the links between them.
Activity Objective
In this activity, you will complete interface configuration actions on all lab devices.
After completing this activity, you will be able to meet these objectives:
Understand and articulate the differences between the way IOS and IOS-
XR/NX-OS deals with interface configurations.
Visual Objective
The figure below illustrates the network topology for this activity.
Activity Procedure
Complete the following steps on the IOS device (R1-IOS):
Step 1 Establish connectivity to the console port of R1-IOS, using PUTTY
or a similar client application. If you are using VIRL/VMMaestro,
you may also use the default client.
Step 2 Enter global configuration mode
Step 3 Configure loopback interfaces as follows:
a) Loopback0 (for router-id and other system wide functions)
IP(v4) Address: 10.1.1.1 (10.X.X.X, where X = router #)
Subnet Mask: 255.255.255.255 (/32)
Description: None (leave blank)
b) Loopback1 (Simulated LAN Connection)
IP(v4) Address: 192.168.1.1 (192.168.X.X, where X = router
#)
Subnet Mask: 255.255.255.0 (/24)
Description: Simulated LAN
Step 4 Configure Ethernet interfaces facing R2-XR as follows:
NOTE: Depending on how you created your lab, your interface assignments may
differ. Use show cdp neighbor to confirm.
Activity Verification
You have completed this task when you have successfully configured all of the
interfaces of R1-IOS.
Activity Procedure
Complete the following steps on the IOS-XR device (R2-XR):
Step 1 Establish connectivity to the console port of R2-XR, using PUTTY or
a similar client application. If you are using VIRL/VMMaestro, you
may also use the default client.
Step 2 Enter global configuration mode
Step 3 Configure loopback interfaces as follows:
a) Loopback0 (for router-id and other system wide functions)
IP(v4) Address: 10.2.2.2/32 (10.X.X.X, where X = router #)
Description: None (leave blank)
b) Loopback2 (Simulated LAN Connection)
IP(v4) Address: 192.168.2.2 (192.168.X.X, where X = router
#)
Subnet Mask: 255.255.255.0 (/24)
Description: Simulated LAN
Step 4 Configure Ethernet interfaces facing R1-IOS as follows:
NOTE: Depending on how you created your lab, your interface assignments may
differ. Use show cdp neighbor to confirm.
Activity Verification
You have completed this task when you have successfully configured all of the
interfaces of R2-XR. Note the significant differences in naming, addressing, and
other functions.
Activity Procedure
Complete the following steps on the NX-OS device (R3-NXOS):
Step 1 Establish connectivity to the console port of R3-NXOS, using
PUTTY or a similar client application. If you are using
VIRL/VMMaestro, you may also use the default client.
Step 2 Enter global configuration mode
Step 3 Configure loopback interfaces as follows:
a) Loopback0 (for router-id and other system wide functions)
IP(v4) Address: 10.3.3.3/32 (10.X.X.X, where X = router #)
Description: None (leave blank)
b) Loopback3 (Simulated LAN Connection)
IP(v4) Address: 192.168.3.3/24 (192.168.X.X, where X =
router #)
Description: Simulated LAN
Step 4 Configure Ethernet interfaces facing R1-IOS as follows:
NOTE: Depending on how you created your lab, your interface assignments may
differ. Use show cdp neighbor to confirm.
a) Ethernet 2/3
IP(v4) Address: 172.16.13.3/24 (172.16.XY.X, where X =
local router #, Y=remote router #)
Description: Link to R1-IOS
b) Ethernet 2/4
IP(v4) Address: 172.16.31.3/24 (172.16.YX.X, where Y =
local router #, X=remote router #)
Description: Link to R1-IOS
Step 5 Configure Ethernet interfaces facing R2-XR as follows:
a) Ethernet 2/1
IP(v4) Address: 172.16.23.3/24 (172.16.XY.X, where X =
local router #, Y=remote router #)
Activity Verification
You have completed this task when you have successfully configured all of the
interfaces of R3-NXOS. Note the differences in naming, addressing, and other
functions.
Activity Procedure
Complete the following steps on the IOS-XE device (R4-XE):
Step 1 Establish connectivity to the console port of R4-Xe, using PUTTY or
a similar client application. If you are using VIRL/VMMaestro, you
may also use the default client.
Step 2 Enter global configuration mode
Step 3 Configure loopback interfaces as follows:
a) Loopback0 (for router-id and other system wide functions)
IP(v4) Address: 10.4.4.4 (10.X.X.X, where X = router #)
Subnet Mask: 255.255.255.0 (/32)
Description: None (leave blank)
b) Loopback4 (Simulated LAN Connection)
IP(v4) Address: 192.168.4.4 (192.168.X.X, where X = router
#)
Subnet Mask: 255.255.255.0 (/24)
Description: Simulated LAN
Step 4 Configure Ethernet interfaces facing R4-NXOS as follows:
NOTE: Depending on how you created your lab, your interface assignments may
differ. Use show cdp neighbor to confirm.
a) GigabitEthernet2
IP(v4) Address: 172.16.34.4 (172.16.XY.X, where X = local
router #, Y=remote router #)
Subnet Mask: 255.255.255.0 (/24)
Description: Link to R3-NXOS
b) GigabitEthernet3
IP(v4) Address: 172.16.31.3 (172.16.YX.X, where Y = local
router #, X=remote router #)
Subnet Mask: 255.255.255.0 (/24)
Description: Link to R3-NXOS
Activity Verification
You have completed this task when you have successfully configured all of the interfaces of
R4-XE. Note the differences in naming, addressing, and other functions.
Lab 4: EIGRP
Configuration
Description
Another configuration difference between traditional IOS devices and those with
IOS-XR an NX-OS lies in how each operating system handles IP(v4/v6) routing.
To introduce you to those differences, this lab will focus on interface configurations
on all devices in the lab, including the links between them.
Activity Objective
In this activity, you will complete interface configuration actions on all lab devices.
After completing this activity, you will be able to meet these objectives:
Understand and be able to articulate the differences between the way IOS
and IOS-XR/NX-OS deals with interface configurations.
Visual Objective
The figure below illustrates the network topology for this activity.
Activity Procedure
Complete the following steps on the IOS device (R1-IOS):
Step 1 Establish connectivity to the console port of R1-IOS, using PUTTY
or a similar client application. If you are using VIRL/VMMaestro,
you may also use the default client.
Step 2 Enter global configuration mode
Step 3 Configure an EIGRP routing process as follows:
a) AS Number: 100
b) Router-ID: 10.1.1.1
c) Automatic Summarization: Disabled
Step 4 Specify the following addresses/interfaces for EIGRP routing:
a) 10.1.1.1/32
b) 192.168.1.0/24
c) 172.16.12.0/24
d) 172.16.21.0/42
e) 172.16.13.0/24
f) 172.16.31.0/24
Activity Verification
You have completed this task when you have successfully configured EIGRP
routing on R1-IOS.
Activity Procedure
Complete the following steps on the IOS-XR device (R2-XR):
Step 1 Establish connectivity to the console port of R2-XR, using PUTTY or
a similar client application. If you are using VIRL/VMMaestro, you
may also use the default client.
Step 2 Enter global configuration mode
Step 3 Configure an EIGRP routing process as follows:
a) AS Number: 100
b) Address-Family: IPv4
c) Router-ID: 10.2.2.2
Step 4 Specify the following interfaces for EIGRP routing:
a) Loopback0
b) Loopback2
c) GigabitEthernet0/0/0/0
d) GigabitEthernet0/0/0/1
e) GigabitEthernet0/0/0/2
f) GigabitEthernet0/0/0/3
Activity Verification
You have completed this task when you have successfully configured EIGRP
routing on R2-XR and can verify successful routing and reachability to R1-IOS.
Activity Procedure
Complete the following steps on the NX-OS device (R3-NXOS):
Step 1 Establish connectivity to the console port of R3-NXOS, using
PUTTY or a similar client application. If you are using
VIRL/VMMaestro, you may also use the default client.
Step 2 Enter global configuration mode
Step 3 Configure an EIGRP routing process as follows:
a) AS Number: 100
b) Router-ID: 10.3.3.3
Step 4 Specify the following interfaces for EIGRP routing AS 100:
a) Loopback0
b) Loopback3
c) Ethernet2/1
d) Ethernet2/2
e) Ethernet2/3
f) Ethernet2/4
g) Ethernet2/5
h) Ethernet2/6
Activity Verification
You have completed this task when you have successfully configured EIGRP
routing on R3-NXOS and can verify successful routing and reachability to R1-IOS
and R2-XR.
Activity Procedure
Complete the following steps on the IOS-XE device (R4-XE):
Step 1 Establish connectivity to the console port of R4-XE, using PUTTY or
a similar client application. If you are using VIRL/VMMaestro, you
may also use the default client.
Step 2 Enter global configuration mode
a) AS Number: 100
b) Router-ID: 10.1.1.1
c) Automatic Summarization: Disabled
Step 3 Specify the following addresses/interfaces for EIGRP routing:
a) 10.4.4.4/32
b) 192.168.4.0/24
c) 172.16.34.0/24
d) 172.16.43.0/42
Step 4 Verify that EIGRP is operating properly by using the following
commands:
e) Show ip EIGRP interfaces (note Loopback and Ethernet
interfaces participating in process)
f) Show ip EIGRP neighbors (two entries from R3-NXOS)
g) Show ip route EIGRP (Verify presence of Loopback interfaces
on R1-IOS, R2-XR and R3-NXOS)
Activity Verification
You have completed this task when you have successfully configured EIGRP
routing on R4-XE and can verify successful routing and reachability to R1-IOS,
R2-XR and R3-NXOS.
Final Configurations
R1-IOS
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname R1-IOS
boot-start-marker
boot-end-marker
interface Loopback0
ip address 10.1.1.1 255.255.255.255
interface Loopback1
description Simulated LAN
ip address 192.168.1.1 255.255.255.0
interface GigabitEthernet0/0
description Management Network
ip address dhcp
interface GigabitEthernet0/1
description Link to R2-XR
ip address 172.16.12.1 255.255.255.0
interface GigabitEthernet0/2
description Link to R2-XR
ip address 172.16.21.1 255.255.255.0
interface GigabitEthernet0/3
description Link to R3-NXOS
ip address 172.16.13.1 255.255.255.0
interface GigabitEthernet0/4
description Link to R3-NXOS
ip address 172.16.31.1 255.255.255.0
line con 0
privilege level 15
password cisco
line aux 0
line vty 0 4
password cisco
login
transport input all
line vty 5 924
password cisco
login
transport input all
end
R2-XR
IOS XR Configuration 5.1.1.12C
Last configuration change at Mon Apr 7 21:33:45 2014 by cisco
hostname R2-XR
domain name cisco.com
cdp
line console
exec-timeout 0 0
line default
transport input all
interface Loopback0
ipv4 address 10.2.2.2 255.255.255.0
interface Loopback2
description Simulated LAN
ipv4 address 192.168.2.2 255.255.255.0
interface MgmtEth0/0/CPU0/0
interface GigabitEthernet0/0/0/0
description Link to R1-IOS
cdp
ipv4 address 172.16.12.2 255.255.255.0
interface GigabitEthernet0/0/0/1
description Link to R1-IOS
cdp
ipv4 address 172.16.21.2 255.255.255.0
interface GigabitEthernet0/0/0/2
description Link to R3-NXOS
cdp
ipv4 address 172.16.23.2 255.255.255.0
interface GigabitEthernet0/0/0/3
description Link to R3-NXOS
cdp
ipv4 address 172.16.32.2 255.255.255.0
interface Loopback2
interface GigabitEthernet0/0/0/0
interface GigabitEthernet0/0/0/1
interface GigabitEthernet0/0/0/2
interface GigabitEthernet0/0/0/3
end
R3-NXOS
version 7.0(1)
license grace-period
hostname R3-NXOS
vdc R3-NXOS id 1
limit-resource module-type m1 m1xl m2xl f2e
allocate interface Ethernet2/1-48
allocate interface Ethernet3/1-48
allocate interface Ethernet4/1-48
limit-resource vlan minimum 16 maximum 4094
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 768
limit-resource u4route-mem minimum 96 maximum 96
feature eigrp
interface Ethernet2/1
no switchport
mac-address 0000.0000.002f
ip address 172.16.23.3/24
ip router eigrp 100
no shutdown
interface Ethernet2/2
no switchport
mac-address 0000.0000.002f
ip address 172.16.32.3/24
ip router eigrp 100
no shutdown
interface Ethernet2/3
no switchport
mac-address 0000.0000.002f
ip address 172.16.13.3/24
ip router eigrp 100
no shutdown
interface Ethernet2/4
no switchport
mac-address 0000.0000.002f
ip address 172.16.31.3/24
ip router eigrp 100
no shutdown
interface Ethernet2/5
no switchport
mac-address 0000.0000.002f
ip address 172.16.34.3/24
ip router eigrp 100
no shutdown
interface Ethernet2/6
no switchport
mac-address 0000.0000.002f
ip address 172.16.43.3/24
ip router eigrp 100
no shutdown
interface mgmt0
vrf member management
interface loopback0
ip address 10.3.3.3/32
ip router eigrp 100
interface loopback2
ip address 192.168.3.3/24
ip router eigrp 100
cli alias name wr copy run start
line console
exec-timeout 0
line vty
router eigrp 100
router-id 10.3.3.3
no system default switchport shutdown
R4-XE
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no platform punt-keepalive disable-kernel-core
platform console serial
hostname R4-XE
cdp run
interface Loopback0
ip address 10.4.4.4 255.255.255.255
interface Loopback4
description Simulated LAN
ip address 192.168.4.4 255.255.255.0
interface GigabitEthernet1
description Management Network
ip address dhcp
negotiation auto
cdp enable
interface GigabitEthernet2
description Link to R3-NXOS
ip address 172.16.34.4 255.255.255.0
negotiation auto
cdp enable
interface GigabitEthernet3
description Link to R3-NXOS
ip address 172.16.43.4 255.255.255.0
negotiation auto
cdp enable
no ip http server
ip http secure-server
line con 0
privilege level 15
password cisco
stopbits 1
line vty 0
password cisco
login
transport input all
line vty 1
password cisco
login
transport input all
length 0
line vty 2 4
password cisco
login
transport input all
line vty 5 98
password cisco
login
transport input all
end