《采用思科 Catalyst 9000 虚拟版的基础设施即代码.pdf》由会员分享,可在线阅读,更多相关《采用思科 Catalyst 9000 虚拟版的基础设施即代码.pdf(86页珍藏版)》请在三个皮匠报告上搜索。
1、#CiscoLive#CiscoLiveJeremy Cohoe,Technical MarketingjeremycohoeBRKOPS-2455with Cisco Catalyst 9000 Virtual SwitchTest Automation 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveAbstractBRKOPS-2455Cisco Modelling Labs,Container Lab,KVM and Dockers.oh my!The way in which we
2、can model networks and create infrastructure from code is evolving.In this session we will use virtualization technologies like CML and Docker in order to virtualize and simulate common network topologies and configurations.We will gain confidence in configuration management processes and tooling in
3、 the simulated lab and make the transition into production easier.The complete IOS XE programmability and automation lifecycle will be demonstrated and discussed using the virtual form factor alongside YANG Suite for testing and validation.2023 Cisco and/or its affiliates.All rights reserved.Cisco P
4、ublic#CiscoLiveAbout JeremyWxT/From Vancouver,BC,CanadaAmateur Radio Operator,VA7NSACanadian Forces Army Signals Operator 4 yrsUBC Wireless Infrastructure 7 yrsCisco Enterprise Networks-6 yrsBRKOPS-2455Agenda 2023 Cisco and/or its affiliates.All rights reserved.Cisco PublicIntroduction and LoginProg
5、rammability&Automation OverviewCatalyst 9000 Virtual Switch OverviewHypervisors and C9KVUsecases:EVPN&SDA TopologiesResources&ClosingBRKOPS-2455Your C9KV feedback is important as we bring this product to marketWebex Teams:https:/eurl.io/#h6Pe-QgmoE-mail:c9kv-interest-The Cat9KV is in public beta and
6、 available in CMLCML and within Cisco dClouddCloudWe want to understand your use cases and to ensure success with topology validation and configuration management,tooling and integrations.There is no Tac or BU support during the beta.2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#
7、CiscoLive1 2:30 pm BRKOPS-2455:Infrastructure as Code and the Cisco Catalyst 9000 Virtual1pm 1:45 pm DEVWKS-2031:Test Automation with Cisco Catalyst 9000 Virtual Switch4 4:45 pm DEVWKS-2031:Test Automation with Cisco Catalyst 9000 Virtual SwitchCisco Catalyst 9000 Virtual Sessions at Cisco Live US 2
8、023Monday June 5May 2017June 2017Thursday June 8Tuesday June 6Wednesday June 78 9amBRKDEV-2467:Test Automation with Cisco Catalyst 9000 Virtual SwitchSession LevelsIntermediateSee more details about these sessions in the Session Catalog:https:/ 2023 Cisco and/or its affiliates.All rights reserved.Ci
9、sco Public#CiscoLiveAccess Switching Access Switching Catalyst 9200CX Compact9200CX CompactCatalyst 9500X9500XCatalyst 9600X9600XCore Switching Core Switching Catalyst 9500 SeriesCatalyst 9600 SeriesCatalyst 3850-XS/4500-XCatalyst 6840-X/6880-XCatalyst 6500-E/6807-XLCatalyst 9400X9400XCatalyst 9300X
10、9300XCatalyst 9400 SeriesCatalyst 9300 SeriesCatalyst9200 SeriesCatalyst3650/3850Catalyst4500-E SeriesCatalyst2960-X/XRCatalyst 9000Switching PlatformCisco ASICOpen IOS XECisco Catalyst 9000 Switching PortfolioAdding the“X factor”to the industrys leading switching familyBRKOPS-2455BRKARC-2092 2023 C
11、isco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCatalyst 9000 Series Common Building BlocksApplication HostingSecure ContainersProgrammable PipelineFlexible TablesModel-Driven APIsModular PatchingCisco UADP&Silicon OneOpen IOS XEProgrammable x86Multi-Core CPU Silicon OneSilicon
12、OneQ200 2020Same IOS XE image Same IOS XE image for both UADPUADP*and Silicon OneSilicon One C9K platforms*Catalyst 9200 Series uses IOS-XE LiteBRKOPS-2455BRKARC-2092 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveWhat is“Open”Cisco IOS XE?Cisco IOSCisco IOS XE 3.x(SE)Com
13、mon infrastructure/HAManagement interfaceModule driversKernelCisco IOSFeatures ComponentsHosted appsIOSdFeaturesComponentsWCMWiresharkOpen Cisco IOS XE 16.xHosted appsIOSdContainerPerfsonarCiscoIOS XE DBCommonInfrastructure/HAManagement InterfaceModule DriversKerneliPerfWiresharkIOSd blobIOS Sub Sys
14、temsIOS Sub SystemsIOS sub-systemsConfig and Config and Operational statesOperational statesModern Software Architecture-with the same look and feelManagement InterfaceModule DriversKernelCommon Infrastructure/HABRKOPS-2455BRKARC-2092 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public
15、#CiscoLiveOpen IOS XE IOS Sub SystemsIOSdIOS Sub SystemsIOS Sub SystemsIOSdSub-SystemsIOS XE DBSTPOSPFBGPMPLSetcFailure of one IOS XE Sub-System(s)-keeps rest of the system intactIOSd Sub-Systems enhance IOS Resiliency BRKOPS-2455BRKARC-2092 2023 Cisco and/or its affiliates.All rights reserved.Cisco
16、 Public#CiscoLiveCustom ASICs Programmable SiliconFlexible&Programmable ASICs Adapt to New TechnologiesFlexible PipelinesInvestment ProtectionScalable ResourcesEnhanced Scale and BufferingAdaptable TablesUniversal DeploymentCisco Unified Access Data-Plane(UADP)Cisco Silicon OneBRKARC-2092BRKOPS-2455
17、 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveAn Application Specific Integrated Circuit Application Specific Integrated Circuit(ASIC)(ASIC)is a silicon microchip designed for a specific task.What is an ASIC?.rather than general-purpose processing in a CPU.BRKOPS-2455BR
18、KARC-2092 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveWhy do we need ASICs?A general-purpose CPU may be fast at running random-access applications,on a laptop or server,but processing processing and forwarding network trafficand forwarding network traffic is a differen
19、t matter.Network traffic requires constant searching of large memory constant searching of large memory tablestables(e.g.L2 tables for MAC addresses,L3 tables for IP routes,L4 ACLs for Security and QoS,etc.)In a CPU-there are limited data pathslimited data paths and tables are held in offoff-chip me
20、morieschip memories(e.g.DRAM)that can incur significant performance penalties for frequent access.Remember,this is Millions-Billions of packets per secondCPUs are Flexible but SlowCostFlexibilityPerformanceBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveHow C9K
21、V is different than other container NOS?BRKOPS-2455The C9KV does ASIC simulationUse of asic pipelines in softwareDifferent than a process threadSimulation of what happens with Simulation of what happens with actual hardwareactual hardwareSameSame behavior as what you would expect with physical hardw
22、areSameSame feature testing between C9K and C9KVCisco Unified Access Data-Plane(UADP)Cisco Silicon OneProgrammability&AutomationIOS XE Programmability&Automation LifecycleDay 0Day 0Day 1Day 1Day 2Day 2Day NDay NIntentIntent-based based Network InfrastructureNetwork InfrastructureProvisioningAutomati
23、onPre-boot Execution Environment(iPXE)RD8572 Secure Zero Touch Provisioning ZTPVM AutomationDeviceOnboardingModel Driven ProgrammabilityNetwork Configuration Protocol(NETCONF),RESTCONF,gNMIYANG“native”Data Models,OpenConfig,YANG Suite,Terraform,Ansible,pyATS toolingDeviceConfigurationgNOI cert/os/re
24、set protoGuest Shell+Python/NETCONFCentOS 8 Python 3Application Hosting with Docker“show run”CLI to XMLSoftware Image ManagementDeviceOptimizationModel Driven TelemetryTIG_MDT container+guideYANG On-Change supportgRPC Dial-Out+DNS+mTLSgNMI/NETCONF Dial-InDeviceMonitoring 2023 Cisco and/or its affili
25、ates.All rights reserved.Cisco Public#CiscoLiveYANG Data ModelsNETCONF RESTCONFgNMIDevice FeaturesInterfaceBGPQoSACLSNMPOpenConfigCisco NativeConfiguration and OperationIntentIntent-based based Network InfrastructureNetwork InfrastructureThe NETCONF,RETCONF and gNMI are programmatic interfaces that
26、provide additionaladditionalmethods for interfacing with the IOS XE device Just like the CLI,SNMP,and WebUI is used for configuration changes and operational metrics so can the programmatic interfaces of NETCONF,RESTCONF and gNMIProgrammable InterfacesSNMPYANG data models define the data that is ava
27、ilable for configuration and streaming telemetryWebUICLIBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveIOS XE-YANG Model Coverage on GitHubhttps:/ module YANG module name.yangname.yangDescriptionDescriptionCisco-IOS-XE-nativerunning-configCisco-IOS-XE-feature-
28、cfgFeature configurationCisco-IOS-XE-feature-operFeature operational dataCisco-IOS-XE-feature-rpcActionsCisco-evpn-serviceEVPN service abstractionOpenConfig-featureabstraction for config&operRFC7950 states that“YANG is a data modeling language used to model configuration data,state data,Remote Proce
29、dure Calls,and notifications for network management protocols”D ay 0D ay 1D ay 2D ay NIntent-based Network InfrastructureBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveDial In:Collector establishes a connection to the device then subscribes to telemetry(pub/su
30、b)Dial Out:Telemetry is pushed from the device to the collector based off configuration(push)Model Driven Telemetry InterfacesXML,JSON,proto and kvGPB encodingConsistent YANG data models between interfacesOn-change event and time-based publication optionsIntentIntent-based based Network Infrastructu
31、reNetwork InfrastructurePublication/SubscriptionBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveIOS XE Model Driven TelemetryCisco IOS XECisco IOS XECollector/ReceiverDecodes to textDecodes to textStorageTime Series DatabaseMonitoringand Visualizationsand Visua
32、lizationsgRPC Dial-Out/ConfiguredCLIor withgNMI Dial-In/DynamicNETCONF Dial-Inhttps:/ 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveStorageStorageTime Series DatabaseMonitoringMonitoringand Visualizationsand Visualizationshttps:/ coming to Telegraf,Influx,and Grafana Mod
33、el Driven Telemetry(TIG_MDT)Docker containerMaking it easier to consume telemetry in productionUpgraded Telegraf,InlfuxDB,and Grafana toolsAdditional dashboards forDevice Health,Wireless Client,Wireless AP,RF etcExamples for device CLI configuration for telemetryDetails of scale and data storage req
34、uirementsCollector/ReceiverCollector/ReceiverDecodes to textUpdated TIG_MDT container now available!docker pull jeremycohoe/tig_mdtdocker run-ti-p 3000:3000-p 57500:57500 jeremycohoe/tig_mdtUpdated April 2023BRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveUse C
35、ases:EVPN:Ansible with CLI deployment of EVPN solutionsEVPN management over RESTCONF/YANG with PostmanDeclarative EVPN fabric management with TerraformModel Driven TelemetryTelemetry configuration with CLI and YANG SuiteCollection with TIG_MDT container and toolingYANG ProgrammabilityYANG Suite tool
36、ing and integrations to YANG APIsAnsible integrationsTooling and IntegrationsYANG SuiteNETCONF/RESTCONF/gNMI APIAnsible integrationNETCONF/gNMI Dial-In TelemetrygRPC Dial-Out Telemetry receiverTelemetryTIG stack in DockerGrafana dashboard for device healthPostman/RESTCONFEVPN fabric API callsTerrafo
37、rm/RESTCONF Declarative EVPN fabric managementAnsibleEVPN solution enablement using CLIdCloud ProgrammabilityVLAN1 c9k-spineIP:198.18.1.21developer/C1sco12345c9k-leaf1IP:198.18.1.31developer/C1sco12345c9k-leaf2IP:198.18.1.32developer/C1sco12345c9kvdd-1-unconfiguredc9kvdd-7-unconfiguredUbuntu VM Deta
38、ils:Syslog receiver from all switchesTFTP config backupSee slide Windows VM DetailsVS CodeTerraform folder Ansible folder Chrome browserYANG Suite,GrafanaBash/PS/Cmd shellsSSH into C9K or UbuntuPostmanWorkspace for EVPNC9K VMshttps:/“Cisco Catalyst 9000 IOS XE Programmability&Automation Lab v1”https
39、:/ 9000 Virtual Switch 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveArchitectureFMANFMAN-FPFPCPACPAFEDFEDS1S1-SDKSDKFP-ComplexFMANFMAN-RPRPRP-ComplexIOSdIOSdnSIMCat9kVSocketSocketDopplerDoppler-SDKSDKCIMASocketSocketData-plane SelectionStartup-XMLBRKOPS-2455ASIC Simulat
40、ionASIC Simulation 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveManagement PlaneManagement PlaneServices featuresServices featuresControl PlaneControl PlaneDistributionDistributionData PlaneData PlaneI/O Components not used CapabilitiesFMAN-RPChassis Manager-RPInfra Ser
41、vicesInfra ServicesRP ComplexFP ComplexFMAN-FPChassis Chassis Manager Manager-FPFPFEDFEDInfra Infra ServicServicesesServer HWvmwarekvmHypervisor Linux KernelVirtual FWD ProcessorVirtual FWD ProcessorI/OI/OIOSdPolaris for cat9kvNon IOS Non IOS CP CP(SANetSANet)CMAN-RPCCIOMDVirtual Virtual IOIOVirtual
42、 IOVirtual IOVirtual IOVirtual IOVirtual IOVirtual IOBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveIOSd components and servicesIOS XE IOS XE IOSdIOSdIOS PI/Protocols subsystemsCMAN-FP shimMCP,NGWC platforms subsystemsbinOS IOSdInfra subsystemsSecurity/CTS/Cry
43、pto subsystemsCMAN-RP shimCC shimIOMD shimFMAN shim subsystemsIOSd IPC,Punt/InjectsubsystemsMgmt/MIBs,Config&Oper Models subsystemsIOSd DiagServiceability subsystemsbinOS/Linux ServicesPlatform/Chassis/IO Services not usedSwitching PI subsystemsBRKOPS-2455 2023 Cisco and/or its affiliates.All rights
44、 reserved.Cisco Public#CiscoLiveIntroducing Cat9kVIncrease ProductivityEnable Hybrid workplaceFacilitate Technology AdoptionCat9000 Virtual SwitchCat9000 Virtual SwitchAn Independent PID&SKUAn Independent PID&SKUConvenient AccessBRKOPS-2455Cat9kV Goals,VisionIncrease ProductivityIncrease Productivit
45、yFaster feature development unhindered by board platform devRicher data-path debugFlexible data-path choiceFlexible regression platformFacilitate Technology AdoptionFacilitate Technology AdoptionCustomer Modelling Labs,Solutions showcaseEnable GTM ModellingReady access to available switching service
46、s featuresCustomer what-if scenario analysisEnable Hybrid workplaceEnable Hybrid workplaceConstruct standard network topologies using point-and-clickEliminate hardware wiring problems(no lab trips)Access with EaseAccess with EaseDeployment to private/public cloud supported viaCML integration 2023 Ci
47、sco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCat9kV High Level SpecificationSingle IOS-XE Image Independent PID compared to hardware SKUsAvailable as ISO&OVAPackaging FormatPackaging FormatData PlaneData PlaneFeaturesFeaturesSoftware data plane is one of:1.UADP2.Silicon 1Servi
48、ces feature parity for data plane constructsLow packet throughput but sufficient for functional feature behaviorUADP 200 ppsSilicon 1 300 ppsResource Resource RequirementRequirement4vCPU,18G RAMHypervisors:KVM,ESXiInternet reachability for user telemetryDeployment Deployment capabilitiescapabilities
49、8/24interfaces+one mgmt.portDay 0 config supportCustomization parameters(serial#)BRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveDeploymentSingle IOS-XE ImageIndependent PID compared to hardware SKUsAvailable as ISO&OVAPackaging FormatPackaging FormatResource R
50、esource RequirementRequirement4vCPU,18G RAM Hypervisors:KVM,ESXiInternet reachability for user telemetryMany customers use ContainerLabContainerLab for Network Operating System lab virtualizationIn addition to KVM/ESXi customers can run the C9KV in a variety of hypervisors and software including:Doc
51、ker,ContainerLab,CML,KNE(K8S Networking),etchttps:/containerlab.dev/provides a CLI for orchestrating and managing container-based networking labs.It starts the containers,builds a virtual wiring between them to create lab topologies of users choice and manages labs lifecycle.BRKOPS-2455 2023 Cisco a
52、nd/or its affiliates.All rights reserved.Cisco Public#CiscoLiveData Plane&FeaturesThe 8/24 interfaces use the data plane and have PPS limitationsRecommend to use Gi0/0 which uses the ESXi management plane Data PlaneData PlaneFeaturesFeaturesSoftware data plane is one of:1.UADP2.Siilcon 1Services fea
53、ture parity for data plane constructsLow packet throughput but sufficient for functional feature behaviorUADP 200 ppsSilicon 1 300 ppsDeployment Deployment capabilitiescapabilities8/24 interfaces+one mgmt.portDay 0 config supportCustomization parameters(serial#)BRKOPS-2455 2023 Cisco and/or its affi
54、liates.All rights reserved.Cisco Public#CiscoLiveBuild ServersBuild Serverscat9kv_universalk9-image DownloadsUnified Single Image-virtual twin of Cat9kCat9kV VM deploymentKVM,ESXiCat9kv DownloadStartup XML dataParity with regular cat9k imagesParity with regular cat9k imagesNightly buildsExtended San
55、ity runs Production imagesBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveUnsupported FunctionalityUnsupported FunctionalityUnsupported FunctionalityCommentsCommentsPOENot supportedHardware component simulationNo PSU,Fans,Temperature Sensor,SFP,MAC/SERDES,linec
56、ards,FRUs etc.No MIB for board or componentsInterrupt,DMA based featuresInterrupt based features needs to be done via polling such as punt interrupt,MAC Learning/Aging,MACSEC rekey etc.GOLDTypically achieved using loopback in hardware at MAC/SERDES.App hostingNo Guest shell,IOX,or Application Hostin
57、g infraTM,QoSTraffic Management,Queuing actionsFNF,NetflowCurrently unsupportedStacking/SVLCurrently unsupportedDoes X/Y/Z feature work?Yes.Unless its listed belowBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveWhat are some features are being tested?Management
58、ManagementHostnameBoot/ImageDNSLLDPSSHAliasBannerLocal UserTACACSAAANTPMonitoringMonitoringSyslogSNMPgNMINETCONFRESTCONFgRPC Dial-OutSecuritySecurityVTY ACLSNMP ACLNAC/RADIUSCoPPDHCP Trusted PortIPv6 RADHCPv6 GuardUnderlay RoutingUnderlay RoutingeBGPRedistributePeer-GroupsECMPPrefix ListRoute MapsCo
59、mmunity ListAS PATH Access listOverlay Control and Data PlaneOverlay Control and Data PlaneBGP EVPN VxLAN BGP EVPNMAC-VRF Type 2 MACType 2 MAC IPType 3 IMETType 5 IP-PrefixRoute target import/export Import/export route-mapsVxLANv6 Loopback-VTEP SourceL2VNIL3VNIInterfacesInterfacesLoopbacksSVIRouted
60、P2P(/127)Layer 2 Access PortLayer 2 Trunk PortsLayer 3 Sub-interfaces DHCP relay This is not an extensive list of features!Solution level testing also in use BRKOPS-2455Solutions:Solutions:SDA with Cisco DNA CenterBGP EVPN VXLAN with YANG 2023 Cisco and/or its affiliates.All rights reserved.Cisco Pu
61、blic#CiscoLiveEthernet Renaming 17.12BRKOPS-2455IOS XE 17.11 IOS XE 17.12+Ethernet1EthernetEthernetEthernetEthernet24Simplified naming coming as part of IOS XE 17.12 releaseGi1/0/1 can be set to Ethernet1 as part of bootstrapping*Marketing example;)With ESXi 2023 Cisco and/or its affiliates.All righ
62、ts reserved.Cisco Public#CiscoLiveUCS and VMWare An existing UCS with vmware ESXI+VCSA is being used to run the CMLInstead of UCS+vmware,CML can be install directly onto the UCS as it runs CentOS 8 LinuxIn this example the POD29-CML-10.1.1.80 Virtual Machine is deployed onto the UCS host 128.107.223
63、.201BRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCisco UCSCisco UCS with 15 Ubuntu Virtual MachinesUbuntu Virtual Machine“POD N(130)”on Cisco UCS+VMWare ESXiUbuntu Virtual Machine“POD21-XELAB”on Cisco UCS+VMWare ESXiContainerLab+VRNetLab(Networking)Docker Co
64、ntainer:CLAB-CAT9KVLAB-CAT9KV-2,3,NDocker Container:CLAB-CAT9KVLAB-CAT9KV-1C9KV.QCOWUbuntu Docker ImageRun KVM(qemu)against QCOWTelnetPort 5000:Serial ConsolePort 5000:Serial ConsolePort 22:SSHPort 443 RESTCONF HTTPSPort 830 NETCONFPort 161 SNMPGNXI?System?(4000)Docker logsDay 0 CLI configMake docke
65、r buildAdd CLI to launch.pyYou are here 172.20.20.3172.20.20.2128.107.223.x10.1.1.5128.107.223.x10.1.1.5128.107.223.20110.0.0.5BRKOPS-2455C9KV with CML 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCML StackHardware=UCSWhat is CML?Software=Redhat CentOS 8VM Virtualizatio
66、n/Emulation=KVMQCOW for C9Kv and Ubuntu,Win10,etcC M L CML is the Cisco Modelling Labs,it is a virtualization software for network engineers to easily create network topologies,links,and clients in order to simulate and test various topologies and features BRKOPS-2455 2023 Cisco and/or its affiliate
67、s.All rights reserved.Cisco Public#CiscoLiveDownload CML OVA and reference platforms ISODownload CML refplat.iso from CCOThe 10 GB refplat.iso needs to be uploaded into the VMWare DatastoreDownload CML OVA from CCO and deploy to VMWareThe 1 GB OVA is deployed from the local workstation to the remote
68、 ESXiBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveDeploy CML Virtual Machine via OVA“Deploy OVF Template”via the VMWare consoleDeploy the vml.ova that is downloaded from Reconfigure VM to increase disk from 64 to 256 GBIncrease CPU and Memory to the maximum
69、available Attach refplat.iso to CDROM before power on VMConfigure IP networking on CML via VMWare consoleAccess CML Dashboard at https:/ip and CML Admin Cockpit at https:/ip:9090 admin:credentialsysadmin:credentialBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiv
70、eTopology with C9KVDrag and Drop the C9KV node onto the dashboardCreate and unmanaged switch and an external connectorExternal Connector should be set to bridge the trafficCreate links between the nodesAccess C9KV console and configure as neededUse Day0 config.txt to bootstrapBRKOPS-2455 2023 Cisco
71、and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveVirtualized Topology with CML and C9KvBRKOPS-2455Running in RTP LabOn UCS/ESXiUptime:1+years 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCML 2.5 Live DemoBRKOPS-2455Usecase:EVPN 2023 Cisco and/or its affil
72、iates.All rights reserved.Cisco Public#CiscoLiveThe Ansible BGP EVPN solution is publicly available now on GitHub with step-by-step examples of getting started with DAG,L2VNI and L3VNI.Try it out yourself and engage directly on GitHub:https:/ EVPN solution management with AnsibleNow published on Git
73、hubBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveUbuntu-110.10.10.10C9k-Leaf110.10.10.1C9k-Leaf210.10.20.1Ubuntu-210.10.20.10C9k-spineAnsible BGP EVPN Design-1 solution enablementBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#Ci
74、scoLiveShort DemoBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveFull DemoBRKOPS-2455Usecase:Auto-vSDA in dCloud 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveWhat is Auto-vSDA?Ansible-based framework for automating vSDA testbeds de
75、ploymentsConsisting of a set of reusable playbooks for the building of different SDA scenariosIt is expected to have a repository of testbeds created and validated by engineers to be reused by the communityThe primary objective is to save lot of time and effort in the testbed building whenever an SD
76、A related test/validation is neededAutomated Virtual SDABRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveComponents Restore VM Snapshots specific to testbed Build CML2 testbed Build Fabric*PlaybooksPlaybooksCML2 Labcat9kvIOSvUbuntuVM SnapshotsvDNACvISEJump Serve
77、rNAT Router*Using DNAC APIs if neededBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveTestbed example“Dual-Border-Edge”1.Restore VM snapshotsvDNAC and vISE snapshots include SDA fabric already configuredRouter NAT used for OOB managementJump Server has node conf
78、igs2.Build CML2CML2 topology is createdNodes are started3.Build FabricCat9kV is initializedConfigurations are copied to nodes from Jump server4.4.SDA is upSDA is upSnapshotsBRKOPS-2455Adding C9KV into ContainerLab 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveContainersA
79、ccess container serial:docker exec it clab-fabric-fe2 telnet localhost 5000admin/admin(Ubuntu host 101)ordocker exec it clab-fabric-fe1 telnet localhost 5000netadmin/C1sco12345(Ubuntu host 102)BRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCL Day0 configBRKOPS
80、-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveContainer Lab workflowInstallation Workflow:Install KVM/QEMU$sudo apt-y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvmInstall CLbash-c$(curl-sL https:/get.containerlab.dev)Git clone vrnet-
81、lab git clone https:/ XE Cat9KV Serial.ISO file from ASR/ABS v17.11 or 17.12Convert ISO to QCOW2(next slide)Import QCOW2 into CLBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveC9KV with ContainerLabBRKOPS-2455Some.Some.shsh shortcuts:shortcuts:Start_clStart the
82、 CL topology with 1 C9KVDestroyStop the CL topology with 1 C9KVBashDocker exec into the container and run bashLogsDocker logs f for the containerConsoleOpen telnet connection to serial consoleSSHOpen SSH connection over IP networkAccess to the C9KV:ssh admin172.20.20.2(Cisco123)There are several sho
83、rtcut scripts to help with common tasks 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLivePrepare VRNET-lab&docker image$git clone https:/ VR-Net Lab Code to support more CPU/Memory per screenshotsEdit vrnetlab/common/vrnetlab.pyChange VRNETPY from 4GB to 18GB for C9KV requi
84、rementsSpecify 6 vCPU instead of the default of 1Can be 4 but we like 6 betterCopy CSR folder to C9KV folderCopy QCOW2 into this new C9KV folder$make docker-image BRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveExpose host ports(line 28)BRKOPS-2455 2023 Cisco a
85、nd/or its affiliates.All rights reserved.Cisco Public#CiscoLiveVRNetLab.py:to open ports into the containerBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveMaking the Docker image$cd/home/tme/vrnetlab/c9kv$make docker-imageBRKOPS-2455 2023 Cisco and/or its affil
86、iates.All rights reserved.Cisco Public#CiscoLiveReview topology and deploy!BRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCheck logs&access containerDocker container log:docker logs f Cat9KV VM Serial lineBRKOPS-2455 2023 Cisco and/or its affiliates.All rights
87、 reserved.Cisco Public#CiscoLiveSSH into containerBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveStopping CLBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveBooting/Topology“Its simple”Run make docker image in C9KV folderB
88、RKOPS-2455Topologies 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCollapsed Core Extended AccessIOT/FTTXCampus Access Campus Distribution Core InterconnectCore+EdgeCampus Core Campus PINs&TopologyBRKOPS-2455Campus Core Campus Distribution Campus Access Extended AccessIO
89、T/FTTXCollapsed Core Core InterconnectCore+EdgeBGP,IGPBGP,MPLSBGP,EVPNOSPF,EIGRP,ISISSTPSTPSTP,REPSTP,REP 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveTopologyBRKOPS-2455InternetDataCenterBranchL3L2L3L2MDF 1DCWANISPOSPF,IS-IS orEIGRPAccessPVST orMSTDistributionCoreBGPL3
90、L2 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveContainerLab TopologyBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveContainersAccess container serial:docker exec it clab-fabric-fe2 telnet localhost 5000admin/admin(Ubuntu host 101)
91、ordocker exec it clab-fabric-fe1 telnet localhost 5000netadmin/C1sco12345(Ubuntu host 102)BRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveExample topology fileBRKOPS-2455Resources and Closing 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#Cis
92、coLiveAPI White PaperWebsite:https:/ with live demos&examples:https:/ 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCisco IOS XE Programmability Booksprint BookTable of ContentsAuthorsAcknowledgmentsAbout this BookIntroductionWhy Programmability MattersLifecycle of Netwo
93、rk Device OperationsUse CasesOperational ApproachesNext StepsGeneral ConceptsCisco IOS XEWhat is Programmability?Application Programming Interfaces(APIs)Programming LanguagesStructured DataData Encoding FormatsDay 0 Device OnboardingIntroductionZero-Touch Provisioning(ZTP)ScenariosBasic ZTP WorkowAd
94、vanced ZTP WorkowsConsiderationsNext StepsYANGOverviewYANG ConceptsYANG Native vs Open Data ModelsYANG Data Model HighlightsYANG ToolsNetwork Device APIsOverviewNETCONFRESTCONFComparison of NETCONF and RESTCONFNext StepsTelemetryOverviewOperational DataFlow DataUse CasesSubscription ToolsData Collec
95、torsPythonOverviewPython WebUI SandboxOn-Box PythonAdvanced On-Box PythonCommon IssuesGuest ShellIntroductionSecurityConfuration and UpdatesResource AllocationUse CasesNext StepsApplication HostingIntroductionCisco Application-Hosting FrameworkContainers and Virtual MachinesUse CaseNext StepsControl
96、lersIntroductionCommon ControllersWhy Use a Controller?DevOps and NetDevOpsIntroductionContinuous Integration and DeliveryDevOps ToolsNext StepsAppendicesAdditional ResourcesAcronymshttp:/cs.co/programmabilitybook OR https:/ 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLive
97、https:/ Configuration GuideBRKOPS-2455 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCisco Programmability on YouTube80Session IDhttps:/ 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCisco Catalyst TV This channel is all about Cisco Catalyst
98、Platforms and its services and software solutions.Subscribe and Explore Playlists Catalyst Switching and Catalyst Programmability&Automation for videos and demos by the Technical Marketing Engineers on latest,relevant and exciting topics.https:/ you#CiscoLive 2023 Cisco and/or its affiliates.All rig
99、hts reserved.Cisco Public#CiscoLiveFill out your session surveys!Attendees who fill out a minimum of four session surveys and the overall event survey will get Cisco Live-branded socks(while supplies last)!BRKOPS-2455These points help you get on the leaderboard and increase your chances of winning d
100、aily and grand prizesAttendees will also earn 100 points in the Cisco Live Challenge for every survey completed.2023 Cisco and/or its affiliates.All rights reserved.Cisco PublicContinue your educationVisit the Cisco Showcase for related demosBook your one-on-oneMeet the Engineer meetingAttend the in
101、teractive education with DevNet,Capture the Flag,and Walk-in LabsVisit the On-Demand Library for more sessions at www.CiscoL 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLive85Gamify your Cisco Live experience!Get points Get points for attending this session!for attending this session!Open the Cisco Events App.Click on Cisco Live Challenge in the side menu.Click on View Your Badges at the top.Click the+at the bottom of the screen and scan the QR code:How:123485 2023 Cisco and/or its affiliates.All rights reserved.Cisco PublicBRKOPS-2455#CiscoLive