Cisco IOS

From HackerNet
Jump to: navigation, search

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