DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)

(andrew) #1
admin connected from 127.0.0.1 using console on
*
ios0> en
ios0# show running-config
no service pad
no ip domain-lookup
no ip http server
no ip http secure-server
ip routing
ip source-route
ip vrf my-forward
bgp next-hop Loopback 1
!

The simulated devices implement all control plane
functions of the original operating system, but they do
not have the data plane implemented, so they do not
forward data traffic. Even with this limitation, ncs-
netsim network simulations are used extensively for
testing and learning.


As mentioned previously, Cisco NSO exposes a
RESTCONF northbound interface for automation and
integration purposes. Before simulated devices are
accessible over this interface, they have to be onboarded
within Cisco NSO. Devices can be onboarded through
any of the northbound interfaces that Cisco NSO
exposes, but in this example, the NSO CLI was chosen.
First, access to the NSO Cisco version (-C parameter) of
the CLI for the admin user is obtained by issuing the
ncs_cli -C -u admin command. The default password
is also admin. Once access to the NSO CLI is granted, all
the simulated Cisco IOS devices need to be added in the
configuration of the Cisco NSO server. Example 15-5
shows the configuration for ios0.


Example 15-5 Onboarding Simulated Devices in Cisco
NSO


Click here to view code image


$ ncs_cli -C -u admin
Free download pdf