Difference between revisions of "Cisco IOS"

From HackerNet
Jump to: navigation, search
m
Line 43: Line 43:
 
Slå på loggmeddelanden i SSH terminal.
 
Slå på loggmeddelanden i SSH terminal.
 
  terminal monitor
 
  terminal monitor
 +
 +
Disable Express Setup (mode button for 3 seconds)
 +
no setup express
  
 
[[Category:Cisco]]
 
[[Category:Cisco]]

Revision as of 21:31, 28 December 2015

IOS är den mjukvara som används av de flesta routrar och switchar av märket Cisco.

Konfiguration

Grundläggande

hostname [hostname]
enable secret [password]
service password-encryption
service nagle
no ip domain lookup
no ip http server

Tidszon

clock timezone CET 1
clock summer-time CEST recurring last sunday march 02:00 last sunday october 03:00

Banners

banner motd #Authorized Use Prohibited#
banner login #Authorized Use Prohibited#

Line

line con 0
logging synchronous
exec-timeout [minutes] [seconds]
login
line vty 0 15
logging synchronous
exec-timeout [minutes] [seconds]
login #local

login block

login block-for [seconds] attempts [attempts] within [seconds]

Tidsstämpel

service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime

Numrera loggrader

service sequence-numbers

LLDP

lldp run

Slå på loggmeddelanden i SSH terminal.

terminal monitor

Disable Express Setup (mode button for 3 seconds)

no setup express