conf t
clock time SGT 82) Set the time
exit
clock set 7:12:00 4 March 20103) Specify that the router is the master
conf t
ntp masterTo specify an NTP server:
1) Set the timezone
conf t
clock time SGT 82) Specify the server
ntp server 192.168.1.1To do NTP authentication, type this in global configuration:
ntp authenticate
ntp authentication-key 1 cisco
ntp trusted-key 1If the logging happen to use the wrong timezone, manually set the service through:
service timestamp log datetime msec local
service timestamp debug datetime msec localIn RIP, to manually change the hop count of certain paths, we must first manually disable auto summary:
conf t
router rip
no autoNext, proceed to create a standard access-list that matches the affected routes:
ip access-l standard OFFSET
permit 192.168.1.0 0.0.0.255Finally, apply the list to RIP as an offset-list:
conf t
router rip
offset-list OFFSET 8Likewise, to prevent certain routes from coming in or out, create a standard access-list that matches the affected routes, then apply it as a distribute-list either inbound or outbound.
To do RIP authentication, first set all routers to use RIP version 2:
router rip
ver 2Then create a key-chain:
key-chain KEYCHAIN
key 1
key-string ciscoNext, apply it the affected interfaces:
int f0/0
ip rip authentication mode md5
ip rip authentication key KEYCHAINTo do route summarization in RIP, go to participating interface and type:
ip summary-address rip 192.168.1.0 255.255.255.0To make RIPv2 use broadcast, go under the interface and type:
ip rip v2-broadcastTo use RIP unicast, specify all participating interfaces as passive:
router rip
passive-interface f0/0
passive-interface f0/2Next, specify the neighbors you want to send unicast updates to:
neighbor 192.168.1.1
neighbor 192.168.1.2To change RIP timers:
timers basic update invalid holddown flushBy default, update is 30, invalid is 180, holddown is 180, and flush is 60.
To restrict the version of updates allowed through an interface, go under the interface and type:
ip rip send version 2
ip rip receive version 2
No comments:
Post a Comment