Configures, retrieves, and modifies a virtual router group (VRRP)
URI | Description |
---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group | Configures a Virtual Router Redundancy Protocol (VRRP) group.. Supported interface types: Ethernet, Ve. |
GET URI | Description |
---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/track/interface/{interface-type}/{interface-name}/priority | Trackport Priority. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/advertisement-interval | Advertisement interval. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/enable | Enable Session. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/hold-time | Hold-time.Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/preempt-mode | Set preempt mode for the session. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/arp/unicast-request/receive | Receive unicast ARP requests. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/priority | Configures the priority. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/description | Characters describing the interface. Supported interface types: Ethernet, Ve. |
POST URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name} | <vrrp-group><vrid>{vrid-type}</vrid></vrrp-group> | Configures a virtual router group (VRRP). Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version} | <virtual-ip><virtual-ipaddr>{ip-address}</virtual-ipaddr></virtual-ip> | Virtual IPv4 address in dotted decimal. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/track | <interface><interface-type>ethernet</interface-type><interface-name>{interface-name}</interface-name></interface> | Interface to be tracked. Supported interface types: Ethernet, Ve. |
PUT URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/track/interface/{interface-type},{interface-name}/priority | <priority>{uint8}</priority> | Trackport Priority.Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/advertisement-interval | <advertisement-interval>{uint32}</advertisement-interval> | Advertisement interval. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/enable | <enable>true</enable> | Enable Session. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/hold-time | <hold-time>{uint32}</hold-time> | Hold-time. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/preempt-mode | <preempt-mode>true</preempt-mode> | Set preempt mode for the session.Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/arp/unicast-request/receive | <receive>true</receive> | Receive unicast ARP requests. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/priority | <priority>{uint8}</priority> | Configures the priority. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/description | <description>vrrpedesciption</description> | Characters describing the interface. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/use-v2-checksum | <use-v2-checksum>true</use-v2-checksum> | Enables v2 checksum computation method for VRRPv3 session. Supported interface types: Ethernet, Ve. |
PATCH URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version} | <vrrp-group><use-v2-checksum>true</use-v2-checksum></vrrp-group> | Enables v2 checksum computation method for VRRPv3 session. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vvrrp-group/{vrid}/track/interface/{interface-type},{interface-name} | <interface><priority>{uint8}</priority></interface> | Trackport Priority. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version} | <vrrp-group><advertisement-interval>{uint32}</advertisement-interval></vrrp-group> | Advertisement interval. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version} | <vrrp-group><enable>true</enable></vrrp-group> | Enable Session. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version} | <vrrp-group><hold-time>{uint32}</hold-time></vrrp-group> | Hold-time. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version} | <vrrp-group><preempt-mode>true</preempt-mode></vrrp-group> | Set preempt mode for the session. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version}/arp/unicast-request | <unicast-request><receive>true</receive></unicast-request> | Receive unicast ARP requests. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version} | <interface><priority>{uint8}</priority></interface> | Configures the priority. Supported interface types: Ethernet, Ve. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/vrrp-group/{vrid},{version} | <vrrp-group><description>{string}</description></vrrp-group> | Characters describing the interface. Supported interface types: Ethernet, Ve. |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/interface/Ve/2/vrrp-group/1%2C2
None
<vrrp-group xmlns="urn:brocade.com:mgmt:brocade-vrrp" y:self="/rest/config/running/interface/Ve/2/vrrp-group/1%2C2"> <vrid>1</vrid> <version>2</version> <virtual-ip y:self="/rest/config/running/interface/Ve/2/vrrp-group/1%2C2/virtual-ip/20.1.1.100"> <virtual-ipaddr>20.1.1.100</virtual-ipaddr> </virtual-ip> <track y:self="/rest/config/running/interface/Ve/2/vrrp-group/1%2C2/track"> </track> <enable>true</enable> <preempt-mode>true</preempt-mode> <arp y:self="/rest/config/running/interface/Ve/2/vrrp-group/1%2C2/arp"> <unicast-request y:self="/rest/config/running/interface/Ve/2/vrrp-group/1%2C2/arp/unicast-request"> </unicast-request> </arp> <priority>101</priority> </vrrp-group>
The following is an example of the POST operation to configure virtual IPv4 address in dotted decimal.
http://host:80/rest/config/running/interface/Ethernet/%221/\41%22/vrrp-group/10/2
<virtual-ip><virtual-ipaddr>10.1.1.100</virtual-ipaddr></virtual-ip>
None