Mod Sub-Module Model Serial Hw Statu s --- --------------------------- ------------------ ------------ ------- ------- 5 Policy Feature Card 3 WS-F6K-PFC3A SAD0752009D 2.0 Ok 5 MSFC3 Daughterboard WS-SUP720 SAD075109HX 2.0 Ok 6 Policy Feature Card 3 WS-F6K-PFC3A SAD0751085J 2.0 Ok 6 MSFC3 Daughterboard WS-SUP720 SAD0751077C 2.0 Ok 7 Inline Power Module WS-F6K-PWR 0.0 Ok
Mod Online Diag Status --- ------------------- 2 Pass 3 Pass 5 Pass 6 Pass 7 Pass
在其中一台65xx上按下面模版进行配置 interface Vlan x ip address x.x.x.x x.x.x.x no ip redirects no ip directed-broadcast standby 1 ip y.y.y.y standby 1 priority 100 standby 1 preempt standby 1 authentication secret
在另一台65xx上按下面模版进行配置 interface Vlan x ip address x.x.x.x x.x.x.x no ip redirects no ip directed-broadcast standby 1 ip y.y.y.y standby 1 priority 110 ;这个优先级高,成为Master standby 1 preempt standby 1 authentication secret
7. 配置NTP
NTP (Network Time Protocol) 为路由器、交换机和工作站之间提供了一种时间同步 的机制。时间同步了,多台网络设备上的相关事件记录可以放在一起看,更为清楚, 方便了分析较复杂的故障和安全事件等。 (1)本地时钟设置: clock timezone Peking +8 ;定义时区 clock calendar-valid ;答应使用硬件calendar作为时钟源 clock set hh:mm:ss month year ;如clock set 14:02:30 10 December 2003 clock update-calendar ;更新硬件时钟 (2)ntp server ntp calendar-update ;答应NTP定期更新calendar ntp master 3 ;答应本机作为NTP协议的主时钟,精度级别3,供其它对等体同步用。
ntp source int vlan 7 ;设置ntp时钟原的端口或IP地址 (3)常用的调试命令有: show ntp status show ntp associations