Parameters
These arguments are available:
- Arguments
- Commands
- Family
- Destination
- Gateway
Arguments
You can specify one or more of the these arguments, where n is specified as a variable to an argument. The value of the n variable is a positive integer.
Item | Description |
---|---|
|
Enables Active Dead Gateway Detection on the route. |
|
Clones a new route. |
|
Extracts the length of TSEL, which is used for the generation of cloned routes. |
|
Manipulates interface routing entries. |
|
Specifies round-trip time. |
|
Specifies round-trip time variance. |
|
Specifies send-window size. |
|
Specifies receive-window size. |
-allowgroup gid |
Specifies a group ID that has permission to use the route. The group ID is added to a list of permitted groups or deleted from a list of denied groups. |
-denygroup gid |
Specifies a group ID that does not have permission to use the route. The group ID is added to a list of denied groups or deleted from a list of permitted groups. |
-stopsearch |
Stops searching if a routing table lookup matches the route, but is not permitted to use the route due to group routing restrictions. |
-mtu n |
Specifies the maximum transmission unit for this route. This overrides the
interface |
-hopcount n |
Specifies maximum number of gateways in the route. |
-policy n |
Specifies the policy to be used for Multipath Routing. n is number between 1 and 5. 1. Weighted Round-Robin 2. Random 3. Weighted Random 4. Lowest Utilization 5. Hash-based If the policy is not explicitly set and multi-path routing is used, then the
global no command option called The default policy is Weighted Round Robin. This behaves similar to Round-Robin
when the weights are all 1. Although the Default policy is Weighted Round-Robin,
when the policy is not set, the network option However, if the policy is explicitly set to |
-weight n |
Specifies the weight of the route that is used for the Weighted policies with the Multipath Routing feature. |
-expire n |
Specifies expiration metrics used by the routing protocol. |
-ssthresh n |
Specifies the outbound gateway buffer limit. |
-lock |
Specifies a meta-modifier that can individually lock a metric modifier. The
|
-lockrest |
Specifies a meta-modifier that can lock all subsequent metrics. |
-if ifname |
Specifies the interface ( |
-xresolve |
Emits a message on use for external lookup. |
-iface |
Specifies that the destination is directly reachable. |
-static |
Specifies the manually added route. |
-nostatic |
Specifies the pretend route that is added by the kernel or daemon. |
-reject |
Emits an ICMP unreachable when matched. |
-blackhole |
Silently discards packets during updates. |
-proto1 |
Sets protocol specific routing flag number 1. |
-proto2 |
Sets protocol specific routing flag number 2. |
Commands
Commands include:
Item | Description |
---|---|
|
Adds a route. |
|
Removes all routes. |
|
Deletes a specific route. |
|
Changes aspects of a route, such as its gateway. |
|
Reports any changes to the routing information base, routing lockup misses, or suspected network partitionings. |
|
Looks up and displays the route for a destination. |
|
Sets the policy and weight attributes of a route. |
Family
This specifies the address family.
Item | Description |
---|---|
|
|
Destination
This identifies the host or network endpoint for the route.
Item | Description |
---|---|
|
Identifies the host or network to which you are directing the route. The
|
Gateway
This identifies the gateway for packets.
Item | Description |
---|---|
|
Identifies the gateway to which packets are addressed. The
|