Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Practical Introduction
XR Training / lwigley
Cisco Confidential
XR Training / lwigley
Cisco Confidential
History of IOS XR
IOS originally optimized for slow CPUs
(circa 1987)
XR Training / lwigley
Cisco Confidential
XR Command Modes
SDR Exec Normal operations - monitoring routing and CEF
RP/0/RP0/CPU0:router#
show running-config
show cef summary location 0/5/CPU0
taskgroup admins
policy-map foo
ipv4 access-list block-junk
config-register 0x0
install add (also in SDR)
Admin Config
RP/0/RP0/CPU0:router(admin-config)#
sdr backbone location 0/5/*
pairing reflector location 0/3/* 0/4/*
XR Training / lwigley
Cisco Confidential
POWER
SUPPLIES
CRS-1
CABLE MGMT
PLIM
FAN
CTRL
PLIM
POWER
SUPPLIES
AIR OUT
FAN TRAY
[RACK]/0/CPU0
[RACK]/RP1/CPU0
F
A
B
MSC R MSC
I
C
[RACK]/0/SM0
CABLE MGMT
PLIM
R R
P P
PLIM
AIR
INTAKE
XR Training / lwigley
CABLE MGMT
RP/0/RP0/CPU0:CRS(admin)#show platform
Node
Type
PLIM
State
Config State
-------------------------------------------------------------------------0/0/SP
UNKNOWN(SP)
N/A
PRESENT
PWR,NSHUT,MON
0/2/SP
MSC(SP)
N/A
IOS XR RUN
PWR,NSHUT,MON
0/2/CPU0
MSC
4OC192-POS/DPT IOS XR RUN
PWR,NSHUT,MON
0/5/SP
MSC(SP)
N/A
IOS XR RUN
PWR,NSHUT,MON
0/5/CPU0
MSC
Jacket Card
IOS XR RUN
PWR,NSHUT,MON
0/5/0
MSC(SPA)
8X1GE
OK
PWR,NSHUT,MON
0/7/SP
UNKNOWN(SP)
N/A
PRESENT
PWR,NSHUT,MON
0/RP0/CPU0
RP(Active)
N/A
IOS XR RUN
PWR,NSHUT,MON
0/SM0/SP
FC/S(SP)
N/A
IOS XR RUN
PWR,NSHUT,MON
0/SM1/SP
FC/S(SP)
N/A
IOS XR RUN
PWR,NSHUT,MON
0/SM2/SP
FC/S(SP)
N/A
IOS XR RUN
PWR,NSHUT,MON
0/SM3/SP
FC/S(SP)
N/A
IOS XR RUN
WR,NSHUT,MON
F
A
B
MSC R MSC
I
C
FAN TRAY
Cisco Confidential
XR Training / lwigley
Cisco Confidential
XR Training / lwigley
Cisco Confidential
Active Configuration
After Commit
Commit
Changes take effect
Target Configuration
XR Training / lwigley
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
Interface gig 0/3/0/0
ipv4 address 9.9.9.9/24
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
interface gig 0/3/0/0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
Cisco Confidential
Syntax Check
after each line
Active Configuration
After Commit
Semantic Check
Target Configuration
XR Training / lwigley
during commit
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
Interface gig 0/3/0/0
ipv4 address 9.9.9.9/24
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
interface gig 0/3/0/0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
Cisco Confidential
#1
#2
BGP Change
#3
#4
Target Configuration
XR Training / lwigley
Commit
Unique ID Automatically
Generated
Earlier commit
with optional label
Changes added to
commit history
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
Interface gig 0/3/0/0
ipv4 address 9.9.9.9/24
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
interface gig 0/3/0/0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
Cisco Confidential
10
#1
#2
BGP_Change
#4
#5
Commit
XR Training / lwigley
#3
Target Configuration
Rollback
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
Interface gig 0/3/0/0
ipv4 address 9.9.9.9/24
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
interface gig 0/3/0/0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
Cisco Confidential
11
#1
#2
BGP_Change
no router
interface
no ipv4
interface
no ipv4
no router
interface
no ipv4
interface
no ipv4
router
area
no
no
bgp 100
gig 0/3/0/2
address 9.19.9.9/24
gig 0/3/0/0
address 9.9.9.9/24
bgp 100
gig 0/3/0/2
address 9.19.9.9/24
gig 0/3/0/0
address 9.9.9.9/24
Target Configuration
XR Training / lwigley
#4
#5
Commit
#3
ospf 100
0
interface gig 0/3/0/2
interface gig 0/3/0/0
Rollback
bgp 100
gig 0/3/0/2
address 9.19.9.9/24
gig 0/3/0/0
address 9.9.9.9/24
ospf 100
0
interface gig 0/3/0/2
interface gig 0/3/0/0
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
Cisco Confidential
12
Commit History
interface gig 0/3/0/5
ipv4 address 9.9.9.9/24
#1
#2
BGP_Change
interface
no ipv4
interface
no ipv4
router
area
no
no
interface
no ipv4
interface
no ipv4
router
area
no
no
gig 0/3/0/2
address 9.19.9.9/24
gig 0/3/0/0
address 9.9.9.9/24
ospf 100
0
interface gig 0/3/0/2
interface gig 0/3/0/0
Target Configuration
XR Training / lwigley
#3
#4
#5
gig 0/3/0/2
address 9.19.9.9/24
gig 0/3/0/0
address 9.9.9.9/24
ospf 100
0
interface gig 0/3/0/2
interface gig 0/3/0/0
Rollback
Commit
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
Cisco Confidential
13
Commit History
interface gig 0/3/0/5
ipv4 address 9.9.9.9/24
#1
#2
BGP_Change
Target Configuration
XR Training / lwigley
Rollback
interface gig 0/3/0/5
no ipv4 address 9.9.9.9/24
router ospf 100
area 0
no interface gig 0/3/0/5
#3
#4
#5
Commit
interface
no ipv4
interface
no ipv4
gig 0/3/0/0
address 9.9.9.9/24
gig 0/3/0/2
address 9.19.9.9/24
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router ospf 100
area 0
area 1
interface pos 0/4/0/0
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
Cisco Confidential
14
Syntax Check
after each line
PASSES
Active Configuration
After Commit
No Change
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
Semantic Check
during commit
FAILS
BGP cannot be
taskgroup name
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
Target Configuration
XR Training / lwigley
Cisco Confidential
15
Syntax Check
after each line
PASSES
Active Configuration
After Commit
Partial Commit
Semantic Check
during commit
FAILS
BGP cannot be
taskgroup name
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
hostname Backbone-CRS
line default
exec-timeout 1440 0
!
interface gig 0/3/0/0
ipv4 address 9.9.9.9/24
!
taskgroup ops
task read boot
task write boot
task execute bgp
!
router static
address-family ipv4 unicast
0.0.0.0/0 7.1.9.1
7.7.7.77/32 7.1.9.1
Target Configuration
XR Training / lwigley
Cisco Confidential
16
First to Commit
Second to Commit
Normal Commit
XR Training / lwigley
Cisco Confidential
17
XR Training / lwigley
Cisco Confidential
18
Preconfiguration / OIR
Interfaces can be preconfigured
Configuration will become active when matching HW inserted
XR Training / lwigley
Cisco Confidential
19
Monitoring Configuration
From Config Mode
XR Training / lwigley
Cisco Confidential
20
RP/0/RP0/CPU0:CRS#show running-config
Building configuration...
!! Last configuration change at 12:17:03 UTC Wed Jun 28 2006 by ww
!
hostname CRS
line default
exec-timeout 1440 0
Time Stamp
~~~~~~~~~~
12:17:03 UTC
12:16:47 UTC
12:09:03 UTC
06:47:51 UTC
06:47:18 UTC
Wed
Wed
Wed
Wed
Wed
Jun
Jun
Jun
Jun
Jun
28
28
28
28
28
2006
2006
2006
2006
2006
XR Training / lwigley
Date
Wed Jun 28 12:58:14 2006
Lock
*
Cisco Confidential
21
Configuration Notes
Default configurations not shown
show running isnt effective for system inventory
Cisco Confidential
22
XR Training / lwigley
Cisco Confidential
23
XR Training / lwigley
Cisco Confidential
24
Tasks
Building blocks for on-box authorization scheme
4 types of permissions per task
Read
Tasks
Write
aaa
config-services
hsrp
netflow
sbc
acl
crypto
interface
network
snmp
Execute
admin
diag
inventory
ospf
sonet-sdh
atm
disallowed
ip-services
ouni
static
Debug
basic-services
drivers
ipv4
pkg-mgmt
sysmgr
bcdl
eigrp
ipv6
pos-dpt
system
bfd
ext-access
isis
ppp
transport
bgp
fabric
logging
qos
tty-access
boot
fault-mgr
lpts
rib
tunnel
bundle
filesystem
monitor
rip
universal
cdp
firewall
mpls-ldp
root-lr
vlan
cef
fr
mpls-static
root-system
vrrp
cisco-support
hdlc
mpls-te
route-map
config-mgmt
host-services
multicast
route-policy
XR Training / lwigley
Cisco Confidential
25
Write
Execute
Debug
aaa
aaa
aaa
aaa
acl
acl
acl
acl
admin
admin
admin
admin
atm
atm
atm
atm
bcdl
bcdl
bcdl
bfd
bfd
bfd
bfd
bgp
bgp
bgp
bgp
taskgroup basic-admin
task read acl
task read bfd
task read bgp
task write acl
task write bfd
task write bgp
task debug bgp
XR Training / lwigley
basic-services
usergroup noc-staff
taskgroup operator
taskgroup basic-admin
inherit usergroup all-users
!
usergroup allusers
taskgroup basic-stuff
Cisco Confidential
26
XR Training / lwigley
Cisco Confidential
27
XR Training / lwigley
Cisco Confidential
28
Basic XR Security
XR Training / lwigley
Cisco Confidential
29
XR Training / lwigley
Cisco Confidential
30
XR Training / lwigley
Cisco Confidential
31
XR Training / lwigley
Cisco Confidential
32
Software Installation
XR Training / lwigley
Cisco Confidential
33
Mini?
PIE?
XR Training / lwigley
Package?
SMU?
Cisco Confidential
34
MGBL
SEC
Optional
MPLS
MCAST
Routing
Line card
Forwarding
Mandatory
Admin
Base
OS-MBI
XR Training / lwigley
Cisco Confidential
35
XR Training / lwigley
Cisco Confidential
36
(.vm)
XR Training / lwigley
Cisco Confidential
37
Release Deliverables
From CCO - CRS-1-iosxr-3.5.0.tar
Which includes
Unicast Routing Composite PIE (aka mini)
Routing, LC, Forwarding, Admin, Base, MBI (min boot image)
Optional PIEs
Manageability
MPLS
Multicast
Security
XR Training / lwigley
Cisco Confidential
38
XR Training / lwigley
Cisco Confidential
39
Cisco Confidential
40
3.2.8x
3.3.8x
XR Training / lwigley
Beta
Releases
3.0.9x
3.1.9x
3.2.9x
3.3.9x
FCS
Version
3.0.0
3.1.0
3.2.0
3.3.0
Maintenance
Releases
3.0.1
3.1.1
3.2.1, 3.2.2
3.3.1, 3.3.2
Cisco Confidential
41
SMU Delivery
SMU is named by release and bugid
Usually 50-200kb PIE file
Examples
hfr-rout-3.2.2.CSCei63263.pie
hfr-base-3.2.2.CSCeh52427.pie
XR Training / lwigley
Cisco Confidential
42
CRS-1
CRS has flash
to store image
on MSC
XR 12000
XR Training / lwigley
MEM DISK
MEM DISK
MEM DISK
RP0
RP1
DRP0
MEM DISK
DRP1
MEM
MEM
MEM
MEM
MEM
MEM
MEM
MEM
Flash
Flash
Flash
Flash
Flash
Flash
Flash
Flash
LC0
LC1
LC2
LC3
LC4
LC5
LC6
LC7
MEM DISK
MEM DISK
RP0
RP1
MEM DISK
DRP0
MEM DISK
DRP1
MEM
MEM
MEM
MEM
MEM
MEM
MEM
MEM
LC0
LC1
LC2
LC3
LC4
LC5
LC6
LC7
Cisco Confidential
43
Routing
Line card
MEM DISK
MEM DISK
MEM DISK
RP0
RP1
DRP0
Forwarding
MEM DISK
DRP1
Admin
Base
OS-MBI
MEM
MEM
MEM
MEM
MEM
MEM
MEM
MEM
Flash
Flash
Flash
Flash
Flash
Flash
Flash
Flash
LC0
LC1
LC2
LC3
LC4
LC5
LC6
LC7
Step 2
Step 3
Cisco Confidential
44
Routing
Line card
Forwarding
MEM DISK
MEM DISK
MEM DISK
RP0
RP1
DRP0
MEM DISK
DRP1
Admin
Base
MEM
MEM
MEM
MEM
MEM
MEM
MEM
MEM
LC0
LC1
LC2
LC3
LC4
LC5
LC6
LC7
OS-MBI
Disk0, Disk1, or TFTP Server
Step 2
XR Training / lwigley
Step 3
Cisco Confidential
45
TURBOBOOT In Action
\
XR Training / lwigley
Cisco Confidential
46
3 phase install
Add Copy package and unpack
Activate Restart processes/nodes with new code
Commit Lock activated packages through reload
XR Training / lwigley
Cisco Confidential
47
XR Training / lwigley
Cisco Confidential
48
Cisco Confidential
49
RP/0/0/CPU0:P5(admin)#install commit
Install: The idle timeout on this line will be suspended for synchronous
install operations
Install 5: [ 1%] Install operation 'commit' assigned request id: 5
Install 5: [100%] Committing uncommitted changes in software configurations.
Install 5: [100%] Commit operation successful.
Install 5: [100%] Idle timeout on this line will now be resumed for
synchronous operations
XR Training / lwigley
Cisco Confidential
50
Deactivating Packages
XR Training / lwigley
Cisco Confidential
51
XR Training / lwigley
Cisco Confidential
52
XR Training / lwigley
Cisco Confidential
53
Installation Notes
On CRS-1, LC software is stored on LCs
(MSCs)
XR Training / lwigley
Cisco Confidential
54
XR Training / lwigley
Cisco Confidential
55
Q and A
XR Training / lwigley
Cisco Confidential
56
XR Training / lwigley
Cisco Confidential
57