Difference between revisions of "Cisco IOS"

From HackerNet
Jump to: navigation, search
Line 38: Line 38:
 
  service sequence-numbers
 
  service sequence-numbers
  
 +
'''LLDP'''
 +
lldp run
  
 
[[Category:Cisco]]
 
[[Category:Cisco]]

Revision as of 19:56, 21 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