Difference between revisions of "Cisco IOS"

From HackerNet
Jump to: navigation, search
Line 40: Line 40:
 
'''LLDP'''
 
'''LLDP'''
 
  lldp run
 
  lldp run
 +
 +
Slå på loggmeddelanden i SSH terminal.
 +
terminal monitor
  
 
[[Category:Cisco]]
 
[[Category:Cisco]]

Revision as of 13:01, 22 November 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