+ All Categories
Home > Documents > Stratix 8000

Stratix 8000

Date post: 26-Dec-2015
Category:
Upload: israelalmaguer
View: 319 times
Download: 6 times
Share this document with a friend
Description:
manual
Popular Tags:
85
Stratix 8000 - The Next Generation Ethernet Switch - Best of Both Worlds
Transcript
Page 1: Stratix 8000

Stratix 8000 - The Next Generation Ethernet Switch - Best of Both Worlds

Page 2: Stratix 8000
Page 3: Stratix 8000

Table of Contents

TABLE OF CONTENTS __________________________________________________________ 3 STRATIX 8000 - THE NEXT GENERATION ETHERNET SWITCH - BEST OF BOTH WORLDS _________ 5

ABOUT THIS HANDS-ON LAB __________________________________________________ 5 WHAT YOU WILL ACCOMPLISH IN THIS LAB _______________________________________ 5 BEFORE YOU BEGIN ________________________________________________________ 5 LAB MATERIALS ___________________________________________________________ 5 DOCUMENT CONVENTIONS ____________________________________________________ 7

LAB 1: STRATIX 8000 HARDWARE FAMILIARIZATION ___________________________________ 8 ABOUT THIS LAB ___________________________________________________________ 8 STRATIX 8000 BASE MODULE _________________________________________________ 8 STRATIX 8000 PORT NUMBERING _____________________________________________ 10 CONNECTING YOUR DEMO BOX _______________________________________________ 12

LAB 2: THE STRATIX 8000 CIP INTERFACE _________________________________________ 14 ABOUT THIS LAB __________________________________________________________ 14 ADDING THE STRATIX 8000 TO THE I/O TREE _____________________________________ 14 THE STRATIX 8000 PROFILE _________________________________________________ 19 STRATIX 8000 RSLOGIX 5000 TAGS ___________________________________________ 33 CONTROLLING INPUT AND OUTPUTS WITH LADDER LOGIC ___________________________ 35

LAB 3: STRATIX 8000 AOI & DIAGNOSTIC FACEPLATES ________________________________ 38 ABOUT THIS LAB __________________________________________________________ 38 ADDING THE AOI TO THE PROJECT ____________________________________________ 38 STRATIX 8000 FACTORYTALK VIEW FACEPLATE __________________________________ 44

LAB 4: DEVICE MANAGER ______________________________________________________ 50 ABOUT THIS LAB __________________________________________________________ 50 LAUNCHING THE DEVICE MANAGER ____________________________________________ 50 USING DEVICE MANAGER TO CONFIGURE THE STRATIX 8000 _________________________ 53 USING DEVICE MANAGER TO MONITOR THE STRATIX 8000 ___________________________ 65 USING DEVICE MANAGER TO MONITOR YOUR NETWORK _____________________________ 69

LAB 5: NETWORK SEGMENTATION USING STRATIX 8000 AND 8300 _______________________ 72 ABOUT THIS LAB __________________________________________________________ 72 CONFIRMING YOUR VLAN AND ROUTING CONFIGURATION ___________________________ 74 TESTING CONNECTIVITY TO A REMOTE SUBNET ___________________________________ 75 CONFIGURING A UNICAST I/O CONNECTION ______________________________________ 78

LAB 6: USING THE CISCO CLI (OPTIONAL) __________________________________________ 81 ABOUT THIS LAB __________________________________________________________ 81 CONNECTING TO THE SWITCH THROUGH TELNET ___________________________________ 81 USING BASIC DIAGNOSTIC COMMANDS __________________________________________ 82 FILTERING OUTPUT ________________________________________________________ 83 ADVANCED DIAGNOSTICS ____________________________________________________ 84

Page 4: Stratix 8000
Page 5: Stratix 8000

AUL01_EN

2/13/2013 Page 5 of 85

Stratix 8000 - The Next Generation Ethernet Switch - Best of Both Worlds

About This Hands-On Lab

Welcome to the Stratix 8000 Managed Ethernet Switch Lab. The Stratix 8000 is a Rockwell Automation switch utilizing Cisco technology. This switch, which is designed specifically for use in industrial environments, is a unique product offering the best of Cisco and the best of Allen-Bradley.

The switch line uses the Cisco Catalyst switch architecture and feature set, along with powerful configuration tools, helping to provide secure integration with the enterprise network and making IT professionals feel at home.

At the same time, it allows for easy setup and comprehensive diagnostics from within the Rockwell Automation Integrated architecture. The switch can be configured using RSLogix 5000 programming software. It also automatically generates Logix tags for integrated diagnostics and includes Factory Talk View faceplates for status monitoring and alarming. Together these features provide the preferred mechanisms for controls and automation professionals to integrate networked devices to controls. It is therefore a switch designed to allow IT professionals and control engineers to work together to build a converged Ethernet solution.

This lab will show how a switch can be managed through RSLogix 5000 using the CIP interface, including the configuration of new features such as DHCP per port. It goes on to describe the FactoryTalk View Faceplates.

The Stratix 8300 Layer 3 Switch which offers the same functionality as the Stratix 8000 but with the added value of layer 3 switching in a Cisco-based industrial switch.

What You Will Accomplish In This Lab

This hands-on lab is intended for individuals who want to learn about the specific switch features which provide a preferred (CIP) interface to the Rockwell Automation Integrated Architecture and also into existing Cisco infrastructure. This includes the RSLogix 5000 Add on Profile, Predefined logic tags, FactoryTalk View faceplates and the Device Manager. As you complete the exercises in this hands-on session, you will also be introduced to the techniques on how to configure DHCP per port and unicast I/O.

Before You Begin

Before you begin this Hands-On Lab, please be sure to close any applications that are currently running.

Lab Materials

For this Hands-On lab, we have provided you with the following materials that will allow you to complete the labs in this workbook.

Page 6: Stratix 8000

Hardware

This hands-on lab uses the following hardware:

ENET demo box 10P084A

The lab requires a Logix controller running V21 firmware

Stratix 8000 Managed Ethernet Switch

The lab uses the ies-lanbase-tar.122-58.EX1.bin IOS image

Stratix 8300 L3 switch as a central switch

The lab uses the ies-lanbase-tar.12.2.58 IOS image

Software

This hands-on lab uses the following software:

RSLinx Classic

Version 3.60.00 (CPR9 SR5)

RSLinx Enterprise

Version 5.50.00.00 (CPR9 SR5)

RSLogix 5000

Version 21.00.00 (CPR9 SR5)

FactoryTalk View Site Edition Client (Optional)

Version 6.10.00.00 (CPR9 SR4)

Internet Explorer

Version 6.0

Cisco Network Assistant

Version 5.8

Files

This hands on lab uses the following files. All of these files are in the Lab Files directory on your PC

AUL01.acd

AUL01_VLANs.acd

Rungs1to2_from_MainRoutine.L5X

Rung4_from_MainRoutine.L5X

AB_Stratix_8000.L5X

EIP_Lab.cli

EIP_Lab.apa

Page 7: Stratix 8000

AUL01_EN

2/13/2013 Page 7 of 85

Document Conventions

Throughout this workbook, we have used the following conventions to help guide you through the lab materials.

This style or symbol: Indicates:

Words shown in bold (e.g., RSLogix 5000 or OK)

Any item or button that you must click on, or a menu name from which you must choose an option or command. This will be an actual name of an item that you see on your screen or in an example.

Words shown in bold italics, enclosed in single quotes (e.g., 'Controller1')

An item that you must type in the specified field. This is information that you must supply based on your application (e.g., a variable).

Note: When you type the text in the field, remember that you do not need to type the quotes; simply type the words that are contained within them (e.g. Controller1).

The text that appears inside of this gray box is supplemental information regarding the lab materials, but not information that is required reading in order for you to complete the lab exercises. The text that follows this symbol may provide you with helpful hints that can make it easier for you to use this product. Most often, authors use this “Tip Text” style for important information they want their students to see.

Note: If the mouse button is not specified in the text, you should click on the left mouse button.

Page 8: Stratix 8000

Lab 1: Stratix 8000 Hardware Familiarization

About This Lab

In this lab, we will introduce you to the Stratix 8000 co-branded managed switch.

Stratix 8000 Base Module

1. Look at the front of the switch

There are two power connectors on the top left of the switch.

You can connect the switch to two separate power sources for redundancy. Additional connections on the power connectors provide hardwired contacts for major and minor alarms.

The Express Setup button is located below the power connections.

Express Setup allows you to easily configure the switch for EtherNet/IP networks.

The Console port is a serial connection available on all Cisco hardware. The console port allows direct access to the switch via Cisco‟s Command Line Interface (CLI)

The System LEDs are next to the console port. They give an indication of the state of the switch.

Page 9: Stratix 8000

AUL01_EN

2/13/2013 Page 9 of 85

LED Description

EIP Mod Indicates the status of the switch

EIP Net Indicates the status of the I/O connection to the switch

Setup Indicates the switch is in Express Setup Mode

Power A Indicates the status of power connection A

Power B Indicates the status of power connection B

A complete description of the System LEDs can be found in the Device Manager (Stratix 8000 webpage).

Below the console ports are the Gigabit Ethernet ports.

The Stratix 8000 comes with two Gigabit Ethernet ports. There are two connectors for each port; a RJ-45 and a SFP. The RJ-45 connector allows you to connect a standard Category 5e or better patch cable. The SFP port is used to connect to fiber optic cables. SFPs allow you to select the right fiber optic transceiver for your application.

The copper Gigabit Ethernet port support speeds of 10, 100, and 1000 mbps.

SFPs (Small Form factor Pluggable) are small modules that plug into the switch. They allow you to select from a variety of fiber optic transceivers for the switch. You will need to select different SFPs depending on the speed and type of fiber you plan on using.

The 10/100 Base-TX ports are located on the right side of the switch. The Stratix 8000 is available with either four or eight 10/100 ports on the base module. The eight port version is used in this lab.

The grounding lug is located at the lower right corner of the switch.

2. Look at the right side of the switch

This cover can be removed to install optional expansion modules. There are two expansion modules available:

8 port 10/100 Base-TX

8 port 100 Base-FL fiber optic module

The following image shows a copper expansion module and a fiber expansion module connected to a 10 port base unit, giving a total of 26 ports.

Page 10: Stratix 8000

The switch can support up to two expansion modules. You can only have one 100 Base-FL fiber optic expansion module installed in the switch.

3. Look at the bottom of the switch.

The clear plastic tab on the bottom of the switch is the Compact Flash card. The Stratix 8000 stores the configuration and Operating System on the Compact Flash card. In the event of a hardware failure the Compact Flash card can be moved to the replacement switch. The replacement switch will boot with the correct configuration and Operating System.

The Stratix 8000 uses the Cisco Internetworking Operating System (IOS). At boot-up the switch copies the configuration and IOS into RAM. The Compact Flash card can be removed while the switch is running. However, you will not be able to save the configuration or boot the switch without the Compact Flash card installed.

Stratix 8000 Port Numbering

The Stratix 8000 uses Cisco‟s standard port naming convention. Each port name has three parts; the type of interface, the module number, and the port number.

Port Name Interface Type Module Port

gi1/1 Gigabit Ethernet 1 1

fa1/1 Fast Ethernet 1 1

fa1/5 Fast Ethernet 1 5

fa2/3 Fast Ethernet 2 3

fa3/7 Fast Ethernet 3 7

Page 11: Stratix 8000

AUL01_EN

2/13/2013 Page 11 of 85

Ethernet, FastEthernet and Gigabit?

Stratix 8000 follows Cisco‟s convention for naming ports. 10Mbps ports are known as Ethernet (e) ports, 100Mbps ports are know as FastEthernet (fa) ports and 1Gbps ports are known as Gigabit (g)

The ports are numbered from top to bottom and left to right. The port numbering for each interface type always starts at one. Each switch has a port gi1/1 and a port fa1/1. The base unit is module one. The first expansion module is number two and the second expansion module is number three.

You may see the terms “port” and “interface” used interchangeably. If you are configuring the switch using the RSLogix 5000 or Device Manger the term “port” is used. If you are configuring the switch via the CLI the term “interface” is used.

Page 12: Stratix 8000

Connecting Your Demo Box

1. Look at the diagram below, which shows the Ethernet devices on your station. Note your station number which is indicated by the white number at the top right of your station. Generally speaking, the IP addresses of the nodes on your station follow the following convention:

172.16.XX.YY (XX is station address, YY is Ethernet address of the node).

Node numbers are indicated in the table below. So for the station shown here the left EN2TR in the top ControlLogix rack has the IP address 172.16.XX.2. Later in the lab, you will change the IP address of some of the devices to a different subnet.

Page 13: Stratix 8000

AUL01_EN

2/13/2013 Page 13 of 85

Table A: Component IP Addressing

Device IP Address

PC 172.16.xx.1

(Top CLX Chassis Slot 1)

1756-EN2TR

172.16.xx.2

(Bottom CLX Chassis Slot 1)

1756-EN2TR

172.16.xx.3

1732E-IB16M12SOEDR Armor Block Module

172.16.xx.4

1734-AENTR 172.16.xx.9

1783-ETAP 172.16.xx.10

1783-ETAP 172.16.xx.11

Stratix 8000 172.16.xx.101

Stratix 6000 172.16.xx.102

N.B. The IP addresses on the screenshots within this document are shown as an example only. When inputting IP addresses, please identify your workstation (table) and then refer to Table A above for the correct IP address. Ask an instructor if it’s not clear.

The Stratix 8300 in the center of the room is configured with the following IP addresses:

VLAN 1 (Management) 172.16.0.1

VLAN 100 192.168.100.1

Other IP addresses may also be configured.

Replace xx with your stationnumber.

For example: Stratix 8000 station11:

IP= 172.16.11.101.

Page 14: Stratix 8000

Lab 2: The Stratix 8000 CIP Interface

About This Lab

In this lab you will add the Stratix 8000 to a simple RSLogix 5000 project. We will accomplish the following tasks:

Add the Stratix 8000 to the I/O tree.

Explore the Add-on Profile and its tags.

Configure the DHCP per port functionality.

Control inputs and outputs on the switch.

To save time the switch has been pre-configured with an IP address and password using a procedure known as “Express Setup”. In addition, a Logix project and tags have already been created for you. These instructions assume that you have some experience of the Logix 5000 programming environment. Ask your instructor if you have any queries.

Adding the Stratix 8000 to the I/O Tree

In this section, you will add the Stratix 8000 to the I/O Configuration.

1. Open the project AUL01.acd located under the folder Lab Files\AUL01\ found on your Desktop.

2. Right-click on Ethernet and select New Module.

Page 15: Stratix 8000

AUL01_EN

2/13/2013 Page 15 of 85

3. In the Select Module Type window type stratix 8000 in the field on top. The dialog will

automatically only filter out the devices with the letters “stratix 8000” in their Catalog

Number, Description and Vendor.

In the filtered list of catalog numbers select Stratix 8000 10 Port managed Switch.

4. Type ‘Stratix8000’ in the Name field and assign the correct IP address to your switch. This will be in the form ‘172.16.<your station number>.101’ in the IP Address field. Click the Change button.

Page 16: Stratix 8000

Change the Connection type from Input Data to Data.

The Stratix 8000 has three sets of tags, configuration, input, and output. All controllers can read the configuration and input tags. Only one controller can “own” the I/O and write to the output tags. Setting the connection to Data causes the controller to “own” the I/O.

5. Type ‘rockwell’ in the password field and press OK.

Page 17: Stratix 8000

AUL01_EN

2/13/2013 Page 17 of 85

6. Re-enter password „rockwell‟ to confirm and click OK.

7. Click OK to close the Module Definition window.

8. Click Yes to confirm the module definition change.

Select the Connection tab.

The default RPI for the Stratix 8000 is 1000ms. This slow update rate is specified so that processor resources are available for I/O control. An update once a second is normally enough for obtaining network diagnostics, though this can be set to an update of 300ms should the application require it.

9. Click OK to add the switch to the I/O tree.

10. Click Close to close the window to add IO.

Page 18: Stratix 8000

11. Your completed I/O configuration will look like this:

Page 19: Stratix 8000

AUL01_EN

2/13/2013 Page 19 of 85

The Stratix 8000 Profile

Configuring and Managing your Switch using RSLogix 5000

12. Click the Who Active button in the toolbar.

13. Browse to your communication card with IP address 172.16.<your station>.2. Expand it and select the controller. Click Download.

14. Click Download again and select Yes to go to run mode.

Page 20: Stratix 8000

15. If you didn‟t had the pop up to go to run mode then click the drop-down in the online bar and select Run Mode. Click Yes to change to the controller to Remote Run.

16. Double-click on Stratix8000 in the I/O tree.

Page 21: Stratix 8000

AUL01_EN

2/13/2013 Page 21 of 85

17. Select the Module Info tab.

This tab displays basic information about module.

The information displayed on all of the module profile tabs is obtained by sending explicit messages to the switch. All of this information can also be read programmatically using the MSG instruction. You will see an example of this when you cover the add-on instruction and global object later in this lab

18. Select the Switch Configuration tab. This tab can be used to change the configuration parameters of the switch – for example to change the IP address or hostname. Enter your name in the Contact field and your station number in the Geographic Location field. Click the Set button.

Page 22: Stratix 8000

19. When you see the following warning, click Yes

20. You will be prompted for your switch password – “rockwell”. This ensures that only authorized people can make configuration changes in the switch. When you have entered your password, click OK

Page 23: Stratix 8000

AUL01_EN

2/13/2013 Page 23 of 85

21. Select the Switch Status tab

This tab displays basic information about the switch such as up time, IOS release, and active alarms.

22. Select the Port Configuration tab.

This tab allows you to enable/disable ports and configure the speed and duplex of the ports.

Page 24: Stratix 8000

23. Select the Advanced – Port Config tab.

This tab allows you to change Smartport and VLAN assignments for the ports on your switch as well as to set an Authorized Device MAC ID for a port.

Smartport?

Smartports are pre-defined configurations which optimize the settings of a port for your application. For example, a Switch for Automation smartport sets the port to carry traffic on multiple VLAN‟s. In contrast, Automation Device restricts the traffic on a port to a single VLAN and also sets Quality of Service parameters to ensure that automation traffic receives priority over other types of traffic in a converged network.

Authorized MAC ID?

Setting an Authorized MAC ID on a port ensures that only the device with the MAC address configured on that port is able to communicate through that port. An attempt to connect any other device will shut down the port and generate an alarm.

Page 25: Stratix 8000

AUL01_EN

2/13/2013 Page 25 of 85

24. Assign smartports by selecting the drop down menu so that your switch is configured as shown in the following table:

Port Device Smartport

gi1/1 Stratix 8300 Switch for Automation

gi1/2 PC Virtual Desktop for Automation

fa1/3 1756 - EN2TR, Lower Rack Automation Device

fa1/4 1756 EN2TR, Upper Rack, Point IO and 1783 - ETAPs Multiport Automation Device

fa1/5 1783 – EMS08T Multiport Automation Device

What is the difference between Desktop for Automation and Virtual

Desktop for Automation?

The Desktop for Automation smartport includes a security implementation which restricts traffic on the port to a single MAC address. In most cases, this is an appropriate configuration. However, this lab runs in a VMware image, which presents two MAC addresses to the switch: that from the host PC, and that from the VMWare image. In order to avoid one of the images from being restricted from accessing the network, we are using Virtual Desktop for Automation smartport in this lab. This allows 2 mac addresses to be connected. This is a new feature from FW 5.001.

The Multiport Automation Device is also a new smartport that is created to add DLR or daisy chained IO to the stratix8000. In the past Automation Device smartport was used where you had to disable the security for MAC addresses manually true CLI. If you don‟t disable it and connect multiple mac addresses, the switch will block the port because it only allows one mac address. After the new firmware 5.001 you don‟t have to do this ant more.

Page 26: Stratix 8000

25. Your completed smartport configuration should look like this:

For the moment, you should leave the VLAN settings unchanged

26. Click the Set button

27. When you see the following window, click Yes

Page 27: Stratix 8000

AUL01_EN

2/13/2013 Page 27 of 85

28. Select the Advanced – Port Thresholds tab.

This tab allows you to configure traffic thresholds for broadcast, unicast, and multicast traffic on a per port basis. The thresholds can be configured as packets per second, percent utilization, or bits per second. Any traffic that exceeds the threshold will be dropped. If traffic is exceeded on a port then an alarm condition will be triggered. Configure the broadcast, unicast and multicast threshold values on the port to which your controller is connected, as shown in the image and click Set.

29. When you see the following window, click Yes

Page 28: Stratix 8000

30. Select the Port Status tab.

This tab displays link status, fault status, and bandwidth utilization for the ports.

31. Click the Port Diagnostics button for fa1/4.

32. This window gives detailed Ethernet errors and statistics for the port.

33. Close the Port Diagnostics window.

Page 29: Stratix 8000

AUL01_EN

2/13/2013 Page 29 of 85

34. Now click on the Time Sync Configuration tab.

This allows you to enable the Precision Time Protocol (PTP) on your switch. PTP is used in application where accurate synchronization between controller and I/O device is needed. This includes motion control applications as well as systems requiring accurate timestamps from networked devices. We will not be working with PTP in this lab.

35. Now click on the Time Sync Information tab.

In a fully configured system which uses PTP, this tab allows identification of the network GrandMaster Clock. In this case, both are the same as there is no other clock on the network.

Page 30: Stratix 8000

Backing up a Switch Configuration

36. Select the Save/Restore tab.

This tab allows you to save the current switch configuration to the RSLogix 5000 project. Once the configuration has been saved to the project you can download it to the switch or export it to the local hard drive.

37. Click on Upload.

38. Now click on Export… to transfer the configuration data from the Logix project into a text file.

Page 31: Stratix 8000

AUL01_EN

2/13/2013 Page 31 of 85

39. Select a location for your configuration file (for example the desktop) and click Export to save the Stratix8000_Config file.

40. Now click Export again to save your VLAN configuration information. Note that you will need to check that you are saving the file in the correct location.

The “config.text” file is a text file that contains the configuration for the switch.

The “vlan.dat” file is a binary file that contains the VLAN configuration for the switch.

41. Click OK to close the Module Properties window.

Page 32: Stratix 8000

42. Now locate the Stratix8000_Config.text file on the desktop and double-click to open it with Wordpad (the file will also open with notepad but the text will not include the line breaks).

43. Confirm that you can read the switch configuration information in the file. This file can be stored for backup purposes or sent to technical support.

This procedure can be reversed to transfer configurations developed offline into a switch.

Close the file.

Page 33: Stratix 8000

AUL01_EN

2/13/2013 Page 33 of 85

Stratix 8000 RSLogix 5000 Tags

When you added your switch to the I/O configuration, RSLogix 5000 automatically created tags for the module. In this section you will look at the tags that were created by the Stratix 8000 module profile.

44. Double-click on the Controller Tags.

45. Browse the tags until you find the input and output tags for the Stratix 8000:

Page 34: Stratix 8000

46. Expand the Stratix8000:I tags.

The input tags allow you to read link status, port security alarms and threshold alarms for each port.

47. Expand the Stratix8000:O tags.

The output tags allow you to enable/disable individual ports on the switch.

If your connection type is set to “Input Data” you will not see the Stratix8000:O tags. In this situation, you can obtain diagnostic information from the switch but cannot control any functions.

48. Close the Controller tags window.

Page 35: Stratix 8000

AUL01_EN

2/13/2013 Page 35 of 85

Controlling Input and Outputs with Ladder Logic

In this section, we will write ladder logic to control input and outputs on the Stratix 8000.

49. Expand the MainProgram.

50. Double-click on MainRoutine. While being online you are going to import 2 rungs of code. Select the first rung and right mouse click and select Import Rungs.

Page 36: Stratix 8000

51. Browse to the AOI’s and rungs folder (C:\Lab Files\AUL01\AOI's and rungs). Select Rungs1to2_from_MainRoutine.L5X and press import.

52. On the Import Configuration window press OK to import the rungs.

Page 37: Stratix 8000

AUL01_EN

2/13/2013 Page 37 of 85

53. On the pop up for Online Options select Finalize All Edits In Program to execute the code immediately after you imported it.

54. Rung 1 uses the link status of port fa1/3 to control the light labeled DO1.

Rung 2 uses the state of the Port_Disabled tag to enable/disable port fa1/3. By pressing the green button DI2 you can disable the port and by pressing the green button DI3 you can enable it again.

55. Disconnect the cable connected to port fa1/3.

The green light labeled DO1 is controlled by the link status of fa1/3. When the cable is disconnected the light turns off.

56. Reconnect the cable to port fa1/3.

The green light will turn on.

57. Press the green button labeled DI2.

Pressing the green button disables port fa1/3 on the switch.

58. Press the green button DI3 to enable the port.

59. Save the project.

That’s it. You have seen how easy it is to bring port status from your switch into your controller and to use that information in your program. We will come back to the controller interface to the switch later in this lab.

Page 38: Stratix 8000

Lab 3: Stratix 8000 AOI & Diagnostic Faceplates

About this Lab

In this lab you will add the Stratix 8000 Add-on Instruction to the project. You will then launch the Stratix 8000 faceplate using FactoryTalk View Client.

The Stratix 8000 faceplates are posted on the Rockwell Automation sample code website along with documentation. You can use the faceplates as is or modify them for your needs.

Adding the AOI to the Project

In this section, you will add the Add-on Instruction to a new rung in your project.

60. Click the drop-down in the online bar and select Go Offline.

61. Right Click on Add-On Instructions and select Import Add-On Instruction.

Page 39: Stratix 8000

AUL01_EN

2/13/2013 Page 39 of 85

62. Select the AB_Stratix_8000.L5X add on instruction in the file browser and click import.

The file is located into folder C:\Lab Files\AUL01\AOI's and rungs.

The file downloaded from the sample code library contains an add on instruction for each variant of the Stratix 8000 family

Page 40: Stratix 8000

63. When the Import Configuration screen appears, click OK

64. You will get an error message. Click OK on the error messagebox and retry the import.

65. Notice that two add-on instructions have been imported, the AB_Stratix_8000 and MSG_CSPath_to_HexPath. Also some UDTs are imported.

Page 41: Stratix 8000

AUL01_EN

2/13/2013 Page 41 of 85

66. Double-click on your MainRoutine. Select rung 3 and right mouse click to select Import Rung.

67. Select Rung4_from_MainRoutine.L5X and press Import.

Page 42: Stratix 8000

68. On the Import Configuration screen press OK.

Delete rung 2 to ensure that there is no conflict between your code and that in the add-on instruction. This is one of the rungs we previously added. Your code should look like this:

Page 43: Stratix 8000

AUL01_EN

2/13/2013 Page 43 of 85

The AOI is already configured for you. When you download the faceplate FREE from the sample code library, it contains a document that explains how to configure the AOI. Ask your instructor for more details.

69. Download your program to your controller and return to Run mode, as before.

Page 44: Stratix 8000

Stratix 8000 FactoryTalk View Faceplate

The add-on instruction which you have just imported and configured works with a global object

70. Double-click on the FactoryTalk View Client EIP_Lab.cli icon in the Lab files\AUL01 folder on the desktop.

The faceplate introduction screen for the lab will open. You can take several actions from this screen:

Launch the Diagnostic faceplate

Launch the Device Manager (Stratix 8000 webpage)

You can also see an alarm and events banner which is currently configured to give indication when a port becomes active, is disabled or is in an error state.

Page 45: Stratix 8000

AUL01_EN

2/13/2013 Page 45 of 85

71. Click the Stratix 8000 Diagnostic Faceplate button, and the click on the button.

This is the main window for the Diagnostic faceplate. The switch graphic shows the state of the ports. You will see that the main display for the switch shows information about the switch such as the hostname, IP address, subnet mask, temperature and uptime. Also shown on the display are the active ports. Confirm that the active ports visible on your switch correspond to those indicated on your faceplate.

72. Click on port fa1/4 to select it. The name of the selected port will appear in the selected field.

Page 46: Stratix 8000

73. Click the Port information button in the toolbar.

This screen shows the settings for the selected port. You will see the speed and duplex values. If you select port fa1/4, you will see the threshold values which you configured on the port in one of the previous exercises. Note that the values which you configured are the rise thresholds. The fall thresholds are derived automatically from these values.

74. Click on the In button at the bottom of the faceplate. This will show ingress traffic stats. The Out button will show egress traffic stats. The counters update periodically.

75. Click on the Settings button to take you back to the Port Settings screen.

Page 47: Stratix 8000

AUL01_EN

2/13/2013 Page 47 of 85

76. Click the Trend button in the toolbar.

This screen shows a graph of the percent utilization of the selected port as well as the temperature of the switch. It also allows you to see how these values have changed over a period of time by scrolling the trend forwards or backwards. You can change the port for which the traffic level is displayed by clicking on the appropriate port.

Traffic rates in the lab are too low to appear on the graph.

Page 48: Stratix 8000

77. By default, the trend axes are set to a minimum of 0 and a maximum of 100. However,

these values can be changed. Click on the trend configuration button which will bring up the following screen. Type new values in the fields and press the enter key to submit your changes.

78. Return to your trend by clicking the trend button. You can toggle between the trends by clicking the colored indicators indicated below.

Page 49: Stratix 8000

AUL01_EN

2/13/2013 Page 49 of 85

79. Click the Alarm button in the toolbar.

This screen shows any current alarms on the switch. The faceplate will show any ports with unauthorized devices or thresholds exceeded.

80. Close the faceplate when done.

Page 50: Stratix 8000

Lab 4: Device Manager

About This Lab

In this section of the lab, you will see how to manage the Stratix 8000 using its Device Manager (Stratix 8000 webpage) as well as to see what diagnostic information is visible from the web browser.

Launching the Device Manager

81. Click on the Internet Explorer icon on the taskbar to open it.

82. In the Address Bar enter 172.16.<your station number>.101.

83. Enter the password ‘rockwell’ in the login window. No username is required.

Select NO for the secured session.

Page 51: Stratix 8000

AUL01_EN

2/13/2013 Page 51 of 85

The main Device Manager page will open.

The Device Manager page is divided into 5 sections.

The Toolbar

The Toolbar is at the top of the screen. It allows you to manually refresh the screen, print the screen, access the help file, and access the legend. The legend is a handy reference that describes the meaning of all of the indicator lights on the switch.

Below the Toolbar is the Front Panel view.

The front panel view shows what ports are connected and the state of those ports. It also shows the state of the system LEDs. To expand the Front Panel view, click once on the switch:

Page 52: Stratix 8000

Clicking on the switch a second time will shrink the Front Panel view. If you hold the mouse over any of the ports on the switch a pop-up will appear giving your details for that port:

Below the Front Panel View is the Status bar.

The Status bar shows if there are any errors in the Diagnostic log.

The Menu is located on the lower left.

The Menu lists all of the configuration and diagnostic options for the switch. When a menu item is selected, it is displayed on the main view.

The main view is in the lower right.

The default screen is the Dashboard. The Dashboard gives a quick overview of the state of the switch.

Page 53: Stratix 8000

AUL01_EN

2/13/2013 Page 53 of 85

Using Device Manager to Configure the Stratix 8000

In this section, we will configure the Stratix 8000 using the Device Manager (Stratix 8000 webpage).

84. Click the Configure folder in the Menu to expand it.

Creating a Virtual LAN (VLAN)

A VLAN is what you would use to segment a large Ethernet network. Segmenting a network is a two-step process. First, you create the VLAN. Then you assign a port to a VLAN.

85. Click VLANs in the Menu.

This page shows which VLAN‟s are configured in your switch and allows you to add and delete VLANs. The Advanced button allows you to enable/disable RSTP (Rapid Spanning Tree) or IGMP Snooping on an individual VLAN.

Rapid Spanning Tree is a protocol that allows redundant connections, or loops, between switches. RSTP “blocks” ports to create a loop free path through the network. If one of the paths is broken, RSTP will unblock one or more alternate paths to restore network connectivity.

IGMP Snooping is used to control multicast traffic. Without IGMP Snooping multicast traffic is forwarded out every port on the switch. IGMP Snooping allows the switch to only send the multicast traffic to the ports that need it. IGMP Snooping requires an IGMP Querier to function properly.

Express Setup configures RSTP, IGMP Querier, and IGMP Snooping for you.

86. Click Create

Page 54: Stratix 8000

87. Create a new VLAN called ARMORBLOCK with VLAN ID 100 as shown. Click Done.

88. Your completed configuration should look like this. Click Submit to apply your changes.

89. Now select Smartports from the Menu. Confirm that the smartports below have been applied. If any smartports are missing then select the required configuration from the drop down menu and click the port to which you would like to apply it.

You can remove the Smartport configuration from a port by applying the “none” role.

Page 55: Stratix 8000

AUL01_EN

2/13/2013 Page 55 of 85

90. Let‟s apply a smartport for port 6. Click on the drop down button and select Automation Device.

91. Click on port 6 to apply the selected smartport on port 6. Press Submit.

Cisco routers and switches maintain two different versions of the configuration file; the running configuration and the startup configuration. Configuration changes made via the Device Manager or Logix 5000 are automatically saved to the startup configuration. If you make any changes using the CLI you will need to remember to save the changes by entering either ‘copy running-config startup-config’ or ‘write me’ in privileged EXEC mode.

Page 56: Stratix 8000

92. Click the Customize button. The screen which appears allows you to assign a port to a VLAN. By default, all ports are set to be on the management VLAN. Unless you change it, this will be VLAN 1

93. Now assign port Fa1/6 to VLAN 100 by selecting “ARMORBLOCK – 100” from the Access VLAN drop down menu. This configuration restricts traffic on port fa1/6 to VLAN 100 Click on Done and subsequently the Submit button.

The Switch role automatically configures the port to use IEEE802.1Q VLAN trunking (also known as “Dot1Q”). Dot1Q “tags” the Ethernet frames with the VLAN number. This allows a VLAN to exist across multiple switches. Dot1Q also uses a “native” VLAN. The Ethernet frames that are a part of the native VLAN are not tagged. This allows backward compatibility to devices that do not understand trunking.

Ports that only have single device connected to them are configured in “access” mode. Ports in access mode are restricted to a single VLAN.

Page 57: Stratix 8000

AUL01_EN

2/13/2013 Page 57 of 85

Configuring Ports

94. Click Port Settings in the Menu. The port settings screen allows you to configure the speed, duplex and Auto-MDIX settings. If you look at the settings for the gigabit ports then you will notice that you also have the option to select whether the gigabit port uses the fiber or copper connection. Clearly, this is only relevant if an SFP module is plugged into the port.

You can insert any text in the Description field you like. It is generally used to list what device is supposed to be connected to the port. You can also use it to explain why a port is in a given state. For example, if you detect a virus infected PC you can shut the port down to contain the threat. You could use a description of “port shutdown – virus” to indicate to other administrators that the port should not be enabled until the virus has been removed.

Normally you need to use a cross-over cable to connect two switches together. Auto-MDIX eliminates the need to use a cross over cable to connect switches together.

Page 58: Stratix 8000

Basic Configuration

95. Click Express Setup in the Menu.

This is the configuration page used during Express Setup. Here, the IP address, subnet, gateway, CIP VLAN and IP address and password can be specified.

Why are there two fields for the IP address?

The default IP address you enter is for what is known as the “management” interface of the switch. This is the interface used by the web page, for telnet connections and CNA. The second field allows you to specify a different IP address and VLAN for the CIP interface. In a network which is not segmented, these will normally be the same IP address. In a segmented network, this allows you to choose the VLAN or subnet on which you would like your CIP interface to be enabled. It is the address in the CIP VLAN field which should be configured in your RSLogix 5000 project.

Page 59: Stratix 8000

AUL01_EN

2/13/2013 Page 59 of 85

Assigning a DHCP Per-Port Address on a different VLAN / Subnet

Now, we will create a DHCP configuration for use in the next lab. This configuration will assign an IP address on VLAN100 and the 192.168.100.0 subnet. This may be valuable if you are configuring devices on a segmented network

96. Click DHCP in the menu.

97. Click Create to continue to the DHCP Server screen

98. This is where the DHCP addresses that are available to be assigned to individual ports are defined. Define your DHCP settings as follows:

DHCP Pool Name: Station_(Your station number)

DHCP Pool Network: 192.168.100.0

Starting IP: 192.168.100.(Your station number)

Ending IP: 192.168.100.(Your station number)

Default Router: 192.168.100.1

Subnet Mask: 255.255.255.0

Page 60: Stratix 8000

DHCP Pool Network is the Subnet ID of the subnet to which your IP addresses belong.

Starting IP is the lowest address that will be assigned to any port

Ending IP is the highest address that will be assigned to any port.

Together these three parameters define the range of IP address that can be assigned to a particular port

99. Click Done.

100. Check the Reserved Only box and ensure that DHCP Snooping is enabled. Your DHCP configuration should look similar to that shown here. Note that the Interface field is blank. This is owing to the fact that the IP address we specified – in the 192.168.100.0 subnet is in a different range from the management VLAN. Click Submit to save your changes

Why do I need to select Reserved Only and DHCP Snooping?

The DHCP server in Stratix 8000 is based on two steps:

1st define a pool of IP Addresses as in every DHCP server (e.g. 192.168.100.10 to 192.168.100.20)

2nd assign a specific IP Address from the above pool to the specific port you want to receive the address (e.g. fa2/3 = 192.168.100.15, fa2/5 = 192.168.100.17, … )

This means if you do not assign all IP Addresses available in the pool, the remaining ones may be used by any device on the network requesting via DCHP.

If you select Reserved Only you limit the IP addresses which can be assigned to only those addresses which have been allocated to a port.

Meaning, all unassigned addresses are NOT available. Or, in other words, the DHCP server will not respond to any request except on the assigned ports.

To avoid conflicts between multiple DHCP servers on the network it is advisable to always select Reserved Only.

Page 61: Stratix 8000

AUL01_EN

2/13/2013 Page 61 of 85

DHCP Snooping is a mechanism to ensure that DHCP requests are served locally, and not by any other DHCP server on the network. So, if there is an IT DHCP server on the same VLAN, addresses will only be served from the switch

101. Return to the menu and select IP Addresses. Enter the IP address 192.168.100.(100+station number) for VLAN 100 and click Submit

Note that the Enable Routing check box is grayed out. Routing functionality is only available in the Stratix 8300 switch. If you are interested, browse to the web page of the Stratix 8300 (172.16.0.1) and see the difference. Please do not make any configuration changes in the 8300 as it will stop part of the lab from working.

102. Return to the DHCP configuration screen and confirm that the configuration now shows that the pool is active on Interface Vlan100. Select the DHCP Snooping check box and click Submit

Page 62: Stratix 8000

Assigning specific IP addresses to specific ports

With the pool of addresses assigned you can assign individual addresses to the ports.

103. Select the DHCP Persistence tab. You are going to assign an IP address to the port to which the armorblock is connected using DHCP Persistence. Click Create to define individual port IP addresses. The IP address assigned here is part of the pool defined earlier.

104. In the DHCP screen select the interface Fa1/6. Select the DHCP Pool Name from the drop down menu. Enter the IP address to be assigned to your armorblock - 192.168.100.(your station). Click Done

105. Select Submit to save your work. When completed the DHCP screen should look similar to the sample below.

106. Remove the ethernet cable #8 from the stratix 6000 and connect it to port Fa1/6 on the stratix 8000.

107. In the next part of the lab we will check if the armorblock module got the configured IP address.

Page 63: Stratix 8000

AUL01_EN

2/13/2013 Page 63 of 85

Configuring PTP

108. Click on the PTP option in the menu. PTP stands for Precision Time Protocol and is used for CIP Sync and CIP Motion. PTP support in the switch allows for time-stamped CIP Sync packets to be corrected for the latency of the switch. This screen allows the selection of the ports on which PTP is enabled, as well as the mode of operation. We will not be configuring PTP in this lab.

Page 64: Stratix 8000

Configuring REP

109. Click on the REP option in the menu. REP stands for Resilient Ethernet Protocol. REP is a protocol which facilitates high availability topologies. In particular, it allows the creation of ring architectures in which I/O connections will not fail in the event of a link failure. We will not be configuring REP in this lab.

Returning your Switch to Factory Default

110. Click Restart/Reset in the Menu.

This page allows you to reboot the switch. It also gives you the option of restoring the configuration to factory defaults before rebooting.

You should re-run Express Setup after restoring the switch to factory defaults. NOTE: It is not necessary to restart or reset the switch in this lab.

Page 65: Stratix 8000

AUL01_EN

2/13/2013 Page 65 of 85

Using Device Manager to Monitor the Stratix 8000

In this section, we will look at the diagnostic capabilities of the Device Manager (Stratix 8000 webpage).

111. Expand the Monitor folder in the Menu and click Trends.

The trends page gives and overall view of bandwidth utilization and error rate. You can also graph the utilization and error rate for each port. There are several time scales available ranging from 60 seconds to 14 days.

Traffic rates in the lab are too low to appear on the graphs.

112. Click Port Status in the Menu.

The port status page shows the link status, VLAN setting, speed, and duplex for each port.

Page 66: Stratix 8000

113. Click Port Statistics in the Menu.

This page provides detailed statistics on a per port basis. The Transmit Detail and Receive Details tabs provide additional stats. You can reset the counters by selecting the checkbox next to the port and clicking the Clear Counters button.

114. Click Alert Log in the Menu.

The Alert Log shows switch errors, warnings, and other messages.

Page 67: Stratix 8000

AUL01_EN

2/13/2013 Page 67 of 85

115. Click CIP Status in the Menu. This page shows the health of the CIP connection to the controller. You can see the IP address of the EN2TR which owns it.

CIP is the Common Industrial Protocol. It is the application layer protocol that is used by DeviceNet, ControlNet, and EtherNet/IP.

116. Click REP Topology in the Menu. You will see the following error message as REP is not configured at present. Click OK.

Page 68: Stratix 8000

117. The screen allows you select a REP segment using the drop-down menu. As REP is not configured in your switch, you will not be able to select anything

When REP is configured, if the REP process has been configured correctly then you will see that your topology indication is similar to that shown here with a port defined as a Primary port and a second port defined as Secondary port.

In contrast, the following display indicates that either a link has failed or that the REP process has not been properly configured.

Page 69: Stratix 8000

AUL01_EN

2/13/2013 Page 69 of 85

Using Device Manager to Monitor your Network

118. Expand the Maintenance folder in the Menu.

119. Click Diagnostic Test in the Menu. This page allows you to perform some automated diagnostic tests on the switch.

120. Remove the cables connected to ports gi1/1 and fa1/3 of your Stratix 8000 switch.

121. Now reconnect the uplink cable (that connects your local Stratix 8000 switch to the central Stratix 8300 switch) again on port gi1/1. You will notice that the port indicator is amber for several seconds before the port indicator turns green and the link becomes active. This is because the switch is conducting checks to ensure that there are no loops present on the network.

122. Now reconnect the EN2TR to port fa1/3. Notice that the port becomes active immediately. This difference in connection speed is achieved by the automation device smartport which turns on a feature known as Portfast. Portfast allows certain ports to become active faster than others. When you applied the automation device smartport, you turned off the check for network loops – effectively saying “I know that the device is an end device, so you can disable checking for loops in order to allow the port to become active faster.”

123. What happens if you get the configuration wrong and plug a switch into a port which is configured to be an access port? Test this by swapping the connections on gi1/1 and fa1/3. You will see that the EIP Mod LED starts to flash red, indicating that there is an error present.

124. Refresh your device manager screen. Notice two things: the port connected to the Stratix 8300 is yellow and there is a warning present.

Page 70: Stratix 8000

125. Hoover your mouse over the yellow port. You will see a message indicating that the port has been error disabled

126. Now click on the Get Details button.

You will see a warning message indicating that RSTP blocked the port because it detected that the device connected to that port is different from the type of device connected to that port.

127. Change the connections to Gi1/1 and fa1/3 to return to the original configuration.

Page 71: Stratix 8000

AUL01_EN

2/13/2013 Page 71 of 85

128. Click Firmware Upgrade in the Menu.

This page allows you to upgrade the version of IOS running on the switch. You can also upgrade using Cisco Network Assistant or the Command Line Interface

The IOS downloads are available from the current Rockwell Automation Support website.

Page 72: Stratix 8000

Lab 5: Network Segmentation using Stratix 8000 and 8300

About This Lab

Second Generation Ethernet Third Generation Ethernet

EtherNet/IP networks can be created in different ways. One common approach is what is known as “Second Generation Ethernet” in which multiple networks are implemented, each with a specific function. For example one Ethernet network may connect to sensors and actuators. A second network may provide interlocking between controllers, and connectivity to HMI systems. A third network in turn may provide a connection to the corporate network. This approach has the advantage of providing clear segmentation of the system. However, it means that more hardware (such as communication cards and switches) needs to be fitted than may strictly be necessary.

In contrast, “Third Generation Ethernet” allows the creation of a single, converged Ethernet network for all functions: communication to I/O, machine safety, interlocking, interface to the enterprise – as well as data transfer and voice. This allows resources to be used most efficiently, and provides maximum flexibility. The disadvantage is that the clear segmentation presented by Second Generation Ethernet is lost. There is however, a mechanism by which the flexibility provided by a Third Generation solution can be implemented whilst maintaining the structure of a Second Generation solution. The answer is Virtual LAN’s – or VLAN’s

In this section of the lab, you will learn how to work with a network segmented using VLAN‟s. You will confirm your VLAN configuration in the Stratix 8000 switches, and then see how connectivity between the VLAN‟s can be obtained using a Stratix 8300 layer 3 switch. You will also see the use of Unicast I/O communication. This is a technique new in RSLogix 5000 version 18 which allows a network scanner card to be placed on one subnet or VLAN and an I/O node on another subnet or VLAN. Unicast produce-consume communication between controllers has been possible since RSLogix5000 version 16.

Page 73: Stratix 8000

AUL01_EN

2/13/2013 Page 73 of 85

The scenario in which segmentation using VLAN‟s may be used is shown below:

In order to demonstrate the principle, in this lab you will use the following configuration

Page 74: Stratix 8000

Confirming your VLAN and Routing Configuration

1. Open Internet Explorer and browse to the IP address of your Stratix 8300 - 172.16.0.1. When prompted, enter the password – “rockwell” as for your Stratix 8000.

2. In the Configure menu, select the IP Addresses option.

3. Confirm that the IP addresses below are configured in the Stratix 8300, and that the Enable Routing checkbox is selected.

These IP addresses are the gateway addresses which your devices will use in order to communicate with each other.

Page 75: Stratix 8000

AUL01_EN

2/13/2013 Page 75 of 85

Testing Connectivity to a Remote Subnet

4. Check the IP settings of your PC. Confirm that the IP address of your PC is 172.16.<your station>.100 and that the default gateway is set to 172.16.0.1

A default gateway is the device, typically a router or a layer 3 switch to which your Ethernet device sends packets which are not on the same subnet

5. Open a Windows command prompt and confirm that the DHCP we configured earlier did his work. Ping the armorblock with IP address 192.168.100.<your station>.

Page 76: Stratix 8000

6. Use the tracert command to verify the route from your PC to the armorblock. You will see that there are two hops – from the PC to the router and then from the router to the armorblock.

7. Open RSLinx and right mouse click on Ethernet/IP driver AB_ETHIP-172 and select Configure Driver.

8. Check that your existing EtherNet/IP driver is configured to browse the 172.16.0.0 subnet.

Page 77: Stratix 8000

AUL01_EN

2/13/2013 Page 77 of 85

9. Now check the driver configuration of the second EtherNet/IP driver AB_ETHIP-192 to browse the 192.168.100.0 subnet as shown in the following screenshots

10. Confirm that you can see your armorblock in RSLinx along with other armorblocks on the same subnet.

The Stratix 8300 located at the front of the room is configured as a router in this room. This allows your PC to communicate with devices on the 192.168.100.x IP subnet. Routing is also configured to allow directed broadcasts on each of the VLAN interfaces. Without directed broadcasts, it would not be possible to browse the network and we would need to enter the IP address of the remote armorblock manually using the AB-ETH driver. The AB-ETH driver makes TCP connections to the IP addresses you have defined. In contrast, the AB-ETHIP driver is using a broadcast. Broadcast traffic cannot pass through a router if the ability to send direct broadcasts is not configured.

Page 78: Stratix 8000

Configuring a Unicast I/O Connection

11. Open AUL01_VLANs.acd.

12. Right click on the armorblock IO and select properties.

13. Open the connection tab. Download the file in the most left controller in the upper chassis – IP address <172.16.station number.2> - and go to run mode.

Page 79: Stratix 8000

AUL01_EN

2/13/2013 Page 79 of 85

14. You can see that we have a fault. Only Unicast is supported true multiple networks.

15. Check the Use Unicast Connection over EtherNet/IP box and press apply.

16. On the message you get click Yes.

Page 80: Stratix 8000

17. Now you‟ll see that the IO problem is solved.

18. Now unplug the uplink cable between your Stratix 8000 switch and the Stratix 8300. Note that you will have a yellow triangle on the point I/O confirming that the I/O connection is not active.

This confirms that I/O communication between modules on different IP subnets cannot take place unless (1) you have configured the modules to use unicast communication and (2) that you have a Layer 3 switch present on the network. Note that even though both your controller and I/O device are physically connected to the same switch, all of the traffic between the two nodes is passing through the Stratix 8300 switch.

How do I maintain connectivity if the layer 3 switch fails?

The Stratix 8300 layer 3 switch supports what is known as Hot-Standby Routing Protocol, or HSRP. This is a technique which allows one layer 3 switch to take over the function of another. Using a pair of Stratix 8300 switches in a high availability topology allows you to create a fault-tolerant segmented network

CONGRATULATIONS!

YOU HAVE COMPLETED THE STRATIX 8000 LAB!

The next part is optional.

Page 81: Stratix 8000

AUL01_EN

2/13/2013 Page 81 of 85

Lab 6: Using the Cisco CLI (Optional)

About This Lab

The Stratix 8000 switch can be configured completely from de Device Manager web pages, or the Property pages in Studio 5000. Optionally, these devices have the option of communicating with a PC over Telnet. It is comparable to using an MS-Dos command prompt on a windows PC. Not necessary in normal operation, but definitely useful to the expert user.

Connecting to the switch through Telnet

From the desktop, launch PuTTY

From the Saved Sessions, select the one called „LabSwitch‟ and click on Load.

In the top, where the IP address now is 1.2.3.4, change it to match the IP address of the switch in your demo box (172.16.station number.101). When it is correct, click on Open.

Page 82: Stratix 8000

The switch prompts for the Password.

Enter the password „rockwell‟ and you will see the prompt with a „ > „ character.

This means you are connected to the switch, but with limited access. At this level, some interesting diagnostics are already possible.

Using basic diagnostic commands

The Cisco CLI command to see what other Cisco devices are connected is „show cdp neighbor‟, but this can be shortened to.

sho cdp nei

Enter the command and you should see a response like.

You can see another Cisco device is connected, the local port it is connected to, and the port on the remote device that is connected. This can be very helpful to determine the layout of a network.

Another useful command, to see the status of the ports, is „show ip interface brief‟, which can be shortened to:

sho ip int bri

Page 83: Stratix 8000

AUL01_EN

2/13/2013 Page 83 of 85

Enter the command and you will see a response like.

This shows you the ports on the device, what the link state is and if there is any problem to report. To see the speed of the ports, the command „show interface status‟ can be used, it can be shortened to:

sho int statu

Entering this gives you a result like:

This way, you can see the speed and duplex status of the ports.

Filtering output

Some commands can generate a lot of output, while you may only be interested in a part of it. For instance, enter the short version of the „show version‟ command:

sho ver

When you see the ‘ --More-- ‘ prompt, you can press the space bar on your

keyboard to see the rest of the output.

It generates a lot of data, including something about the uptime, how long ago the device

was last booted. To not have to waste your time finding the line, you can use the pipe ‘ |

‘ and ‘ i ‘ modifiers on the output to only show the line containing the uptime:

sho ver | i upt

After entering this command, the output is much easier to read:

Page 84: Stratix 8000

Advanced diagnostics

To be able to do more advanced diagnostics, you need to give yourself more rights by enabling privileged mode, using the „enable‟ command:

ena

Use the same „rockwell‟ password, the prompt will then change to a „ # „:

Now, you can enter more commands, for instance to see everything about the device and it‟s configuration. The command for that generates so much output, that the terminal will not be able to show it with the default settings. To change the settings for this, right-click on the title bar of PuTTY:

Select Change Settings, then Window and set the Lines of Scrollback to 20000;

Then click on the „Apply‟ button.

In the terminal, enter the „show tech-support‟ command, that you can enter as:

sho tec

The switch will now generate a lot of output, without stopping to prompt you. Since you have set the terminal to buffer up to 20,000 lines, you can use the window scroll bar to see all output. PuTTY allows you to select all this, which then could be pasted to a .txt or .doc file. Doing this would allow to to engage Tech Support or a collegue with a lot of information about the switch configuration and status.

Page 85: Stratix 8000

AUL01_EN

2/13/2013 Page 85 of 85

Another very helpful tool the switches have is the ability to find where devices are on the network. Write down the IP address of the EN2T card in the bottom chassis of your demo case and also the IP address of the same card of one of your neighbors.

In the terminal, now enter

trace mac ip ipaddr1 ipaddr2

there you replace „ipaddr1‟ and „ipaddr2‟ with the IP addresses you wrote down:

You will see the switch first translates the IP addresses to Mac addresses, then it gives you the complete path between the two devices, including the ports on the switches that are used for the entire path.

End of optional part.


Recommended