trusted-peer (tpvm mode)

Adds and removes bi-directional password-less SSH connection between the root user accounts of both the TPVM and Peer TPVM instances.

Syntax

trusted-peer ip ipv4-address password sudo-user-password [ sudo-user username ]
trusted-peer ipv6 ipv6-address password sudo-user-password [ sudo-user username ]
no trusted-peer [ ip ipv4-address | ipv6 ipv6-address ]

Command Default

None.

Parameters

ip ipv4-address
Specifies the IPv4 address of the Peer TPVM.
ipv6 ipv6-address
Specifies the IPv6 address of the peer TPVM.
sudo-user username
Specifies the SUDO User in the Peer TPVM. The default sudo-user is extreme. User-name length varies from 1-32 characters.
password sudo-user-password
Password for sudo-user in Peer TPVM. Password length varies from 1-512 characters. Special characters are not supported as part of the password are: double quote (“), single quote (‘), back slash (\), question mark (?), exclamation mark (!) and pipe (|).

Modes

TPVM Configuration mode

Usage Guidelines

The IPv4 address of the Peer TPVM and the password are mandatory parameters.

Examples

This example shows how to add a trusted peer without providing the user ID of the sudo user.

SLX (config-tpvm-TPVM)# trusted-peer ip 10.23.31.67 password password

This example shows how to add a trusted peer (with IPv6 address) without providing the user ID of the sudo user.

SLX (config-tpvm-TPVM)# trusted-peer ipv6 2002:2002::2001:2001 password password

This example shows how to add a trusted peer and providing the user ID of the sudo user.

SLX (config-tpvm-TPVM)# trusted-peer ip 10.23.31.67 sudo-user extreme password password
                

When trying to run two sessions in parallel.

SLX (config-tpvm-TPVM)# trusted-peer ip 10.23.31.67 password password
Another trusted-peer configuration is in progress. Please try again later.
                
Note

Note

This behaviour is common when you try to perform add-add, add-remove, or remove-remove commands running in parallel.

When the TPVM Peer IP address is not reachable and the user tries to add a trusted peer.

SLX (config-tpvm-TPVM)# trusted-peer ip 10.23.31.68 sudo-user extreme password password
Failed to connect to 10.23.31.68
                

When the user provides an invalid credential when adding a trusted peer.

SLX (config-tpvm-TPVM)# trusted-peer ip 10.23.31.67 sudo-user test password password 
Check input credentials.
                
Note

Note

This message is displayed when invalid username or invalid password is supplied while creating a trusted peer.

When the user account used to access the remote trusted peer is not in the sudo user's list or the account is not configured properly.

SLX (config-tpvm-TPVM)# trusted-peer ip 10.23.31.67 sudo-user testuser password password
Check sudouser configuration for testuser user.
                

This example shows how to remove a configured trusted peer without providing the remote peer's sudo user account user name:

SLX (config-tpvm-TPVM)# no trusted-peer ip 10.23.31.67 password password

This example shows how to remove a configured trusted peer by providing the remote peer's sudo user account user name:

SLX (config-tpvm-TPVM)# no trusted-peer ip 10.23.31.67 sudo-user extreme password password

When trying to remove a trusted peer but the peer is not reachable.

SLX (config-tpvm-TPVM)# no trusted-peer 10.23.31.68 sudo-user extreme password password
Failed to connect to 10.23.31.68
                

when trying to remove a trusted peer, but the user credentials are incorrect.

SLX (config-tpvm-TPVM)# no trusted-peer ip 10.23.31.67 sudo-user extreme password wrognpass
Check input credentials.
                
Note

Note

This message is displayed when invalid username or invalid password is supplied while removing the trusted peer.

When the user account used to access the remote trusted peer is not in the sudo user's list or the account is not configured properly.

SLX (config-tpvm-TPVM)# no trusted-peer ip 10.23.31.67 sudo-user testuser password password
Check sudouser configuration for testuser user.