set protocols vrrp interface vrid ipv6-nd ra-lifetime
The set protocols vrrp interface vrid ipv6-nd ra-lifetime command configures the lifetime, in seconds, for the routing switch to be used as a default router by hosts on the current interface.
The delete protocols vrrp interface vrid ipv6-nd ra-lifetime command restores the default configuration.
Command Syntax
set protocols vrrp interface <interface-name> vrid <virtual-router-id> ipv6-nd ra-lifetime <time>
Parameter
Parameter | Description |
interface <interface-name> | Specifies the Layer 3 interface name of VRRP device. The value could be the VLAN interface name, the routed interface or the sub-interface name. The value is a string. |
vrid <virtual-router-id> | Specifies the VRID of a VRRP group. The value is an integer that ranges from 1 to 254. |
ra-lifetime <time> | Specifies lifetime in seconds of a default router. A setting of 0 for default router lifetime in an RA indicates that the routing switch is not a default router on the interface. Range: 0-9000 seconds. Default: 1800 seconds. |
Example
- Configure the lifetime for the routing switch to be used as a default router by hosts on the current interface.
admin@Xorplus# set protocols vrrp interface vlan100 vrid 2 ipv6-nd ra-lifetime 2000 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.