Basic Usage¶
FakeNOS has some built in default hosts which are used in case that no inventory is given. In such case it will open the following:
- router_cisco_ios: a device with username
userand passworduserin the port 6000. The platform iscisco_ios. - router_huawei_smartax: a device with username
userand passworduserin the port 6001. The platform ishuawei_smartax. - router_arista_eos: a device with username
userand passworduserin the port 6002. The platform isarista_eos.
In both cases, the fake devices are running on the localhost or 127.0.0.1 address. To run those just use the following code:
Initiate SSH connection using default username user and password user:
The equivalent to running above code would be to run FakeNOS CLI without any arguments: