Command Line Reference
High Availability Configuratio...
VRRP/VRRP6
19 min
vrrp/vrrp6 vrrp/vrrp6 vrrp/vrrp6 view vrrp/vrrp6 view table 1 vrrp/vrrp6 view table 1 vrrp/vrrp6 view true 413,193#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type show {vrrp|vrrp6} \[interface {ethernet show {vrrp|vrrp6} \[interface {ethernet interface name \[ subinterface number ]|link aggregation lag id \[ subinterface number ] |vlan vlan id }] \[ vrid ] \[json|summary] \[command] show {vrrp|vrrp6} \[interface {ethernet interface name \[ subinterface number ] |link aggregation lag id \[ subinterface number ]| vlan vlan id }] \[ vrid ] \[ json|summary ] \[purpose] display vrrp/vrrp6 status information \[parameters] true 214,392#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type \[view] privileged user view \[notes] currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# show vrrp 1 virtual router id 1 protocol version 3 shutdown no interface ethernet 0/4 3002 vrrp interface (v4) vrrp4 1 primary ip (v4) 107 2 0 171 virtual mac (v4) 00 00 5e 00 01 01 status (v4) master priority 110 effective priority (v4) 110 preempt mode yes accept mode yes checksum with ipv4 pseudoheader yes advertisement interval 1000 ms master advertisement interval (v4) 1000 ms advertisements tx (v4) 36448 advertisements rx (v4) 8 gratuitous arp tx (v4) 1216 state transitions (v4) 2 skew time (v4) 570 ms master down interval (v4) 3570 ms tracking interface 0 ipv4 addresses 1 107 2 0 1 vrrp/vrrp6 config vrrp/vrrp6 config table 2 vrrp/vrrp6 config table 2 vrrp/vrrp6 config true 316,290#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type {vrrp|vrrp6} {vrrp|vrrp6} vrid \[version 2|3] \[command] {vrrp|vrrp6} vrid \[ version 2|3 ] \[purpose] configure vrid \[parameters] true 96,510#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] physical interface / sub interface/ vlanif / lagif configuration view \[notes] run command no {vrrp|vrrp6} vrid to delete the vrrp instance configuratio run command no vrrp vrid version to delete the vrrp version configuration currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/0 sonic(config if 0/0)# vrrp 1 {vrrp|vrrp6} {vrrp|vrrp6} vrid advertisement interval time \[command] {vrrp|vrrp6} vrid advertisement interval time \[purpose] configure advertisement interval for vrrp messages \[parameters] true 92,514#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] physical interface / sub interface/ vlanif / lagif configuration view \[notes] run command no {vrrp|vrrp6} vrid advertisement interval to restore the vrrp advertisement interval to the default value currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/0 sonic(config if 0/0)# vrrp 1 advertisement interval 100 {vrrp|vrrp6} {vrrp|vrrp6} vrid {ip a b c d/m | ipv6 x\ x x\ x/m } \[command] {vrrp|vrrp6} vrid { ip a b c d/m | ipv6 x\ x x\ x/m } \[purpose] configure virtual ip \[parameters] true 167,439#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type \[view] physical interface / sub interface/ vlanif / lagif configuration view \[notes] run command no {vrrp|vrrp6} vrid { ip a b c d/m | ipv6 x\ x x\ x/m } to delete the virtual ip configuration currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/0 sonic(config if 0/0)# vrrp 1 ip 1 1 1 1/24 no {vrrp|vrrp6} no {vrrp|vrrp6} vrid preempt \[command] no {vrrp|vrrp6} vrid preempt \[purpose] disable preempt mode \[parameters] true 166,440#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] physical interface / sub interface/ vlanif / lagif configuration view \[notes] default enable currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/0 sonic(config if 0/0)# no vrrp 0 preempt {vrrp|vrrp6} {vrrp|vrrp6} vrid priority pri \[command] {vrrp|vrrp6} vrid priority pri \[purpose] configure vrrp instance priority \[parameters] true 152,454#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] physical interface / sub interface/ vlanif / lagif configuration view \[notes] run command no {vrrp|vrrp6} vrid priority to delete the instance priority configuration currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/0 sonic(config if 0/0)# vrrp 1 priority 200 {vrrp|vrrp6} {vrrp|vrrp6} vrid shutdown \[command] {vrrp|vrrp6} vrid shutdown \[purpose] shutdown the vrrp instance \[parameters] true 149,457#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] physical interface / sub interface/ vlanif / lagif configuration view \[notes] run command no {vrrp|vrrp6} vrid shutdown to delete the shutdown the instance configuration currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/0 sonic(config if 0/0)# vrrp 1 shutdown no vrrp v no vrrp v rid checksum with ipv4 pseudoheader \[command] no vrrp v rid checksum with ipv4 pseudoheader \[purpose] configure checksum calculation without ipv4 packet pseudo header,but only for vrrp version 3 \[parameters] true 162,444#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] physical interface / sub interface/ vlanif / lagif configuration view \[notes] by default, the checksum calculation includes the ipv4 packet pseudo header currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/0 sonic(config if 0/0)# no vrrp 1 checksum with ipv4 pseudoheader {vrrp|vrrp6} {vrrp|vrrp6} vrid track interface {ethernet interface name |link aggregation lag id |vlan vlan id } priority dec pri \[command] {vrrp|vrrp6} vrid track interface { ethernet interface name | link aggregation lag id |vlan vlan id } priority dec pri \[purpose] configure interface for instance association \[parameters] true 156,450#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type \[view] physical interface / sub interface/ vlanif / lagif configuration view \[notes] run command no {vrrp|vrrp6} vrid track interface { ethernet interface name | link aggregation lag id | vlan vlan id } to delete the interface for instance association configuration currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/0 sonic(config if 0/0)# vrrp 1 track interface ethernet 0/4 priority dec 50 {vrrp|vrrp6} vrid bfd peer peer ip {vrrp|vrrp6} vrid bfd peer peer ip \[command] {vrrp|vrrp6} vrid bfd peer peer ip \[purpose] enable bfd for vrrp instances \[parameters] true 162,444#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] physical interface / sub interface/ vlanif / lagif configuration view \[notes] run command no {vrrp|vrrp6} vrid bfd peer to disable bfd for vrrp instances currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/0 sonic(config if 0/0)# vrrp 15 bfd peer 192 168 2 1 {vrrp|vrrp6} {vrrp|vrrp6} vrid bfd profile bfd profile \[command] {vrrp|vrrp6} vrid bfdprofile bfd profile \[purpose] configure bfd profile for vrrp instances \[parameters] true 174,432#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] physical interface / sub interface/ vlanif / lagif configuration view \[notes] run command no {vrrp|vrrp6} vrid bfd profile to delete bfd profile for vrrp instances currently only supported on cx308p 48y n v2, cx532p n v2 and cx732q n v2 \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/0 sonic(config if 0/0)# vrrp 15 bfd peer test
