Cisco Services

From HackerNet
Revision as of 15:57, 16 April 2016 by Helikopter (talk | contribs) (Created page with "Cisco IOS har stöd för diverse protokoll. =HTTP= ip http server show ip http server all HTTPS ip http secure-server =DNS= Server ip dns server ip dns spoofing 2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cisco IOS har stöd för diverse protokoll.

HTTP

ip http server
show ip http server all

HTTPS

ip http secure-server 

DNS

Server

ip dns server
ip dns spoofing 2.2.2.2
ip name-server 8.8.4.4 8.8.8.8 
ip domain round-robin

Verify

show ip dns primary
show hosts

Debug

debug domain

NTP

Packet types

  • Control messages: peer status och set management parameters
  • Update/request messages: time synchronization

Server

Klient

ntp server 10.0.0.10

Verify

show ntp status
show ntp associations 

Peer
Båda enheter kan uppdatera sina klockor mot varandra, som ett NTP-kluster Access control
Med ACL, NTP Access control levels:

Authentication

ntp server 1.1.1.1 prefer
ntp authenticate
ntp authentication-key 20 md5 SECRET
ntp trusted-key 20
ntp peer 10.0.0.10 key 20

Broadcast

interface gi2
 ntp broadcast
 ntp broadcast key 20

Switch

int vlan 101
 ntp broadcast client

Multicast

ntp multicast 

Ställ klockan manuellt. Kan göras för att skynda på klocksynkronisering.

clock set 12:00:00 20 July 2020

SCP

TFTP

Dela ut fil med tftp

tftp-server flash:ios.bin

Debug

debug tftp events

FTP

Server

Klient