Sie sind auf Seite 1von 50

IOS, IOS-XR & NX-OS LAB

BRKCRT-2001

Lab Guide

Joe Rinehart
Senior Education Specialist
Cisco Systems
Copyright 2014 Cisco Systems, Inc. All rights reserved.

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN


THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE
BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY
FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING
PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED
WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE.
IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED
WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program
developed by the University of California, Berkeley (UCB) as part of UCBs public domain
version of the UNIX operating system. All rights reserved. Copyright 1981, Regents of
the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES
AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED AS IS WITH ALL
FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL
WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION,
THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR
TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT,
SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF
THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS
SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the
U.S. and other countries. A listing of Cisco's trademarks can be found at
www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of
their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (1005R)
THIS DOCUMENT IS CONSIDERED CISCO PROPERTY AND COPYRIGHTED AS
SUCH. NO PORTION OF COURSE CONTENT OR MATERIALS MAY BE RECORDED,
REPRODUCED, DUPLICATED, DISTRIBUTED OR BROADCAST IN ANY MANNER
WITHOUT CISCOS WRITTEN PERMISSION.

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:

boldface Commands and keywords are in boldface.


Example: Type show running config
Example: Use the name command.
Example: Save your current configuration as the default
startup config.
Router Name# copy running startup
brackets ([ ]) Indicates optional element. You can choose one of the options.
Example:
(config-if)# frame-relay lmi-type
{ansi|cisco|q933a}
italics font Arguments for which you supply values are in italics.
Example: Open file ip tcp window-size bytes
angle brackets In contexts that do not allow italics, arguments are enclosed in
(<>) angle brackets [<>] Do not type the brackets when entering
the command.
Example: If the command syntax is ping <ip_address>,
you enter ping 192.32.10.12
string A non-quoted set of characters. Do not use quotations marks
around the characters, or the string will include the
quotations marks.
Example: (config)# hostname MyRouter
separator (>) Shows the menu path.
Example: Dialup > Backup Circuits identifies the Backup
Circuits option in the Dialup menu.
vertical line (|) Indicates that you enter only one of the parts of the
command. The vertical line separates choices. Do not
type the vertical line when entering the command.
Example: If the command syntax is show ip route|arp,
you enter either show ip route or show ip arp, but not
both.
IOS, IOS-XR & NX-OS LAB Contents

Contents
Before You Begin ............................................................................................ i
Conventions ................................................................................................................... i
Overview for All Labs .................................................................................11
Outline ...................................................................................................................... 11
Required Resources .................................................................................................. 11
Lab Topology ............................................................................................................. 12

Lab 1: R1-IOS & R4-XE Initial Configuration .............................................13


Description ................................................................................................................ 13
Activity Objective ..................................................................................................... 13
Visual Objective ........................................................................................................ 14
Task 1: Configuration of R1-IOS (IOS Based Router) ..............................15
Task 2: Configuration of R4-XE (IOS-XE Based Router) .........................18
Lab Success Criteria.................................................................................110

Lab 2: R2-XR & R3-NXOS Initial Configuration .......................................211


Description .............................................................................................................. 211
Activity Objective ................................................................................................... 211
Visual Objective ...................................................................................................... 212
Task 1: Configuration of R2-IOS (IOS-XR Based Router) ......................213
Task 2: Configuration of R3-NXOS (NX-OS Based Router) ...................215
Lab Success Criteria.................................................................................217

Lab 3: Interface Configuration(s) .............................................................318


Description .............................................................................................................. 318
Activity Objective ................................................................................................... 318
Visual Objective ...................................................................................................... 319
Task 1: Configuration of R1-IOS Interfaces (IOS Based Router) ...........320
Task 2: Configuration of R2-XR Interfaces (IOS-XR Based router) .......322
Task 3: Configuration of R3-NXOS Interfaces ........................................324
Task 4: Configuration of R4-XE Interfaces .............................................327
Lab Success Criteria.................................................................................328

2013 Cisco Systems, Inc. 2.0 iii


Contents BRKCRT-2001

Lab 4: EIGRP Configuration......................................................................429


Description .............................................................................................................. 429
Activity Objective ................................................................................................... 429
Visual Objective ...................................................................................................... 430
Task 1: Configuration of R1-IOS EIGRP (IOS Based Router) ...............431
Task 2: Configuration of R2-XR EIGRP (IOS-XR Based Router)...........433
Task 3: Configuration of R3-NXOS EIGRP (NX-OS Based Router) ......435
Task 4: Configuration of R4-XE EIGRP (IOS-XE Based Router)...........437
Lab Success Criteria.................................................................................438

Final Configurations ............................................................................439


R1-IOS ..................................................................................................................... 439
R2-XR ...................................................................................................................... 440
R3-NXOS ................................................................................................................. 441
R4-XE ...................................................................................................................... 443

iv 2.0 BRKCRT-2001 Lab Guide


Learning Services 6BBefore You Begin

Overview for All Labs

Outline
This guide includes these activities:

Lab 1: R1-IOS & R4-XE Initial Configuration

Lab 2: R2-XR & R3-NXOS Initial Configuration

Lab 3: Interface Configuration(s)

Lab 4: EIGRP Routing Configuration

Required Resources
The following resources and equipment are required to complete the activities in
this lab guide:

Cisco Virtual Internet Routing Lab (VIRL)

This Lab Guide

2013 Cisco Systems, Inc. 2.0 11


Lab 1: R1-IOS & R4-XE Initial Configuration Learning Services

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 IOS Router (2900/3900 ISR-G2 Class)

One Cisco IOS-XR Router (ASR-9000 SP Class Router)

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)

One Cisco IOS-XE Router (CSR-1000v Class)

12 2.0 BRKCRT-2001 Lab Guide


Learning Services 6BBefore You Begin

Lab 1: R1-IOS & R4-


XE Initial
Configuration

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:

Connect to the lab environment from your laptop or desktop

Verify access to the VIRL lab via web interface and terminal session

Verify that all devices in the lab are present and functional

Assign hostnames, device access, passwords, and other essential items on


R1-IOS and R4-XE.

2013 Cisco Systems, Inc. 2.0 13


Lab 1: R1-IOS & R4-XE Initial Configuration Learning Services

Visual Objective
The figure below illustrates the network topology for this activity.

14 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 1: Configuration of R1-IOS (IOS Based Router)

Task 1: Configuration of R1-IOS (IOS Based Router)


The purpose of this task is to verify and/or establish connectivity to R1 by way of
the CLI. PUTTY is recommended as a reliable telnet/SSH client and is available
for Windows and Linux users. Other devices in the lab will be accessible in a
similar, if not identical, manner. Once connectivity has been achieved, you will
enter basic device commands to minimally configure R1-IOS. The purpose of this
activity is to establish a baseline of the user experience in IOS for later comparison
with devices using other operating systems.

Activity Procedure
Complete these steps:

Step 1 Power on R1-IOS:


a) If using physical equipment, verify that the router is connected
to power and switch the device on.
b) If using the VIRL lab environment, power on the VM and
Launch VMMaestro. Create a new topology as follows:
Create a new project and topology (names of your choosing)
Create IOSv, IOSXRv, NXOSv, and CSR1000v devices,
respectively.
Cable two Ethernet connections between R1-IOS, R2-XR,
and R3-NXOS, and two Ethernet connections between R3-
NXOS and R4-XE.

2013 Cisco Systems, Inc. 2.0 15


Lab 1: R1-IOS & R4-XE Initial Configuration Learning Services

Step 2 Configure R1-IOS with basic device settings.


a) Upon successful connection, you should encounter the familiar
IOS router setup menu:

b) Configure the following settings in R1-IOS follows:


Hostname: R1-IOS
Enable Secret: cisco
Username/Password: cisco/cisco
Domain Name: cisco.com
Console Line: Privilege level 15, password cisco, no login,
transport input all
VTY Lines (0-924): password cisco, transport input all
Step 3 Save the configuration using wr mem.
Step 4 Execute a show running-config and examine the current output.
You will refer to it later when configuring R4-XE

Activity Verification
You have completed this task when you attain these results:

You can successfully access the lab environment, specifically R1-


IOS.
You have successfully configured basic device settings on R1-IOS
and verified the configuration output (see below for graphic).

16 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 1: Configuration of R1-IOS (IOS Based Router)

2013 Cisco Systems, Inc. 2.0 17


Lab 1: R1-IOS & R4-XE Initial Configuration Learning Services

Task 2: Configuration of R4-XE (IOS-XE Based Router)


Overall setup and connectivity was successfully established in the previous task,
and console access to R4-XE for this exercise will be virtually identical. In
addition, the same basic configuration activities with be performed on this device,
and then compared/contrasted with that of R1-IOS.

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).

b) Configure the following settings in R4-XE follows:


Hostname: R4-XE
Enable Secret: cisco
Username/Password: cisco/cisco
Domain Name: cisco.com
Console Line: Privilege level 15, password cisco, no login,
transport input all
VTY Lines (0-98): password cisco, transport input all
18 2.0 BRKCRT-2001 Lab Guide
Learning Services Task 2: Configuration of R4-XE (IOS-XE Based Router)

Step 3 Save the configuration using wr mem.


Step 4 Execute a show running-config and compare the output to the
configuration of R1-IOS created earlier. You should note some
variation in the default output but almost no difference in the
configurations you entered (see sample screen shots below).

2013 Cisco Systems, Inc. 2.0 19


Lab 1: R1-IOS & R4-XE Initial Configuration Learning Services

Activity Verification
You have completed this task when you have completed the initial
configurations of R1-IOS and R4-XE, and compared the results.

Lab Success Criteria


You have completed this lab when you have been able to successfully complete all
tasks. The objectives of this lab were:

Demonstrating that the configuration and/or user experience with IOS-XE


are nearly identical to those with traditional IOS.

110 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 2: Configuration of R4-XE (IOS-XE Based Router)

Lab 2: R2-XR & R3-


NXOS Initial
Configuration

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:

Connect to the lab environment from your laptop or desktop

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

Assign hostnames, device access, passwords, and other essential items on


R2-XR and R3-NXOS.

2013 Cisco Systems, Inc. 2.0 211


Lab 2: R2-XR & R3-NXOS Initial Configuration Learning Services

Visual Objective
The figure below illustrates the network topology for this activity.

212 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 1: Configuration of R2-IOS (IOS-XR Based Router)

Task 1: Configuration of R2-IOS (IOS-XR Based Router)


The purpose of this task is to repeat the essential configuration steps executed in
the previous lab on an IOS-XR device. Connectivity and lab setup logistics are
assumed to be in place already.

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)

b) Configure the following settings in R2-XR follows:


Hostname: R2-XR
Domain Name: cisco.com
Console Line: Exec timeout of 0
CDP: enable globally and on all interfaces
Step 3 Save the configuration using commit in configuration mode (this is
the required command to save configurations in IOS-XR).
Step 4 Execute a show running-config and compare the output to the
configuration of R1-IOS created earlier. You should note

2013 Cisco Systems, Inc. 2.0 213


Lab 2: R2-XR & R3-NXOS Initial Configuration Learning Services

substantial differences in the configurations you entered (see


sample screen shots below).

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.

214 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 2: Configuration of R3-NXOS (NX-OS Based Router)

Task 2: Configuration of R3-NXOS (NX-OS Based Router)


The purpose of this task is to repeat the essential configuration steps executed in
the previous lab on an NX-OS device. Connectivity and lab setup logistics are
assumed to be in place already (note that is referred to as a router for the lab).

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)

b) Configure the following settings in R3-NXOS follows:


Hostname: R3-NXOS
Domain Name: cisco.com
Console Line: Exec timeout of 0
CDP: enable globally and on all interfaces
Step 3 Save the configuration using the command copy run start (wr
mem is not available in NX-OS unless created as a cli alias).

2013 Cisco Systems, Inc. 2.0 215


Lab 2: R2-XR & R3-NXOS Initial Configuration Learning Services

Step 4 Execute a show running-config and compare the output to the


configuration of R1-IOS created earlier. You should note differences
in the configurations you entered (see sample screen shots below).

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.

216 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 2: Configuration of R3-NXOS (NX-OS Based Router)

Lab Success Criteria


You have completed this lab when you have been able to successfully complete all
tasks. The objectives of this lab were:

Demonstrating that the configuration and/or user experience with IOS-XR


and NX-OS are somewhat different to those with traditional IOS.

2013 Cisco Systems, Inc. 2.0 217


Lab 3: Interface Configuration(s) Learning Services

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:

Configure physical, logical, and management interfaces on all lab devices


regardless of the individual core operating systems.

Understand and articulate the differences between the way IOS and IOS-
XR/NX-OS deals with interface configurations.

318 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 2: Configuration of R3-NXOS (NX-OS Based Router)

Visual Objective
The figure below illustrates the network topology for this activity.

2013 Cisco Systems, Inc. 2.0 319


Lab 3: Interface Configuration(s) Learning Services

Task 1: Configuration of R1-IOS Interfaces (IOS Based Router)


The purpose of this task is to engage in the familiar configuration of s Cisco IOS-
based device, to serve as a point of comparison with the alternate operating
systems. Connectivity and lab setup logistics are assumed to be in place already.

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.

a) Gigabit Ethernet 0/1


IP(v4) Address: 172.16.12.1 (172.16.XY.X, where X = local
router #, Y=remote router #)
Subnet Mask: 255.255.255.0 (/24)
Description: Link to R2-XR
b) Gigabit Ethernet 0/2
IP(v4) Address: 72.16.21.1 (172.16.YX.X, where Y = local
router #, X=remote router #)
Subnet Mask: 255.255.255.0 (/24)
Description: Link to R2-XR

320 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 1: Configuration of R1-IOS Interfaces (IOS Based Router)

Step 5 Configure Ethernet interfaces facing R3-NXOS as follows:


a) Gigabit Ethernet 0/3
IP(v4) Address: 172.16.13.1 (172.16.XY.X, where X = local
router #, Y=remote router #)
Subnet Mask: 255.255.255.0 (/24)
Description: Link to R3-NXOS
b) Gigabit Ethernet 0/2
IP(v4) Address: 72.16.31.1 (172.16.YX.X, where Y = local
router #, X=remote router #)
Subnet Mask: 255.255.255.0 (/24)
Description: Link to R3-NXOS
Step 6 Configure the Management interface (if available):
a) Gigabit Ethernet 0/0
IP(v4) Address: DHCP
Description: Management Network

Activity Verification
You have completed this task when you have successfully configured all of the
interfaces of R1-IOS.

2013 Cisco Systems, Inc. 2.0 321


Lab 3: Interface Configuration(s) Learning Services

Task 2: Configuration of R2-XR Interfaces (IOS-XR Based


router)
The purpose of this task is to repeat the essential configuration steps executed in
the previous lab on an IOS-XR device. Connectivity and lab setup logistics are
assumed to be in place already.

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.

c) Gigabit Ethernet 0/0/0/0


IP(v4) Address: 172.16.12.2 (172.16.XY.X, where X = local
router #, Y=remote router #)
Subnet Mask: 255.255.255.0 (/24)
Description: Link to R1-IOS
d) Gigabit Ethernet 0/0/0/1
IP(v4) Address: 172.16.21.2 (172.16.YX.X, where Y = local
router #, X=remote router #)
Subnet Mask: 255.255.255.0 (/24)
Description: Link to R1-IOS
Step 5 Configure Ethernet interfaces facing R3-NXOS as follows:

322 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 2: Configuration of R2-XR Interfaces (IOS-XR Based router)

c) Gigabit Ethernet 0/0/0/2


IP(v4) Address: 172.16.23.2 (172.16.XY.X, where X = local
router #, Y=remote router #)
Subnet Mask: 255.255.255.0 (/24)
Description: Link to R3-NXOS
d) Gigabit Ethernet 0/0/0/3
IP(v4) Address: 172.16.32.2 (172.16.YX.X, where Y = local
router #, X=remote router #)
Subnet Mask: 255.255.255.0 (/24)
Description: Link to R3-NXOS
Step 6 Configure the Management interface (if available):
a) MgmtEth0/0/CPU0/0
IP(v4) Address: (manually configured, find the range
from the routers getting management addresses by DHCP)
Description: Management Network
b) Use the commit command from the CLI to commit changes

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.

2013 Cisco Systems, Inc. 2.0 323


Lab 3: Interface Configuration(s) Learning Services

Task 3: Configuration of R3-NXOS Interfaces


The purpose of this task is to repeat the essential configuration steps executed in
the previous lab on an NX-OS device. Connectivity and lab setup logistics are
assumed to be in place already. Please note that the device in use is a switch but
is called a router for purposes of this lab.

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 #)

324 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 3: Configuration of R3-NXOS Interfaces

Description: Link to R2-XR


b) Ethernet 2/2
IP(v4) Address: 172.16.32.3/24 (172.16.YX.X, where Y =
local router #, X=remote router #)
Description: Link to R2-XR
Step 6 Configure Ethernet interfaces facing R4-XE as follows:
a) Ethernet 2/5
IP(v4) Address: 172.16.34.3/24 (172.16.XY.X, where X =
local router #, Y=remote router #)
Description: Link to R4-XE
b) Ethernet 2/6
IP(v4) Address: 172.16.43.3/24 (172.16.YX.X, where Y =
local router #, X=remote router #)
Description: Link to R4-XE
Step 7 Configure the Management interface (if available):
a) MgmtEth0/0/CPU0/0
IP(v4) Address: (manually configured, find the range
from the routers getting management addresses by DHCP)
Description: Management Network
b) Use the copy run start command from the CLI to commit
changes

2013 Cisco Systems, Inc. 2.0 325


Lab 3: Interface Configuration(s) Learning Services

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.

326 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 4: Configuration of R4-XE Interfaces

Task 4: Configuration of R4-XE Interfaces


The purpose of this task is to repeat the essential configuration steps executed in
the previous lab on an IOS-XE device. Connectivity and lab setup logistics are
assumed to be in place already.

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

2013 Cisco Systems, Inc. 2.0 327


Lab 3: Interface Configuration(s) Learning Services

Step 5 Configure the Management interface (if available):


a) Gigabit Ethernet1
IP(v4) Address: DHCP
Description: Management Network

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 Success Criteria


You have completed this lab when you have been able to successfully complete all
tasks. The objectives of this lab were:

Successful configuration of all interfaces on the devices in the lab


environment.

Demonstrating that the configuration and/or user experience with IOS-XR


are substantially to those with traditional IOS, somewhat different with
NX-OS and nearly identical with IOS-XE.

328 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 4: Configuration of R4-XE Interfaces

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:

Configure physical, logical, and management interfaces on all lab devices


regardless of the individual core operating systems.

Understand and be able to articulate the differences between the way IOS
and IOS-XR/NX-OS deals with interface configurations.

2013 Cisco Systems, Inc. 2.0 429


Lab 4: EIGRP Configuration Learning Services

Visual Objective
The figure below illustrates the network topology for this activity.

430 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 1: Configuration of R1-IOS EIGRP (IOS Based Router)

Task 1: Configuration of R1-IOS EIGRP (IOS Based Router)


The purpose of this task is to engage in the familiar configuration of s Cisco IOS-
based device, to serve as a point of comparison with the alternate operating
systems. Connectivity and lab setup logistics are assumed to be in place already.

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

2013 Cisco Systems, Inc. 2.0 431


Lab 4: EIGRP Configuration Learning Services

Activity Verification
You have completed this task when you have successfully configured EIGRP
routing on R1-IOS.

432 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 2: Configuration of R2-XR EIGRP (IOS-XR Based Router)

Task 2: Configuration of R2-XR EIGRP (IOS-XR Based Router)


The purpose of this task is to configure EIGRP routing on an IOS-XR-based device.
Connectivity and lab setup logistics are assumed to be in place already. You will
discover that the very same configuration task on IOS-XR is vastly different from
that of an IOS device.

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

Step 5 Issue the commit command from configuration mode


Step 6 Verify that EIGRP is operating properly by using the following
commands:
a) Show protocols (note EIGRP process, ASN, interfaces, process
running as expected)
b) Show EIGRP interfaces (note Loopback and Ethernet
interfaces participating in process)
c) Show EIGRP neighbors (two entries, both from R1-IOS, two
more will appear after EIGRP configuration of R3-NXOS)
d) Show route ipv4 EIGRP (Verify presence of Loopback
interfaces on R1-IOS)
e) Ping interfaces (Verify successful connectivity, use Loopback
interfaces on R1-IOS as test points)

2013 Cisco Systems, Inc. 2.0 433


Lab 4: EIGRP Configuration Learning Services

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.

434 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 3: Configuration of R3-NXOS EIGRP (NX-OS Based Router)

Task 3: Configuration of R3-NXOS EIGRP (NX-OS Based


Router)
The purpose of this task is to configure EIGRP routing on an NX-OS based device.
Connectivity and lab setup logistics are assumed to be in place already. You will
discover that the configuration of the previous device (R2-XR) is substantially
different, and that the configuration of R3-NXOS has differences as well.

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

Step 5 Issue the wr command from configuration mode to save the


configuration
Step 6 Verify that EIGRP is operating properly by using the following
commands:
a) Show ip EIGRP interfaces brief (note Loopback and
Ethernet interfaces participating in process)
b) Show ip EIGRP neighbors (four entries, two from R1-IOS,
and two from R2-XR. Two more will appear after EIGRP
configuration of R4-XE)
c) Show ip route EIGRP (Verify presence of Loopback interfaces
on R1-IOS and R2-XR)

2013 Cisco Systems, Inc. 2.0 435


Lab 4: EIGRP Configuration Learning Services

d) Ping interfaces (Verify successful connectivity, use Loopback


interfaces on R1-IOS and R2-XR as test points)

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.

436 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 4: Configuration of R4-XE EIGRP (IOS-XE Based Router)

Task 4: Configuration of R4-XE EIGRP (IOS-XE Based Router)


The purpose of this task is to configure EIGRP routing on an IOS-XR based device.
Connectivity and lab setup logistics are assumed to be in place already. You will
discover that the configuration of the first device (R1-IOS) is almost identical to
what you will encounter here.

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)

2013 Cisco Systems, Inc. 2.0 437


Lab 4: EIGRP Configuration Learning Services

h) Ping interfaces (Verify successful connectivity, use Loopback


interfaces on R1-IOS , R2-XR and R3-NXOS as test points)

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.

Lab Success Criteria


You have completed this lab when you have been able to successfully complete all
tasks. The objectives of this lab were:

Successful configuration of EIGRP on the devices in the lab environment.

Demonstrating that the configuration and/or user experience with IOS-XE


are almost identical to those with traditional IOS.

438 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 4: Configuration of R4-XE EIGRP (IOS-XE Based Router)

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

enable secret cisco

ip domain name cisco.com


ip cef

username cisco privilege 15 secret 5 $1$NrFi$5ugzkQsE1HrwB2yYTSWye1

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

2013 Cisco Systems, Inc. 2.0 439


Lab 4: EIGRP Configuration Learning Services

interface GigabitEthernet0/4
description Link to R3-NXOS
ip address 172.16.31.1 255.255.255.0

router eigrp 100


network 10.1.1.1 0.0.0.0
network 172.16.12.0 0.0.0.255
network 172.16.13.0 0.0.0.255
network 172.16.21.0 0.0.0.255
network 172.16.31.0 0.0.0.255
network 192.168.1.0
eigrp router-id 10.1.1.1

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

440 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 4: Configuration of R4-XE EIGRP (IOS-XE Based Router)

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

router eigrp 100


address-family ipv4
router-id 10.2.2.2
interface Loopback0

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

2013 Cisco Systems, Inc. 2.0 441


Lab 4: EIGRP Configuration Learning Services

limit-resource u6route-mem minimum 24 maximum 24


limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8

feature eigrp

username admin password cisco role network-admin


no password strength-check
ip domain-lookup
ip domain-name cisco.com
vlan 1

vrf context management

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

442 2.0 BRKCRT-2001 Lab Guide


Learning Services Task 4: Configuration of R4-XE EIGRP (IOS-XE Based Router)

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

enable secret cisco

ip domain name cisco.com

username cisco privilege 15 secret 5 $1$kVgA$X5MdFibvOUeqaidIWTk2M/

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

2013 Cisco Systems, Inc. 2.0 443


Lab 4: EIGRP Configuration Learning Services

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

router eigrp 100


network 10.4.4.4 0.0.0.0
network 172.16.34.0 0.0.0.255
network 172.16.43.0 0.0.0.255
network 192.168.4.0
eigrp router-id 10.4.4.4

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

444 2.0 BRKCRT-2001 Lab Guide

Das könnte Ihnen auch gefallen