tpvm config trusted-peer

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

Syntax

tpvm config trusted-peer add ipv4-address sudo-user username password sudo-user-password
tpvm config trusted-peer add ipv4-address password sudo-user-password
tpvm config trusted-peer remove ipv4-address sudo-user username password sudo-user-password
tpvm config trusted-peer remove ipv4-address password sudo-user-password

Command Default

None.

Parameters

add
Adds Trusted-Peer configuration.
remove
Removes Trusted-Peer configuration.
ipv4-address
Specifies the IPv4 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

Privileged EXEC mode

Usage Guidelines

The no form of this command is not available.

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

Examples

This example shows how to add a trusted peer

SLX# tpvm config trusted-peer add 10.23.31.67 password password
                

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

SLX# tpvm config trusted-peer add 10.23.31.67 password password
                

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

SLX# tpvm config trusted-peer add 10.23.31.67 sudo-user extreme password password
                

When trying to run two sessions in parallel.

SLX# tpvm config trusted-peer add 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# tpvm config trusted-peer add 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# tpvm config trusted-peer add 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# tpvm config trusted-peer add 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# tpvm config trusted-peer remove 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# tpvm config trusted-peer add 10.23.31.67 sudo-user extreme password password

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

SLX# tpvm config trusted-peer remove 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# tpvm config trusted-peer add 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# tpvm config trusted-peer remove 10.23.31.67 sudo-user testuser password password
   Check sudouser configuration for testuser user.