Difference between revisions of "16471 Grundlæggende programmering"

From Teknologisk videncenter
Jump to: navigation, search
m (Python and networking)
m (Telnet)
Line 16: Line 16:
 
To use this module, you need to be able to telnet to one or more Cisco devices.
 
To use this module, you need to be able to telnet to one or more Cisco devices.
 
*[https://networksandrants.com/2018/10/24/using-python-and-telnet/ Using Python and Telnet]
 
*[https://networksandrants.com/2018/10/24/using-python-and-telnet/ Using Python and Telnet]
 +
 +
Example of basic setup
 +
 +
<source lang=cli>
 +
enable password cisco
 +
!
 +
username cisco password 0 cisco
 +
!
 +
aaa new-model
 +
aaa authentication login default local enable
 +
!
 +
line vty 0 15
 +
password cisco
 +
</source>
 +
 
==SSH==
 
==SSH==
 
To use this module, you need to be able to ssh to one or more Cisco devices.
 
To use this module, you need to be able to ssh to one or more Cisco devices.

Revision as of 09:15, 6 April 2020

  1. Link til Google Hangout
  2. Vores facebookgruppe til at dele info via denne link - gruppen hedder Grundlæggende programmering - Python
  3. Kurset følger i første del video læringsmaterialet via denne link til Oreilly
  4. Materiale til øvelser i videomateriale via denne link til Github

Python and networking

Materials

Telnet

To use this module, you need to be able to telnet to one or more Cisco devices.

Example of basic setup

enable password cisco
!
username cisco password 0 cisco
!
aaa new-model
aaa authentication login default local enable
!
line vty 0 15
 password cisco

SSH

To use this module, you need to be able to ssh to one or more Cisco devices.