DCICN10LG
DCICN10LG
Lab Guide
Overview
This guide presents the instructions and other information concerning the lab activities for this
course. You can find the solutions in the lab activity Answer Key.
Outline
This guide includes these activities:
Lab 1-1: Using Windows Applications as Network Tools
Lab 1-2: Observing the TCP Three-Way Handshake
Lab 1-3: Observing Extended PC Network Information
Lab 2-1: Connecting to Cisco Nexus Switches
Lab 2-2: Configuring Cisco Nexus Switches
Lab 2-3: Configuring VLANs and Trunks
Lab 2-4: Verifying and Configuring Spanning Tree
Lab 2-5: Configuring EtherChannel
Lab 3-1: Converting Decimal to Binary and Binary to Decimal
Lab 3-2: Classifying Network Addressing
Lab 3-3: Computing Usable Subnetworks and Hosts
Lab 3-4: Calculating Subnet Masks
Lab 4-1: Configuring Multilayer Switching
Answer Key
Job Aids
Use the following job aids while performing the lab tasks in this lab guide.
e3/1 e3/2
172.16.1.22
e2/5
e2/6
e2/19
e2/20
e3/3
e3/4
B 172.16.1.21
A
192.168.11.12
e1/5
e1/4
e1/2
e1/3
e1/5
e1/1
192.168.11.11
Pod Desktops mgmt0
mgmt0
172.16.1.42
172.16.1.41
e1/28
5548-A 5548-B
10GE
1GE
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-3
2 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab Connections
The following table lists the physical connections between the devices that are used in this
course.
From To
4 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 1-1: Using Windows Applications as Network
Tools
Complete this lab activity to practice what you learned in the related module.
Activity Objective
In this activity, you will be able to use Windows applications and commands to investigate the
IP configuration of your PC and your local network. After completing this activity, you will be
able to meet these objectives:
Using the Windows command ipconfig, determine the current network addressing
information of a PC.
Using the Windows command ping, determine test connectivity to the default gateway
router.
Using the Windows command arp –a, view the ARP table of the local PC and determine
the association between the IP address and the MAC address of the default gateway.
Visual Objective
The following figure shows what you will accomplish in this activity.
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-4
Command List
The following table describes the commands that are used in this activity.
Command Description
arp -a Obtains the output of the ARP table. Entries to the ARP table are
removed after 5 minutes of inactivity.
6 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 1: Obtain the Current IP Address Information
To obtain the current IP address information, use the Windows ipconfig command. First, you
need to open a command window to access Windows commands.
Activity Procedure
Complete these steps:
Step 1 On the Windows desktop, click Start.
Step 2 Choose Run, and enter cmd in the Run window dialog box. Click OK to continue.
Step 3 At the command window prompt, enter ipconfig.
Your output should resemble one of the following four examples.
Nonworking example 1: The output indicates no connectivity. The Ethernet cable is probably
not physically connected.
Windows IP Configuration
Nonworking example 2: The output indicates that the PC is waiting to obtain its IP address
information automatically. This will be a transient output; it will either successfully get an
address or retry the ipconfig command periodically until it changes to one of the following
examples.
Windows IP Configuration
Nonworking example 3: The output indicates that the PC network adapter was unable to
obtain an IP address automatically, so the PC will use a generated link-local address. Getting a
link-local address might seem like success, but it really indicates that there is no connectivity to
an IP address server. This address will not be useful for network connectivity. If you see an IP
address beginning with 169.254.x.x, you do not have a valid address.
Windows IP Configuration
Windows IP Configuration
Activity Verification
You have completed this task when you attain this result:
You obtained valid IP address information from the ipconfig command.
Step 4 If you have a problem, ask your instructor for assistance. Continue only if you have
a valid IP address.
Step 5 Write the values that you obtained from the ipconfig command in the following
spaces, because you will be using them in later tasks.
PC IP address: _______________
IP default gateway address: _______________
Note There might be more than one network adapter available on a PC. The output of the
ipconfig command will show a different IP configuration for each network adapter.
8 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 2: View the Network Properties of the PC Ethernet
Adapter
In this task you will use the Windows operating system Network Properties dialog window.
You will only view the configuration, but you would follow the same process if you needed to
modify or supply new IP network address values.
Activity Procedure
Complete these steps:
Step 1 On the Windows desktop, double-click the Local Area Connection shortcut on
your desktop. If there is no shortcut on the desktop, use the Network Connections
icon in the Control Panel.
Note The icon can also be found on the Network Connections dialog box on the Windows desktop
or in the Control Panel.
Step 2 In the Local Area Connection status window, click the Properties button.
Step 4 In the Internet Protocol (TCP/IP) Properties window, you might find that the Obtain
an IP Address Automatically radio button is already set, as shown here.
Step 5 Alternatively, you might see that the Use the Following IP Address radio button is
chosen, and that the fields are configured with IP address information matching the
output that you obtained from the ipconfig command.
Step 6 Close all the dialog boxes and return to the Windows desktop.
Activity Verification
You have completed this task when you attain these results:
You used the Windows TCP/IP properties to view the current configuration for the local
area connection.
The values that were set in the TCP/IP properties were consistent with the information that
you obtained using the ipconfig command.
10 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 3: Test Connectivity to the Default Gateway Router
The Windows ping command allows you to test the connectivity of the network. Its output
demonstrates success or failure, and gives an indication of the round-trip time taken.
Activity Procedure
Complete these steps:
Step 1 At the command window prompt, enter ping followed by the address of your default
gateway that you obtained in Task 1.
Step 2 The first of the two following examples is an unsuccessful ping. If you get this
output, ask your instructor for assistance.
Nonworking example: The following output indicates that no reply was received from the
target IP address.
C:\Documents and Settings>ping 192.168.1.1
Working example: The following output indicates successful receipt of replies from the target
IP address.
C:\Documents and Settings>ping 192.168.1.1
Note Notice that, by default, the Windows ping command sends four ping packets (ICMP echo
requests).
Activity Verification
You have completed this task when you attain these results:
You used the Windows ping command to test the connectivity to your default gateway
router.
The round-trip time should be less than 10 ms.
Activity Procedure
Complete these steps:
Step 1 At the command window prompt, enter arp –a. It is necessary to use the –a
parameter to receive the output of the ARP table.
C:\Documents and Settings>arp -a
Your output should resemble the output in Step 1. If you did not receive any values, the ARP
table might have timed out the entry, and you need to repeat Step 1.
Step 2 Close your command window by entering exit at the prompt.
Activity Verification
You have completed this task when you attain this result:
You were able to view the binding of the IP address to the MAC address.
12 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 1-2: Observing the TCP Three-Way Handshake
Complete this lab activity to practice what you learned in the related module.
Activity Objective
In this activity, you will use a packet sniffer application to view the TCP initial three-way
handshake. After completing this activity, you will be able to meet these objectives:
Start the packet sniffer application, to monitor the appropriate Ethernet interface for
recording the packet flow.
Generate a TCP connection using a web browser.
Observe the initial packets of the TCP flow, especially the SYN packet, the SYN-ACK
packet, and finally the ACK packet.
Visual Objective
The following figure shows what you will accomplish in this activity.
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-5
Required Resources
These resources and equipment are required to complete this activity:
PC with access to the Internet
The Wireshark packet sniffer Windows application
Student Guide Module 1, Lesson 1
Caution Installing or using a packet sniffer application may be considered a breach of a security
policy, leading to serious legal and financial consequences. It is recommended that before
downloading, installing, or running such an application, you obtain permission to do so.
Job Aids
There are no job aids for this lab.
Activity Procedure
Complete these steps:
Step 1 Open the Wireshark application by double-clicking its icon on your desktop.
Step 2 Choose Capture, and then choose Interfaces from the drop-down menu.
14 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 3 Choose your local network Ethernet interface adapter. If this process is unclear, ask
the instructor for assistance. Click the Start button that is associated with the chosen
interface. Make a note of the IP address associated with your chosen Ethernet
adapter, because it will be the source IP address that you will look for when you are
examining captured packets.
Note your IP address here: _______________________________
You will look more closely at the capture windows after you have captured the TCP flow.
You might see some packets filling up the uppermost window. This will depend on the level of
background activity on the network to which you are attached.
Activity Verification
You have completed this task when you attain this result:
You have an open packet-capture window, associated with the Ethernet interface connected
to your default router.
Activity Procedure
Complete these steps:
Step 1 On the PC desktop, double-click the Internet Explorer icon to launch the web
browser.
Step 2 Enter the destination name or address. The instructor might provide you with a name
or address different from www.cisco.com. If so, write down this information here:
___________________________________________________
Step 3 Return to the already open Wireshark application and choose Capture > Stop from
the drop-down menu.
If you have many TCP packets that are unrelated to your TCP connection, you might need to
use the filter capability of Wireshark.
Step 4 To use a preconfigured filter, click the Analyze tab. Then click Display Filters.
16 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 5 In the Wireshark: Display Filter window, click TCP only and then click the OK
button.
Step 6 In the top window of the Wireshark application, use the scroll bar to place the first
captured TCP packet at the top of the window. This should be the first packet in the
flow.
Step 7 Observe the Info column of the captured packets in the top window. Look for three
packets similar to those shown here. Two groups of three packets are highlighted
here as an example.
Activity Verification
You have completed this task when you attain these results:
You have identified that you have captured the packet sequence described in Step 8.
You have noted the first packet in the sequence to be inspected in detail.
18 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 3: Inspect the TCP Initialization Sequence
You will use the Packet Details window of the Wireshark application to view the TCP
parameters exchanged during the initial startup sequence. This exchange is often referred to as
the three-way handshake.
Activity Procedure
Complete these steps:
Step 1 In the top window of the Wireshark application, click anywhere on the line
containing the first packet that was identified in the previous task. This will
highlight the line and make the two lower windows display the decoded information
from that packet.
Note In the example that follows, the Wireshark windows were adjusted to allow the information to
be viewed in a compact size. The second window contains the detailed decoding of the
packet.
Note Clicking the + icon at the left expands the view of the TCP information. The view is
contracted by clicking the – icon.
In this example, the forward sequence number is set to 0, and the SYN bit is set to 1 in the
Flags field.
Step 2 In the top window, click the next packet in the sequence. The detailed information
changes to match the new values.
In the third and final packet in the exchange, the forward sequence number is now set to 1. The
acknowledgment number is set to 1. In the Flags field, only the acknowledgment bit is set to 1.
At this point, the TCP connection is said to be established, because both ends have
synchronized their sequence and acknowledgment numbers, as well as other parameters.
Step 4 Close the Wireshark application and all other open windows.
Activity Verification
You have completed this task when you attain this result:
You have selected and decoded your three identified captured packets, and the values
match those shown and discussed in the examples within the task.
20 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 1-3: Observing Extended PC Network
Information
Complete this lab activity to practice what you learned in the related module.
Activity Objective
In this activity, you will use PC tools to gather network-related information. After completing
this activity, you will be able to meet these objectives:
Using the Windows ipconfig /all command, determine the IP addresses of the DNS servers
that are available to your PC.
Using the IP address of one of the DNS servers from Task 1, test the connectivity to the
DNS servers by using the Windows ping command.
Using the Windows tracert-d command, obtain the IP addresses of the routers that were
traversed to reach the DNS server that was tested in Task 2.
Visual Objective
This figure shows what you will accomplish in this activity.
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-6
Required Resources
These resources and equipment are required to complete this activity:
PC connected to a functioning network, with connectivity to the Internet
tracert /d ip Address Displays the IP address of the router at each hop as a packet
traverses the network toward the destination IP address
Activity Procedure
Complete these steps:
Step 1 On the Windows desktop, click Start.
Step 2 Choose Run, and enter cmd in the Run window dialog box. Click OK to continue.
Step 3 At the command window prompt, enter ipconfig /all. The /all parameter is used to
show the complete output.
You will see from your own output that some extra, useful information is now visible.
From this output, note the IP address of the first DNS server here:
_________________________________________________________________
Activity Verification
You have completed this task when you attain this result:
You have obtained the IP address of a DNS server from the output of the ipconfig /all
command on your PC.
22 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 2: Test Connectivity to the DNS Server
In this task, you will use the ping command to test the connectivity.
Activity Procedure
Complete these steps:
Step 1 At the command window prompt, enter ping DNS IP Address. Your output should
be similar to the example here, which uses a fictitious IP address.
Step 2 A successful ping indicates that both of the packets are being received and that the
return packets are being routed back to your PC successfully.
Step 3 The implications of an unsuccessful ping sequence require more investigation. If it is
assumed that the ping attempts are unsuccessful, the next step is to try to see where
in the network the problem is occurring.
Activity Verification
You have completed this task when you attain this result:
You have used the Windows ping command to successfully test connectivity to the IP
address of the DNS server that you noted in Task 1.
Step 1 At the command window prompt, enter tracert /d DNS IP Address. Your output
should be similar to the example here, which uses fictitious IP addresses.
Now that you have seen that the route to the DNS server is working, use the tracert command
without the /d parameter to see what the output looks like when symbolic names are available.
Your output should be similar to the example here, which uses fictitious IP addresses.
Activity Objective
In this activity, you will connect to the Cisco Nexus 7000 Series Switch using SSH. After
completing this activity, you will be able to meet these objectives:
Understand how to connect to the Out-Of-Band Management interface of Cisco Nexus
Series Switches using SSH.
Visual Objective
The following figure shows what you will accomplish in this activity.
e3/1 e3/2
172.16.1.22
e2/5
e2/6
e2/19
e2/20
e3/3
e3/4
B 172.16.1.21
A
192.168.11.12
e1/5
e1/4
e1/2
e1/3
e1/5
e1/1
192.168.11.11
Pod Desktops mgmt0
mgmt0
172.16.1.42
172.16.1.41
e1/28
5548-A 5548-B
10GE
1GE
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-7
Required Resources
These resources and equipment are required to complete this activity:
Cisco Nexus 7000 Series switches
Cisco Nexus 5000 Series switches
One PC with an SSH application for remote connectivity to the Cisco Nexus switches
26 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Application List
This table describes the applications that are used in this activity.
Application Description
PuTTY SSH Client Terminal emulation application that supports SSH Protocol
Job Aids
These job aids are available to help you complete the lab activity:
Lab topology diagram
Lab connections
Lab IP address plan
A
Activity Pro
ocedure
Complete
C theese steps:
Step
S 1 Ussing the credeentials provid
ded by your innstructor, connnect to the rem
mote lab and
yo
our pod.
Step
S 2 Thhe pod consistts of two PCss (A & B), tw wo Cisco Nexuus 7000 Seriees Switches (A A&
B)) and two Ciscco Nexus 500 00 Series Swiitches (A & BB). Each groupp of students in a
po
od will be resp
ponsible for a PC, a Cisco Nexus 7000 Series Switchh, and a Ciscoo
Neexus 5000 Serries Switch. Management
M and communnications will be performedd
fro
om the PC. PCC A will be used
u for the “A
A” switches aand PC B willl be used for tthe
“B
B” switches. Your
Y instructo
or has assigneed you with thhe list of deviices that you w
will
bee managing. Connect
C to you
ur assigned P PC.
Step
S 3 Lo
og into the PC
C using usernaame adminisstrator and paassword 12344QWer.
Step
S 4 Do
ouble-click th
he PuTTY sh
hortcut on the desktop. (If tthe icon is miissing, contacct
yo
our instructor..)
Enter
E the following detailss in the PuTTY configuratiion dialog box for your Cisco Nexus 70000
Series Switchh:
172.16.1.20
01 (N7K-A)
Host Name (orr IP address):
172.16.1.20
02 (N7K-B)
Port 22
Connection
C Ty
ype SSH
2
28 Introducing Cisco Data Center Networking (DCICN) v1.0
0 © 2012 Cisco System
ms, Inc.
Step 5 Click the Open
O button to
t open the seession.
Step 6 When the session openss, you will bee asked for creedentials for llogging into tthe
switch. Lo
og in as studeent using userrname admin n and passworrd 1234QWerr.
Activity
y Verificatiion
You hav
ve completed this task wheen you attain tthis result:
You
u have successsfully logged into your Cissco Nexus 7000 Series Sw
witch.
© 2012 Cis
sco Systems, Inc
c. Lab Guid
de 29
T
Task 2: Connect
C t to the Cisco Nexus
N 50
000 Serie
es Switc
ch Using
g
S
SSH
During
D this taask, you will use
u SSH to co
onnect to the Cisco Nexuss 5000 Series Switch.
A
Activity Pro
ocedure
Complete
C theese steps:
Step
S 1 Do
ouble-click th
he PuTTY sh
hortcut on the desktop. (If tthe icon is miissing, contacct
yo
our instructor..)
Enter
E the following detailss in the PuTTY configuratiion dialog box for your Cisco Nexus 50000
Series Switchh:
172.16.1.4 1 (N5K-A)
Host Name (orr IP address):
172.16.1.42
2 (N5K-B)
Port 22
Connection
C Ty
ype SSH
Step
S 2 Cllick the Open
n button to open the sessionn.
Step
S 3 When
W the sessio
on opens, you
u will be askeed for credenttials for logging into the
sw
witch. Log in as
a student ussing usernamee admin and password 12334QWer.
3
30 Introducing Cisco Data Center Networking (DCICN) v1.0
0 © 2012 Cisco System
ms, Inc.
Activity
y Verificatiion
You hav
ve completed this task wheen you attain tthis result:
You
u have successsfully logged into your Cissco Nexus 5000 Series Sw
witch.
© 2012 Cis
sco Systems, Inc
c. Lab Guid
de 31
Lab 2-2: Configuring Cisco Nexus Switches
Complete this lab activity to practice what you learned in the related lesson.
Activity Objective
In this activity, you will connect to the Cisco Nexus switch management interface using SSH to
perform basic configuration tasks. After completing this activity, you will be able to meet these
objectives:
Understand how to perform basic configuration tasks on the Cisco Nexus 7000 Series
Switch.
Understand how to perform basic configuration tasks on the Cisco Nexus 5000 Series
Switch.
Visual Objective
The following figure shows what you will accomplish in this activity.
7010-A 7010-B
e2/11 e2/23
e2/5
e2/19
e1/3
e1/1
1 e1/28
e1/28 2
PC A 5548-A 5548-B PC B
192.168.11.11 192.168.11.12
10GE
1GE
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-8
Required Resources
These resources and equipment are required to complete this activity:
Cisco Nexus 7000 Series Switches
Cisco Nexus 5000 Series Switches
One PC with an SSH application for remote connectivity to the Cisco Nexus switches
32 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Command List
This table describes the commands that are used in this activity.
Command Description
Job Aids
These job aids are available to help you complete the lab activity.
Lab topology diagram
Lab connections
Lab IP address plan
Activity Procedure
Complete these steps:
Note The switch outputs and configuration steps are samples. Your actual input and output might
be different from the samples shown.
Step 1 On your PC, open the window to your Cisco Nexus 7000 Series Switch.
Step 2 Display the status of the interfaces using the show interface status command.
F103-Nexus-7010-Prod_A# show interface status
----------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
----------------------------------------------------------------------------
mgmt0 -- connected routed full 1000 --
Eth2/1 -- disabled 1 auto auto SFP-H10GB-C
Eth2/2 -- disabled 1 auto auto SFP-H10GB-C
Eth2/3 -- disabled 1 auto auto SFP-H10GB-C
Eth2/4 -- disabled 1 full auto SFP-H10GB-C
Eth2/5 -- disabled 1 auto auto SFP-H10GB-C
Eth2/6 -- disabled 1 auto auto SFP-H10GB-C
Eth2/7 -- disabled 1 auto auto SFP-H10GB-C
Eth2/8 -- disabled 1 auto auto SFP-H10GB-C
Eth2/9 -- disabled 1 full auto 1000base-T
Eth2/10 -- sfpAbsent 1 auto auto --
Eth2/11 -- disabled 1 auto auto SFP-H10GB-C
Eth2/12 -- disabled 1 auto auto SFP-H10GB-C
Eth2/25 -- sfpAbsent 1 auto auto --
Eth2/26 -- sfpAbsent 1 auto auto --
Eth3/1 -- disabled 1 full auto SFP-H10GB-C
Eth3/3 -- disabled 1 full auto SFP-H10GB-C
Eth3/5 -- sfpAbsent 1 full auto --
Eth3/7 -- sfpAbsent 1 full auto --
Eth3/9 -- sfpAbsent 1 full auto --
Eth3/11 -- sfpAbsent 1 full auto --
Eth3/13 -- sfpAbsent 1 full auto --
-output omitted-
Note The interfaces will be different for the two Cisco Nexus 7000 Series Switches.
Step 3 By default, all the interfaces are disabled except the mgmt0 interface. Enable the
interfaces on your Cisco Nexus 7000 Series Switch listed in the table below that
connect to the neighboring switches.
34 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
F103-Nexus-7010-Prod_A# configure
F103-Nexus-7010-Prod_A(config-if)# interface e2/11,e2/5
F103-Nexus-7010-Prod_A(config-if-range)# no shutdown
------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
------------------------------------------------------------------------------
mgmt0 -- connected routed full 1000 --
Eth2/1 -- disabled 1 auto auto SFP-H10GB-C
Eth2/2 -- disabled 1 auto auto SFP-H10GB-C
Eth2/3 -- disabled 1 auto auto SFP-H10GB-C
Eth2/4 -- disabled 1 full auto SFP-H10GB-C
Eth2/5 Link to N5K-A 1/1 notconnec 1 auto auto SFP-H10GB-C
Eth2/6 -- disabled 1 auto auto SFP-H10GB-C
Eth2/7 -- disabled 1 auto auto SFP-H10GB-C
Eth2/8 -- disabled 1 auto auto SFP-H10GB-C
Eth2/9 -- disabled 1 full auto 1000base-T
Eth2/10 -- sfpAbsent 1 auto auto --
Eth2/11 Link to N7K-B 2/23 connected 1 auto auto SFP-H10GB-C
Eth2/12 -- disabled 1 auto auto SFP-H10GB-C
Eth2/25 -- sfpAbsent 1 auto auto --
-output omitted-
Note The interfaces will not show as “connected” until the devices at each end of the link are
enabled.
Step 6 Open the window to your Cisco Nexus 5000 Series Switch.
Step 7 Enable and assign descriptions to the interfaces that connect to the neighboring
switch and the lab2 NIC of the PC.
N5K-B# config
Enter configuration commands, one per line. End with CNTL/Z.
N5K-B(config)# interface e1/3
N5K-B(config-if)# desc Link to N7K-B 2/19
N5K-B(config-if)# no shutdown
N5K-B(config-if)# interface e1/28
N5K-B(config-if)# desc Link to PC-B
N5K-B(config-if)# no shutdown
N5K-B(config-if)# show interface status
Step 8 Because of the link used to connect to the PC, the interface does not function until
the speed is manually set.
N5K-B(config)# interface e1/28
N5K-B(config-if)# speed 1000
Step 9 Verify that the e1/28 interface is shown as “connected.” If it is not, notify the
instructor.
Step 10 Determine the IP address of the lab2 NIC on your PC by opening a command
prompt on the PC and using the ipconfig command.
C:\Documents and Settings\Administrator>ipconfig
Windows IP Configuration
36 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Activity Verification
You have completed this task when you attain these results:
You have enabled the ISLs.
You have verified the status of the interfaces that connect to neighboring switches and PCs.
You have verified connectivity between the PCs.
Step 4 Create a new account that will have limited capability. This account will be able to
view most parameters but will not be able to change the configuration.
F103-Nexus-7010-Prod_A(config)# username intern password 1234ASdf role vdc-
operator
Step 5 Verify the new user accounts by using the show user-account command.
F103-Nexus-7010-Prod_A(config)# show user-account
user:admin
this user account has no expiry date
roles:vdc-admin
user:student
this user account has no expiry date
roles:vdc-admin
user:intern
this user account has no expiry date
roles:vdc-operator
Step 6 Open a new session in PuTTY to the Cisco Nexus 7000 Series Switch (keep the
existing sessions open). Log in using the intern credentials (intern/1234ASdf).
Step 7 When logged in, display the user accounts by using the show user-account
command.
Step 8 Display a list of currently connected users by using the show users command.
F103-Nexus-7010-Prod_A# show users
NAME LINE TIME IDLE PID COMMENT
admin pts/0 Jun 8 09:02 00:04 1049 (172.16.1.21) session=ssh
intern pts/1 Jun 8 09:33 . 2151 (172.16.1.21) session=ssh *
Now, open the terminal window for the session that was connected with the admin credentials.
Attempt to disconnect the intern user with the clear user intern command. Notice that no
“Permission denied” message is displayed and the intern session window is closed.
Activity Verification
You have completed this task when you attain these results:
You created a nondefault admin and operator account on the Cisco Nexus 7000 Series
Switch.
You verified the limited functionality of the operator role.
You cleared a connection.
Note The accounts that you created on the Cisco Nexus 7000 Series Switch can also be created
on the Cisco Nexus 5000 Series Switch.
38 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 3 Enter s? (no space between “s” and ?). You should see the context-sensitive help.
Your output should resemble this example.
N5K-A# s?
scripting Configure scripting parameters
send Send message to open sessions
setup Run the basic SETUP command facility
show Show running system information
sleep Sleep for the specified number of seconds
sockets Display sockets status and configuration
ssh SSH to another system
system System management commands
system System configuration commands
N5K-A# s
There are approximately nine commands available that begin with the letter s.
Step 4 At the prompt, enter sh and then press the Tab key. You should see the command-
completion feature in operation. When enough letters of a command or keyword
have been entered, the Tab key completes the word and places a space so that it is
ready to receive further input.
Step 5 Enter the show ? command. A list of possible show commands is displayed. Press
Spacebar to see the next page of commands or press Enter to see the next line.
Ctrl+C will terminate the output.
Step 6 Enter the show p? command. A list of possible show commands that begin with the
letter p will be displayed. Your output should look like this:
N5K-A# show p?
password Password for the user
platform Shows list of events received by Platform Manager
policy-map Show policy maps
port Show port information
port-channel Show port-channel information
port-profile Show port-profile
port-resources Show information about Port Resources
privilege Display privilege information
processes Show processes
provision Show information about provision
ptplc Show ptplc related information
N5K-A# show p
Step 7 Enter the show processes ? command. A list of possible show processes commands
will be displayed. Your output should look like this:
N5K-A# show processes ?
<CR>
> Redirect it to a file
>> Redirect it to a file in append mode
cpu Show processes CPU Info
log Show information about process logs
memory Show processes Memory Info
vdc Show processes in vdc
| Pipe command output to filter
Note The <CR> indicates that no further input is required. The current command would be
accepted. In this case, however, there are additional commands that can be appended.
Step 9 Enter the show processes cpu history command. This will generate an ASCII graph
of the cpu utilization for the past 60 seconds, 60 minutes, and 72 hours.
Activity Verification
You have completed this task when you attain this result:
You used the system help and the command-completion functions.
Activity Procedure
Complete these steps:
Step 1 Open the window for one of the Cisco Nexus 7000 Series Switches. At the switch
command prompt, enter the show version command and determine the software
version that is currently running on the Cisco Nexus 7000 Series Switch.
Note Your version might be different from the output shown here.
Software
BIOS: version 3.22.0
kickstart: version 6.0(2)
system: version 6.0(2)
BIOS compile time: 02/20/10
kickstart image file is: bootflash:///n7000-s1-kickstart.6.0.2.bin
kickstart compile time: 12/25/2020 12:00:00 [12/22/2011 06:56:22]
system image file is: bootflash:///n7000-s1-dk9.6.0.2.bin
system compile time: 11/15/2011 12:00:00 [12/22/2011 08:46:28]
Hardware
cisco Nexus7000 C7010 (10 Slot) Chassis ("Supervisor module-1X")
40 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Intel(R) Xeon(R) CPU with 8251592 kB of memory.
Processor Board ID JAF1551ASRN
Last reset
Reason: Unknown
System version: 6.0(2)
Service:
plugin
Core Plugin, Ethernet Plugin
F103-Nexus-7010-Prod_B#
_____________________________________________________
_____________________________________________________
Step 3 Display the currently installed modules in the switch by using the show modules
command.
In the preceding example, the card in slot 2 is an N7K-F132XP-15 line card. This card has 32
Layer 2, 10-Gb/s ports. The card in slot 3 is an N7K-M132XP-12L. This card has 32 multilayer
10-Gb/s ports.
Step 4 The information from the previous step can also be obtained by using the show
inventory command.
F103-Nexus-7010-Prod_A# show inventory
NAME: "Chassis", DESCR: "Nexus7000 C7010 (10 Slot) Chassis "
PID: N7K-C7010 , VID: V02 , SN: JAF1545CJAM
Step 5 Display detailed information about one of the interfaces connecting to the other 7K
in the pod by using the show interface interface command. Note the status of the
interface along with the packet counters.
F103-Nexus-7010-PROD-A# show interface ethernet 2/11
Ethernet2/11 is up
Dedicated Interface
Hardware: 1000/10000 Ethernet, address: c464.13ba.fe92 (bia c464.13ba.fe92)
Description: Link to N7K-B 2/23
MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is access
full-duplex, 10 Gb/s, media type is 10G
Beacon is turned off
Auto-Negotiation is turned on
Input flow-control is off, output flow-control is off
Rate mode is dedicated
Switchport monitor is off
EtherType is 0x8100
Last link flapped 00:39:36
Last clearing of "show interface" counters 4d01h
30 seconds input rate 32 bits/sec, 0 packets/sec
30 seconds output rate 264 bits/sec, 0 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 40 bps, 0 pps; output rate 304 bps, 0 pps
RX
49 unicast packets 17995 multicast packets 234 broadcast packets
18278 input packets 3246043 bytes
0 jumbo packets 0 storm suppression packets
0 runts 0 giants 0 CRC 0 no buffer
0 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
218 unicast packets 20792 multicast packets 707 broadcast packets
21717 output packets 3482483 bytes
0 jumbo packets
0 output error 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble 0 output discard
0 Tx pause
19 interface resets
Step 6 Determine the MAC address of the lab2 NIC on the PC by opening a command
prompt and using the ipconfig /all command. Record the MAC address of the
interface here and provide it to your pod partners.
42 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 7 Display the MAC address table of the switches by using the show mac address-
table command.
F103-Nexus-7010-Prod_A# show mac address-table
Legend:
* - primary entry, G - Gateway MAC, (R) - Routed MAC, O - Overlay MAC
age - seconds since last seen,+ - primary entry using vPC Peer-Link
VLAN MAC Address Type age Secure NTFY Ports/SWID.SSID.LID
---------+-----------------+--------+---------+------+----+------------------
G - 64a0.e743.03c2 static - F F sup-eth1(R)
* 1 0050.5680.7974 dynamic 270 F F Eth2/5
* 1 0050.5680.7975 dynamic 270 F F Eth2/11
Note The dynamic entries will age out after 1800 seconds on a Cisco Nexus 7000 Series Switch
(300 seconds on a Cisco Nexus 5000 Series Switch). Your output might look different. To
create entries, generate traffic by opening a command prompt on the PC and pinging the
other PC in the pod. Then display the MAC address table again.
Step 8 Verify that the MAC addresses are associated with the expected ports. For example,
on the N7K-A switch, the PC-A MAC address should be learned on the e2/5 port.
Step 9 Display the running configuration of the switch by using the show running-config
command.
F103-Nexus-7010-Prod_A# show running-config
version 6.0(2)
hostname Prod_A
ip domain-lookup
-output omitted-
Step 10 Rather than scroll through the configuration, you can filter the output by section.
F103-Nexus-7010-PROD-A# show running-config interface ethernet 2/11
version 6.0(2)
interface Ethernet2/11
description Link to N7K-B 2/23
no shutdown
F103-Nexus-7010-PROD-A#
Switch Configurations
When you complete this lab activity, your switch configurations will be like the following, with
differences that are specific to your switch.
version 6.0(2)
hostname Prod_A
interface Ethernet2/1
interface Ethernet2/2
interface Ethernet2/3
interface Ethernet2/4
interface Ethernet2/5
description Link to N5K-A 1/1
no shutdown
interface Ethernet2/6
interface Ethernet2/7
44 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
interface Ethernet2/8
interface Ethernet2/9
interface Ethernet2/10
interface Ethernet2/11
description Link to N7K-B 2/23
no shutdown
interface Ethernet2/12
interface Ethernet2/25
interface Ethernet2/26
interface Ethernet3/1
switchport
interface Ethernet3/3
switchport
interface Ethernet3/5
switchport
interface Ethernet3/7
switchport
interface Ethernet3/9
switchport
interface Ethernet3/11
switchport
interface Ethernet3/13
switchport
interface Ethernet3/15
switchport
interface Ethernet3/17
switchport
interface Ethernet3/19
switchport
interface Ethernet3/21
switchport
interface Ethernet3/23
switchport
interface Ethernet3/25
interface Ethernet3/27
interface Ethernet3/29
interface Ethernet3/31
interface mgmt0
ip address 172.16.1.201/24
line vty
version 5.1(3)N1(1a)
switchname N5K-A
no feature telnet
no feature http-server
feature lldp
ip domain-lookup
class-map type qos class-fcoe
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
class-map type network-qos class-all-flood
match qos-group 2
class-map type network-qos class-ip-multicast
match qos-group 2
snmp-server user admin network-admin auth md5
0x61b7d5b611af6597bb94ea2dd9a6594a priv 0x61b7d5b611af6597bb94ea2dd9a6594a
localizedkey
interface Ethernet1/1
description Link to N7K-A 2/5
interface Ethernet1/2
interface Ethernet1/3
interface Ethernet1/4
interface Ethernet1/5
interface Ethernet1/6
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/10
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
46 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/22
interface Ethernet1/23
interface Ethernet1/24
interface Ethernet1/25
interface Ethernet1/26
interface Ethernet1/27
interface Ethernet1/28
description Link to PC-A Lab2
speed 1000
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface Ethernet1/32
interface mgmt0
ip address 172.16.1.41/24
line console
line vty
boot kickstart bootflash:/n5000-uk9-kickstart.5.1.3.N1.1a.bin
boot system bootflash:/n5000-uk9.5.1.3.N1.1a.bin
Activity Objective
In this activity, you will connect to the Cisco Nexus 5000 Series Switches and Cisco Nexus
7000 Series Switches and create VLANs and trunks. You will use the show commands to
verify configurations. After completing this activity, you will be able to meet these objectives:
Understand how to create VLANs and configure VLAN membership
Understand how to verify VLANs and VLAN membership.
Understand how to create trunks
Understand how to use show commands to verify trunking
Visual Objective
This figure shows what you will accomplish in this activity.
7010-A 7010-B
e2/11 e2/23
e2/5
e2/19
e1/3
e1/1
1 e1/28
e1/28 2
PC A 5548-A 5548-B PC B
192.168.11.11 192.168.11.12
10GE
1GE
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-9
Required Resources
These resources and equipment are required to complete this activity:
Cisco Nexus 7000 Series Switches
Cisco Nexus 5000 Series Switches
PC with an SSH application for remote connectivity to the Cisco Nexus switches
48 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Command List
This table describes the commands that are used in this activity.
Command Description
show vtp status Displays the current VTP configuration and status
Activity Procedure
Complete these steps:
Note The switch outputs and configuration steps are samples. Your actual input and output might
be different from the samples shown.
Step 1 If an SSH session from the PC to both switches is not already established, open an
SSH session to both Cisco Nexus switches that you are configuring. (This step is
described in Lab 2-1.)
Step 2 On the Cisco Nexus 7000 Switch, display the interface status by using the show
interface status command. Note the “Vlan” column for the connected links.
F103-Nexus-7010-Prod_A# show interface status
------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
------------------------------------------------------------------------------
mgmt0 -- connected routed full 1000 --
Eth2/1 -- disabled 1 auto auto SFP-H10GB-C
Eth2/2 -- disabled 1 auto auto SFP-H10GB-C
Eth2/3 -- disabled 1 auto auto SFP-H10GB-C
Eth2/4 -- disabled 1 full auto SFP-H10GB-C
Eth2/5 Link to N5K-A 1/1 connected 1 full 10G SFP-H10GB-C
Eth2/6 -- disabled 1 auto auto SFP-H10GB-C
Eth2/7 -- disabled 1 auto auto SFP-H10GB-C
Eth2/8 -- disabled 1 auto auto SFP-H10GB-C
Eth2/9 -- disabled 1 full auto 1000base-T
Eth2/10 -- sfpAbsent 1 auto auto --
Eth2/11 Link to N7K-B 2/23 connected 1 full 10G SFP-H10GB-C
Eth2/12 -- disabled 1 auto auto SFP-H10GB-C
-output omitted-
Step 3 Display the list of VLANs by using the show vlan brief command.
F103-Nexus-7010-Prod_A# show vlan brief
At this time, VLAN 1 is the only VLAN, and all ports are members of VLAN 1.
50 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 4 On all the switches, create VLAN 11 from global configuration mode using the vlan
11 command and name the VLAN “lab-a.”
Note The naming of the VLAN will not take effect until you exit from VLAN configuration mode.
F103-Nexus-7010-Prod_A# configure
F103-Nexus-7010-Prod_A(config)# vlan 11
F103-Nexus-7010-Prod_A(config-vlan)# name lab-a
F103-Nexus-7010-Prod_A(config-vlan)# exit
F103-Nexus-7010-Prod_A(config)#
Step 5 Verify the VLANs by using the show vlan brief command. Notice the new VLAN
displayed below VLAN 1. However, VLAN 11 has no member ports on any of the
switches.
F103-Nexus-7010-Prod_A(config)# show vlan brief
Step 6 On the two Cisco Nexus 5000 Series Switches, make the port that is connected to
the PC a member of VLAN 11 by using the switchport access vlan 11 command in
interface configuration mode.
N5K-A(config)# interface e1/28
N5K-A(config-if)# switchport access vlan 11
N5K-A(config-if)#
Step 7 Verify the VLAN membership of the port by using the show vlan brief command
and the show interface status command.
N5K-A(config-if)# show vlan brief
------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
------------------------------------------------------------------------------
Eth1/1 Link to N7K-A 2/5 connected 1 full 10G SFP-H10GB-C
Eth1/2 -- disabled 1 full 10G SFP-H10GB-C
Eth1/3 -- disabled 1 full 10G SFP-H10GB-C
Eth1/4 -- disabled 1 full 10G SFP-H10GB-C
Step 8 At a command prompt on one of the PCs, ping the other PC in the pod. Is the ping
successful? (Refer to Lab 2-2, Task 1, Steps 11 and 12 for the IP address.)
_______________________________________________________
3. Why?
______________________________________________________
4. Is there a path for the VLAN 11 traffic from the PC that is connected to N5K-A to the PC
that is connected to N5K-B?
______________________________________________________
Activity Verification
You have completed this task when you attain these results:
You have created VLAN 11 on all switches.
You have verified VLAN 11 on all switches.
You have configured the e1/28 port on both Cisco Nexus 5000 Series Switches as members
of VLAN 11.
You have verified the port membership of the e1/28 ports on the Cisco Nexus 5000 Series
Switches.
Activity Procedure
Complete these steps:
Step 1 From the previous task, we know that the ISLs are members of VLAN 1. Use the
show interface status command to review this information. Because of this, no
VLAN 11 traffic can cross these links. On the Cisco Nexus 5000 Series Switches,
configure the interface that connects to your Cisco Nexus 7000 Series Switch as a
trunk by using the switchport mode trunk command. The following table lists the
interfaces configured in this step.
Device Interface
N5K-A e1/1
N5K-A e1/3
Step 2 On the Cisco Nexus 5000 Series Switches, verify the interface configuration using
the show interface status command.
N5K-A(config-if)# show interface status
52 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
------------------------------------------------------------------------------
Eth1/1 Link to N7K-A 2/5 connected trunk full 10G SFP-H10GB-C
Eth1/2 -- disabled 1 full 10G SFP-H10GB-C
Eth1/3 -- disabled 1 full 10G SFP-H10GB-
-output omitted-
Step 3 On the Cisco Nexus 5000 Series Switches, view the trunking status using the show
interface trunk command.
N5K-A(config-if)# show interface trunk
------------------------------------------------------------------------------
Port Native Status Port
Vlan Channel
------------------------------------------------------------------------------
Eth1/1 1 trunking --
------------------------------------------------------------------------------
Port Vlans Allowed on Trunk
------------------------------------------------------------------------------
Eth1/1 1-3967,4048-4093
------------------------------------------------------------------------------
Port Vlans Err-disabled on Trunk
------------------------------------------------------------------------------
Eth1/1 none
------------------------------------------------------------------------------
Port STP Forwarding
------------------------------------------------------------------------------
Eth1/1 1,11
------------------------------------------------------------------------------
Port Vlans in spanning tree forwarding state and not pruned
------------------------------------------------------------------------------
Eth1/1 --
------------------------------------------------------------------------------
Port Vlans Forwarding on FabricPath
Step 4 On the Cisco Nexus 7000 Series Switches, configure the remaining ISLs on the 7Ks
using the same command.
Device Interface
Step 5 On all switches, verify that all ISLs are trunking by using the show interface trunk
command.
------------------------------------------------------------------------------
Port Native Status Port
Vlan Channel
------------------------------------------------------------------------------
Eth2/5 1 trunking --
Eth2/11 1 trunking --
------------------------------------------------------------------------------
Port Vlans Allowed on Trunk
------------------------------------------------------------------------------
Eth2/5 1-4094
Eth2/11 1-4094
2. What is the native VLAN on the trunk between N7K-A and N7K-B?
_____________________________________________________
Step 7 From a command prompt on the PC, ping the other PC in the pod. Is the ping
successful?
3.
______________________________________________________
Activity Verification
You have completed this task when you attain these results:
You have created trunks between the switches.
You have verified the trunks between the switches.
You have verified connectivity between the PCs.
Activity Procedure
Complete these steps:
Step 1 Enable the VTP feature by using the feature vtp command on all the switches.
N5K-B# configure
N5K-B(config)# feature vtp
N5K-B(config
54 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 2 Verify the VTP status using the show vtp status command.
Step 3 Notice that the mode is set to Server, and the domain name is not yet defined.
Step 4 On the N5K-B only, define the domain name as DCICN.
Step 5 View the VTP status again on all switches. Note that all switches now have a
domain name defined.
F103-Nexus-7010-Prod_B(config)# show vtp status
VTP Status Information
----------------------
VTP Version : 2 (capable)
Configuration Revision : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs : 6
VTP Operating Mode : Server
VTP Domain Name : DCICN
VTP Pruning Mode : Disabled (Operationally Disabled)
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 Digest : 0x8F 0x4B 0x77 0x30 0x67 0x32 0xDB 0x27
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0
Note Depending on the timing, it might take a couple of minutes before the domain name is
acquired by all the switches. When you have observed the domain name propagating to the
neighboring switch, you can either wait for the domain name to be acquired by the remaining
switches, or you can manually assign the domain name.
Step 6 After you have confirmed that all switches have the domain name DCICN, on the
N7K-A switch, create VLAN 12 and name it lab-12.
F103-Nexus-7010-Prod_A(config)# vlan 12
F103-Nexus-7010-Prod_A(config-vlan)# name lab-12
F103-Nexus-7010-Prod_A(config-vlan)# exit
F103-Nexus-7010-Prod_A(config)#
Step 7 On all switches, display the VLAN database using the show vlan brief command.
Step 8 VLAN 12 now exists on all switches in the VTP domain.
___________________________________________________
_____________________________________________________
Step 13 On the N7K-A switch , delete the VLANs that were created in steps 9 and 11.
Step 14 On the N7K-B switch, re-create VLAN 11.
Step 15 Verify that the VLAN database contains VLAN 11 on all switches and ping between
the two PCs to confirm connectivity.
Step 16 Save the running-config using the copy running-config startup-config command.
Perform this step on all switches!
F103-Nexus-7010-Prod_A# copy running-config startup-config
[########################################] 100%
Copy complete, now saving to disk (please wait)...
Activity Verification
You have completed this task when you attain these results:
You have enabled VTP.
You have observed the propagation of the VLAN database between switches.
Switch Configurations
When you complete this lab activity, your switch configurations will be like the following, with
differences that are specific to your switch.
version 6.0(2)
hostname Prod_A
feature vtp
56 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
v 0xd9a69b00aa3809c0fe97007d8c262085 localizedkey
snmp-server user intern vdc-operator auth md5
0xe806e6958079ce4218351abf13035d37
priv 0xe806e6958079ce4218351abf13035d37 localizedkey
snmp-server user student vdc-admin auth md5 0xd9a69b00aa3809c0fe97007d8c262085
p
riv 0xd9a69b00aa3809c0fe97007d8c262085 localizedkey
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
interface Ethernet2/1
interface Ethernet2/2
interface Ethernet2/3
interface Ethernet2/4
interface Ethernet2/5
description Link to N5K-A 1/1
switchport mode trunk
no shutdown
interface Ethernet2/6
interface Ethernet2/7
interface Ethernet2/8
interface Ethernet2/9
interface Ethernet2/10
interface Ethernet2/11
description Link to N7K-B 2/23
switchport mode trunk
no shutdown
interface Ethernet2/12
interface Ethernet2/25
interface Ethernet2/26
interface Ethernet3/1
switchport
interface Ethernet3/3
switchport
interface Ethernet3/5
switchport
interface Ethernet3/7
switchport
interface Ethernet3/9
switchport
interface Ethernet3/11
switchport
interface Ethernet3/15
switchport
interface Ethernet3/17
switchport
interface Ethernet3/19
switchport
interface Ethernet3/21
switchport
interface Ethernet3/23
switchport
interface Ethernet3/25
interface Ethernet3/27
interface Ethernet3/29
interface Ethernet3/31
interface mgmt0
ip address 172.16.1.201/24
line vty
version 5.1(3)N1(1a)
switchname N5K-A
no feature telnet
no feature http-server
feature lldp
feature vtp
ip domain-lookup
class-map type qos class-fcoe
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
class-map type network-qos class-all-flood
match qos-group 2
class-map type network-qos class-ip-multicast
match qos-group 2
snmp-server user admin network-admin auth md5
0x61b7d5b611af6597bb94ea2dd9a6594a priv 0x61b7d5b611af6597bb94ea2dd9a6594a
localizedkey
58 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
ip route 0.0.0.0/0 172.16.1.1
interface Ethernet1/1
description Link to N7K-A 2/5
switchport mode trunk
interface Ethernet1/2
interface Ethernet1/3
interface Ethernet1/4
interface Ethernet1/5
interface Ethernet1/6
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/10
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/22
interface Ethernet1/23
interface Ethernet1/24
interface Ethernet1/25
interface Ethernet1/26
interface Ethernet1/27
interface Ethernet1/28
description Link to PC-A Lab2
switchport access vlan 11
speed 1000
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface mgmt0
ip address 172.16.1.41/24
line console
line vty
boot kickstart bootflash:/n5000-uk9-kickstart.5.1.3.N1.1a.bin
boot system bootflash:/n5000-uk9.5.1.3.N1.1a.bin
60 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 2-4: Verifying and Configuring Spanning Tree
Complete this lab activity to practice what you learned in the related lesson.
Activity Objective
In this lab, you will connect to the Cisco Nexus 5000 Series Switches and Cisco Nexus 7000
Series Switches to configure and validate spanning tree configurations. After completing this
activity, you will be able to meet these objectives:
Configure spanning tree parameters
Use the show commands to validate spanning tree configuration
Visual Objective
The following figure shows what you will accomplish in this activity.
7010-A 7010-B
e2/11 e2/23
e2/12 e2/24
e3/1 e3/2
e2/5
e2/6
e2/19
e2/20
e3/3
e3/4
e1/5
e1/4
e1/2
e1/3
e1/5
e1/1
1 e1/28
e1/28 2
PC A 5548-A 5548-B PC B
192.168.11.11 192.168.11.12
10GE
1GE
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-10
Required Resources
These resources and equipment are required to complete this activity:
Cisco Nexus 7000 Series Switches
Cisco Nexus 5000 Series Switches
One PC with an SSH application for remote connectivity to the Cisco Nexus Switches
Command Description
spanning-tree port type edge Defines the current interface as an edge port
62 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 1: Configure Redundant Links
In this task, you will use CLI commands to enable the redundant links between switches.
Activity Procedure
Complete the following steps on all switches.
Note The switch outputs and configuration steps are samples. Your actual input and output might
be different from the samples shown.
Step 1 Configure and enable the redundant ISLs. The following table shows the links for
each switch.
N7K-A
Step 2 Verify the interface status on all switches by using the show interface status
command.
64 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 3 Determine the spanning tree topology for vlan 11 using the show spanning-tree
vlan 11 command on all the switches.
F103-Nexus-7010-Prod_A(config)# show spanning-tree vlan 11
VLAN0011
Spanning tree enabled protocol rstp
Root ID Priority 32779
Address 547f.ee5c.6efc
Cost 2
Port 261 (Ethernet2/5)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
e2/11 e2/23
e2/12 e2/24
e2/20
e2/5
e2/6
e3/3
e3/4
e1/3
e1/4
e1/5
e1/1
e1/5
e1/2
5548-A 5548-B
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-11
Step 4 Using the topology diagram for VLAN11, indicate which switch is the root for
VLAN11.
Step 5 Using the topology diagram, indicate which port on each switch is the root port for
VLAN 11.
Step 6 Using the topology diagram, indicate which ports are blocking by placing an “X”
over the interfaces.
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
8. Using the information from the topology diagram for VLAN 11, how many paths are there
from the PC connected to the N5K-A switch to the PC connected to the N5K-B switch?
_______________________________________________________________
Activity Verification
You have completed this task when you attain these results:
You have enabled the redundant ISLs.
You have determined the cost to the root bridge.
You have determined that the topology is loop free.
Activity Procedure
Complete the following steps on all switches.
Step 1 To insure optimal traffic flow in a spanning tree network, the location of the root
bridge must sometimes be configured. Typically, the root bridge will be in the core
or close to the core of the network. In the lab topology, the root should be one of the
Cisco Nexus 7000 Series Switches. In this step, the N7K-A switch is configured to
be the root of the spanning tree topology for VLAN 11.
F103-Nexus-7010-Prod_A(config)# spanning-tree vlan 11 priority 16384
Note This step can also be done using the spanning-tree vlan 11 root primary command.
Step 2 Verify the new spanning tree topology using the show spanning-tree vlan 11
command.
Step 3 Using the topology diagram for VLAN11, indicate which switch is the root for
VLAN11.
66 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 4 Using the topology diagram, indicate which port on each switch is the root port for
VLAN 11.
Step 5 Using the topology diagram, indicate which ports are blocking by placing an “X”
over the interfaces.
Step 6 Compare the current topology with the topology determined in Task 1.
Step 7 On the Cisco Nexus 50000 Series Switches, determine the port type for the ports that
are connected to the PCs.
N5K-A(config-if)# show spanning-tree vlan 11
VLAN0011
Spanning tree enabled protocol rstp
Root ID Priority 16395
Address 64a0.e743.03c2
Cost 2
Port 129 (Ethernet1/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Step 8 Ports that are not connected to other spanning tree-capable devices should be
configured as edge ports. On the Cisco Nexus 5000 Series Switches, configure the
e1/28 ports as edge ports by using the spanning-tree port type edge command.
N5K-A(config-if)# interface e1/28
N5K-A(config-if)# spanning-tree port type edge
Warning: Edge port type (portfast) should only be enabled on ports connected
to a single host. Connecting hubs, concentrators, switches, bridges, etc...
to this interface when edge port type (portfast) is enabled, can cause
temporary bridging loops.
Use with CAUTION
Edge Port Type (Portfast) has been configured on Ethernet1/28 but will only
have effect when the interface is in a non-trunking mode.
N5K-A(config-if)#
Step 9 Verify that the port N5K e1/28 ports are now edge ports by using the show
spanning-tree interface e1/28 command.
N5K-A(config-if)# show spanning-tree interface e1/28
e2/12 e2/24
e2/19
e2/20
e2/5
e2/6
e3/3
e3/4
e1/3
e1/4
e1/5
e1/1
e1/5
e1/2
5548-A 5548-B
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-12
Step 10 Using the topology diagram for VLAN1, indicate which switch is the root for
VLAN1.
Step 11 Using the topology diagram, indicate which port on each switch is the root port for
VLAN 1.
Step 12 Using the topology diagram, indicate which ports are blocking by placing an “X”
over the interfaces.
Step 13 Compare the VLAN 1 topology with the VLAN 11 topology from task 1.
Activity Verification
You have completed this task when you attain these results:
You have configured the root bridge for VLAN 11.
You have determined the new VLAN 11 topology.
You have configured the e1/28 ports on the Cisco Nexus 5000 Series Switches as edge
ports.
You have validated that there are two separate spanning tree instances: one for VLAN 1
and another for VLAN 11.
68 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 3: Verify Spanning Tree Failover
In this task, you will verify the failover capability of the STP.
Activity Procedure
Complete the following steps on all switches.
Step 1 Determine which ports on the Cisco Nexus 5000 Series Switches are the root ports
using the show spanning-tree vlan 11 command or by using the topology diagram
from the previous task.
Step 2 From a command prompt on the PC, start a continuous ping to the other PC using
the ping 192.168.11.x –t command where x = the last octet of the neighbor PC.
Step 3 With the command prompt window visible, shut down the root port of the Cisco
Nexus 5000 Series Switch and observe if there are any dropped pings.
Step 4 View the spanning tree topology using the show spanning-tree vlan 11 command
and verify that a new root port has been selected.
Step 5 Enable the port that was shut down in Step 3.
When spanning tree converges, it is not unusual to have a brief interruption in traffic flow. This
can show up as a single dropped ping. However, it is also possible that no packets are dropped.
Step 6 Save the running-config using the copy running-config startup-config command.
Perform this step on all switches!
F103-Nexus-7010-Prod_A# copy running-config startup-config
[########################################] 100%
Copy complete, now saving to disk (please wait)...
Activity Verification
You have completed this task when you attain this result:
You have validated the failover of the STP.
version 6.0(2)
hostname Prod_A
feature vtp
interface Ethernet2/1
interface Ethernet2/2
interface Ethernet2/3
interface Ethernet2/4
interface Ethernet2/5
description Link to N5K-A 1/1
switchport mode trunk
no shutdown
interface Ethernet2/6
description Link to N5K-A 1/2
switchport mode trunk
no shutdown
interface Ethernet2/7
description Link to N5K-B 1/1
switchport mode trunk
no shutdown
interface Ethernet2/8
description Link to N5K-B 1/2
switchport mode trunk
no shutdown
interface Ethernet2/9
interface Ethernet2/10
interface Ethernet2/11
description Link to N7K-B 2/23
switchport mode trunk
no shutdown
interface Ethernet2/12
description Link to N7K-B 2/24
switchport mode trunk
no shutdown
interface Ethernet2/25
interface Ethernet2/26
interface Ethernet3/1
description Link to N7K-B 3/2
switchport
switchport mode trunk
no shutdown
interface Ethernet3/3
description Link to N5K-A 1/5
switchport
switchport mode trunk
no shutdown
interface Ethernet3/5
switchport
70 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
interface Ethernet3/7
switchport
interface Ethernet3/9
switchport
interface Ethernet3/11
switchport
interface Ethernet3/13
switchport
interface Ethernet3/15
switchport
interface Ethernet3/17
switchport
interface Ethernet3/19
switchport
interface Ethernet3/21
switchport
interface Ethernet3/23
switchport
interface Ethernet3/25
interface Ethernet3/27
interface Ethernet3/29
interface Ethernet3/31
interface mgmt0
ip address 172.16.1.201/24
line vty
version 5.1(3)N1(1a)
switchname N5K-A
no feature telnet
no feature http-server
feature lldp
feature vtp
ip domain-lookup
class-map type qos class-fcoe
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
interface Ethernet1/1
description Link to N7K-A 2/5
switchport mode trunk
interface Ethernet1/2
description Link to N7K-A 2/6
switchport mode trunk
interface Ethernet1/3
description Link to N7K-B 2/17
switchport mode trunk
interface Ethernet1/4
description Link to N7K-B 2/18
switchport mode trunk
interface Ethernet1/5
description Link to N7K-A 3/3
switchport mode trunk
interface Ethernet1/6
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/10
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/22
interface Ethernet1/23
interface Ethernet1/24
72 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
interface Ethernet1/25
interface Ethernet1/26
interface Ethernet1/27
interface Ethernet1/28
description Link to PC-A Lab2
switchport access vlan 11
spanning-tree port type edge
speed 1000
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface Ethernet1/32
interface mgmt0
ip address 172.16.1.41/24
line console
line vty
boot kickstart bootflash:/n5000-uk9-kickstart.5.1.3.N1.1a.bin
boot system bootflash:/n5000-uk9.5.1.3.N1.1a.bin
Activity Objective
In this lab, you will connect to the Cisco Nexus 5000 Series and Cisco Nexus 7000 Series
Switches to configure and validate EtherChannel. After completing this activity, you will be
able to meet these objectives:
Configure EtherChannel
Use the show commands to validate EtherChannel configuration
Visual Objective
The figure shows what you will accomplish in this activity.
7010-A 7010-B
e2/11 e2/23
e2/12 e2/24
e2/5
e2/6
e2/19
e2/20
e1/4
e1/2
e1/3
e1/1
1 e1/28
e1/28 2
PC A 5548-A 5548-B PC B
192.168.11.11 192.168.11.12
10GE
1GE
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-13
Required Resources
These resources and equipment are required to complete this activity:
Cisco Nexus 7000 Series Switches
Cisco Nexus 5000 Series Switches
One PC with an SSH application for remote connectivity to the Cisco Nexus switches
74 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Command List
This table describes the commands used in this activity.
Command Description
Activity Procedure
Complete the following steps on all switches.
Note The switch outputs and configuration steps are samples. Your actual input and output may
be different from the samples shown.
While EtherChannel can work with two to eight physical links, the hashing algorithm is
optimized for bundles of two, four, or eight links. Using the following table, disable the third
ISLs.
Device Interface
N7K-A e3/1
N7K-A e3/3
N7K-B e3/2
N7K-B e3/4
N5K-A e1/5
N5K-B e1/5
Step 7 Review the spanning tree topology using the show spanning-tree vlan 11
command.
The topology is basically the same as the previous lab. The only difference is the absence of the
third links between some of the switches that were blocking in the previous labs. Even though
there are two 10-Gb/s links between the Cisco Nexus 5000 Series Switches and the Cisco
Nexus 7000 Series Switches, only one is forwarding traffic.
Activity Verification
You have completed this task when you attain this result:
You have only two ISLs between all switches.
76 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Activity Procedure
Complete the following steps on all switches.
Step 1 LACP is used to negotiate the EtherChannel groups between the switches. Enable
the LACP feature using the feature lacp command on all switches.
F103-Nexus-7010-Prod_A(config)# feature lacp
Step 2 Configure the physical interface on the switches to be grouped into EtherChannel
groups (also known as port channels). The following table lists the interfaces and
group numbers.
N7K-A e2/5-6 1
N7K-A e2/7-8 5
N7K-A e2/11-12 2
N7K-B e2/17-18 3
N7K-B e2/19-20 4
N7K-B e2/23-24 2
N5K-A e1/1-2 1
N5K-A e1/3-4 3
N5K-B e1/1-2 5
N5K-B e1/3-4 4
Step 3 Verify that the EtherChannel groups are functional using the show port-channel
summary command on all switches.
F103-Nexus-7010-Prod_A(config-if-range)# show port-channel summary
Flags: D - Down P - Up in port-channel (members)
I - Individual H - Hot-standby (LACP only)
s - Suspended r - Module-removed
S - Switched R - Routed
U - Up (port-channel)
M - Not in use. Min-links not met
-------------------------------------------------------------------
Group Port- Type Protocol Member Ports
Channel
-------------------------------------------------------------------
1 Po1(SU) Eth LACP Eth2/5(P) Eth2/6(P)
2 Po2(SU) Eth LACP Eth2/11(P) Eth2/12(P)
5 Po5(SU) Eth LACP Eth2/7(P) Eth2/8(P)
Step 4 Verify the spanning tree topology using the show spanning-tree vlan 11 command.
N5K-A(config-if-range)# show spanning-tree vlan 11
VLAN0011
Spanning tree enabled protocol rstp
Root ID Priority 16395
Address 64a0.e743.03c2
Cost 1
Port 4096 (port-channel1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Notice the physical interfaces that are part of the EtherChannel group no
longer appear in the spanning tree topology. They have been replaced by the
virtual “Port-Channel” interfaces.
A potential issue is the costing method used by spanning tree. An interface with a speed greater
than 10 Gb/s has a cost of 1. In this topology, the EtherChannel links, which are presented as 20
Gb/s, are showing a cost of 1. As an example, if there were a 40-Gb/s link, spanning tree might
not select that link as better than a 20-Gb/s link. This potential issue can be resolved by
changing the costing method from short (the RSTP default) to long.
Step 5 On all switches, change the costing method to long using the spanning-tree
pathcost method long command.
F103-Nexus-7010-Prod_A(config)# spanning-tree pathcost method long
Step 6 Verify the new spanning tree cost using the show spanning-tree vlan 11 command.
N5K-A(config)# show spanning-tree vlan 11
VLAN0011
Spanning tree enabled protocol rstp
Root ID Priority 16395
Address 64a0.e743.03c2
Cost 1000
Port 4096 (port-channel1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
78 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 7 Save the running-config using the copy running-config startup-config command.
Perform this step on all switches!
F103-Nexus-7010-Prod_A# copy running-config startup-config
[########################################] 100%
Copy complete, now saving to disk (please wait)...
Activity Verification
You have completed this task when you attain these results:
You have created EtherChannel links between the switches.
Yon have changed the pathcost method used by spanning tree.
version 6.0(2)
hostname Prod_A
feature lacp
feature vtp
interface port-channel1
switchport
switchport mode trunk
interface port-channel2
switchport
switchport mode trunk
interface port-channel5
switchport
switchport mode trunk
interface Ethernet2/1
interface Ethernet2/2
interface Ethernet2/4
interface Ethernet2/5
description Link to N5K-A 1/1
switchport mode trunk
channel-group 1 mode active
no shutdown
interface Ethernet2/6
description Link to N5K-A 1/2
switchport mode trunk
channel-group 1 mode active
no shutdown
interface Ethernet2/7
description Link to N5K-B 1/1
switchport mode trunk
channel-group 5 mode active
no shutdown
interface Ethernet2/8
description Link to N5K-B 1/2
switchport mode trunk
channel-group 5 mode active
no shutdown
interface Ethernet2/9
interface Ethernet2/10
interface Ethernet2/11
description Link to N7K-B 2/23
switchport mode trunk
channel-group 2 mode active
no shutdown
interface Ethernet2/12
description Link to N7K-B 2/24
switchport mode trunk
channel-group 2 mode active
no shutdown
interface Ethernet2/25
interface Ethernet2/26
interface Ethernet3/1
description Link to N7K-B 3/2
switchport
switchport mode trunk
interface Ethernet3/3
description Link to N5K-A 1/5
switchport
switchport mode trunk
interface Ethernet3/5
switchport
interface Ethernet3/7
switchport
interface Ethernet3/9
switchport
80 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
interface Ethernet3/11
switchport
interface Ethernet3/13
switchport
interface Ethernet3/15
switchport
interface Ethernet3/17
switchport
interface Ethernet3/19
switchport
interface Ethernet3/21
switchport
interface Ethernet3/23
switchport
interface Ethernet3/25
interface Ethernet3/27
interface Ethernet3/29
interface Ethernet3/31
interface mgmt0
ip address 172.16.1.201/24
line vty
version 5.1(3)N1(1a)
switchname N5K-A
no feature telnet
no feature http-server
feature lacp
feature lldp
feature vtp
ip domain-lookup
class-map type qos class-fcoe
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
class-map type network-qos class-all-flood
match qos-group 2
class-map type network-qos class-ip-multicast
match qos-group 2
interface port-channel1
switchport mode trunk
interface port-channel3
switchport mode trunk
interface Ethernet1/1
description Link to N7K-A 2/5
switchport mode trunk
channel-group 1 mode active
interface Ethernet1/2
description Link to N7K-A 2/6
switchport mode trunk
channel-group 1 mode active
interface Ethernet1/3
description Link to N7K-B 2/17
switchport mode trunk
channel-group 3 mode active
interface Ethernet1/4
description Link to N7K-B 2/18
switchport mode trunk
channel-group 3 mode active
interface Ethernet1/5
description Link to N7K-A 3/3
shutdown
switchport mode trunk
interface Ethernet1/6
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/10
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
82 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/22
interface Ethernet1/23
interface Ethernet1/24
interface Ethernet1/25
interface Ethernet1/26
interface Ethernet1/27
interface Ethernet1/28
description Link to PC-A Lab2
switchport access vlan 11
spanning-tree port type edge
speed 1000
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface Ethernet1/32
interface mgmt0
ip address 172.16.1.41/24
line console
line vty
boot kickstart bootflash:/n5000-uk9-kickstart.5.1.3.N1.1a.bin
boot system bootflash:/n5000-uk9.5.1.3.N1.1a.bin
Activity Objective
In this activity, you will convert decimal and binary numbers. After completing this activity,
you will be able to meet these objectives:
Convert decimal numbers to binary
Convert binary numbers to decimal
Visual Objective
This figure shows what you will accomplish in this activity.
Base 2 27 26 25 24 23 22 21 20
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-14
Required Resources
No resources are required for this activity.
Command List
No commands are used in this activity.
84 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 1: Convert from Decimal Notation to Binary Format
Activity Procedure
Complete the following table, which provides practice in converting a number from decimal
notation to binary format.
Base 2 27 26 25 24 23 22 21 20
48 0 0 1 1 0 0 0 48 = 32 +16 =
0
00110000
146 1 0 0 1
222
119
135
60
10101010 1 0 1 0
11100011
10110011
00110101
10010111
Activity Verification
You have completed this lab when you attain these results:
You can accurately convert decimal format numbers to binary notation.
You can accurately convert binary notation numbers to decimal format.
Activity Objective
In this activity, you will classify network addresses with IPv4 and IPv6. After completing this
activity, you will be able to meet these objectives:
Convert decimal IP addresses to binary numbers
Convert binary numbers to IP addresses
Identify classes of IP addresses
Identify valid and invalid host IP addresses
Visual Objective
This figure shows what you will accomplish in this activity.
0.124.0.0?
23.75.345.200? 255.255.255.255?
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-15
Required Resources
No resources are required for this activity.
Command List
No commands are used in this activity.
86 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 1: Convert from Decimal IP Address to Binary Format
Activity Procedure
Complete the following table to express 145.32.59.24 in binary format.
Base 2 27 26 25 24 23 22 21 20
145 1 0 0 1 0 0 0 1 10010001
32 0 0 1 0 0 0 0 0 00100000
59
24
Base 2 27 26 25 24 23 22 21 20
200
42
129
16
Base 2 27 26 25 24 23 22 21 20
14
82
19
54
Base 2 27 26 25 24 23 22 21 20
11011000 1 1 0 1 1 0 0 0 216
00011011
00111101
10001001
Base 2 27 26 25 24 23 22 21 20
11000110
00110101
10010011
00101101
Base 2 27 26 25 24 23 22 21 20
01111011
00101101
01000011
01011001
88 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 3: Identify IP Address Classes
Activity Procedure
Complete this table to identify the address class, number of bits in the network ID, and
maximum number of hosts.
Maximum
Number of Number of
Address Bits in Hosts
Binary IP Address Decimal IP Address Class Network ID (2h – 2)
11001000.00101010.10000001.00010000 200.42.129.16
00001110.01010010.00010011.00110110 14.82.19.54
11011000.00011011.00111101.10001001 216.27.61.137
10110011.00101101.01000011.01011001 179.45.67.89
11000110.00110101.10010011.00101101 198.53.147.45
23.75.345.200
216.27.61.134
102.54.94
255.255.255.255
142.179.148.200
200.42.129.16
0.124.0.0
Activity Verification
You have completed this lab when you attain these results:
You can accurately convert decimal format IP addresses to binary format.
You can accurately convert binary format IP addresses to decimal format.
You can identify the address class of a given IP address.
You can identify valid and invalid IP addresses.
Activity Objective
In this activity, you will determine the number of bits to borrow from the host ID to create the
required number of subnets for a given IP address. After completing this activity, you will be
able to meet these objectives:
Determine the number of bits that are required to create different subnets
Determine the maximum number of host addresses that are available in a given subnet
Visual Objective
This figure shows what you will accomplish in this activity.
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-16
Required Resources
No resources are required for this lab activity.
Command List
No commands are used in this activity.
90 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 1: Determine the Number of Bits Required to Subnet a
Class C Network
Activity Procedure
Given a Class C network address of 192.168.89.0, complete the table to identify the number of
bits that are required to define the specified number of subnets for the network. Then,
determine the number of hosts per subnet.
Number of
Subnets Number of Bits to Borrow Number of Hosts Per Subnet (2h– 2)
12
24
40
Number of
Subnets Number of Bits to Borrow Number of Hosts Per Subnet (2h– 2)
14
20
35
10
14
20
40
80
Activity Verification
You have completed this lab when you attain these results:
Given a Class A, B, or C network, you can identify the number of bits to borrow to create a
given number of subnets.
Given a Class A, B, or C network, with a specified number of subnets and number of bits to
borrow, you can determine the total number of hosts and the number of hosts per subnet .
92 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 3-4: Calculating Subnet Masks
Complete the lab activity to practice what you learned in the related module.
Activity Objective
In this activity, you will calculate subnet masks. After completing this activity, you will be able
to meet these objectives:
Given a network address, determine the number of possible network addresses and the
binary subnet mask to use
Given a network IP address and subnet mask, determine the range of subnet addresses
Identify the host addresses that can be assigned to a subnet and the associated broadcast
addresses
Visual Objective
This figure shows what you will accomplish in this activity.
Remember
Eight Easy Steps to Determining
Subnet Addresses
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-17
Required Resources
No resources are required for this lab activity.
Command List
No commands are used in this activity.
Number of Hosts
Classful Per Subnet
Address Decimal Subnet Mask Binary Subnet Mask (2h– 2)
/20
/21
/22
/23
/24
/25
/26
/27
/28
/29
/30
94 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step Description Example
Subnet Directed-Broadcast
Number Subnet Address Range of Host Addresses Address
...
2. Specify the classful address and subnet mask in binary and decimal that allows you to
create six subnets.
_________________________________________________________________
Subnet Directed-Broadcast
Number Subnet Address Range of Host Addresses Address
_________________________________________________________________________
2. How many subnets can you define with the specified mask?
_________________________________________________________________________
96 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
3. How many hosts will be in each subnet?
_______________________________________________________________________
Subnet Directed-Broadcast
Number Subnet Address Range of Host Addresses Address
_________________________________________________________________________
3. How many hosts will be in each subnet?
_________________________________________________________________________
4. Use the eight-step method to define the subnets.
Subnet Directed-Broadcast
Number Subnet Address Range of Host Addresses Address
98 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 6: Given a Network Block and Classful Address, Define
Subnets
Activity Procedure
Assume that you have been assigned the 172.20.0.129 address in a /25 network block.
1. Specify the subnet mask in binary and decimal.
_________________________________________________________________________
2. How many subnets can you define with the specified mask?
_________________________________________________________________________
3. How many hosts will be in each subnet?
_________________________________________________________________________
4. Use the eight-step method to define the subnets.
Subnet Directed-Broadcast
Number Subnet Address Range of Host Addresses Address
Activity Verification
You have completed this lab when you attain these results:
Given a network address, you can determine the number of possible network addresses and
the binary subnet mask to use.
Given a network IP address and subnet mask, you can apply the mask to determine the
range of subnet addresses.
You can apply subnet masks to identify the host addresses that can be assigned to a subnet
and the associated broadcast addresses.
100 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 4-1: Configuring Multilayer Switching
Complete this lab activity to practice what you learned in the related lesson.
Activity Objective
In this lab, you will connect to the Cisco Nexus 5000 Series Switches and Cisco Nexus 7000
Series Switches to configure and verify multilayer switching. After completing this activity,
you will be able to meet these objectives:
Create Switched Virtual Interfaces (SVI)
Create Layer 3 interfaces
Use the show commands to verify multilayer switching and view the routing table
Visual Objective
The following figure shows what you will accomplish in this activity.
7010-A 7010-B
192.168.25.1
e3/1 e3/2 192.168.27.1
192.168.26.1
.1 192.168.29.0 .2 192.168.28.1
e2/5
e2/6
e2/19
e2/20
e1/4
e1/2
e1/3
e1/1
1 e1/28
e1/28 2
PC A 5548-A 5548-B PC B
192.168.26.2 192.168.25.2 192.168.27.2 192.168.28.2
10GE
1GE
© 2012 Cisco and/or its affiliates. All rights reserved. DCICN v1.0—6-18
Required Resources
These resources and equipment are required to complete this activity:
Cisco Nexus 7000 Series Switches
Cisco Nexus 5000 Series Switches
One PC with an SSH application for remote connectivity to the Cisco Nexus switches
Command Description
102 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 1: Configure Multilayer Switching
In this task, you will use CLI commands to configure and verify multilayer switching.
Activity Procedure
Complete the following steps on all the switches.
Note The switch outputs and configuration steps are samples. Your actual input and output might
be different from the samples shown.
Step 1 Disable the Layer 2 ISLs between the Cisco Nexus 7000 Series Switches and the
links between your Cisco Nexus 7000 Series Switch and your neighbor’s Cisco
Nexus 5000 Series Switch. The following table summarizes the interfaces that are
disabled in this step.
N7K-A
Device Interface Neighbor & Interface
F103-Nexus-7010-Prod_A# config
Enter configuration commands, one per line. End with CNTL/Z.
F103-Nexus-7010-Prod_A(config-if-range)# int e2/7-8,e2/11-12
F103-Nexus-7010-Prod_A(config-if-range)# shutdown
^
F103-Nexus-7010-Prod_B# config
N5K-A# config
Enter configuration commands, one per line. End with CNTL/Z.
N5K-A(config)# int e1/3-4
N5K-A(config-if-range)# shutdown
^
N5K-B# config
Enter configuration commands, one per line. End with CNTL/Z.
N5K-B(config)# int e1/1-2
N5K-B(config-if-range)# shutdown
Step 2 On the Cisco Nexus 5000 Series Switches, create two VLANs. One will be used by
the PC and the other will be for in-band communications to the Cisco Nexus 5000
Series Switch. Refer to the following table for the VLAN assignments. You will not
need to create the VLANs on the Cisco Nexus 7000 Series Switches because VTP
will propagate these VLANs.
Device Interface
N5K-A 25, 26
N5K-B 27, 28
Step 3 Make the interface that connects to the PCs a member of the even-numbered VLAN
that you just created.
N5K-A 26 e1/28
N5K-B 28 e1/28
Step 4 Configure the link between the two Cisco Nexus 7000 Series Switches as a Layer 3
link, assign an IP address and enable the interface.
104 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 5 Verify the Layer 3 link using the show interface status and show ip interface brief
commands.
F103-Nexus-7010-Prod_B(config-if)# show interface status
------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
------------------------------------------------------------------------------
-output omitted-
Eth2/23 Link to N7K-A e2/1 disabled trunk auto auto SFP-H10GB-C
Eth2/24 Link to N7K-A 2/12 disabled trunk auto auto SFP-H10GB-C
Eth3/2 Link to N7K-A 3/1 connected routed full 10G SFP-H10GB-C
Eth3/4 Link to N5K-B 1/5 disabled trunk full auto SFP-H10GB-C
Eth3/6 -- sfpAbsent 1 full auto --
-output omitted-
Step 6 Validate connectivity over the Layer 3 link by pinging the IP address assigned to the
other end of the link. If the ping fails, verify that you have assigned the correct IP
address to your interface and that you are pinging the correct IP address.
F103-Nexus-7010-Prod_B(config-if)# ping 192.168.29.1
PING 192.168.29.1 (192.168.29.1): 56 data bytes
64 bytes from 192.168.29.1: icmp_seq=0 ttl=254 time=1.045 ms
64 bytes from 192.168.29.1: icmp_seq=1 ttl=254 time=0.817 ms
64 bytes from 192.168.29.1: icmp_seq=2 ttl=254 time=0.71 ms
64 bytes from 192.168.29.1: icmp_seq=3 ttl=254 time=0.725 ms
64 bytes from 192.168.29.1: icmp_seq=4 ttl=254 time=0.728 ms
Step 7 Enable the SVI feature (interface-vlan) on all the switches using the feature
interface-vlan command.
N5K-A(config)# feature interface-vlan
Step 8 The Cisco Nexus 5000 Series Switches do not have Layer 3 routing capabilities.
However, it is possible to create an SVI and assign an IP address. This interface will
be used as a destination for ping traffic. Create an SVI on the Cisco Nexus 5000
Series Switch and assign the IP address shown in the following table for the
appropriate switch.
N5K-A 192.168.25.1
N5K-B 192.168.27.1
Step 10 The Cisco Nexus 7000 Series Switches will be performing the routing between the
networks. Create two SVIs on each Cisco Nexus 7000 Series Switch and assign the
IP addresses listed here.
Step 11 Configure the IP address on the Lab2 NIC of the PCs. Click Start > Control Panel
> Network Connections > Lab2 to open the Lab2 Status dialog window.
Step 12 In the Lab2 Status window, click the Properties button.
Step 13 In the Lab2 Properties window, highlight Internet Protocol (TCP/IP) and click
the Properties button.
Step 14 Change the IP address from 192.168.11.xx to the appropriate address shown in the
following table. Leave the mask at 255.255.255.0 and do not define a default
gateway. Static routes have already been added, so there is no need for a default
gateway.
PC A 192.168.26.2
PC B 192.168.28.2
106 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 16 Display the routing table on the two Cisco Nexus 7000 Series Switches.
F103-Nexus-7010-Prod_A(config-if)# show ip route
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>
Step 17 Notice that two entries correspond to each connected network. One is identified as
“direct,” which indicates the network, and the other is identified as “local,” which
shows the IP address assigned to the interface that is connected to that network. You
can filter the output by appending the keyword direct to the show ip route
command.
F103-Nexus-7010-Prod_A(config-if)# show ip route direct
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>
Step 18 View the IP-specific configuration by using the show running-config ip command.
F103-Nexus-7010-Prod_A(config-if-range)# sh run ip
version 6.0(2)
vrf context management
ip route 0.0.0.0/0 172.16.1.1
interface Vlan25
ip address 192.168.25.1/24
interface Vlan26
ip address 192.168.26.1/24
interface Ethernet3/1
ip address 192.168.29.1/24
interface mgmt0
ip address 172.16.1.201/24
PC A 192.168.25.2
PC B 192.168.27.2
C:\WINDOWS>ping 192.168.25.2
Step 20 The pings should be successful. Now, attempt to ping the other N5K switch.
C:\WINDOWS>ping 192.168.27.2
Step 21 These pings should fail. The reason is that the Cisco Nexus 7000 Series Switches are
not exchanging routes. The switches only know about directly connected networks
at this time.
Activity Verification
You have completed this task when you attain these results:
You have configured Layer 3 interfaces on the Cisco Nexus 7000 Series Switches.
You have created and configured SVI interfaces on all switches.
You have verified connectivity between your PC and one Cisco Nexus 5000 Series Switch.
Activity Procedure
Complete the following steps on both Cisco Nexus 7000 Series Switches.
Step 1 Enable the EIGRP feature on the Cisco Nexus 7000 Series Switches using the
feature eigrp command.
N5K-A(config)# feature eigrp
108 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step 2 Create an EIGRP process and define the autonomous system number.
F103-Nexus-7010-Prod_A(config)# router eigrp DCICN
F103-Nexus-7010-Prod_A(config-router)# autonomous-system 100
Enable the routing process on all Layer 3 interfaces using the ip router eigrp
DCICN command. Refer to the following table for the VLAN assignments.
Device Interfaces
Step 3 Display the routing table on the two Cisco Nexus 7000 Series Switches.
F103-Nexus-7010-Prod_A# show ip route
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>
Step 4 Notice that two entries correspond to each nondirectly connected network. They are
identified as “eigrp-DCICN,” which shows that the network was learned through the
EIGRP routing protocol with the process ID of DCICN You can filter the output by
appending the keyword eigrp to the show ip route command.
F103-Nexus-7010-Prod_A# show ip route eigrp
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>
version 6.0(2)
feature eigrp
interface Vlan25
ip router eigrp DCICN
interface Vlan26
ip router eigrp DCICN
interface Ethernet3/1
ip router eigrp DCICN
Step 6 Open a command prompt on the PC and attempt to ping the IP addresses of all
devices in the pod.
Device Destination
PC A 192.168.26.2
PC B 192.168.28.2
N5K-A 192.168.25.2
N5K-B 192.168.28.2
Step 7 All the pings to all devices should be successful. If any pings fail, verify the
configuration of the EIGRP routing protocol. If you are still unable to resolve the
issue, notify the instructor.
N5K-A 26 e1/28
N5K-B 28 e1/28
Step 8 Save the running-config using the copy running-config startup-config command.
Perform this step on all switches!
F103-Nexus-7010-Prod_A# copy running-config startup-config
[########################################] 100%
Copy complete, now saving to disk (please wait)...
Activity Verification
You have completed this task when you attain these results:
You have created and configured EIGRP processes on the Cisco Nexus 7000 Series
Switches.
You have verified connectivity between all devices in the pod.
110 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 4-1 Cisco Nexus 7000 Series Switch Configuration
!Command: show running-config
!Time: Sat Jun 9 15:27:40 2012
version 6.0(2)
hostname Prod_A
feature telnet
feature eigrp
feature interface-vlan
feature lacp
feature vtp
ip domain-lookup
snmp-server user admin vdc-admin auth md5 0xd9a69b00aa3809c0fe97007d8c262085
pri
v 0xd9a69b00aa3809c0fe97007d8c262085 localizedkey
snmp-server user intern vdc-operator auth md5
0xe806e6958079ce4218351abf13035d37
priv 0xe806e6958079ce4218351abf13035d37 localizedkey
snmp-server user student vdc-admin auth md5 0xd9a69b00aa3809c0fe97007d8c262085
p
riv 0xd9a69b00aa3809c0fe97007d8c262085 localizedkey
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
interface Vlan1
interface Vlan25
no shutdown
ip address 192.168.25.1/24
ip router eigrp DCICN
interface Vlan26
no shutdown
ip address 192.168.26.1/24
ip router eigrp DCICN
interface port-channel1
switchport
switchport mode trunk
interface port-channel2
switchport
switchport mode trunk
interface port-channel5
switchport
switchport mode trunk
interface Ethernet2/2
interface Ethernet2/3
interface Ethernet2/4
interface Ethernet2/5
description Link to N5K-A 1/1
switchport mode trunk
channel-group 1 mode active
no shutdown
interface Ethernet2/6
description Link to N5K-A 1/2
switchport mode trunk
channel-group 1 mode active
no shutdown
interface Ethernet2/7
description Link to N5K-B 1/1
switchport mode trunk
channel-group 5 mode active
interface Ethernet2/8
description Link to N5K-B 1/2
switchport mode trunk
channel-group 5 mode active
interface Ethernet2/9
interface Ethernet2/10
interface Ethernet2/11
description Link to N7K-B 2/23
switchport mode trunk
channel-group 2 mode active
interface Ethernet2/12
description Link to N7K-B 2/24
switchport mode trunk
channel-group 2 mode active
interface Ethernet2/25
interface Ethernet2/26
interface Ethernet3/1
description Link to N7K-B 3/2
ip address 192.168.29.1/24
ip router eigrp DCICN
no shutdown
interface Ethernet3/3
description Link to N5K-A 1/5
switchport
switchport mode trunk
interface Ethernet3/5
switchport
interface Ethernet3/7
switchport
interface Ethernet3/9
switchport
112 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
interface Ethernet3/11
switchport
interface Ethernet3/13
switchport
interface Ethernet3/15
switchport
interface Ethernet3/17
switchport
interface Ethernet3/19
switchport
interface Ethernet3/21
switchport
interface Ethernet3/23
switchport
interface Ethernet3/25
interface Ethernet3/27
interface Ethernet3/29
interface Ethernet3/31
interface mgmt0
ip address 172.16.1.201/24
line vty
router eigrp DCICN
autonomous-system 100
version 5.1(3)N1(1a)
switchname N5K-A
feature telnet
no feature http-server
feature interface-vlan
feature lacp
feature lldp
feature vtp
ip domain-lookup
class-map type qos class-fcoe
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
class-map type network-qos class-all-flood
match qos-group 2
class-map type network-qos class-ip-multicast
match qos-group 2
snmp-server user admin network-admin auth md5
0x61b7d5b611af6597bb94ea2dd9a6594a priv 0x61b7d5b611af6597bb94ea2dd9a6594a
localizedkey
interface Vlan1
interface Vlan25
no shutdown
ip address 192.168.25.2/24
interface port-channel1
switchport mode trunk
interface port-channel3
switchport mode trunk
interface Ethernet1/1
description Link to N7K-A 2/5
switchport mode trunk
channel-group 1 mode active
interface Ethernet1/2
description Link to N7K-A 2/6
switchport mode trunk
channel-group 1 mode active
interface Ethernet1/3
description Link to N7K-B 2/17
114 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
shutdown
switchport mode trunk
channel-group 3 mode active
interface Ethernet1/4
description Link to N7K-B 2/18
shutdown
switchport mode trunk
channel-group 3 mode active
interface Ethernet1/5
description Link to N7K-B 3/4
shutdown
switchport mode trunk
interface Ethernet1/6
shutdown
interface Ethernet1/7
shutdown
interface Ethernet1/8
shutdown
interface Ethernet1/9
shutdown
interface Ethernet1/10
shutdown
interface Ethernet1/11
shutdown
interface Ethernet1/12
shutdown
interface Ethernet1/13
shutdown
interface Ethernet1/14
shutdown
interface Ethernet1/15
shutdown
interface Ethernet1/16
shutdown
interface Ethernet1/17
shutdown
interface Ethernet1/18
shutdown
interface Ethernet1/19
shutdown
interface Ethernet1/20
shutdown
interface Ethernet1/21
shutdown
interface Ethernet1/22
shutdown
interface Ethernet1/23
shutdown
interface Ethernet1/25
shutdown
interface Ethernet1/26
shutdown
interface Ethernet1/27
shutdown
interface Ethernet1/28
description Link to PC A
switchport access vlan 26
spanning-tree port type edge
speed 1000
interface Ethernet1/29
shutdown
interface Ethernet1/30
shutdown
interface Ethernet1/31
shutdown
interface Ethernet1/32
shutdown
interface mgmt0
ip address 172.16.1.41/24
line console
line vty
boot kickstart bootflash:/n5000-uk9-kickstart.5.1.3.N1.1a.bin
boot system bootflash:/n5000-uk9.5.1.3.N1.1a.bin
ip route 0.0.0.0/0 192.168.25.1
116 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Answer Key
The correct answers and expected solutions for the activities that are described in this guide
appear here.
version 6.0(2)
hostname Prod_A
interface Ethernet2/1
interface Ethernet2/2
interface Ethernet2/3
interface Ethernet2/4
interface Ethernet2/5
description Link to N5K-A 1/1
no shutdown
interface Ethernet2/6
interface Ethernet2/7
interface Ethernet2/8
interface Ethernet2/9
interface Ethernet2/10
interface Ethernet2/11
description Link to N7K-B 2/23
no shutdown
interface Ethernet2/12
interface Ethernet2/26
interface Ethernet3/1
switchport
interface Ethernet3/3
switchport
interface Ethernet3/5
switchport
interface Ethernet3/7
switchport
interface Ethernet3/9
switchport
interface Ethernet3/11
switchport
interface Ethernet3/13
switchport
interface Ethernet3/15
switchport
interface Ethernet3/17
switchport
interface Ethernet3/19
switchport
interface Ethernet3/21
switchport
interface Ethernet3/23
switchport
interface Ethernet3/25
interface Ethernet3/27
interface Ethernet3/29
interface Ethernet3/31
interface mgmt0
ip address 172.16.1.201/24
line vty
version 5.1(3)N1(1a)
switchname N5K-A
no feature telnet
no feature http-server
feature lldp
118 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
banner motd #Nexus 5000 Switch
#
ip domain-lookup
class-map type qos class-fcoe
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
class-map type network-qos class-all-flood
match qos-group 2
class-map type network-qos class-ip-multicast
match qos-group 2
snmp-server user admin network-admin auth md5
0x61b7d5b611af6597bb94ea2dd9a6594a priv 0x61b7d5b611af6597bb94ea2dd9a6594a
localizedkey
interface Ethernet1/1
description Link to N7K-A 2/5
interface Ethernet1/2
interface Ethernet1/3
interface Ethernet1/4
interface Ethernet1/5
interface Ethernet1/6
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/10
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/23
interface Ethernet1/24
interface Ethernet1/25
interface Ethernet1/26
interface Ethernet1/27
interface Ethernet1/28
description Link to PC-A Lab2
speed 1000
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface Ethernet1/32
interface mgmt0
ip address 172.16.1.41/24
line console
line vty
boot kickstart bootflash:/n5000-uk9-kickstart.5.1.3.N1.1a.bin
boot system bootflash:/n5000-uk9.5.1.3.N1.1a.bin
120 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 2-3 Answer Key: Configuring VLANs and Trunks
Lab 2-3 Cisco Nexus 7000 Series Switch Configuration
!Command: show running-config
!Time: Sun Jun 10 14:31:17 2012
version 6.0(2)
hostname Prod_A
feature vtp
interface Ethernet2/1
interface Ethernet2/2
interface Ethernet2/3
interface Ethernet2/4
interface Ethernet2/5
description Link to N5K-A 1/1
switchport mode trunk
no shutdown
interface Ethernet2/6
interface Ethernet2/7
interface Ethernet2/8
interface Ethernet2/9
interface Ethernet2/10
interface Ethernet2/11
description Link to N7K-B 2/23
switchport mode trunk
no shutdown
interface Ethernet2/12
interface Ethernet2/25
interface Ethernet2/26
interface Ethernet3/3
switchport
interface Ethernet3/5
switchport
interface Ethernet3/7
switchport
interface Ethernet3/9
switchport
interface Ethernet3/11
switchport
interface Ethernet3/13
switchport
interface Ethernet3/15
switchport
interface Ethernet3/17
switchport
interface Ethernet3/19
switchport
interface Ethernet3/21
switchport
interface Ethernet3/23
switchport
interface Ethernet3/25
interface Ethernet3/27
interface Ethernet3/29
interface Ethernet3/31
interface mgmt0
ip address 172.16.1.201/24
line vty
version 5.1(3)N1(1a)
switchname N5K-A
no feature telnet
no feature http-server
feature lldp
feature vtp
122 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
ip domain-lookup
class-map type qos class-fcoe
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
class-map type network-qos class-all-flood
match qos-group 2
class-map type network-qos class-ip-multicast
match qos-group 2
snmp-server user admin network-admin auth md5
0x61b7d5b611af6597bb94ea2dd9a6594a priv 0x61b7d5b611af6597bb94ea2dd9a6594a
localizedkey
interface Ethernet1/1
description Link to N7K-A 2/5
switchport mode trunk
interface Ethernet1/2
interface Ethernet1/3
interface Ethernet1/4
interface Ethernet1/5
interface Ethernet1/6
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/10
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/22
interface Ethernet1/23
interface Ethernet1/25
interface Ethernet1/26
interface Ethernet1/27
interface Ethernet1/28
description Link to PC-A Lab2
switchport access vlan 11
speed 1000
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface Ethernet1/32
interface mgmt0
ip address 172.16.1.41/24
line console
line vty
boot kickstart bootflash:/n5000-uk9-kickstart.5.1.3.N1.1a.bin
boot system bootflash:/n5000-uk9.5.1.3.N1.1a.bin
124 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 2-4 Answer Key: Verifying and Configuring Spanning Tree
Lab 2-4 Cisco Nexus 7000 Series Switch Configuration
!Command: show running-config
!Time: Sun Jun 10 14:45:16 2012
version 6.0(2)
hostname Prod_A
feature vtp
interface Ethernet2/1
interface Ethernet2/2
interface Ethernet2/3
interface Ethernet2/4
interface Ethernet2/5
description Link to N5K-A 1/1
switchport mode trunk
no shutdown
interface Ethernet2/6
description Link to N5K-A 1/2
switchport mode trunk
no shutdown
interface Ethernet2/7
description Link to N5K-B 1/1
switchport mode trunk
no shutdown
interface Ethernet2/8
description Link to N5K-B 1/2
switchport mode trunk
no shutdown
interface Ethernet2/9
interface Ethernet2/10
interface Ethernet2/12
description Link to N7K-B 2/24
switchport mode trunk
no shutdown
interface Ethernet2/25
interface Ethernet2/26
interface Ethernet3/1
description Link to N7K-B 3/2
switchport
switchport mode trunk
no shutdown
interface Ethernet3/3
description Link to N5K-A 1/5
switchport
switchport mode trunk
no shutdown
interface Ethernet3/5
switchport
interface Ethernet3/7
switchport
interface Ethernet3/9
switchport
interface Ethernet3/11
switchport
interface Ethernet3/13
switchport
interface Ethernet3/15
switchport
interface Ethernet3/17
switchport
interface Ethernet3/19
switchport
interface Ethernet3/21
switchport
interface Ethernet3/23
switchport
interface Ethernet3/25
interface Ethernet3/27
interface Ethernet3/29
interface Ethernet3/31
interface mgmt0
ip address 172.16.1.201/24
line vty
126 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 2-4 Cisco Nexus 5000 Series Switch Configuration
!Command: show running-config
!Time: Sat Jun 9 14:44:05 2012
version 5.1(3)N1(1a)
switchname N5K-A
no feature telnet
no feature http-server
feature lldp
feature vtp
ip domain-lookup
class-map type qos class-fcoe
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
class-map type network-qos class-all-flood
match qos-group 2
class-map type network-qos class-ip-multicast
match qos-group 2
snmp-server user admin network-admin auth md5
0x61b7d5b611af6597bb94ea2dd9a6594a priv 0x61b7d5b611af6597bb94ea2dd9a6594a
localizedkey
interface Ethernet1/1
description Link to N7K-A 2/5
switchport mode trunk
interface Ethernet1/2
description Link to N7K-A 2/6
switchport mode trunk
interface Ethernet1/3
description Link to N7K-B 2/17
switchport mode trunk
interface Ethernet1/4
description Link to N7K-B 2/18
switchport mode trunk
interface Ethernet1/5
description Link to N7K-A 3/3
switchport mode trunk
interface Ethernet1/6
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/22
interface Ethernet1/23
interface Ethernet1/24
interface Ethernet1/25
interface Ethernet1/26
interface Ethernet1/27
interface Ethernet1/28
description Link to PC-A Lab2
switchport access vlan 11
spanning-tree port type edge
speed 1000
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface Ethernet1/32
interface mgmt0
ip address 172.16.1.41/24
line console
line vty
boot kickstart bootflash:/n5000-uk9-kickstart.5.1.3.N1.1a.bin
boot system bootflash:/n5000-uk9.5.1.3.N1.1a.bin
128 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 2-5 Answer Key: Configuring EtherChannel
Lab 2-5 Cisco Nexus 7000 Series Switch Configuration
!Command: show running-config
!Time: Sun Jun 10 14:52:59 2012
version 6.0(2)
hostname Prod_A
feature lacp
feature vtp
interface port-channel1
switchport
switchport mode trunk
interface port-channel2
switchport
switchport mode trunk
interface port-channel5
switchport
switchport mode trunk
interface Ethernet2/1
interface Ethernet2/2
interface Ethernet2/3
interface Ethernet2/4
interface Ethernet2/5
description Link to N5K-A 1/1
switchport mode trunk
channel-group 1 mode active
no shutdown
interface Ethernet2/6
description Link to N5K-A 1/2
switchport mode trunk
channel-group 1 mode active
interface Ethernet2/7
description Link to N5K-B 1/1
switchport mode trunk
channel-group 5 mode active
no shutdown
interface Ethernet2/8
description Link to N5K-B 1/2
switchport mode trunk
channel-group 5 mode active
no shutdown
interface Ethernet2/9
interface Ethernet2/10
interface Ethernet2/11
description Link to N7K-B 2/23
switchport mode trunk
channel-group 2 mode active
no shutdown
interface Ethernet2/12
description Link to N7K-B 2/24
switchport mode trunk
channel-group 2 mode active
no shutdown
interface Ethernet2/25
interface Ethernet2/26
interface Ethernet3/1
description Link to N7K-B 3/2
switchport
switchport mode trunk
interface Ethernet3/3
description Link to N5K-A 1/5
switchport
switchport mode trunk
interface Ethernet3/5
switchport
interface Ethernet3/7
switchport
interface Ethernet3/9
switchport
interface Ethernet3/11
switchport
interface Ethernet3/13
switchport
interface Ethernet3/15
switchport
interface Ethernet3/17
switchport
interface Ethernet3/19
switchport
130 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
interface Ethernet3/21
switchport
interface Ethernet3/23
switchport
interface Ethernet3/25
interface Ethernet3/27
interface Ethernet3/29
interface Ethernet3/31
interface mgmt0
ip address 172.16.1.201/24
line vty
version 5.1(3)N1(1a)
switchname N5K-A
no feature telnet
no feature http-server
feature lacp
feature lldp
feature vtp
ip domain-lookup
class-map type qos class-fcoe
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
class-map type network-qos class-all-flood
match qos-group 2
class-map type network-qos class-ip-multicast
match qos-group 2
snmp-server user admin network-admin auth md5
0x61b7d5b611af6597bb94ea2dd9a6594a priv 0x61b7d5b611af6597bb94ea2dd9a6594a
localizedkey
interface port-channel1
switchport mode trunk
interface port-channel3
switchport mode trunk
interface Ethernet1/1
interface Ethernet1/2
description Link to N7K-A 2/6
switchport mode trunk
channel-group 1 mode active
interface Ethernet1/3
description Link to N7K-B 2/17
switchport mode trunk
channel-group 3 mode active
interface Ethernet1/4
description Link to N7K-B 2/18
switchport mode trunk
channel-group 3 mode active
interface Ethernet1/5
description Link to N7K-A 3/3
shutdown
switchport mode trunk
interface Ethernet1/6
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/10
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/22
interface Ethernet1/23
interface Ethernet1/24
interface Ethernet1/25
interface Ethernet1/26
interface Ethernet1/27
132 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
interface Ethernet1/28
description Link to PC-A Lab2
switchport access vlan 11
spanning-tree port type edge
speed 1000
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface Ethernet1/32
interface mgmt0
ip address 172.16.1.41/24
line console
line vty
boot kickstart bootflash:/n5000-uk9-kickstart.5.1.3.N1.1a.bin
boot system bootflash:/n5000-uk9.5.1.3.N1.1a.bin
48 0 0 1 1 0 0 0 0 48 = 32+16 = 00110000
60 0 0 1 1 1 1 0 0 60 = 32+16+8+4
= 00111100
00110101 0 0 1 1 0 1 0 1 32+16+4+1 = 53
134 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 3-2 Answer Key: Classifying Network Addressing
Task 1: Convert from Decimal IP Address to Binary Format
Table to express 145.32.59.24 in binary format:
Base-2 27 26 25 24 23 22 21 20
145 1 0 0 1 0 0 0 1 10010001
32 0 0 1 0 0 0 0 0 00100000
59 0 0 1 1 1 0 1 1 00111011
24 0 0 0 1 1 0 0 0 00011000
Base-2 27 26 25 24 23 22 21 20
200 1 1 0 0 1 0 0 0 11001000
42 0 0 1 0 1 0 1 0 00101010
129 1 0 0 0 0 0 0 1 10000001
16 0 0 0 1 0 0 0 0 00010000
Base-2 27 26 25 24 23 22 21 20
14 0 0 0 0 1 1 1 0 00001110
82 0 1 0 1 0 0 1 0 01010010
19 0 0 0 1 0 0 1 1 00010011
54 0 0 1 1 0 1 1 0 00110110
Base-2 27 26 25 24 23 22 21 20
11011000 1 1 0 1 1 0 0 0 216
00011011 0 0 0 1 1 0 1 1 27
00111101 0 0 1 1 1 1 0 1 61
10001001 1 0 0 0 1 0 0 1 137
Base-2 27 26 25 24 23 22 21 20
11000110 1 1 0 0 0 1 1 0 198
00110101 0 0 1 1 0 1 0 1 53
10010011 1 0 0 1 0 0 1 1 147
00101101 0 0 1 0 1 1 0 1 45
Base-2 27 26 25 24 23 22 21 20
01111011 0 1 1 1 1 0 1 1 123
00101101 0 0 1 0 1 1 0 1 45
01000011 0 1 0 0 0 0 1 1 67
01011001 0 1 0 1 1 0 0 1 89
136 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Task 3: Identify IP Address Classes
Number Maximum
of Bits in Number of
Decimal IP Address Network Hosts
Binary IP Address Address Class ID (2h-2)
216.27.61.134 Valid
142.179.148.200 Valid
200.42.129.16 Valid
Number of
Subnets Number of Bits to Borrow(s) Number of Hosts per Subnet (2h-2)
2 1 27-2 = 126
5 3 25-2 = 30
12 4 24-2 = 14
24 5 23-2 = 6
40 6 22-2 = 2
Number of
Subnets Number of Bits to Borrow(s) Number of Hosts per Subnet (2h-2)
5 3 213-2 =8,190
8 3 213-2 =8,190
14 4 212-2 =4,094
20 5 211-2 =2,046
35 6 210-2 =1,022
Number of
Subnets Number of Bits to Borrow(s) Number of Hosts per Subnet (2h-2)
10 4 220-2 = 1,048,574
14 4 220-2 = 1,048,574
20 5 219-2 = 524,286
18
40 6 2 -2 = 262,142
80 7 217-2 = 131,070
138 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 3-4 Answer Key: Calculating Subnet Masks
Task 1: Determine the Number of Possible Network Addresses
Number of
Hosts per
Subnet
Prefix Length Decimal Subnet Mask Binary Subnet Mask (2h-2)
4. Copy the significant bits four times. 0000 0000 (first subnet)
0000 0001 (first host address)
5. In the first line, define the network address by
placing zeros in the remaining host bits. 0000 1110 (last host address)
0000 1111 (broadcast address)
6. In the last line, define the directed-broadcast
address by placing all ones in the host bits.
8. Increment the subnet bits by one to determine the 0001 0000 (next subnet)
next subnet address.
Repeat Steps 4 through 8 for all subnets.
Subnet Directed-Broadcast
Number Subnet Address Range of Host Addresses Address
2. Specify the classful address and subnet mask in binary and decimal that allows you to
create six subnets.
Classful address: /27
Subnet mask (binary): 11111111.11111111.11111111.11100000
Subnet mask (decimal): 255.255.255.224
3. Use the eight-step method to define the six subnets.
4. Copy the significant bits four times. 000 00000 (first subnet)
000 00001 (first host address)
5. In the first line, define the network address by
placing zeros in the remaining host bits. 000 11110 (last host address)
000 11111 (broadcast address)
6. In the last line, define the directed-broadcast
address by placing all ones in the host bits.
140 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Step Description Example
8. Increment the subnet bits by one to determine the 001 00000 (next subnet)
next subnet address.
Repeat Steps 4 through 8 for all subnets.
Subnet Directed-Broadcast
Number Subnet Address Range of Host Addresses Address
2. How many subnets can you define with the specified mask? 16
4. Copy the significant bits four times. 1000 0000 (first subnet)
1000 0001 (first host address)
5. In the first line, define the network address by
placing zeros in the remaining host bits. 1000 1110 (last host address)
1000 1111 (broadcast address)
6. In the last line, define the directed-broadcast
address by placing all ones in the host bits.
8. Increment the subnet bits by one to determine the 1001 0000 (next subnet)
next subnet address.
Repeat Steps 4 through 8 for all subnets.
Subnet Directed-Broadcast
Number Subnet Address Range of Host Addresses Address
2. How many subnets can you define with the specified mask?
126
4. Copy the significant bits four times. 0111000 0.00000000 (first subnet)
0111000 0.00000001 (first host address)
5. In the first line, define the network address by
placing zeros in the remaining host bits. 0111000 1.11111110 (last host address)
0111000 1.11111111 (broadcast
6. In the last line, define the directed-broadcast
address)
address by placing all ones in the host bits.
8. Increment the subnet bits by one to determine the 0111001 0.00000000 (next subnet)
next subnet address.
Repeat Steps 4 through 8 for all subnets.
142 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
5. Complete the following table to define each subnet.
Subnet Directed-Broadcast
Number Subnet Address Range of Host Addresses Address
2. How many subnets can you define with the specified mask?
510
8. Increment the subnet bits by one to determine the 00000001.10000000 (next subnet)
next subnet address.
Repeat Steps 4 through 8 for all subnets.
Subnet Directed-Broadcast
Number Subnet Address Range of Host Addresses Address
144 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
Lab 4-1: Answer Key: Configuring Multilayer Switching
Lab 4-1 Cisco Nexus 7000 Series Switch Configuration
!Command: show running-config
!Time: Sat Jun 9 15:27:40 2012
version 6.0(2)
hostname Prod_A
feature telnet
feature eigrp
feature interface-vlan
feature lacp
feature vtp
ip domain-lookup
snmp-server user admin vdc-admin auth md5 0xd9a69b00aa3809c0fe97007d8c262085
pri
v 0xd9a69b00aa3809c0fe97007d8c262085 localizedkey
snmp-server user intern vdc-operator auth md5
0xe806e6958079ce4218351abf13035d37
priv 0xe806e6958079ce4218351abf13035d37 localizedkey
snmp-server user student vdc-admin auth md5 0xd9a69b00aa3809c0fe97007d8c262085
p
riv 0xd9a69b00aa3809c0fe97007d8c262085 localizedkey
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
interface Vlan1
interface Vlan25
no shutdown
ip address 192.168.25.1/24
ip router eigrp DCICN
interface Vlan26
no shutdown
ip address 192.168.26.1/24
ip router eigrp DCICN
interface port-channel1
switchport
switchport mode trunk
interface port-channel2
switchport
switchport mode trunk
interface port-channel5
switchport
interface Ethernet2/1
interface Ethernet2/2
interface Ethernet2/3
interface Ethernet2/4
interface Ethernet2/5
description Link to N5K-A 1/1
switchport mode trunk
channel-group 1 mode active
no shutdown
interface Ethernet2/6
description Link to N5K-A 1/2
switchport mode trunk
channel-group 1 mode active
no shutdown
interface Ethernet2/7
description Link to N5K-B 1/1
switchport mode trunk
channel-group 5 mode active
interface Ethernet2/8
description Link to N5K-B 1/2
switchport mode trunk
channel-group 5 mode active
interface Ethernet2/9
interface Ethernet2/10
interface Ethernet2/11
description Link to N7K-B 2/23
switchport mode trunk
channel-group 2 mode active
interface Ethernet2/12
description Link to N7K-B 2/24
switchport mode trunk
channel-group 2 mode active
interface Ethernet2/25
interface Ethernet2/26
interface Ethernet3/1
description Link to N7K-B 3/2
ip address 192.168.29.1/24
ip router eigrp DCICN
no shutdown
interface Ethernet3/3
description Link to N5K-A 1/5
switchport
switchport mode trunk
interface Ethernet3/5
switchport
interface Ethernet3/7
switchport
interface Ethernet3/9
146 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
switchport
interface Ethernet3/11
switchport
interface Ethernet3/13
switchport
interface Ethernet3/15
switchport
interface Ethernet3/17
switchport
interface Ethernet3/19
switchport
interface Ethernet3/21
switchport
interface Ethernet3/23
switchport
interface Ethernet3/25
interface Ethernet3/27
interface Ethernet3/29
interface Ethernet3/31
interface mgmt0
ip address 172.16.1.201/24
line vty
router eigrp DCICN
autonomous-system 100
version 5.1(3)N1(1a)
switchname N5K-A
feature telnet
no feature http-server
feature interface-vlan
feature lacp
feature lldp
feature vtp
ip domain-lookup
class-map type qos class-fcoe
class-map type queuing class-fcoe
match qos-group 1
class-map type queuing class-all-flood
match qos-group 2
class-map type queuing class-ip-multicast
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
interface Vlan1
interface Vlan25
no shutdown
ip address 192.168.25.2/24
interface port-channel1
switchport mode trunk
interface port-channel3
switchport mode trunk
interface Ethernet1/1
description Link to N7K-A 2/5
switchport mode trunk
channel-group 1 mode active
interface Ethernet1/2
description Link to N7K-A 2/6
switchport mode trunk
channel-group 1 mode active
interface Ethernet1/3
description Link to N7K-B 2/17
shutdown
switchport mode trunk
channel-group 3 mode active
interface Ethernet1/4
description Link to N7K-B 2/18
shutdown
switchport mode trunk
channel-group 3 mode active
interface Ethernet1/5
description Link to N7K-B 3/4
shutdown
switchport mode trunk
interface Ethernet1/6
shutdown
interface Ethernet1/7
shutdown
interface Ethernet1/8
shutdown
interface Ethernet1/9
shutdown
interface Ethernet1/10
shutdown
interface Ethernet1/11
148 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.
shutdown
interface Ethernet1/12
shutdown
interface Ethernet1/13
shutdown
interface Ethernet1/14
shutdown
interface Ethernet1/15
shutdown
interface Ethernet1/16
shutdown
interface Ethernet1/17
shutdown
interface Ethernet1/18
shutdown
interface Ethernet1/19
shutdown
interface Ethernet1/20
shutdown
interface Ethernet1/21
shutdown
interface Ethernet1/22
shutdown
interface Ethernet1/23
shutdown
interface Ethernet1/24
shutdown
interface Ethernet1/25
shutdown
interface Ethernet1/26
shutdown
interface Ethernet1/27
shutdown
interface Ethernet1/28
description Link to PC A
switchport access vlan 26
spanning-tree port type edge
speed 1000
interface Ethernet1/29
shutdown
interface Ethernet1/30
shutdown
interface Ethernet1/31
shutdown
interface Ethernet1/32
shutdown
150 Introducing Cisco Data Center Networking (DCICN) v1.0 © 2012 Cisco Systems, Inc.