Use this procedure to connect to a remote node. It supports remote console access through the near-end OLT node in supported topologies.
Use this task to connect to a remote node.
Follow the steps to establish a connection to a remote node through the near-end OLT node.
Procedure
-
Run remote-connect with mac or hostname of the remote node to establish connection to it.
Example:
If you have the hostname of the destination node, use
remote-connect hostname <hostname>.
RP/0/RP0/CPU0:ios#remote-connect hostname R5
In this example, R5 is the hostname of the remote node.
Example:
If you have the MAC address of the destination node, use
remote-connect mac <mac-address>.
RP/0/RP0/CPU0:ios#remote-connect mac 98:a2:c0:34:3f:f3
In this example, 98:a2:c0:34:3f:f3 is the MAC address of the remote node.
-
Run show remote-connect neighbours to verify the connections between the remote nodes and the OLT node.
Example:
The output highlights RCOM interface, hostname, and mac-address of the remote nodes that are connected to the OLT node.
RP/0/RP0/CPU0:ios#show remote-connect neighbours
Fri Oct 25 12:08:08.905 IST
Remote console neighbour details
Records : 2
Interface ChassisId Mac Hostname
MgmtEth0/RP0/RCOM0/0 FCxxxxxxx58 f8:39:18:3e:79:1b R5
MgmtEth0/RP0/RCOM0/0 FCxxxxxxxWY 68:9e:0b:b8:71:1e R4
-
(Optional) Run the remote-connect timeout command to set the timeout value for a remote connection session.
Example:
If you want to set a timeout value, use
remote-connect hostname <hostname> timeout <1-60>.
RP/0/RP0/CPU0:ios#remote-connect hostname PROD2 timeout 3
In this example, the timeout value is set to 3 minutes.
Note
The default timeout value is 15 minutes. The timeout range is 1 to 60 minutes.
-
(Optional) Run the remote-connect verbose command to collect logs for the remote connection between the near-end and far-end node.
Example:
RP/0/RP0/CPU0:ios#remote-connect mac 98:a2:c0:34:3f:f3 verbose
Wed Mar 19 15:15:59.436 IST
Verbose log enabled, log stored at : /var/log/remote_console/rcon.log ...
Welcome to Remote Console! Press Ctrl-Z to end session
Timeout set as : 15 min
In this example, verbose is enabled for the 98:a2:c0:34:3f:f3 mac-aaddress.