QuidwayS8500系列路由交换机命令手册VRRP目录i目录第1章VRRP配置命令...........................................................................................................1-11.1基于IPv4的VRRP配置命令.............................................................................................1-11.1.1debuggingvrrppacket.............................................................................................1-11.1.2debuggingvrrpstate...............................................................................................1-21.1.3displayvrrp..............................................................................................................1-31.1.4displayvrrpstatistics...............................................................................................1-51.1.5resetvrrpstatistics..................................................................................................1-71.1.6vrrpvridauthentication-mode..................................................................................1-71.1.7vrrpmethod.............................................................................................................1-81.1.8vrrpping-enable......................................................................................................1-91.1.9vrrpun-checkttl.....................................................................................................1-101.1.10vrrpvridpreempt-mode.......................................................................................1-101.1.11vrrpvridpriority....................................................................................................1-111.1.12vrrpvridtimeradvertise.......................................................................................1-121.1.13vrrpvridtrack.......................................................................................................1-131.1.14vrrpvridvirtual-ip.................................................................................................1-141.2基于IPv6的VRRP配置命令...........................................................................................1-151.2.1debuggingvrrpipv6packet...................................................................................1-151.2.2debuggingvrrpipv6state......................................................................................1-171.2.3displayvrrpipv6....................................................................................................1-181.2.4displayvrrpipv6statistics.....................................................................................1-201.2.5resetvrrpipv6statistics.........................................................................................1-211.2.6vrrpipv6vridauthentication-mode........................................................................1-221.2.7vrrpipv6method....................................................................................................1-231.2.8vrrpipv6ping-enable.............................................................................................1-241.2.9vrrpipv6vridpreempt-mode.................................................................................1-241.2.10vrrpipv6vridpriority............................................................................................1-251.2.11vrrpipv6vridtimeradvertise...............................................................................1-261.2.12vrrpipv6vridtrack...............................................................................................1-271.2.13vrrpipv6vridvirtual-ip.........................................................................................1-28QuidwayS8500系列路由交换机命令手册VRRP第1章VRRP配置命令1-1第1章VRRP配置命令1.1基于IPv4的VRRP配置命令1.1.1debuggingvrrppacket【命令】debuggingvrrppacket[interfaceinterface-typeinterface-number[vridvirtual-router-id]]undodebuggingvrrppacket[interfaceinterface-typeinterface-number[vridvirtual-router-id]]【视图】用户视图【参数】interfaceinterface-typeinterface-number:打开指定接口的报文调试开关。其中,interface-type为接口类型,interface-number为接口号。vridvirtual-router-id:打开指定接口下某备份组的报文调试开关。virtual-router-id为备份组号。【描述】debuggingvrrppacket命令用来打开VRRP报文发送和接收的调试开关。undodebuggingvrrppacket命令用来关闭VRRP报文发送和接收的调试开关。缺省情况下,VRRP的报文调试开关处于关闭状态。需要注意的是:当全局开关关闭,接口开关或备份组开关打开时,接口或者备份组仍然能够输出调试信息,其对应的调试开关的关闭必须进行相应的undo操作。关闭全局开关并不会关闭具体接口或者具体备份组的调试开关。【举例】#打开VRRP报文接收和发送的调试开关,对设备上所有虚拟备份组的报文进行调试。Sysnamedebuggingvrrppacket*0.649641routeraVRRP/8/DebugPacket:IPv4Vlan-interface2|VirtualRouter1:receivingfrom1.1.1.3,version=2,type=1,priority=120,countipaddrs=1,timer=1,authtypeisno,checksum=61796QuidwayS8500系列路由交换机命令手册VRRP第1章VRRP配置命令1-2Vlan-interface2|VirtualRouter1:sendingfrom1.1.1.2,version=2,type=1,priority=120,countipaddrs=1,timer=1,authtypeisno,checksum=61725#打开接口Ethernet1/1/1下所有VRRP备份组报文接收和发送的调试开关。Sysnamedebuggingvrrppacketinterfaceethernet1/1/1*0.715203routerbVRRP/8/DebugPacket:Ethernet0/4/0|VirtualRouter1:sendingfrom2.2.2.3,version=2,type=1,priority=100,countipaddrs=1,timer=1,authtypeisno,checksum=63245表1-1debuggingvrrppacket