首页 > 其他 > 详细

HCIE实验LAB_1(8)

时间:2017-04-06 11:50:49      阅读:343      评论:0      收藏:0      [点我收藏+]

Section 8 : Feature

8.1 VRRP

interface g0/0/1                                                                     #默认优先级是100,track默认减少10

vrrp vrid 125 virtual-ip 10.1.15.254

vrrp vrid 125 priority 115

vrrp vrid 125 authentication-mode md5 HWvrrp

vrrp vrid 125 preempt-mode timer delay 20

vrrp vrid 125 track interface s2/0/0

vrrp vrid 125 track interface s2/0/0

 

interface g0/0/1

vrrp vrid 125 virtual-ip 10.1.15.254

vrrp vrid 125 authentication-mode md5 HWvrrp

 

8.2 DHCP

dhcp enable                                                                                            #R4是DHCP服务器

ip pool pool_24

gateway-list 10.1.24.254

dns-list 10.1.30.20

network 10.1.24.0 mask 24

excluded-ip-address 10.1.24.1 10.1.24.20

lease day 2 hour 0 minute 0

 

interface g0/0/0                                                                                       #配置好地址池后,接口上要选择全局地址池

dhcp select global

 

dhcp enable                                                                                             #SW4上全局开启dhcp和dhcp snooping功能

dhcp snooping enable

vlan 24                                                                                                    #vlan24下开启dhcp snooping功能并添加信任接口

dhcp snooping enable

dhcp snooping trusted interface g0/0/4

 

8.3 NTP

ntp-service authentication enable                                                                 #R1是NTP服务器

ntp-service authentication-keyid 1 authentication-mode md5 HWNTP

ntp-service reliable authentication-keyid 1

ntp-service refclock-master 3

 

interface g0/0/1

ntp-service broadcast-server authentication-keyid 1 

 

ntp-service authentication enable                                                                 #SW3和R5是NTP客户端

ntp-service authentication-keyid 1 authentication-mode md5 HWNTP

ntp-service reliable authentication-keyid 1

 

Interface vlanif15

ntp-service broadcast-client

 

dis ntp status                                                                                               #检查配置效果

HCIE实验LAB_1(8)

原文:http://www.cnblogs.com/xuebing666666/p/6672678.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!