console attach-sdr location
To create console access to the named-SDRs, use console attach-sdr location command in System Admin Config mode.
console attach-sdr location node-id tty name tty-name sdr-name sdr-name
Syntax Description
console attach-sdr location node-id |
Specifies the location of the RP.
|
||
tty name tty-name |
Specifies the name of tty. It can either be console1 or console2. |
||
sdr-name sdr-name |
Specifies the named-SDR that can be accessed through console.
|
Command Default
None
Command Modes
System Admin Config modeCommand History
Release | Modification |
---|---|
Release 7.0.1 |
This command was introduced. |
Usage Guidelines
-
With named-SDRs, you can either use console1 or console2 of RP to access XR VM. You can connect up to two named-SDRs at any given time.
-
Console attach CLI needs to be configured for both Active and Standby RPs.
-
On redundancy switchover, access is seamlessly transferred to the new RP. You need to connect to the new RPs console (similar to default-SDR).
-
When all the VMs are created, you need to issue console attach-sdr CLI to get console access to the XR console.
Examples
The following example shows how to configure console access to named-SDR.
sysadmin-vm:0_RP0# configure
sysadmin-vm:0_RP0(config)# console attach-sdr location 0/RP0 tty-name console1 sdr-name sdr2
sysadmin-vm:0_RP0(config)# console attach-sdr location 0/RP1 tty-name console1 sdr-name sdr2
sysadmin-vm:0_RP0(config)# commit