connectorctl ip-route show
To display the current route configured for this connector instance, use the connectorctl ip-route show command. To see only individual interface network details, use the -n keyword.
connectorctl ip-route show { -p network-stack | -n interface | -d YES }
Syntax Description
Keywords and Variables |
Description |
---|---|
-p network-stack |
Accepted values are IPv4 and IPv6. |
-d YES |
Logs detailed firewall and IP table rules. |
-n interface-name |
Interface name. Accepted values are:
|
Command History
Release 3 |
This command is introduced. |
Examples
The following is a sample output of the command:[spacesadmin@connector ~]$ connectorctl ip-route show -p ipv4 -n SECONDARY
Executing command:ip-route
Command execution status:Success
-----------------------
Route information for connector
10.7.0.0/24 dev ens33 proto kernel scope link src 10.7.0.11 metric 101
10.7.0.0/24 via 10.7.0.1 dev ens33 proto static src 10.7.0.11 metric 101
Rule information for connector
438: from all to 10.7.0.11 lookup 18
439: from 10.7.0.11 lookup 18
[spacesadmin@connector ~]$ connectorctl ip-route show -p ipv4 -n PRIMARY
Executing command:ip-route
Command execution status:Success
-----------------------
Route information for connector
default via 10.22.244.1 dev ens32 proto static metric 100
10.22.244.0/24 dev ens32 proto kernel scope link src 10.22.244.180 metric 100
Note |
The above example assumes the following:
|