Difference between revisions of "API-SSH-Management"
Line 59: | Line 59: | ||
+ | <h2>'''Cisco - IOS v15'''</h2>Minimum* configuration: | ||
+ | <h2>'''Cisco - IOS v15'''</h2>Minimum* configuration: | ||
Revision as of 03:59, 22 June 2021
Management Device
Introduction
Device management via api and (or) ssh.
Management can be globally divided into two parts: group configuration your devices and request-response for reporting your settings.
Cisco - IOS v15
Minimum* configuration:
BASIC ETHERNET CONFIGURATION - SUMMARY STEPS
1. Router> enable
2. Router# configure terminal
3. Router(config)# interface gigabitethernet 0/0
4. Router(config-if)# ip adress 10.9.90.201 255.255.255.0
5. Router(config-if)# ipv6 address 2001:db8:B40:4000::101/64
6. Router(config-if)# no shutdown
7. Router(config-if)# exit
8. Router(config)# ip route 0.0.0.0 0.0.0.0 10.9.90.1
9. Router(config)# ipv6 route ::/0 2001:db8:B40:4000::1
BASIC SSH CONFIGURATION - SUMMARY STEPS
10. Router(config)# ip domain name domain.local
11. Router(config)# hostname MBRouter
12. MBRouter(config)# crypto key generate rsa modulus 1024
13. MBRouter(config)# username root privilege 15 secret PassW0rd
14. MBRouter(config)# aaa new-model
15. MBRouter(config)# line vty 0 4
16. MBRouter(config-line)# transport input ssh
17. MBRouter(config-line)# exit
ADDITIONAL CONFIGURATION - SUMMARY STEPS
18. MBRouter(config)# enable secret PassW0rd
19. MBRouter(config)# service password-encryption
20. MBRouter(config)# end
21. MBRouter# copy running-config startup-config
Cisco - IOS v15
Minimum* configuration:
Cisco - IOS v15
Minimum* configuration: