Beruflich Dokumente
Kultur Dokumente
T e ch n ica l T r a in in g
Part - II
Anand Patil
anandp@cisco.com
S e s s io n N u m b e r
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 1
First Time Configuration
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 2
First Time Configuration
First time configuration occurs when the switch boots for the first time or when the “setup”
command is executed… Both instances will run the user through the same process
Setup is started
Switch# setup by entering enable mode and running the setup command as follows…
Switch# setup
---
--- System
System Configuration
Configuration Dialog
Dialog ---
---
Continue
Continue with
with configuration
configuration dialog?
dialog? [yes/no]:
[yes/no]: yes
yes
<snip>
<snip>
Basic
Basic management
management setup
setup configures
configures only
only enough
enough connectivity
connectivity
for
for management of the system, extended setup will ask
management of the system, extended setup will ask you
you
to configure each interface on the system
to configure each interface on the system
Would
Would you
you like
like to
to enter
enter basic
basic management
management setup? [yes/no]: no
setup? [yes/no]: no
First,
First, would
would you
you like
like to
to see
see the
the current
current interface
interface summary?
summary? [yes]:
[yes]: no
no
Configuring
Configuring global
global parameters:
parameters:
From this point, the dialog will prompt the user
Enter
Enter host
host name
name [Switch]:
[Switch]: for answers to questions that will prime an
initial set of parameters
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 3
I nitial Configuration Req uirements
The following will step you through some of the basic configuration options you
can choose to implement on your switch…
Setting the enable secret password (this takes precedence over the enable password…
6500(config)#
6500(config)# enable
enable secret
secret 55 DEF456
DEF456
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 4
I nitial Configuration Req uirements
When the enable password is entered it will be displayed in the configuration in
clear text as follows…
6500#
6500# show
show run
run
Building configuration...
Building configuration...
<snip>
<snip>
enable
enable password
password cisco
cisco Password is displayed in
!! clear text format
This can be better secured by encrypting the password when the configuration is
displayed
6500(config)#
6500(config)# service
service password-encryption
password-encryption
6500# show run
6500# show run
Building
Building configuration...
configuration...
<snip>
<snip>
enable
enable password
password 77 070C285F4D06
070C285F4D06 Password is now displayed
!!
in encrypted format
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 5
I nitial Configuration Req uirements
Adding a hostname…
6500(config)#
6500(config)# ipip host
host my-gtwy
my-gtwy 10.1.1.1
10.1.1.1
6500(config)# ^Z
6500(config)# ^Z
6500#
6500# ping
ping my-gtwy
my-gtwy
Type
Type escape
escape sequence
sequence toto abort.
abort.
Sending
Sending 5, 100-byte ICMP Echos
5, 100-byte ICMP Echos to
to 10.1.1.1,
10.1.1.1, timeout
timeout is
is 22 seconds:
seconds:
!!!!!
!!!!!
Success
Success rate
rate is
is 100
100 percent
percent (5/5),
(5/5), round-trip
round-trip min/avg/max
min/avg/max == 1/2/4
1/2/4
ms
ms
6500#
6500#
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 6
I nitial Configuration Req uirements
Setting the clock…
6500#
6500# clock
clock set
set 15:14:00
15:14:00 3030 October
October 2003
2003
6500# show clock
6500# show clock
15:14:02.507
15:14:02.507 UTC
UTC Thu
Thu Oct
Oct 30
30 2003
2003
6500#
6500#
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 7
“Enable Password” Recovery
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 8
Rec ov ering a L ost E nab l e P assw ord
Recovering a lost enable password requires changing the configuration
register. This register is located in NVRAM and contains a 16 bit setting. One
of the bits can be reset to ignore the configuration when the switch starts
up…
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 9
Rec ov ering a L ost E nab l e P assw ord
The default configuration register value can be seen using the “show
version” command as follows…
6500#
6500# show
show version
version
Cisco
Cisco Internetwork Operating
Internetwork Operating System
System Software
Software
IOS
IOS (tm) s72033_rp Software (s72033_rp-PS-M), Version
(tm) s72033_rp Software (s72033_rp-PS-M), Version 12.2(14)SX1,
12.2(14)SX1, EARLY
EARLY
DEPLOY)
DEPLOY)
TAC
TAC Support:
Support: http://www.cisco.com/tac
http://www.cisco.com/tac
Copyright
Copyright (c) 1986-2003
(c) 1986-2003 by
by cisco
cisco Systems,
Systems, Inc.
Inc.
Compiled Tue 27-May-03 20:40 by ccai
Compiled Tue 27-May-03 20:40 by ccai
Image
Image text-base:
text-base: 0x40008C10,
0x40008C10, data-base:
data-base: 0x41ACE000
0x41ACE000
<snip>
<snip>
65536K
65536K bytes
bytes of
of Flash
Flash internal
internal SIMM
SIMM (Sector
(Sector size
size 512K).
512K).
Configuration
Configuration register
register is
is 0x2102
0x2102 The “1” in 0x2102 indicates that the switch
should use the configuration in NVRAM at
startup…
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 10
Rec ov ering a L ost E nab l e P assw ord
Power on (or reload) the switch to initiate the boot-up sequence and use the
BREAK key to interrupt the process as follows…
STEP ONE…
System
System Bootstrap,
Bootstrap, Version
Version 7.1(1)
7.1(1)
Copyright
Copyright (c) 1994-2001 by cisco
(c) 1994-2001 by cisco Systems,
Systems, Inc.
Inc.
c6k_sup2
c6k_sup2 processor with 131072 Kbytes of main memory
processor with 131072 Kbytes of main memory
<<<
<<< <BREAK>
<BREAK> key
key used
used here
here
monitor:
monitor: command
command "boot"
"boot" aborted
aborted due
due to
to user
user interrupt
interrupt
rommon 1 >
rommon 1 > <<
<< ROMMON Prompt indicates switch in
ROMMON Prompt indicates switch in ROM
ROM Monitor
Monitor
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 11
Rec ov ering a L ost E nab l e P assw ord
Next step you need to change the configuration register – you do this by
using the :”CONFREG” command to change bit 8 in the configuration
register as follows…
STEP TWO…
rommon
rommon 11 >> confreg
confreg
Configuration
Configuration Summary
Summary enabled
enabled are:
are:
load rom after netboot fails
load rom after netboot fails
ignore
ignore system
system config
config info
info
console baud: 9600
console baud: 9600
boot:
boot: image
image specified
specified by
by the
the boot
boot system
system commands
commands
or default to: cisco2-c6k_sup2
or default to: cisco2-c6k_sup2
do
do you
you wish
wish to
to change
change the
the configuration?
configuration? y/n
y/n [n]:
[n]: Enter “y” here
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 12
Rec ov ering a L ost E nab l e P assw ord
Accept all defaults to the prompts except when it asks about …
STEP THREE…
do
do you
you wish
wish to
to change
change the
the configuration?
configuration? y/n
y/n [n]:
[n]: yy
enable
enable "diagnostic
"diagnostic mode"?
mode"? y/n
y/n [n]:
[n]:
enable
enable "use net in IP bcast address"? y/n
"use net in IP bcast address"? y/n [n]:
[n]:
disable
disable "load rom after netboot fails"? y/n [n]:
"load rom after netboot fails"? y/n [n]:
enable "use all zero broadcast"? y/n
enable "use all zero broadcast"? y/n [n]: [n]:
enable
enable "break/abort
"break/abort has
has effect"?
effect"? y/n
y/n [n]:
[n]:
disable
disable "ignore system config info"? y/n [n]:
"ignore system config info"? y/n [n]: Enter “y” here
change console baud rate? y/n
change console baud rate? y/n [n]: [n]:
change
change the
the boot
boot characteristics?
characteristics? y/n
y/n [n]:
[n]:
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 13
Rec ov ering a L ost E nab l e P assw ord
When this has finished, enter “n” for modifying the configuration any further
and then use the “boot” command to boot the switch with the new
configuration register setting as follows …
STEP FOUR…
do
do you
you wish
wish to
to change
change the
the configuration?
configuration? y/n
y/n [n]:
[n]: nn
rommon
rommon 22 >> boot
boot
Self
Self decompressing
decompressing the
the image
image ::
################################################]
################################################]
Restricted
Restricted Rights
Rights Legend
Legend
Use,
Use, duplication,
duplication, oror disclosure
disclosure by
by the
the Government
Government is
is
subject to restrictions as set forth in subparagraph
subject to restrictions as set forth in subparagraph
(c)
(c) of
of the
the Commercial
Commercial Computer
Computer Software
Software -- Restricted
Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
Rights clause at FAR sec. 52.227-19 and subparagraph
Switch
Switch continues
continues to
to boot….
boot….
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 14
Rec ov ering a L ost E nab l e P assw ord
When the switch has booted, it will place you in EXEC mode. Enter enable
mode as follows
Switch>
Switch> enable
enable
Switch#
Switch#
The switch bypasses any enable password as the configuration was ignored
on startup..
Next, the startup configuration can be loaded into the running configuration
as follows..
Switch#
Switch# copy
copy startup
startup running
running
Destination filename [running-config]?
Destination filename [running-config]?
6500#
6500# enable
enable
6500(config)#
6500(config)# enable
enable password
password ABC123
ABC123
After copying the startup config in the running config – enter configuration
mode and reset the enable password as required
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 15
Configuring Supervisor 720
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 16
Configuring a S up erv isor 7 2 0
Compact Flash Slots
The Supervisor 720 has two compact flash II slots that are capable of supporting a CFII card or
the IBM compact flash microdrive… Compact flash cards used in these slots can be accessed
by the local Supervisor file management system – they are referenced as disk0: and disk1:
respectively…
Supervisor 720
DISK0:
DISK1:
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 17
Configuring a S up erv isor 7 2 0
Compact Flash Slots
Contents of compact flash in these slots can be viewed by using the “DIR” command shown
as follows…
6500#
6500# dir
dir disk0:
disk0:
Directory
Directory of disk0:/
of disk0:/
11 -rw-
-rw- 26672876
26672876 Sep
Sep 09
09 2003
2003 23:13:50
23:13:50 s72033-ps-mz.122-14.SX1.bin
s72033-ps-mz.122-14.SX1.bin
256417792
256417792 bytes
bytes total
total (229744640
(229744640 bytes
bytes free)
free)
6500#
6500#
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 18
Configuring a S up erv isor 7 2 0
Fr on t E the r n e t P or ts
The Supervisor 720 has three GE ports on the front panel – Port 1 is a Small Form Factor
Pluggable (SFP) – Port 2 consists of an SFP (active by default) and one 10/100/1000 RJ45 –
when the 10/100/1000 is activated, Port 2 SFP will be disabled
Supervisor 720
Port 1
SFP
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 19
Configuring a S up erv isor 7 2 0
Fr on t E the r n e t P or ts
The 10/100/1000 Port can be activated by choosing the RJ45 media type when in interface
configuration mode…
6500(config)#interface
6500(config)#interface g5/2
g5/2
6500(config-if)#media-type
6500(config-if)#media-type ??
rj45
rj45 Use
Use RJ45
RJ45 connector
connector
sfp
sfp Use SFP connector
Use SFP connector
<cr>
<cr>
If the 10/100/1000 port is active, the SFP port can be reactivated (shutting down the RJ45 port)
by using one of the following…
6500(config-if)#
6500(config-if)# no
no media-type
media-type 6500(config-if)#
6500(config-if)# media-type
media-type sfp
sfp
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 20
Configuring a S up erv isor 7 2 0
Sw i tch Fab r i c M od u le
The Supervisor 720 has an integrated Switch Fabric Module providing 18 fabric channels that
are apportioned across each of the slots in the chassis. Each fabric channel can run at 8-Gbps
or 20-Gbps depending on the attached linecard (FDX numbers are 16-Gbps and 40-Gbps per
channel)…
Switch Fabric
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 21
Configuring a S up erv isor 7 2 0
Sw i tch Fab r i c M od u le
The SFM provides 2 fabric channels to each linecard slot in the 6 and 9 slot chassis…
Slot 5
The status of the Switch Fabric can be inspected by using the following command…
6500#
6500# show
show fabric
fabric status
status
slot
slot channel
channel speed
speed module
module fabric
fabric
status
status status
status
11 00 8G
8G OK
OK OK
OK
22 00 8G
8G OK
OK OK
OK
33 00 8G
8G OK
OK OK
OK
55 00 20G
20G OK
OK OK
OK
The utilization of the Switch Fabric can be inspected by using the following command…
6500#
6500# show
show fabric
fabric utilization
utilization
slot
slot channel
channel speed
speed Ingress
Ingress %% Egress
Egress %%
11 00 8G
8G 28
28 00
22 00 8G
8G 00 00
33 00 8G
8G 00 25
25
55 00 20G
20G 00 00
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 23
Configuring a S up erv isor 7 2 0
Sw i tch Fab r i c M od u le M od e s
During troubleshooting, the Switch Fabric Module can be inspected for transmission errors –
the command to inspect for errors on the Switch fabric module is as follows….
6500#
6500# show
show fabric
fabric errors
errors
Module errors:
Module errors:
slot
slot channel
channel crc
crc hbeat
hbeat sync
sync DDR
DDR sync
sync
11 00 00 00 00 00
22 00 00 00 00 00
33 00 00 00 00 00
55 00 00 00 00 00
Fabric
Fabric errors:
errors:
slot
slot channel
channel sync
sync buffer
buffer timeout
timeout
11 00 00 00 00
22 00 00 00 00
33 00 00 00 00
55 00 00 00 00
6500#
6500#
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 24
Configuring Interfaces
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 25
U nd erstand ing I nterfac es
Each Ethernet interface type uses nomenclature unique to its operating characteristics. Each
of the interface types is explained below…
6500(config)#
6500(config)#interface
interfaceethernet
ethernetx/y
x/y All
Allports
portsreferenced
referencedby
byX/Y
X/Yindicate
indicate
the
thefollowing
following
“X”
“X”isisthe
theslot
slotnumber
number––slot
slot
6500(config)#
6500(config)#interface
interfaceFastthernet
Fastthernetx/y
x/y numbers
numbers start from 1 at thetop
start from 1 at the topfor
for
ofofthe
thechassis
chassis(horizontal
(horizontalmounted
mounted
linecards)
linecards)
6500(config)#
6500(config)#interface
interfaceGigabitethernet
Gigabitethernetx/y
x/y
“Y”
“Y”isisthe
theactual
actualport
portnumber
numberonon
the linecard itself – port numbers
the linecard itself – port numbers
start
startfrom
from11from
fromthe
theleft
lefthand
handside
side
6500(config)#
6500(config)#interface
interfaceTengigabitethernet
Tengigabitethernetx/y
x/y ofofthe
thelinecard
linecard
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 26
S h utting and Restarting I nterfac es
When the switch powers up for the first time, it will revert all interfaces into shutdown mode –
interfaces need to be enabled before normal operation can begin…
6500(config)#
6500(config)# interface
interface g1/3
g1/3
6500(config-if)# shutdown
6500(config-if)# shutdown Places port in shutdown mode
6500#show
6500#show interface
interface g1/3
g1/3
GigabitEthernet1/3 is
GigabitEthernet1/3 is administratively
administratively down,
down, line
line protocol
protocol is
is down
down (disabled)
(disabled)
Hardware is C6k 1000Mb 802.3, address is 000b.45e3.8080 (bia 000b.45e3.8080)
Hardware is C6k 1000Mb 802.3, address is 000b.45e3.8080 (bia 000b.45e3.8080)
6500(config)#
6500(config)# interface
interface g1/3
g1/3
6500(config-if)# no shutdown
6500(config-if)# no shutdown Enables port
6500#show
6500#show interface
interface g1/3
g1/3
GigabitEthernet1/3
GigabitEthernet1/3 is up,
is up, line
line protocol
protocol is
is up
up (connected)
(connected)
Hardware
Hardware is C6k 1000Mb 802.3, address is 000b.45e3.8080 (bia
is C6k 1000Mb 802.3, address is 000b.45e3.8080 (bia 000b.45e3.8080)
000b.45e3.8080)
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 27
Configuring I nterfac es
When running IOS, Ethernet ports can be configured with one of three interface types, Access,
Trunk or Router. Interfaces in IOS assume a different default behavior than those same ports
under CatOS in that they default to Layer 3 ports and are shutdown on initial startup.
Supervisor Engine
Supervisor
Supervisor MSFC
MSFC
Layer 3 VLAN
SVI SVI
Interface
Linecard
Shutdown Shutdown
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 28
I nterfac e Ranges
IOS allows a group of ports to be configured at the same time with the same CLI command.
This is achieved using the “range” command. Once the range command has been entered,
you will enter the interface range configuration mode and subsequent commands entered in
this mode will apply to the interface range just specified…
6500(config)#interface
6500(config)#interface range
range gigabitEthernet
gigabitEthernet 1/12
1/12 -- 16
16
6500(config-if-range)#no
6500(config-if-range)#no shutdown
shutdown
6500(config-if-range)#
6500(config-if-range)#
1w4d:
1w4d: %LINK-3-UPDOWN:
%LINK-3-UPDOWN: Interface
Interface GigabitEthernet1/12,
GigabitEthernet1/12, changed
changed state
state to
to up
up
1w4d:
1w4d: %LINK-3-UPDOWN:
%LINK-3-UPDOWN: Interface
Interface GigabitEthernet1/13,
GigabitEthernet1/13, changed
changed state
state to
to up
up
1w4d:
1w4d: %LINK-3-UPDOWN:
%LINK-3-UPDOWN: Interface
Interface GigabitEthernet1/14,
GigabitEthernet1/14, changed
changed state
state to
to up
up
1w4d:
1w4d: %LINK-3-UPDOWN:
%LINK-3-UPDOWN: Interface
Interface GigabitEthernet1/15,
GigabitEthernet1/15, changed
changed state
state to
to up
up
1w4d:
1w4d: %LINK-3-UPDOWN:
%LINK-3-UPDOWN: Interface
Interface GigabitEthernet1/16,
GigabitEthernet1/16, changed
changed state
state to
to up
up
6500(config-if-range)#
6500(config-if-range)#
This example shows 5 Gigabit Ethernet interfaces being enabled at the same time…
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 29
I nterfac e Range Mac ro
If a group of interfaces is configured on a regular basis, it might be more pertinent to define a
macro that associates a name with that group of interfaces. This way, the entrance into range
configuration mode can be made much easier…
6500(config)#
6500(config)#define
defineinterface-range
interface-rangemacro
macromacro_name
macro_name(vlan
(vlanvlan_id
vlan_id––vlan_id
vlan_id) )| |type
type
port/slot
port/slot- -port
port
S INT G1/1
W
I INT G1/2 6500(config)#
6500(config)# define
define interface-range
interface-range admin
admin g1/1
g1/1 -- 44
6500(config)#
6500(config)# interface
interface range
range macro
macro admin
T INT G1/3 6500(config-if-range)#
admin
C 6500(config-if-range)#
H INT G1/4
The four gigabit interfaces have been associated with the
“admin” macro…
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 30
O th er I nterfac e Configuration O p tions…
Port speed can be configured on multi speed ports including 10/100 and 10/100/1000 ports…
SWITCH A SWITCH B
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 31
O th er I nterfac e Configuration O p tions…
Duplex setting can be configured on multi speed ports including 10/100 and 10/100/1000
ports… The duplex setting defines the ports transmission ability to send and receive
simultaneously (full duplex), or, to send OR receive (but not at the same time – also known
as half duplex)…
SWITCH A SWITCH B
6500(config-if)#
6500(config-if)# duplex
duplex ??
full
full Force
Force full
full duplex
duplex operation
operation
half Force half-duplex operation
half Force half-duplex operation
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 32
U nd erstand ing J umb o Frames…
Jumbo Frame support allows an Ethernet port to switch an Ethernet packet larger than the
default maximum size of 1518 bytes … It is configured by specifying a global MTU size and a
per port (or per VLAN ) MTU size…
1548 Bytes
HDR DATA
9216 Bytes
Note - Jumbo frame support across different vendor platforms differs slightly in the jumbo
frame size that they support…
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 33
Configuring J umb o Frames…
The size of the frame on INGRESS is compared to the global LAN MTU size – ingress packets
larger than this value are dropped …
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 34
Configuring J umb o Frames…
P FC che ck f or r ou te d tr af f i c
When the source and destination interfaces contain large enough MTU sizes, the PFC will
successfully layer 3 switch jumbo frames – IF the egress MTU is not large enough, and “Do
not Fragment bit” is NOT set, the packet is forwarded to MSFC for fragmentation, otherwise
its dropped…
1
IfIfMTU
MTUofof“C”
“C”isis>=
>=MTU
MTU“A”
“A”AND
AND
packets
packets“DO“DONOT
NOTFRAGMENT
FRAGMENTbit
bitisis
not
notset,
set,then
thenforward
forwardtotoMSFC
MSFCfor
for
fragmentation…
fragmentation… MSFC
1
Data Ingress PFC Egress
2
MTU=“A” MTU=“B” MTU=“C”
2
IfIfMTU
MTUofof“C”
“C”isis>=
>=MTU
MTU“A”
“A”AND
ANDpackets
packets
“DO
“DONOT
NOTFRAGMENT
FRAGMENTbit bitSET,
SET,then
thenDROP
DROP
packet…
packet…
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 35
Monitoring I nterfac es
Show interface displays a number of statistics about the running operation of that interface…
6500#
6500# show
show interface
interface g1/5
g1/5
GigabitEthernet1/5
GigabitEthernet1/5 is up,
is up, line
line protocol
protocol isis up
up (connected)
(connected)
Hardware
Hardware is C6k 1000Mb 802.3, address is 0009.11f0.5284 (bia
is C6k 1000Mb 802.3, address is 0009.11f0.5284 (bia
0009.11f0.5284)
0009.11f0.5284)
MTU
MTU 1500
1500 bytes,
bytes, BW
BW 1000000
1000000 Kbit,
Kbit, DLY
DLY 10
10 usec,
usec,
reliability
reliability 255/255, txload 1/255, rxload 1/255
255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not
Encapsulation ARPA, loopback not set set
Auto-duplex,
Auto-duplex, Auto
Auto Speed,
Speed, media
media type
type is
is RJ45
RJ45
output
output flow-control is unsupported, input flow-control
flow-control is unsupported, input flow-control isis unsupported,
unsupported,
1000Mbs
1000Mbs
Clock
Clock mode
mode is
is auto
auto
input
input flow-control is
flow-control is off,
off, output
output flow-control
flow-control is is off
off
ARP type: ARPA, ARP Timeout 04:00:00
ARP type: ARPA, ARP Timeout 04:00:00
Last
Last input
input never,
never, output
output 00:00:22,
00:00:22, output
output hang
hang never
never
Last clearing of "show interface" counters
Last clearing of "show interface" counters never never
Input
Input queue:
queue: 0/2000/0/0
0/2000/0/0 (size/max/drops/flushes);
(size/max/drops/flushes); Total Total output
output drops:
drops: 00
Queueing
Queueing strategy:
strategy: fifo
fifo
<snip>
<snip>
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 36
Configuring L2 Interfaces
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 37
Configuring VLANs
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 38
Spanning Tree
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 39
IP Routing
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 40
Cisco 7600 NSF/SSO
( N on -S t op F or w a r d in g / S t a t e f u l S w it ch O v e r )
S e s s io n N u m b e r
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 41
Cisco 7600 S u p e r v isor R e d u n d a n cy
O v e r v ie w
SSO
S tandb y is ac tive with in 3 sec onds. .
I nterf ac es stay up. S tatef ul L 2 switc h over.
R P R +
S tandb y is ac tive with in 3 0 + N SF / SSO
sec onds. L ine c ards do not reset.
S tandb y is ac tive with in
3 sec onds. G rac ef ul L 3
switc h over.
R P R
S tandb y is ac tive with in 9 0 + sec onds.
L ine c ards reload. I nterf ac es reset.
L 2 / L 3 protoc ols restarted.
P h y s ic a lr e d u n d a n c y
Redundant supervisors, power supplies,
switc h f ab ric s, c loc k s
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 42
Non Stop Forwarding & State f u l Switc h ov e r
( NSF/ SSO )
Non Stop Forwarding (NSF) with Stateful Switch Over (SSO) allows the standy Supervisor to
take control and continue forwarding data in the event of the active Supervisor failing.
Stateful
StatefulSwitchover
Switchover
Allows
Allowsthe
thestandby
standbyRP
RP A c ti v e
tototake
takeimmediate
Sta n d b y
immediate
control
controland
andmaintain
maintain
connectivity
connectivityprotocols.
protocols.
Non
NonStop
StopForwarding
Forwarding
Line Card
Continues Data Line Card
Continuestotoforward
forwardon
Data
on
the
thepre-switchover
pre-switchoverFIB FIB Line Card Data Data
until
untilthe
therouting
routing Line Card
protocols
protocolsupdate
updateit.it.
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 43
N S F /S S O
N S F -A w a r e N e ig h b or s
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 44
N S F /S S O
O p e r a t ion
S A tandb
c tivey S A tandb
c tive y
RP RP N ew R P l earn s R I B
ou t of b an d f rom N SF -
aw are n ei g h b ors
F IB an d ad j ac en c y tab l es
S P S P
STP, Port, VTP States,
L 2 , L 3 F I B , N etf l ow , A C L Tab l es
D FCx D F C ’s N ot af f ec ted b y
Su p erv i sor F ai l ov er
L 2 , L 3 F I B , N etf l ow , A C L Tab l es
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 45
Configuring and Monitoring
N SF / SSO
P r e s e n ta tio n _ ID ©
© 2 2 0 0 0 0 3 4 , C C i is s c c o o S S y y s s t t e e m m s s , , I I n n c c . . A A l l l r r i ig g h h t t s s r r e e s s e e r r v v e e d d . . 46
Configuring NS F/ S S O
SSO configuration
Sup720(config)#redundancy
Sup720(config)#redundancy
Sup720(config-red)#mode
Sup720(config-red)#mode ??
rpr
rpr Route
Route Processor
Processor Redundancy
Redundancy
rpr-plus
rpr-plus Route Processor Redundancy Plus
Route Processor Redundancy Plus
sso
sso Stateful Switchover
Stateful Switchover
NSF configuration
EIGRP
EIGRPNSFNSFconfiguration
configuration
Router(config)#router
Router(config)#router eigrpeigrp 11
Router(config-router)#nsf
O O SPF
SPFNSF
NSFconfiguration
Router(config-router)#nsf
configuration
Router(config)#router
Router(config)#router ospf ospf 11
Router(config-router)#nsf
ISIS
ISISNSF
NSFconfiguration
Router(config-router)#nsf
configuration
Router(config)#router
Router(config)#router isis isis
Router(config-router)#nsf
Router(config-router)#nsf <cisco|ietf>
B B GP
GPNSF
NSFconfiguration
<cisco|ietf>
configuration
Router(config)#router
Router(config)#router bgp bgp 11
Router(config-router)#bgp
Router(config-router)#bgp graceful-restart
graceful-restart
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 47
Monitoring Red und anc y
Switchover mode and status
Router#show
Router#show redundancy
redundancy
Redundant
Redundant System Information
System Information ::
------------------------------
------------------------------
Available
Available system
system uptime
uptime == 44 days,
days, 16
16 hours,
hours, 49
49 minutes
minutes
Switchovers system experienced
Switchovers system experienced = 1 = 1
Standby
Standby failures
failures == 00
Last
Last switchover reason
switchover reason == user
user initiated
initiated
Hardware Mode = Duplex
Hardware Mode = Duplex
Configured
Configured Redundancy
Redundancy Mode
Mode == sso
sso
Operating Redundancy Mode =
Operating Redundancy Mode = sso sso
Maintenance
Maintenance Mode
Mode == Disabled
Disabled
Communications =
Communications = Up Up
Current
Current Processor
Processor Information
Information ::
-------------------------------
-------------------------------
Active
Active Location
Location == slot
slot 55
Current Software state = ACTIVE
Current Software state = ACTIVE
Uptime
Uptime in
in current
current state
state == 22 minutes
minutes
<snip>
<snip>
Peer
Peer Processor
Processor Information
Information ::
----------------------------
----------------------------
Standby
Standby Location
Location == slot
slot 66
Current
Current Software
Software state
state == STANDBY
STANDBY HOT
HOT
Uptime
Uptime in
in current
current state
state == 11 minute
minute
<snip>
<snip>
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 48
Monitoring Red und anc y
Reason and time of last switchover
Sup720#show
Sup720#show redundancy
redundancy switchover
switchover
Switchovers
Switchovers this system has
this system has experienced
experienced :: 22
Last switchover reason
Last switchover reason :: User
User initiated.
initiated.
Uptime
Uptime since
since this
this supervisor
supervisor switched
switched to
to active
active :: 11 week,
week, 33 days,
days,
21 hours, 20 minutes
21 hours, 20 minutes
Total
Total system
system uptime
uptime from
from reload
reload :: 11 week,
week, 33 days,
days,
21 hours, 30 minutes
21 hours, 30 minutes
Router#redundancy
Router#redundancy force-switchover
force-switchover
Router#reload
Router#reload slot <active
slot <active supervisor
supervisor slot
slot number>
number>
Router#diagnostic
Router#diagnostic schedule module <active supervisor slot
schedule module <active supervisor slot
number> test <switchover test number>.
number> test <switchover test number>.
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 50
Monitoring NS F
CEF NSF information
Router#show
Router#show cef
cef nsf
nsf
Last switchover occured:
Last switchover occured: 00:08:06.340
00:08:06.340 ago
ago
Routing convergence duration:
Routing convergence duration: 00:02:03.252
00:02:03.252
FIB
FIB stale entry purge durations: 00:00:00.000 -- Default
stale entry purge durations: 00:00:00.000 Default
Switchover
Switchover
Slot
Slot Count
Count Type
Type Quiesce
Quiesce Period
Period
7/0
7/0 11 sso
sso 00:00:00.000
00:00:00.000
5/0
5/0 11 sso
sso 00:00:00.336
00:00:00.336
No
No NSF stats available for the
NSF stats available for the following
following linecards:
linecards: 6/0
6/0
NSF and redundancy mode information
Router#show
Router#show cef
cef state
state
CEF Status [RP]
CEF Status [RP]
CEF
CEF enabled/running
enabled/running
dCEF
dCEF enabled/running
enabled/running
CEF
CEF switching enabled/running
switching enabled/running
CEF default capabilities:
CEF default capabilities:
<snip>
<snip>
CEF
CEF NSF
NSF capable:
capable: yes
yes
RPR+/SSO
RPR+/SSO standby
standby capable:
capable: yes
yes
<snip>
<snip>
RRP
RRP state:
state:
<snip>
<snip>
Config
Config Redundancy
Redundancy mode:
mode: sso(7)
sso(7)
Operating
Operating Redundancy mode:
Redundancy mode: sso(7)
sso(7)
CEF NSF:
CEF NSF: enabled/running
enabled/running
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 51
Understanding Power and Environmental
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 52
U nd erstand ing P ow er
All Catalyst 7600 chassis options support redundant power supplies. Power Supply options
include both AC and DC versions
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 53
U nd erstand ing P ow er Red und anc y
The 6500 can utilize two power supplies to work in either combined or redundant mode
Switch Switch
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 54
E ffec ts of P ow er Ch anges
R e d u n d an t to N on R e d u n d an t
When changing from redundant mode to non redundant mode, the following occurs
Switch Switch
Redundant Mode Combined Mode
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 55
E ffec ts of P ow er Ch anges
N on R e d u n d an t to R e d u n d an t
When changing from Non redundant mode to redundant mode, the following occurs
Switch Switch
Combined Mode Redundant Mode
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 56
E ffec ts of P ow er Ch anges
E q u al P SU ad d e d to R e d u n d an t con f i g u r ati on
When adding a Power Supply to a redundant mode switch, the following occurs
Switch Switch
Redundant Mode Redundant Mode
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 57
E ffec ts of P ow er Ch anges
E q u al P SU ad d e d to Comb i n e d con f i g u r ati on
When adding a Power Supply to a combined mode switch, the following occurs
Switch Switch
Combined Mode Combined Mode
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 58
E ffec ts of P ow er Ch anges
U n e q u al P SU ad d e d to Comb i n e d con f i g u r ati on
When adding an unequal power supply to a combined mode switch, the following occurs
Switch Switch
Combined Mode Combined Mode
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 59
E ffec ts of P ow er Ch anges
P SU r e mov e d R e d u n d an t con f i g u r ati on
When adding a Power Supply to a redundant mode switch, the following occurs
Switch Switch
Redundant Mode Redundant Mode
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 60
E ffec ts of P ow er Ch anges
B ooti n g w i th U n e q u al P SU i n R e d u n d an t con f i g u r ati on
When booting with unequal power supplies in redundant mode, the following occurs
Switch Switch
Redundant Mode Redundant Mode
Power 100%
Power
Supply
Supply
Y Watts
X Watts
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 61
E ffec ts of P ow er Ch anges
B ooti n g w i th U n e q u al P SU i n Comb i n e d con f i g u r ati on
When booting with unequal power supplies in redundant mode, the following occurs
Switch Switch
Redundant Mode Combined Mode
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 62
U nd erstand ing P ow er
P ow e r i n g M od u le s O n an d O f f an d P ow e r Cy cli n g
The 6500 power management code allows individual modules to be powered on and off or
power cycled selectively – this is an important feature especially for some service modules
which require to be powered down prior to removing them from the chassis
Linecard #1 Linecard #1
Linecard #2 Linecard #2
Linecard #3 Linecard #3
Linecard #4 Linecard #4
Sup720 Sup720
Sup720 Sup720
Linecard #7 Linecard #7
Linecard #8 Selective Modules can Linecard #8
Linecard #9 be shutdown Linecard #9
In this example, module
PSU PSU 2 and 7 are shutdown PSU PSU
#1 #2 while others continue to #1 #2
operate normally
Catalyst 6509 Catalyst 6509
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 63
S h ow P ow er
The power status of the 6500 can be viewed using the following command
6500#
6500# show
show power
power
system
system power redundancy
power redundancy mode
mode == combined
combined
system power total
system power total == 3885.00
3885.00 Watts
Watts (92.5
(92.5 Amps
Amps @@ 42V)
42V)
system power used
system power used == 774.90
774.90 Watts (18.45 Amps @ 42V)
Watts (18.45 Amps @ 42V)
system power available = 3110.10 Watts (74.05 Amps
system power available = 3110.10 Watts (74.05 Amps @ 42V) @ 42V)
Power-Capacity
Power-Capacity PS-Fan
PS-Fan Output
Output Oper
Oper
PS
PS Type
Type Watts
Watts A @42V Status Status State
A @42V Status Status State
----
---- ------------------ ------- ------ ------
------------------ ------- ------ ------ ------
------ -----
-----
11 WS-CAC-2500W
WS-CAC-2500W 2331.00 55.50
2331.00 55.50 OK OK OK
OK on
on
22 WS-CAC-2500W
WS-CAC-2500W 2331.00 55.50
2331.00 55.50 OK OK OK
OK on
on
Pwr-Requested
Pwr-Requested Pwr-Allocated Admin
Pwr-Allocated Admin Oper
Oper
Slot Card-Type
Slot Card-Type Watts
Watts A @42V Watts
A @42V Watts A @42V State State
A @42V State State
----
---- ------------------ ------- ------ ------- ------ -----
------------------ ------- ------ ------- ------ ----- -----
-----
11 WS-X6516-GE-TX
WS-X6516-GE-TX 144.90 3.45
144.90 3.45 144.90 3.45
144.90 3.45 on on on
on
55 WS-SUP720-BASE
WS-SUP720-BASE 315.00 7.50
315.00 7.50 315.00 7.50
315.00 7.50 on on on
on
66 -- -- 315.00 7.50
315.00 7.50 - - --
6500#
6500#
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 64
Environmentals
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 65
U nd erstand ing E nv ironmental s
The Catalyst 6500 monitors key environment indicators in the chassis and these indicators can
be displayed using a set of special commands as follows
6500#
6500# show
show environment
environment ??
alarm
alarm show
show environmental
environmental alarms
alarms
cooling
cooling show cooling parameters
show cooling parameters
status
status operational
operational status
status of
of FRU
FRU
temperature temperature readings
temperature temperature readings
|| Output
Output modifiers
modifiers
<cr>
<cr>
Any environmental alarms that have been triggered can be viewed as follows
6500#
6500# show
show environment
environment alarm
alarm ??
status
status show
show alarm
alarm status
status
thresholds show alarm thresholds
thresholds show alarm thresholds
|| Output
Output modifiers
modifiers
<cr>
<cr>
6500#
6500# show
show environment
environment alarm
alarm
environmental alarms:
environmental alarms:
no
no alarms
alarms
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 66
U nd erstand ing E nv ironmental s
Cooling information can also be displayed as follows
6500#
6500# show
show environment
environment cooling
cooling ??
all
all selects
selects all
all FRU-types
FRU-types
fan-tray
fan-tray specify fan-tray <number>
specify fan-tray <number>
module
module specify module <slot>
specify module <slot>
|| Output
Output modifiers
modifiers
<cr>
<cr>
6500#
6500# show
show environment
environment cooling
cooling fan-tray
fan-tray
fan-tray 1:
fan-tray 1:
fan-tray
fan-tray 11 version:
version: 22
fan-tray
fan-tray 11 fan-fail:
fan-fail: OK
OK
6500#
6500# show environment cooling module
show environment cooling module 11
module
module 11 cooling
cooling requirement:
requirement: 30
30 cfm
cfm
6500#
6500#
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 67
U nd erstand ing E nv ironmental s
Temperature information can also be displayed as follows
6500#
6500# show
show environment
environment temperature
temperature ??
all
all selects
selects all
all FRU-types
FRU-types
backplane specify backplane
backplane specify backplane
earl
earl specify
specify earl
earl <slot>
<slot>
module
module specify
specify module <slot>
module <slot>
rp
rp specify
specify RP (MSFC) <slot>
RP (MSFC) <slot>
vdb
vdb specify vdb <slot>
specify vdb <slot>
vtt
vtt specify
specify VTT
VTT <number>
<number>
|| Output modifiers
Output modifiers
<cr>
<cr>
6500#
6500# show
show environment
environment temperature
temperature module
module 11
module
module 11 outlet
outlet temperature:
temperature: 36C
36C
module 1 inlet temperature: 25C
module 1 inlet temperature: 25C
6500#
6500#
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 68
I P M u l t ica st S w it ch in g on t h e 7600
S u p e r v isor E n g in e 72 0
S e s s io n N u m b e r
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 69
U nic ast v s. Mul tic ast
Unicast
H o st
R o uter
M u l ticast
H o st
R o uter
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 70
Mul tic ast P rotoc ol s
S ourc e
S ourc e
N o sig naling
I ntradom ain: D V M RP , P I M ,
M O S P F , C B T ,. . .
I nterdom ain: M B G P / M S D P
IG M P
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 71
S up erv isor 7 2 0 I P Mul tic ast O v erv iew
• Su p e r v i s or 7 2 0 s u p p or ts c e n tr a l a n d
d i s tr i b u te d h a r d w a r e s w i tc h i n g of I P v 4
m u lti c a s t tr a f f i c
• I P m u lti c a s t f or w a r d i n g i n h a r d w a r e w i th
p e r f or m a n c e u p to 2 15 M p p s ! I P v 4 P I M -
SM / B i D i r m u lti c a s t
• O f f -loa d s f or w a r d i n g ta s k s f r om R P —R P
on ly h a n d le s c on tr ol p la n e f u n c ti on s (r u n
m u lti c a s t p r otoc ols , m a i n ta i n s ta te )
• Su p p or ts (S, G ) a n d (* , G ) i n h a r d w a r e
• A ls o s u p p or ts B i D i r (* , G ) i n h a r d w a r e
• A p p li c a ti on of A C L s , Q oS, & oth e r
f e a tu r e s on m u lti c a s t tr a f f i c i n h a r d w a r e
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 72
I P Mul tic ast Control P l ane
• B oth R P a n d SP p r ov i d e s s u p p or t to I P m u lti c a s t c on tr ol p la n e
f u n c ti on s .
• R P r u n s a ll of th e m c a s t r ou ti n g p r otoc ols i n s of tw a r e , a ls o m a n a g e
m c a s t s ta te .
Control plane protocols—P I M , I G M P , A u toR P , B S R , M S D P , rou ti ng protocols
Calcu lati ng R P F i nterf aces
M anag i ng sof tw are I P m rou te tab le
D ow nload i ng I P m rou te tab le entri es to S P f or i nstallati on i n th e P F C h ard w are
• SP h a n d le s :
P rog ram m i ng th e P F Cs/ D F C3 h w w i th m cast F I B and A D J tab le entri es
P rog ram m i ng th e M E T i n th e m cast repli cati on eng i nes
I G M P S noopi ng / P I M S noopi ng pack et processi ng
I d enti f y i ng th e m cast rou ter ports
S end I G M P g eneral q u eri es w h en I G M P q u eri er f u ncti on i s enab led
P eri od i cally polli ng th e h w m cast stati sti cs and send u pd ates to th e R P CP U
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 73
S up erv isor 7 2 0 H ard w are Mul tic ast
S w itc h ing
• R P C P U b u i ld s m u lti c a s t r ou ti n g ta b le
• L 3 m r ou te i n f or m a ti on i s s a v e d i n H W i n
M u lti c a s t F I B T C A M , A d j a c e n c i e s ta b le ,
a n d M u lti c a s t E x p a n s i on T a b le s (M E T )
M ultic ast F I B c onsists of ( S ,G ) and ( * ,G )
entries, and RP F V L A N
A dj ac enc y tab le c ontains rewrite inf o and
M E T index
M E T c ontains output interf ac e lists ( O I L s) —
i. e. , lists of interf ac es req uiring replic ation
• R P C P U d ow n loa d s ta b le s to SP C P U
• SP C P U i n s ta lls ta b le s i n th e a p p r op r i a te
h a rd w a re
M ultic ast F I B and A dj ac enc y tab les installed
in P F C / D F C h ardware
M E T installed in replic ation eng ines
• SP C P U m a n a g e s L 2 ta b le f or I G M P
s n oop i n g
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 74
Q oS for Mul tic ast
Su p e r v i s or E n g i n e 7 2 0 of f e r s e x te n s i v e Q u a li ty of Se r v i c e (Q oS)
f e a tu r e s i n h a r d w a r e f or I P v 4 m u lti c a s t tr a f f i c :
• C la s s i f i c a ti on —B a s e d on p or t tr u s t c on f i g u r a ti on or b a s e d on L a y e r 3
a n d L a y e r 4 i n f or m a ti on u s i n g Q oS A C L s .
• I n g r e s s Sc h e d u li n g —B a s e d on th e C la s s of Se r v i c e (C O S) v a lu e on
i n g r e s s I SL or 8 02 .1Q tr u n k i n te r f a c e s
• E g r e s s Sc h e d u li n g —B a s e d on C O S, I P P r e c e d e n c e , or D i f f e r e n ti a te d
Se r v i c e s C od e P oi n t (D SC P ) v a lu e s
• M a r k i n g —B a s e d on a v a r i e ty of p a r a m e te r s , i n c lu d i n g f u ll L a y e r 3 a n d
L a y e r 4 i n f or m a ti on u s i n g Q oS A C L s
• P oli c i n g —B a s e d on a v a r i e ty of p a r a m e te r s , i n c lu d i n g f u ll L a y e r 3 a n d
L a y e r 4 i n f or m a ti on u s i n g Q oS A C L s
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 75
I G MP Snoop ing and P I M
Snoop ing
P r e s e n ta tio n _ ID ©
© 2 2 0 0 0 0 4 4 , C C i is s c c o o S S y y s s t t e e m m s s , , I I n n c c . . A A l l l r r i ig g h h t t s s r r e e s s e e r r v v e e d d . . 76
I G MP S noop ing
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 77
I G MP S noop ing
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 78
P I M S noop ing
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 79
P I M S noop ing
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 80
M u l t ica st R ou t in g P r ot ocol s S u p p or t e d on S u p 72 0
• P IM -D M
• P IM -SM
• P IM -SSM
• Bi d i r-P IM
• M SD P
• A uto -R P
• M V P N
• IG M P
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 81
Mul tic ast Configuration and
Monitoring
P r e s e n ta tio n _ ID ©
© 2 2 0 0 0 0 4 4 , C C i is s c c o o S S y y s s t t e e m m s s , , I I n n c c . . A A l l l r r i ig g h h t t s s r r e e s s e e r r v v e e d d . . 82
P I M S M Configuration Command s
router(config)#
i p m u lti c a s t-r ou ti n g
router(config-if)#
ip p im { s p a r s e -m od e | s p a r s e -d e n s e -m od e }
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 83
Configuring Rend ez v ous-P oint
router(config)#
ip p im r p -a d d r e s s ip-a d d r e s s [g r o u p-a c c e s s -l is t -n u m b e r ] [ov e r r i d e ]
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 84
Find ing P I M Neigh b ors
router#
s h ow ip p im i n te r f a c e [t y pe n u m b e r ] [c ou n t]
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 86
I nsp ec ting Mul tic ast Routing Tab l e
router#
sh o w i p m ro ute [group-a d d re s s ] [sum m a ry ] [c o unt] [a c ti ve k b ps ]
• Disp l ay s th e c onte nts of th e I P m ul tic ast routing tab l e
• Sum m ary —disp l ay s a one -l ine , ab b re v iate d
sum m ary of e ac h e ntry in th e I P m ul tic ast routing
tab l e .
• Count—disp l ay s statistic s ab out th e group and
sourc e , inc l uding num b e r of p ac k e ts, p ac k e ts p e r
se c ond, av e rage p ac k e t siz e , and b its p e r se c ond.
• A c tiv e —disp l ay s th e rate th at ac tiv e sourc e s are
se nding to m ul tic ast group s. A c tiv e sourc e s are
th ose se nding at a rate of k b ps or h igh e r. T h e k b ps
argum e nt de faul ts to 4 k b p s.
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 87
Monitoring P I M and P I M S noop ing S tate
• Sh ow i p i g m p g r ou p
• Sh ow m a c -a d d r e s s -ta b le m u lti c a s t i g m p -s n oop i n g [c ou n t]
• Sh ow ip p im i n te r f a c e d e ta i l
• Sh ow ip p im n e i g h b or
• Sh ow ip p im rp
• Sh ow i p [v la n ] s n oop i n g
• Sh ow ip p im s n oop i n g [v la n ] s ta ti s ti c s
• Sh ow ip p im s n oop i n g [v la n ] n e i g h b or
• Sh ow ip p im s n oop i n g [v la n ] m r ou te
• Sh ow ip p im s n oop i n g [v la n ] m a c -g r ou p
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 88
Monitoring I G MP and I G MP S noop ing S tate
• Sh ow ip igm p group
• Sh ow m ac -addre ss-tab l e m ul tic ast igm p -snoop ing
[ c ount]
• Sh ow ip igm p inte rfac e
• Sh ow ip igm p snoop ing m route
• Sh ow ip igm p rate -l im iting [ statistic s]
P r e s e n ta tio n _ ID ©2 0 0 4 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 89
P r e s e n ta tio n _ ID ©2 0 0 4 , C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . 90