HCIE实验LAB_1(8)

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                                                                                               #检查配置效果

posted on 2017-04-06 08:34  花名八戒  阅读(223)  评论(0编辑  收藏  举报