Upload
vudung
View
214
Download
0
Embed Size (px)
Citation preview
#CLUS
Wojciech Rog, TAC CSEDmitry Figol, SE – WW Enterprise SalesDEVNET-1460
(on-box Python library)DevNet Workshop
BYOT Bring Your Own TAC engineer
Agenda
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public#CLUS
• Problem we are trying to solve
• On-box Python library architecture
• Scenarios:
• Integration
• Ease of operation
• Ease of troubleshooting
3DEVNET-1460
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public#CLUS 4DEVNET-1460
Hi TAC, I have a problem. Could you help?
Sure, please send me show tech
Here it is
Connectivity problems
in Orlando!
minutes,
hours
minutes,
hours
Knowledge DB
and automation
TAC
Customer
Thanks, I will also need show memory, show interfaces ...
Here are the outputs
minutes,
hours
hours,
days
QoS policy on the interface TenGig0/1 isdropping packets, we need to reconfigure it
...
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public#CLUS 5DEVNET-1460
Case solved, but…
…can we do it faster?
…it took days, so…
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public#CLUS 7DEVNET-1460
TAC Python
library
sudo find the problem!
QoS policy on
TenGig0/1 is
dropping packets
... and by the way,
IPsec is causing
output drops on
Gig1/3
Distribution
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public#CLUS
Guest Shell
• Secure Linux shell environment
• On-box rapid prototyping
• Application Hosting
• Disabled by default
device# guestshell enable
Virtualized Linux Environment On IOS-XE
Network OS
Guest Shell
Linux Container
API
Linuxapplications
IOS XE
16.5.1+
DEVNET-1460 10
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public#CLUS
Guest ShellVirtualized Linux Environment On IOS-XE
IOS XE
16.5.1+
DEVNET-1460 11
IOS-XE
Guestshell
VirtualPort Group0
en0
• Secure Linux shell environment
• On-box rapid prototyping
• Application Hosting
• Disabled by default
device# guestshell enable
On-box Python
Advantages
On-Box• Access CLI from the container
• Trigger syslog messages
• Integration with Embedded Event Manager
• Access to the device filesystem
• Zero Touch Provisioning
• Enables Edge computing
DEVNET-1460 13
Scenario 1 - Integration
Output_collector:
Collect, store and upload requested outputs with one-liner!
DEVNET-1460
Collect data Upload
show clockshow runshow int
…show sth
Store
Analize
Scenario 2 – Ease of operation
Packet_trace:
Minimize top#1 packet capture tool config to 1 line!
DEVNET-1460
debug platform condition interface gig 2 both
debug platform condition start
debug platform packet-trace packet 32 fia-trace
debug platform packet-trace drop
debug platform condition stop
show platform packet-trace summary
show platform packet-trace packet all
clear platform condition all
packet_trace –i GigabitEhternet2 –drop all –p 32
Scenario 3 – Ease of troubleshooting
DEVNET-1460
Interface_health_check:
Plan, collect, analize, react!
Collect data Parse data Store data
Data collection
Analyse Represent
Data analysis
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public#CLUS
Cisco Spark
Questions? Use Cisco Spark to chat with the speaker after the session
Find this session in the Cisco Live Mobile App
Click “Join the Discussion”
Install Spark or go directly to the space
Enter messages/questions in the space
How
Cisco Spark spaces will be available until June 28, 2018.
cs.co/ciscolivebot#BRKXXX-xxxx
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
1
2
3
4
19DEVNET-1460
Complete your online session evaluation
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public#CLUS
Give us your feedback to be entered into a Daily Survey Drawing.
Complete your session surveys through the Cisco Live mobile app or on www.CiscoLive.com/us.
Don’t forget: Cisco Live sessions will be available for viewing on demand after the event at www.CiscoLive.com/Online.
20DEVNET-1460
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public#CLUS
Demos in the Cisco campus
Walk-in self-paced
labs
Meet the engineer
1:1 meetings
Related sessions
Continue your education
DEVNET-1460 21