diagnose ip route
Routing table.
This topic includes the following commands:
- diagnose ip route add
- diagnose ip route bulk-add
- diagnose ip route bulk-delete
- diagnose ip route bulk-list
- diagnose ip route delete
- diagnose ip route list
- diagnose ip route match
- diagnose ip route verify
diagnose ip route add
Add static route.
diagnose ip route add <intf-name> <XXX.XXX.XXX.XXX> <XXX.XXX.XXX.XXX> <XXX.XXX.XXX.XXX> <1-255> <0-4294967295> <verify> <ha>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<intf-name> |
Interface Name. |
string |
|
|
<XXX.XXX.XXX.XXX> |
IP address. |
string |
|
|
<XXX.XXX.XXX.XXX> |
IP network mask. |
string |
|
|
<XXX.XXX.XXX.XXX> |
Nexthop IP address. |
string |
|
|
<1-255> |
Route distance. |
string |
|
|
<0-4294967295> |
Route priority. |
string |
|
|
<verify> |
Verify operation. |
string |
|
|
<ha> |
HA protocol |
string |
|
diagnose ip route bulk-add
Add a set of static routes.
diagnose ip route bulk-add <intf-name> <XXX.XXX.XXX.XXX> <XXX.XXX.XXX.XXX> <0-32> <0-32> <XXX.XXX.XXX.XXX> <1-255> <0-4294967295> <Total number of routes to add.> <verify>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<intf-name> |
Interface Name. |
string |
|
|
<XXX.XXX.XXX.XXX> |
Start IP address. |
string |
|
|
<XXX.XXX.XXX.XXX> |
End IP address. |
string |
|
|
<0-32> |
Prefix length start. |
string |
|
|
<0-32> |
Prefix length end. |
string |
|
|
<XXX.XXX.XXX.XXX> |
Nexthop IP address. |
string |
|
|
<1-255> |
Route distance. |
string |
|
|
<0-4294967295> |
Route priority. |
string |
|
|
<Total number of routes to add.> |
. |
string |
|
|
<verify> |
Verify operation. |
string |
|
diagnose ip route bulk-delete
Delete the set of static routes added by bulk-add.
diagnose ip route bulk-delete <verify>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<verify> |
Verify operation. |
string |
|
diagnose ip route bulk-list
List the set of static routes added by bulk-add.
diagnose ip route bulk-list <all>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<all> |
List all bulk route added. |
string |
|
diagnose ip route delete
Delete static route.
diagnose ip route delete <intf-name> <XXX.XXX.XXX.XXX> <XXX.XXX.XXX.XXX> <XXX.XXX.XXX.XXX> <1-255> <0-4294967295> <verify> <ha>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<intf-name> |
Interface Name. |
string |
|
|
<XXX.XXX.XXX.XXX> |
IP address. |
string |
|
|
<XXX.XXX.XXX.XXX> |
IP network mask. |
string |
|
|
<XXX.XXX.XXX.XXX> |
Nexthop IP address. |
string |
|
|
<1-255> |
Route distance. |
string |
|
|
<0-4294967295> |
Route priority. |
string |
|
|
<verify> |
Verify operation. |
string |
|
|
<ha> |
HA protocol |
string |
|
diagnose ip route list
List routing table.
diagnose ip route list
diagnose ip route match
Match kernel route.
diagnose ip route match <XXX.XXX.XXX.XXX> <XXX.XXX.XXX.XXX> <intf-name> <intf-name> <0-511>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<XXX.XXX.XXX.XXX> |
Destination address. |
string |
|
|
<XXX.XXX.XXX.XXX> |
Source address. |
string |
|
|
<intf-name> |
Outgoing interface. |
string |
|
|
<intf-name> |
Incoming interface. |
string |
|
|
<0-511> |
VRF. |
string |
|
diagnose ip route verify
Verify static route.
diagnose ip route verify <intf-name> <XXX.XXX.XXX.XXX> <XXX.XXX.XXX.XXX> <XXX.XXX.XXX.XXX> <1-255> <0-4294967295>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<intf-name> |
Interface Name. |
string |
|
|
<XXX.XXX.XXX.XXX> |
IP address. |
string |
|
|
<XXX.XXX.XXX.XXX> |
IP network mask. |
string |
|
|
<XXX.XXX.XXX.XXX> |
Nexthop IP address. |
string |
|
|
<1-255> |
Route distance. |
string |
|
|
<0-4294967295> |
Route priority. |
string |
|