Beruflich Dokumente
Kultur Dokumente
Switching Architecture
BRKARC-3437
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
Agenda
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Agenda
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Catalyst Fixed Switching Portfolio
Stackable 3000 Series Standalone 3000 Catalyst 2900 Series Catalyst Compact
Switches Series Switches Switches Switches
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Enterprise Class Catalyst 3750-X and 3560-X
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Dual Redundant Power Supplies & Fans
Four PS options
‒ 1100W AC
‒ 715W AC
‒ 350W AC
‒ 440W DC
Dual, redundant, high efficiency PS
Redundant fan modules
Models Default Power Supply Available PoE Power
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Service Module – 3750X/3560X
Services module for the Catalyst 3750x and 3560x models
‒ Hot swappable, Plug-and-play
Capable of Flexible Netflow (FNF)
‒ Done in hardware
Capable of Switch-to-Switch MACSec (802.1ae)
‒ First time in the access layer (3750x/3560x)
• Powered using the switch-based power supply
• Two Uplinks
C3KX-SM-10G
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Catalyst 2960-S
KEY FEATURES OPERATIONAL SIMPLICITY
FlexStack Enhanced Limited Lifetime
PoE on all 48 ports Warranty
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Catalyst Compact Switches
KEY FEATURES OPERATIONAL SIMPLICITY
Can be powered via PoE(+) or UPoE Zero-touch deployment
Pass through PoE for end devices Auto Smart Ports
Uplink & Downlink Data Enhanced Limited Lifetime Warranty
Encryption
12 models to choose
from
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Software Feature Set Flavors
Tailored to Meet
Business Needs
Evolves With Your
Intelligent Business
Services Catalyst 3K-X w/ IP
Converged Services
Catalyst 3K-X w/ IP
Business Continuity
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
For Your
Key LAN Lite vs LAN Base Highlights Reference
Catalyst 2960, 2960-S
•16 IPv4 static routes on SVI • Enterprise access Layer 3 • Complete access Layer 3
RIP, static and stub PIM, and EIGRP, OSPF EIGRP, BGP, IS-IS
Layer 3 for routed access VRF-lite, WCCP, and PBR
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Types of Software Licenses
License based feature-set upgrades
Available in E and X series as part of the Universal Image
Permanent Temporary
License License
After the usage period expires, the switch continues to use the
temporary software license until it is restarted.
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Managing Licenses
Show commands to administer software licensing:
‒ Displaying the file
‒ Detailed display of license type
‒ Showing the Unique Device Identifier
‒ Enabling debug mode
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Create Your Own Evaluation License!
Minimum IOS 12.2(46)SE
Switch# license boot level ipservices
Supported license levels are:
ipservices
ipbase
PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR
LICENSE KEY PROVIDED FOR ANY CISCO PRODUCT FEATURE OR USING SUCH
PRODUCT FEATURE CONSTITUTES YOUR FULL ACCEPTANCE OF THE FOLLOWING
TERMS. YOU MUST NOT PROCEED FURTHER IF YOU ARE NOT WILLING TO BE BOUND
BY ALL THE TERMS SET FORTH HEREIN.
You hereby acknowledge and agree that the product feature license is terminable and that the product feature enabled by such license may be shut down or terminated by Cisco after
expiration of the applicable term of the license (e.g., 30-day trial period). Cisco reserves the right to terminate or shut down any such product feature electronically or by any other means
available. While alerts or such messages may be provided, it is your sole responsibility to monitor your terminable usage of any product feature enabled by the license and to ensure that your
systems and networks are prepared for the shut down of the product feature. You acknowledge and agree that Cisco will not have any liability whatsoever for any damages, including, but not limited
to, direct, indirect, special, or consequential damages related to any product feature being shutdown or terminated. By clicking the "accept" button or typing "yes" you are indicating you have read
and agree to be bound by all the terms provided herein.
ACCEPT? (yes/[no]):
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Agenda
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Switch Components
Two Stack
Cables
Switch Fabric Stack PHY
StackWise,
2X10G or 4X1G
12X1G 12X1G 12X1G 12X1G StackWise
Plus
Fixed switches have a very simple design
Key components are the ASICs, the CPU and the Phys
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Port ASICs
Switch Fabric Stack PHY Two Stack
Cables
StackWise,
2X10G or 4X1G
12X1G 12X1G 12X1G 12X1G StackWise
Plus
StackWise,
2X10G or 4X1G
12X1G 12X1G 12X1G 12X1G StackWise
Plus
Storesvital information including IPv4, IPv6 and MAC addresses, ACES etc
The 3750-X TCAM/SRAM is incorporated into the Port ASIC
Hardware Merge process to pack entries into TCAM
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Switch Fabric
Switch Fabric Stack PHY Two Stack
Cables
StackWise,
2X10G or 4X1G
12X1G 12X1G 12X1G 12X1G StackWise
Plus
128Gbps switching Fabric
Provides line rate and local switching within a switch and stack connectivity
‒ 48G + 2X10G + 32 Stack-ports (100Gbps FDX)
64 Gbps Ring Stackwise Plus
1 Gbps Ring Inter-connect control path to the Port ASICs to the CPU
Point-to-Point, 32 Gbps ring connecting each Port ASIC
Jumbo frame switching and routing
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
CPU
Two Stack
Switch Fabric Stack PHY Cables
StackWise,
2X10G or 4X1G
12X1G 12X1G 12X1G 12X1G StackWise
Plus
Switch-to-Switch communication and synchronization
Updates the MAC and Routing caches attached to each port ASIC
Performs CPU Software-based forwarding when the TCAM is over its limits for MACs, Routes, ACL
entries etc.
The CPU communicates with the Port ASICs via a dedicated management ring (the yellow ring in the
diagram)
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
PHY – Includes Link Encryption
Two Stack
Cables
Switch Fabric Stack PHY
StackWise,
2X10G or 4X1G
12X1G 12X1G 12X1G 12X1G StackWise
Plus
StackWise,
2X10G or 4X1G
12X1G 12X1G 12X1G 12X1G StackWise
Plus
Switch Fabric Stack PHY
Physically, the ring is a series of switch fabrics strung together by stack cables
Mem CPU
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Catalyst 3750v2 Overview
Fast Ethernet Models
TCAM TCAM TCAM 2 Stack
SRAM SRAM SRAM Stack PHY Cables
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
2960S Architectural Overview
CPU
Single Port ASIC
SDRAM
Flash
Serial
USB 2 Stack
8 Port 8 Port 8 Port 8 Port 8 Port 8 Port
X2 X2
Serial PHY PHY PHY PHY PHY PHY X2 X2
Cables
10G 10G
48 Port Switch with 2 X 10G uplink
8XPOE 1G 1G
8XPOE External Power 1G 1G
AC / DC Aux Power
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Within the ASIC
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
TXT
Queues
TXT
Buffer Ingress Path RCV
Buffer
From To
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Within the ASIC
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
L3
From To
Ring/Fabric QOS ACES Ring/Fabric
SEC ACES
IPv6
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Packet Walk - Ingress
On the Way In 1
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
From To
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Packet Walk - Ingress
On the Way In
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
3 Submit packet to
TXT Forwarding RCV
VLAN
FIFO Controller FIFO
decap/parsing/pro
3 4 cessing in the
4 forwarding
TXT TXT RCV
Queues Buffer Buffer controller and the
TCAM SRAM native frame is
obtained
From To
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Packet Walk - Ingress
On the Way In 5 Search Engine in
the Forwarding
To
CPU MAC MAC MAC MAC MAC MAC Controller sends
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
the packet to the
TCAM for L2
lookup and
TXT Forwarding RCV
FIFO Controller FIFO receives the index
5 6
6 The Forwarding
TXT TXT RCV
Queues Buffer Buffer
Controller queries
TCAM SRAM
the SRAM with the
index to get the
From To
Ring/Fabric Ring/Fabric desired look up.
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Packet Walk - Ingress
On the Way In Search Engine
7 Forwarding
To
CPU MAC
Port 1
MAC
Port 2
MAC
Port 3
MAC
Port 4
MAC
Port 5
MAC
Port 16
Controller sends
QOS and ACL
Look up sent to
TXT Forwarding RCV
the TCAM. Index
FIFO Controller FIFO returned
7 8
8 Forwarding
TXT TXT RCV
Queues Buffer Buffer
Controller queries
TCAM SRAM
the SRAM for the
respective Ingress
From
Ring/Fabric
To
Ring/Fabric
ACL and QOS
response
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Packet Walk - Ingress
On the Way In
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
9 Look up to the
TXT Forwarding RCV
policer. How much
FIFO
9
Controller
10
FIFO
policing to do?
10 Policing
TXT TXT RCV
Queues Buffer Buffer
information
TCAM SRAM
returned
From To
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Packet Walk - Ingress
On the Way In Search Engine in
11
Forwarding
To
CPU MAC MAC MAC MAC MAC MAC Controller sends
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
the L2/L3
Forwarding Look
up to the TCAM.
TXT
FIFO
Forwarding
Controller
RCV
FIFO
Index returned
11 12
12 Forwarding
TXT TXT RCV
Queues Buffer Buffer Controller sends
TCAM SRAM Index to the SRAM
for destination
From To details.
Ring/Fabric Ring/Fabric
Destination
information
returned
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Packet Walk - Ingress
On the Way In
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
14 24 byte descriptor
sent to the
Receive buffer.
TXT Forwarding RCV Appended to the
FIFO Controller FIFO
14 original packet.
Descriptor
From To
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Packet Walk - Ingress
On the Way In
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
15
From To
Ring/Fabric Ring/Fabric Descriptor
Native
Packet
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Within the ASIC
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
From To
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Packet Walk - Egress
On the Way Out
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
Descriptor
From To
Ring/Fabric Ring/Fabric
Native
Packet
1
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Packet Walk - Egress
On the Way Out
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
2 Packet is stored in
TXT Forwarding RCV
the Transmit
FIFO Controller FIFO
buffer.
Packet location
TXT TXT RCV
Queues Buffer Buffer stored in the TXT
TCAM SRAM Queue
2 From To
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Packet Walk - Egress
On the Way Out
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
3 Packets egresses
TXT Forwarding RCV
and is stored in
FIFO Controller FIFO
the Transmit FIFO
for egress
3 processing
TXT TXT RCV
Queues Buffer Buffer
TCAM SRAM
From To
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Packet Walk - Egress
On the Way Out
To
CPU MAC MAC MAC MAC MAC MAC
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
From To
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Packet Walk - Egress
On the Way Out
5 Search Engine in
To
CPU MAC MAC MAC MAC MAC MAC Forwarding
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
Controller sends
egress ACL lookup
query to TCAM.
TXT Forwarding RCV
FIFO Controller FIFO TCAM returns
index
5 6 6
TXT
Queues
TXT
Buffer
RCV
Buffer
Forwarding
TCAM SRAM Controller uses
index to get the
From To
ACL info
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Packet Walk - Egress
On the Way Out
5 Search Engine in
To
CPU MAC MAC MAC MAC MAC MAC Forwarding
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
Controller sends
Destination
Lookup to TCAM.
TXT Forwarding RCV
FIFO Controller FIFO Index returned.
5 6 6
TXT
Queues
TXT
Buffer
RCV
Buffer
Forwarding
TCAM SRAM Controller uses
index to get the
From To
L2/L3 forwarding
Ring/Fabric Ring/Fabric
info
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Packet Walk - Egress
On the Way Out
7 Packet Header
To
CPU MAC MAC MAC MAC MAC MAC prepared in the
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
Forwarding
Controller
7
TXT 8 Forwarding RCV
FIFO Controller FIFO
8
TXT
Queues
TXT
Buffer
RCV
Buffer
Forwarding
TCAM SRAM Controller sends
the header info to
From To
the TXT FIFO
Ring/Fabric Ring/Fabric
where the final
packet is
assembled
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Packet Walk - Egress
On the Way Out
9 Final packet sent
To
CPU MAC MAC MAC MAC MAC MAC to the egress port.
Port 1 Port 2 Port 3 Port 4 Port 5 Port 16
9
TXT Forwarding RCV
FIFO Controller FIFO
From To
Ring/Fabric Ring/Fabric
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
3750v2 Unicast Packet Walk
Source Strip
4. Original Packet
rotates around the 2. Copy Packet by
ring Dest. Port-ASIC
5. Src Removes
Packet off the ring 1. Forward
To the Stack
Port ASIC Port ASIC Port ASIC
All types of packets are passed all the way around the ring, copied Source
at the destination(s) and returned to the sender for stripping Destination
All packets are sent to the stack ring, the Port ASICs can not Packet
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
3750X Unicast Packet Walk
Locally Switched (Stacked or Standalone Switch)
Packet is locally
switched. Never get
forwarded to
Stackwise rings
Switch Fabric
Port ASIC Port ASIC Port ASIC
Source
The packet is sent to the switch Fabric and locally switched to Destination
the destination Port ASIC Packet
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
3750X Unicast Packet Walk
Destination Across the Stack – Destination Strip
3. Removes 4. Send 2. Copies packet
packet off the 16 bits – sends it to port-
stack ring ACK ASIC
Switch Fabric
Switch Fabric
Port ASIC
5. Remove
Port ASIC 1. Forward Port ASIC
the ACK To the Stack
ring
Switch Fabric
The Source Port ASIC sends the packet to the Source Switch Source
The Switch Fabrics with multicast ports in that group copy the packet
The originating Switch Fabric removes the packet from the ring
Note: There is only one packet on the ring per multicast flow, replication only
occurs at the local level
Note: if the sender and all of the receivers are on the same switch no packets
are sent to the ring
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Agenda
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Agenda
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
What is a Stackable Switch?
Allows access to all switches with a single IP address
Provides the means to manage the stack via CLI or MIB
Can connect all switches in a physical ring topology
Internal Connection:
On 3750v2, 3750G : The Stack Ring is the switching
fabric
3750E, 3750X : The Stack Ring only interconnects the
individual Switch Fabrics
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Understanding the Stack Cable Cable
TX
Pair Trace
Eight TX/RCV pairs per ring
That is 16 pairs (8 channels per ring)
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Understanding the Stack Ring Speed
16 Channels x 2.5 Gbps x 8B/10B = 32Gbps
Or bidirectional 16 Gbps per cable = 32Gbps
Or Two Rings running at 16Gpbs each = 32Gbps
Trace
16 Gbps 16 Gbps 16 Gbps 16 Gbps
TXT/RCV
Pairs
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Stackwise Vs. Stackwise Plus
Spatial Reuse
No Spatial Reuse Spatial Reuse
(Source Strip) (Destination Strip)
3750v2 StackWise 3750-X StackWise Plus
Only 2 Flows Up to N by 2 Simultaneous Flows
Access-based tokens Credit-based Tokens
3750-X 3750v2
The Switch Fabric or Port ASIC closest to cable detects link down
‒ Criteria is coding violations in a period of time
‒ Loss of at most one packet that was being transmitted when ring broke
‒ Just microseconds for hardware to detect failure
Each switch signals a bad link to stack its partner
Both ends of the cable loop back on themselves
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Agenda
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
StackPower Overview
Aggregates and shares available input power capacity in a
Stack
Flexible arrangement of power supplies in a stack
‒ Up to 8.8Kw in a power stack of 4 switches (ring topology)
‒ Up to 22Kw in a power stack of 9 switches (Star topology
using an XPS(eXpandable Power System) 2200)
Stackpower decouples a Power supply from its physical
location in a switch/stack!
Provides RPS functionality (Zero-footprint RPS)
Intelligent Load shedding
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
StackPower Modes of Operation
Power Share and Redundant Modes
StackPower operates in two modes:
Power share
‒ Loose or Strict mode
Redundant
‒ Loose or Strict mode
Up to four switches can be participate in a power stack
More than one power stack within one Data stack (Stackwise Plus)
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
Loose and Strict modes
Control the behavior of Load shed
Loose mode allows for a negative power budget
Strict mode sheds load as soon as the power budget goes below the Allocated
power level
Power-sharing Loose mode Default Power-sharing Strict mode
ALLOCATED
ALLOCATED
BUDGET Available Committed ACTUAL Drawn
BUDGET Available Committed ACTUAL Drawn
Power Pool Power Power
Power Pool Power Power
Lost PS or Lost PS or
Power source Power source
Shed Load
Lost Shed Load
another PS
Dropped PD Dropped PD
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
Best Practice
Balance Power supplies across theTotalstack
Input Power = 5,400w
1,100w
A B
X 500w
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
Flexstack on the Catalyst 2960-S
New Stacking Mechanism
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
FlexStack Vs. StackWise Plus
3750-X StackWise Plus
2960-S FlexStack
Ease of Use and
Ease of Use
High Availability
Device Limit 4 units 9 units
Stack Bandwidth 20G 64G
Architecture HW Drop Table Ring (Destination stripping)
Configuration Single config and CLI, auto image and config update Single config and CLI, auto image and config update
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
Agenda
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
The Stack Master
78
Stack Master Election Criteria
1) The stack (or switch) whose master has the
higher user configurable mastership priority 1–15
2) The stack (or switch) whose master is not using
the default configuration
3) The stack (or switch) whose master has the higher software
priority
Cryptographic IP Services
Cryptographic IP Base
Cryptographic LAN Base
4) The stack (or switch) whose master has the longest uptime
5) The switch or stack whose master has the lowest
MAC address
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Switch Priority for Master Role
Default Is 1, Don‘t Participate Is 0
Switch (config)# switch 3 priority 10
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
When Does the Stack Master Change?
A Stack Master Can Change If:
The stack master fails or reboots
The stack master is removed from the switch
stack
The stack master is power cycled or powered off
There is a Stack Merge
‒ Stack merge occurs when a new switch is powered
up before being connected to the stack cables, or
when two cables are disconnected from the stack
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Functions of the Stack Master
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Centralized and Distributed Functions
Centralized functions
Those that are reside on the
master node
Those that are forwarded to the Master
master node
Those that are controlled or synchronized by
the master node
Ex: CDP, VLAN Database mgmt,Routing
Distributed functions
Those that are performed locally
by each node Master
These functions are synchronized or updated
between the nodes
Ex: MAC address management, STP
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
Stack Configuration Management
Master:
‒ Copies of the startup and running config files
are kept on all members in the stack
‒ The current running-config is synched from Config
the master to all members
‒ On a switchover, the new master
re-applies the running-config so Config
that all switches are in sync
Member: Config
‒ Keeps a copy of startup and
running config at all times
‒ On boot-up waits for config file
from master and parses it
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Stack Members – Addition, Removal,
Pre-provisioning
85
Adding a New Switch
Example
The stack has three members - 1, 2, 3
A new switch with #3 is added to the stack
Conflict detected, number changes based Master #1
on the rules used for numbering (ID).
Switch #2
It is assigned the #4 and
Switch #3
reloads switch #4
Configuration commands in the config file Switch #4
which apply to interfaces 4/0/* apply to the
new switch
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
Switch Pre-provisioning
Example
Switch #3
Switch #4
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
Switch Removal
The stack has three members — 1, 2, 3
Member #3 is removed or powered down
‒ Neighbor loss is detected by Switch
#1 and Switch #2
‒ Layer 2 and Layer 3 convergence may need Master #1
‒ to happen Master #2
Switch #2
‒ Now there is a stack of two switches—Switch #1 and
Switch #2 Switch #3
‒ Switch#1 is still the master
Master #1 is removed or powered down
‒ Switch #2 takes over as master
‒ Layer 2 and Layer 3 convergence may need
to happen
‒ Now there is a stack of one switch—#2 which
is the master
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
Replacing a Switch
In this case, the failed switch
is a Cisco Catalyst WS-C3750X-48TD
If replaced by another Cisco Catalyst WS-
C3750X-48TD, the new switch will receive the
port-level configuration of the original unit Config
If replaced by a different switch, the original
configuration is lost and the new switch
receives all stack global configuration
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
Resolving Stack Mismatches
Types of Stack Mismatch
Homogeneous Stack: 3750 or 3750E/X:
Version Mismatch: 3750-X
level and feature IOS revision set
i.e. LAN Base, IP Base, and IP Services 3750-E
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
Stack IOS Upgrade Process
Automatic Upgrade involves two processes:
Auto-Upgrade and Auto-Advise
Recommend:
Store Universal and Reformation TAR images in the master and a backup master for auto-extract to work
Configure a url for last resort: (point to the image repository)
boot auto-download-sw tftp://10.1.1.15/images/fall06/c3750-universal-tar
‒ Use to upgrade a mixed hardware stack:
‒ archive download-sw /directory tftp://10.1.1.10/ c3750-ipservices-tar.122-35.SE.tar c3750e-universal-tar.122-35.SE2.tar
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
LAN Base Stack
Exception: No Mixed IOS Feature Set
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Agenda
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Cisco Catalyst 3750 Family - QoS Model
Applies to Both 3750v2 and 3750X
Policer Marker
Queue 1
Policer Marker
StackWise
Queue 2
Classify Queue 1
Input
Traffic
SRR SRR
Queue 2 Queue 3
Policer Marker
Queue 4
Policer Marker
• Inspect incoming • Compares incoming • Act on policer • Two queues/port ASIC • Four SRR queues/port shared
packets traffic rate w/ decision shared servicing or shaped servicing
• Assign QOS Label to configured policer and • Reclass or drop • One queue is configurable • One queue is configurable
grouped packet determine if packet is out-of-profile for strict priority servicing for strict priority servicing
• Use ACL, or other IN or Out of Profile. • WTD for congestion • WTD for congestion
configuration to • Either aggregate or control (three thresholds control (three thresholds
determine QOS labels individual flow basis per queue) per queue)
• 256 policers/ASIC • SRR is performed • Egress queue shaping
• Egress port rate limiting
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
Ingress Queuing and Scheduling
Two user-configurable ingress queues/ ASIC
‒Two more queues reserved for the system
‒One queue is an expedite queue – by default maps to voice
traffic
Queues can be shared but not shaped
Shaped Round Robin is used to service these queues
WTD with 3 thresholds is used for congestion avoidance
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
Egress Queuing, Scheduling & Shaping
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
Buffer Allocation – Egress
CPU Pool
140Kb Four Egress Queues
‒ Fixed:
Each queue has 1/4 of per port fixed buffers.
Common Pool ‒ Flexible:
1Mb Common pool provides extra buffers to all queues.
‒ Buffer re-allocation and common pool usage is
configurable – ‗Queue-set‘
Port 1 Queue 4
Port 1 Queue 1
Port 1 Queue 2
Port 2 Queue 1
Port 1 Queue 3
Reserved Pool
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
Cisco Catalyst 3750 Weighted Tail Drop
Four Egress Qs Identify 12 Services
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
Troubleshooting QoS Issues
Command Summary
Check Egress Queue details show platform port-asic stats drop <>
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
Agenda
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
Cisco Catalyst Smart Operations
Intelligence—Health Assessment, Best Practice
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
Before Enabling Auto Smartports
When ASP is enabled with default settings?
Router ISR
device type
PROBLEM : Disturbs existing switch-to-switch, switch-
router connections
Changes the port configuration
MAY affect connectivity Ports go down
SOLUTION :
Disable detection of devices like Switches and ASP enabled
Native vlan changes to vlan 1
Routers by default causing VLAN
Disable ASP on uplink ports and ports connecting to mismatch
routers
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
ASP: configuration
ASP will not take any action for any other Cisco device if detected
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
configuration Contd..
4) Enable ASP
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
Sample Macro Configuration
interface $INTERFACE
macro description $TRIGGER
switchport access vlan $ACCESS_VLAN
switchport mode access
switchport block unicast
if [[ $AUTH_ENABLED -eq NO ]]; then
switchport voice vlan $VOICE_VLAN
fi
switchport port-security maximum 3
switchport port-security maximum 2 vlan access
switchport port-security
switchport port-security aging time 1
switchport port-security violation restrict
switchport port-security aging type inactivity
load-interval 30
auto qos voip cisco-phone
storm-control broadcast level pps 1k
storm-control multicast level pps 2k
storm-control action trap
spanning-tree portfast
spanning-tree bpduguard enable
ip dhcp snooping limit rate 15
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
Agenda
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
Call Out for Other Sessions
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
Q&A
Complete Your Online
Session Evaluation
Give us your feedback and you
could win fabulous prizes.
Winners announced daily.
Receive 20 Passport points for each
session evaluation you complete.
Complete your session evaluation
online now (open a browser through
our wireless network to access our Don‘t forget to activate your
portal) or visit one of the Internet Cisco Live Virtual account for access to
stations throughout the Convention all session material, communities, and
on-demand and live activities throughout
Center. the year. Activate your account at the
Cisco booth in the World of Solutions or visit
www.ciscolive.com.
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
Final Thoughts
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
BRKCRS-3437 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public