Difference between revisions of "Cisco Services"
From HackerNet
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...") |
Helikopter (talk | contribs) m (→NTP) |
||
Line 24: | Line 24: | ||
* Control messages: peer status och set management parameters | * Control messages: peer status och set management parameters | ||
* Update/request messages: time synchronization | * Update/request messages: time synchronization | ||
+ | ntp logging | ||
'''Server''' | '''Server''' | ||
+ | ntp master | ||
+ | show ntp packets mode server | ||
'''Klient''' | '''Klient''' | ||
ntp server 10.0.0.10 | ntp server 10.0.0.10 | ||
+ | ntp server vrf Mgmt 130.236.254.102 | ||
Verify | Verify | ||
show ntp status | show ntp status | ||
Line 35: | Line 39: | ||
'''Peer''' <br/> | '''Peer''' <br/> | ||
Båda enheter kan uppdatera sina klockor mot varandra, som ett NTP-kluster | Båda enheter kan uppdatera sina klockor mot varandra, som ett NTP-kluster | ||
+ | |||
'''Access control''' <br/> | '''Access control''' <br/> | ||
Med ACL, NTP Access control levels: | Med ACL, NTP Access control levels: |
Revision as of 20:52, 25 April 2016
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
ntp logging
Server
ntp master show ntp packets mode server
Klient
ntp server 10.0.0.10 ntp server vrf Mgmt 130.236.254.102
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