10-可靠性配置命令 参数 参数 参数说明 nable-threshold当主接口实际发送或接收的数据速率占用该接口的带宽的百分比超过 enable-threshold时将激活备份接口 disable-threshold|当负载占用带宽的百分比小于 disable-threshold时将去激活备份接口 Never 阻止激活或去激活 缺省 参数值均为 Never,即流量均衡功能没有启用 命令模式 接口配置态 使用指南 配置备份流量均衡前首先要求配置备份接口,即首先要启动备份功能。设置激活备份接 口的门限值不能小于去激活备份接口的门限值 示例 下面例子在串口s1/0端口配置流量均衡 Router config_ s1/0#backup int s1/1 Router config_ s1/0#backup load 70 30 1.1.5 Debug backup 关于端口备份 debug信息开关,用于观察端口备份功能中接口中收到的时间和状态跃迁 信息。No命令关闭 Debug信息 debug backup no debug backup 参数 无 缺省 无
10-可靠性配置命令 参数 参数 参数说明 enable-threshold 当主接口实际发送或接收的数据速率占用该接口的带宽的百分比超过 enable-threshold时将激活备份接口 disable-threshold 当负载占用带宽的百分比小于disable-threshold时将去激活备份接口 Never 阻止激活或去激活 缺省 参数值均为 Never,即流量均衡功能没有启用 命令模式 接口配置态 使用指南 配置备份流量均衡前首先要求配置备份接口,即首先要启动备份功能。设置激活备份接 口的门限值不能小于去激活备份接口的门限值 示例 下面例子在串口 s1/0 端口配置流量均衡: Router_config_s1/0#backup int s1/1 Router_config_s1/0#backup load 70 30 1.1.5 Debug backup 关于端口备份 debug 信息开关,用于观察端口备份功能中接口中收到的时间和状态跃迁 信息。No 命令关闭 Debug 信息 deubug backup no debug backup 参数 无 缺省 无 - 4 -
10-可靠性配置命令 命令模式 用户管理态 示例 下面是打开 debug信息,并观察到的端口备份功能的相关信息 Router#debug backup Router*conf Router config#int s1/0 Router config s1/0#backup int d1 Router_ config. s1/0#2001-11-28 11: 13: 30 BACKUP Serial1/0 secondary interface Ser al0/1 unconfigured 2001-11-28 11: 13: 30 BACKUP Serial/0 changed state to initializing 2001-11-28 11: 13: 30 BACKUP Serial/0 second interface Dialer1 configured 2001-11-28 11: 13: 30 BACKUP Serial0/0 changed state to NORMAL 2001-11-28 11: 13: 30 BACKUP Serial/0 second interface move to standby 1.1.6 show backup show backup 参数 无 缺省 使用指南 用于显示当前路由器中所有已经配置的端口备份功能接口及相关状态信息 示例 Router config s1/1#show ba Primary Interface Secondary Interface Statu Serial1/0 Dialer Serial1/ BACKUPMODE
10-可靠性配置命令 命令模式 用户管理态 示例 下面是打开 debug 信息,并观察到的端口备份功能的相关信息 Router#debug backup Router#conf Router_config#int s1/0 Router_config_s1/0#backup int d1 Router_config_s1/0#2001-11-28 11:13:30 BACKUP Serial1/0 secondary interface Seri al0/1 unconfigured 2001-11-28 11:13:30 BACKUP Serial0/0 changed state to initializing 2001-11-28 11:13:30 BACKUP Serial0/0 second interface Dialer1 configured 2001-11-28 11:13:30 BACKUP Serial0/0 changed state to NORMAL 2001-11-28 11:13:30 BACKUP Serial0/0 second interface move to standby 1.1.6 show backup show backup 参数 无 缺省 无 使用指南 用于显示当前路由器中所有已经配置的端口备份功能接口及相关状态信息 示例 Router_config_s1/1#show ba Primary Interface Secondary Interface Status Serial1/0 Dialer1 NORMAL Serial1/1 Dialer2 BACKUPMODE - 5 -
10-可靠性配置命令 第2章HSRP配置命令 21HSRP配置命令 HSRP配置命令包括 debug standby ● show standby show standby brief standby authentication p stand by ma ress standby priority, standby preempt stand by timers 2.1.1 debug standby 为调试热备份路由器协议(HSRP)状态信息,使用 debug standby命令关闭调试输出。 debug standby [interface interface-name group-id] [event] 参数 命令模式 管理态 使用说明 显示端口下配置的HSRP协议的运行事件信息,如果要指定一个备份组 group,也必须指 定相应的接口名称和组id
10-可靠性配置命令 第2章 HSRP 配置命令 2.1 HSRP配置命令 HSRP 配置命令包括: z debug standby z show standby z show standby brief z standby authentication z standby ip z standby mac-address z standby priority, standby preempt z standby timers z standby track 2.1.1 debug standby 为调试热备份路由器协议(HSRP)状态信息,使用 debug standby 命令关闭调试输出。 debug standby [interface interface-name group-id] [event] 参数 无 命令模式 管理态 使用说明 显示端口下配置的 HSRP 协议的运行事件信息,如果要指定一个备份组 group,也必须指 定相应的接口名称和组 id。 - 6 -
10-可靠性配置命令 示例 以下是 debug standby命令的示例输出: Router# debug standby event 2000-1-13 00: 00: 09 HSRP EVT: eo/0 groupO delete virtual ip 192. 168.20.1 2000-1-13 00: 00: 09 HSRP EVT: e0/0 group 0 add virtual ip 192. 168.20.5 debug standby [interface interface-name group-id] [packets 参数 无 命令模式 管理态 使用说明 显示端口下配置的HSRP协议的收发报文的信息,如果要指定一个备份组 group,必须指 定相应的接口名称和组id。 示例 以下是 debug standby命令的示例输出: Router# debug standby packets 2000-1-13 00: 08: 57 HSRP PKT SEND: e0/0 HELLo out 192. 168.20.237 Active pri 100 ip 192.168.20.201 2000-1-13 00: 09: 00 HSRP PKT SEND: e0/0 HELLO out 192.168.20.237 Active pri 100 ip 192.168.20.201 表描述了显示中的域 域 描述 2001-1-1300:08:57 处理报文的时间 HSRP PKT 表明显示的是HSRP报文信息 SEND/RECV 发送接收报文 发送/接收报文的端口名称 HELLO/COUP/RESIGN 报文类型 192.16820.237 P报文的源地址 ctive/Standby/Speak 协议状态
10-可靠性配置命令 示例 以下是 debug standby 命令的示例输出: Router# debug standby event 2000-1-13 00:00:09 HSRP EVT : e0/0 group 0 delete virtual ip 192.168.20.1 2000-1-13 00:00:09 HSRP EVT : e0/0 group 0 add virtual ip 192.168.20.5 debug standby [interface interface-name group-id] [packets] 参数 无 命令模式 管理态 使用说明 显示端口下配置的 HSRP 协议的收发报文的信息,如果要指定一个备份组 group,必须指 定相应的接口名称和组 id。 示例 以下是 debug standby 命令的示例输出: Router# debug standby packets 2000-1-13 00:08:57 HSRP PKT SEND : e0/0 HELLO out 192.168.20.237 Active pri 100 ip 192.168.20.201 2000-1-13 00:09:00 HSRP PKT SEND : e0/0 HELLO out 192.168.20.237 Active pri 100 ip 192.168.20.201 表描述了显示中的域。 域 描述 2001-1-13 00:08:57 处理报文的时间 HSRP PKT 表明显示的是HSRP报文信息 SEND/RECV 发送/接收报文 e0/0 发送/接收报文的端口名称 HELLO/COUP/RESIGN 报文类型 192.168.20.237 IP报文的源地址 Active/Standby/Speak 协议状态 - 7 -