Escolar Documentos
Profissional Documentos
Cultura Documentos
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-1
• Overview
- Upon completion of this module, you will be able to describe Cisco IOS EEM
and how it can be used for automating tasks and troubleshooting. You will be
able to explain the fault management tools and how to use them for
troubleshooting with emphasis on GOLD and the benefits of IP SLA.
• Lesson objectives:
- Upon completing this lesson and given a specific customer scenario, you will
be able to meet the following objectives:
• Explain EEM
• Describe GOLD
• Describe IP SLA
• Describe best practices
• Lab objectives:
- Implement SmartOperations features including EEM, GOLD, and IP SLA
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-3
Smart Install
Flexible NetFlow
Auto Smartports
IP SLAs
Auto-QoS
Cisco Catalyst
SmartOperations
Mediatrace
ERSPAN Flexible NetFlow
TDR, GOLD
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-4
EEM Overview
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-5
• EEM is a Cisco IOS Software HA
Syslog SNMP Watchdog
enhancement that is available Daemon Subsystem Sysmon Redundancy
Facility
on the Catalyst Series Switch
platforms
Timer
• A combination of processes SNMP
Services
Counters
following:
- CPU utilization Event Detectors
- Syslog events
- and many more IOS Subsystems TCL Shell
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-7
• Basic EEM architecture building blocks.
Cisco IOS EEM Applet Policy Cisco IOS EEM Tcl Policy
Subscribes to receive events and Subscribes to receive events and
implement policy actions implement policy actions
Policy Director
SNMP-Notification
IOSWDSYSMON
WDSYSMON
Interface
Process
Counter
Syslog
SNMP
GOLD
APPL
Timer
Track
None
RPC
OIR
CLI
RF
Event Detectors
SNMP Agent Cisco IOS Interface Counters Cisco IOS CLI OIR Syslog HA
CPU Descriptor Blocks (IDBs) Memory Diagnostics Cisco IOS Processes
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-8
Policy Director
• Applets are created using a set • Tcl Scripts cannot be built from
of CLI commands the switch CLI
• The applet becomes part of the • This form of script offers a more
IOS configuration file and is flexible and powerful option for
persistent across system network administrators to apply
reboots actions on a given event
• Use a single “event” statement occurrence
following by a number of “action” • Like the applet, a registered Tcl
statements script is persistent across
system reboots
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-11
Multiple actions can be initiated from within a script
• Policy actions
- Execute an IOS command
- Send a CNS event
Applets - Send an email
- Send a page alert
- Request system information
- Increment/decrement a counter
Policy
- Run another policy
Director - Reload the switch
- Failover the supervisor
- Generate custom syslog
Tcl Scripts - Generate SMNP trap
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-12
• Few of the many uses of EEM
A B A B
Si Si Si Si
We just gave the
Catalyst 6500 a
new feature.
Server Server
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-14
• Define the applet
HTA6503# configure terminal
HTA6503(config)# event manager applet BACKUP-MY-CONFIG
Take Actions
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-16
• EEM policies developed and shared by different developers
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-17
Reports Faults and Takes Action
Call Home, syslogs, SNMP
EEM
Automates actions based on events that
have occurred. TCL-based configurable
fault policy.
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-23
Cisco GOLD Overview
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-24
• GOLD implements a number of health checks both at system startup
and while the system is running.
• GOLD complements existing high availability features like NSF/SSO
running in the background, and alerting high availability features when
disruption occurs.
Bootup Diagnostics Diagnostic Results
Check operational status of syslog Message
components
%DIAG-SP-3-MAJOR: Module
Run Time Diagnostics 2: Online Diagnostics detected
a Major Error. Please use
On-demand diagnostics diagnostic Module 2' to see
statically triggered by an test results.
administrator
Scheduled diagnostics to run at Diagnostic Action
a specific time
Invoke action to resolve issue,
Nondisruptive health diagnostics that is reset component, invoke
running in the background high availability action,
CallHome, and so on
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-25
• Distributed GOLD environment
• Local GOLD is active on both supervisors
• Centrally managed by the active supervisor
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-27
Interactive
Technical Services
Customer
Contracts
DB
Service Request
Tracking System
Automated
Entitlement
Call Home Check
Diagnosis
Secure Transport Capability
Messages Received:
Diagnostics
Catalyst 6500 - 12.2(33)SXH Call Environmental
Catalyst 4500 – 12.2(52)SG Home DB Syslog
Inventory and
Configuration
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-30
• Detect a potential problem
• Failover and send an alert
GOLD
EEM
EEM
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-31
• Quick and easy Layer 1 troubleshooting
tool
• TDR helps you determine the following
- Length of cable
- Whether cable is correctly terminated
- Whether cable is improperly cabled (incorrect
pinout)
- Whether cable contains a short (wires
touching each other through damaged or
missing insulation)
- Whether cable contains an “open”
(disconnected or severed wire)
• Not a “Fluke” replacement
P P
O O
R R
T T
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-32
Understanding IP SLA Benefits
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-33
IOS embedded and active measurement solution to assure network service levels and proactively monitor
Enterprise and Small Medium Business Service Providers
end-to-end network health and performance.
Understand Network
Performance and Verify Service Levels Measure and provide
Ease Deployment Verify Outsourced SLAs SLAs
Data Packet
IP SLA Source Packet
Si Si
IP SLA Response Packet
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-39
• EEM – Powerful Scripting Tools with a large
community continuing to develop and share scripts
with one another
- They have been doing SDN long before it was cool
• GOLD – Proactive and On Demand HW Specific
platform testing and fault detection
• Smart Call Home – Allows the device to talk directly
to TAC
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-41
• These are best practice guidelines for customers to follow when using the
features discussed in this module:
1. When using EEM, send an alert (email, syslog, SNMP trap) to notify
network operations staff of the change being made by EEM.
2. Make sure that EEM directories are in the same location for systems
using multiple Supervisor modules.
3. When creating Tcl scripts for EEM, be wary of Microsoft editors as they
add carriage return characters that may cause the script to fail.
4. When using TDR, ensure that the port is up and running.
5. When using TDR, be aware that the 10/100 port tests are disruptive while
the 1G ports tests are not.
6. When using GOLD, make sure you check the details of the test in the
documentation as some tests are extremely disruptive.
7. GOLD tests are run locally in each switch of a VSS.
8. Do not run the Automated System Health Check on a production system.
9. Remember that not all IP SLA operations require the responder on the
target.
10. Use the IP SLA Event Detector with EEM to automate notifications or
other responses to network events.
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-42
• GOLD – We will be initiating a disruptive test and
then examining the results.
• IP SLA and an EEM Script – We will set up an SLA
and then use an EEM Applet to monitor the SLA
and take action based on the results.
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-43
© 2013 Cisco and/or its affiliates. All rights reserved. CONFIDENTIAL SmartOperations UASEBC v1.0—7-49