Switch v7 Ch08
Switch v7 Ch08
Switch v7 Ch08
SWITCH v7 Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
Chapter 8 Objectives
This chapter covers the following Cisco Catalyst switch
features:
Discovery protocols
Unidirectional Link Detection
Power over Ethernet
SDM templates
Monitoring features
IP SLA
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
Discovery
Protocols
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
Discovery Protocols
This section on discovery protocols covers the following
topics:
Introduction to LLDP and comparison to CDP
Basic configuration of LLDP
Discovering neighbors using LLDP
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
Introduction to LLDP
LLDP is an industry standard protocol for neighbor
discovery.
All current Cisco devices support LLDP, and only legacy
and end-of-sale platforms may not support LLDP.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
Introduction to LLDP
This protocol can advertise details such as configuration
information, device capabilities, IP address, hostname, and
device identity.
LLDP is used for a plethora of information sharing, it is not
architected to send out real-time information such as
performance data or counter data.
An advantage of LLDP over CDP is that it allows for
customization. LLDP can carry a lot of information that is
relevant to your network.
One drawback of LLDP in comparison to CDP is that it is
not very lightweight.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
Introduction to LLDP
The following list captures a few important implementation
properties of LLDP:
LLDP is unidirectional.
LLDP operates only in an advertising mode.
LLDP does not solicit for information or monitor state changes
between LLDP nodes.
LLDP leverages a Layer 2 multicast frame to notify neighbors
of itself and its properties.
LLDP will receive and record all information it receives about
its neighbors.
LLDP uses 01:80:c2:00:00:0e, 01:80:c2:00:00:03, or
01:80:c2:00:00:00 as the destination multicast MAC address.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
Introduction to LLDP
The following list defines the most common information
exchanged with LLDP with campus switches:
System name and description
Port name and description
Port VLAN and VLAN name
Management IP address
System Capabilities (Wi-Fi, routing, switching, and so on)
Power over Ethernet
Link aggregation
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
10
LLDP Neighbors
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
11
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
12
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
13
Unidirectional
Link Detection
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
14
UDLD
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
15
UDLD
The unidirectional condition at Layer 2 is disastrous for any
network because it will lead to either spanning tree not
blocking on a forwarding port or a routing black hole.
In either of these situations, the network will exhibit a total
failure, become instable, and eventually create a complete
loss of connectivity for end users.
UDLD may protect the network from the following problems:
Transient hardware condition
Hardware failure
Optic/GBIC anomalous behavior or failure
Miswired cabling
Software defect or condition
Misconfigured or malfunction of inline tap or sniffer
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
16
Cisco Public
17
UDLD Behavior
The behavior of UDLD after it detects a unidirectional link is
dependent on its operation mode, either normal mode or
aggressive mode. The modes are described as follows:
Normal mode
When a unidirectional link is detected the port is allowed to continue its
operation. UDLD just marks the port as having an undetermined state. A
syslog message is generated.
Aggressive mode
When a unidirectional link is detected the switch tries to reestablish the link.
It sends one message a second, for 8 seconds. If none of these messages
are sent back, the port is placed in error-disabled state.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
18
UDLD Configuration
To configure a Cisco Catalyst switch for UDLD normal
mode, use the udld enable command.
Similarly, to enable UDLD in aggressive mode, use the udld
aggressive keyword.
To display the UDLD status for the specified interface or for
all interfaces, use the show udld [ interface slot/number
] privileged EXEC command.
To view UDLD neighbors, use the show udld neighbors .
In addition, use udld reset command to reset all the
interfaces that were shut down by UDLD.
You can also achieve a UDLD reset by first shutting down the
interface and then bringing it back up (that is, shut , then no shut ).
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
19
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
20
Power over
Ethernet
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
21
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
22
PoE benefits
PoE switches support remote management where power
adapters and injectors do not.
PoE switches allow for centralized methods of backup
power.
PoE requires less configuration than a local power adapter
or injector.
PoE leverages the data cabling infrastructure, and no
additional power cable is required as with the case with
power adapters or injectors.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
23
PoE Components
PoE terminology refers to three types of components:
Power-sourcing devices
Cisco Catalyst switches and power injectors
Powered devices
Access points, IP phones, and IP cameras.
Thin clients, sensors, wall clocks, and so on.
Even switches can be powered through PoE itself.
Ethernet cabling.
As with standard Ethernet, the distance of PoE is limited to 100
meters with Category 5 cabling.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
24
PoE Standards
IEEE 802.3af (ratified 2003)
This standard provides interoperability between different vendors.
Up to 15.4 W of DC power is available for each powered device.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
25
PoE Negotiation
The Cisco switches do not supply power to a port unless it
specifically detects the need by the end device.
This prevents wasting of unnecessary power and so on.
With 802.3af and 802.3at, the switch tries to detect the
powered device by supplying a small voltage across the
Ethernet cable.
The switch then measures the resistance. If the measured
resistance is 25K ohm, a powered device is present.
The powered device can provide the switch with a power
class information.
The default class of 0 is used if either the switch or the
powered device does not support power class discovery
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
26
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
27
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
28
SDM Templates
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
29
SDM Templates
Upon completing this section on SDM templates, you will be
able to do the following:
Describe the typical SDM template types
Change the SDM template
Describe precautions to take when changing the SDM
templates
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
30
Routing
As one example, you would enable this template if the device is
performing routing in the distribution or core of the network. The
device is able to carry numerous routes, but only for IPv4.
Access
You would enable this template if you have many VLANs. In turn, this
template reduces the resources that are allocated to routing.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
31
Routing
More space is reserved for IPv6 routing than IPv4 routing.
VLAN
Suitable for when you are running a dual-stack environment with lots of VLANs.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
32
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
33
Another common reason for changing the SDM template is because you
are running out of a specific resource.
For example, the use of the switch in a large Layer 2 domain with many ACLs may
require a change to the access SDM template.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
34
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
35
Monitoring
Features
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
36
Monitoring Features
Upon completing this lesson, you will be able to meet these
objectives:
Describe SPAN
Describe SPAN terminology
Describe different versions of SPAN
Configure SPAN
Verify local SPAN configuration
Configure RSPAN
Verify RSPAN configuration
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
37
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
38
SPAN Terminology
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
39
Cisco Public
40
RSPAN
In terms of configuration, RSPAN consists of the following:
RSPAN source session
RSPAN VLAN
RSPAN destination session
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
41
SPAN Configuration
SPAN adheres to the following caveats
A destination port cannot be a source port or vice versa.
The number of destination ports is platform dependent;
some platforms allow for more than one destination.
Destination ports do not act as normal ports and do not
participate in spanning tree and so on. Normal traffic flows
through a destination. Be careful not to connect anything
besides an end device to a SPAN destination port.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
42
SPAN Configuration
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
43
RSPAN Configuration
Cisco Public
44
RSPAN Configuration
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
45
RSPAN Verification
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
46
IP SLA
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
47
IP SLA
Upon completion of this section, you will understand the
following:
Basic use cases of IP SLA
What an IP SLA source and responder are
Basic example of an ICMP IP SLA configuration and a UDP
configuration
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
48
Introduction to IP SLA
An SLA (service level agreement) is a contract between the
network provider and its customers, or between a network
department and internal corporate customers. It provides a
form of guarantee to customers about the level of user
experience.
SLA may contain specifics about connectivity and
performance agreements for an enduser service from a
service provider.
An SLA typically outlines the minimum level of service and
the expected level of service.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
49
Introduction to IP SLA
An SLA can also be used as the basis for planning budgets
and justifying network expenditures.
Overall, the IP SLA feature provides real-time feedback
about network reachability. For features such as voice and
video, network availability with stable jitter and latency are
important.
The IP SLA provides the feedback necessary to ensure the
network can sustain real-time applications as well as
mission-critical applications such as web portal or ordering.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
50
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
51
IP SLA Options
Switch(config-ip-sla)# ?
IP SLAs entry configuration commands:
dhcp
DHCP Operation
dns
exit
ftp
FTP Operation
http
HTTP Operation
icmp-echo
path-echo
path-jitter
tcp-connect
udp-echo
udp-jitter
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
52
Cisco Public
53
IP SLA Configuration
To implement IP SLA network performance measurement,
you need to perform the following tasks:
Step 1. Enable the IP SLAs responder, if required.
Step 2. Configure the required IP SLAs operation type.
Step 3. Configure any options available for the specified
operation type.
Step 4. Configure threshold conditions, if required.
Step 5. Schedule the operation to run, and then let the
operation run for a period of time to gather statistics.
Step 6. Display and interpret the results of the operation
using the Cisco IOS CLI or a network management system
(NMS) with SNMP.
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
54
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
55
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
56
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
57
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
58
Cisco Public
59
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
60
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
61
Chapter 8 Summary
LLDP and the legacy CDP features are useful for
discovering neighbor adjacencies and their details.
The UDLD aggressive mode feature is useful in adding
resiliency to networks to avoid disasters in case of
anomalous behaviors.
SPAN and RSPAN are common debugging and traffic
capture features that are also leveraged to capture traffic for
network analytics.
The IP SLA
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
62
Chapter 8 Labs
CCNPv7.1 SWITCH Lab8.1 IP SLA SPAN
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
63
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
64
Acknowledgment
Some of the images and texts are from Implementing Cisco IP Switched
Networks (SWITCH) Foundation Learning Guide: (CCNP SWITCH 300-115) by
Richard Froom and Erum Frahim (1587206641)
Copyright 2015 2016 Cisco Systems, Inc.
Special Thanks to Bruno Silva
Chapter 8
2007 2016, Cisco Systems, Inc. All rights reserved.
Cisco Public
65