好啊。报文格式如下:
[email=lab@R5]lab@R5[/email]> monitor traffic interface fxp2 detail
Listening on fxp2, capture size 96 bytes
15:09:58.032664 Out VID [7: 100] IP (tos 0xc0, ttl 255, id 336, offset 0, flags [none], proto: VRRP (112), length: 40) 10.1.1.2 > 224.0.0.18: VRRPv2-advertisement 20: vrid=100 prio=100 authtype=none intvl=1 addrs: 10.1.1.254
15:10:01.160095 Out VID [7: 100] IP (tos 0xc0, ttl 255, id 337, offset 0, flags [none], proto: VRRP (112), length: 40) 10.1.1.2 > 224.0.0.18: VRRPv2-advertisement 20: vrid=100 prio=100 authtype=none intvl=1 addrs: 10.1.1.254
15:10:04.469258 Out VID [7: 100] IP (tos 0xc0, ttl 255, id 338, offset 0, flags [none], proto: VRRP (112), length: 40) 10.1.1.2 > 224.0.0.18: VRRPv2-advertisement 20: vrid=100 prio=100 authtype=none intvl=1 addrs: 10.1.1.254
配置:
logical-routers {
r2 {
interfaces {
fxp2 {
unit 100 {
vlan-id 100;
family inet {
address 10.1.1.2/24 {
vrrp-group 100 {
virtual-address 10.1.1.254;
preempt;
accept-data;
}
}
}
}
}
}
}
r3 {
interfaces {
fxp1 {
unit 100 {
vlan-id 100;
family inet {
address 10.1.1.1/24 {
vrrp-group 100 {
virtual-address 10.1.1.254;
preempt;
accept-data;
}
}
}
}
}
}
}
}
[email=root@R5]root@R5[/email]# run show vrrp summary
Interface Unit Group Type Address Int state VR state
fxp1 100 100 lcl 10.1.1.1 up backup
vip 10.1.1.254
fxp2 100 100 lcl 10.1.1.2 up master
vip 10.1.1.254
[ 本帖最后由 apostle100 于 2008-5-10 22:01 编辑 ] |