Configuration
Configuration Syntax and Commands
Neighbor Timer Configuration
The following sections describe the interface configuration syntax and commands.
Syntax:
set global neighbor <attribute> <value>
Attribute | Description |
---|---|
garp-interval |
Gratuitous ARP interval. The value is in seconds. |
probe-interval |
Neighbor probe interval. The value is in seconds. |
ra-interval |
Router advertisement interval. The value is in seconds. |
scan interval |
Neighbor scan interval. The value is in seconds. |
throttle-interval |
ARP throttle interval. The value is in seconds. |
Example: Neighbor timer Configuration
{ "rtbrick-config:neighbor": { "garp-interval": 10, "probe-interval": 120, "scan-interval": 120, "throttle-interval": 120, "ra-interval": 120 } }
Static IP Neighbor Configuration
This section describes configuration options at static IP neighbors.
Syntax:
set interface <interface-name> unit <unit-id> neighbor <attribute> <value>
Attribute | Description |
---|---|
<interface-name> |
Name of the interface. Examples: ifp-0/0/1. |
<unit-id> |
Create a logical interface (also referred to as a sub-interface) under the physical interface. |
IPv4/IPv6 <ip-address> |
Neighbor IPv4 or IPv6 address. |
MAC <mac-address> |
Neighbor MAC address. |
Example: Static IP Neighbor Configuration
supervisor@rtbrick>LEAF01: cfg> show config { "data": { "rtbrick-config:interface": [ { "name": "ifp-0/1/5", "unit": [ { "unit-id": 1, "neighbor": { "ipv4": [ { "address4": "198.51.100.10", "mac": "11:11:11:11:11:11" } ] } } ] } ] } } supervisor@rtbrick>LEAF01: cfg>