Forum Discussion
OM
Jun 20, 2011Nimbostratus
ssh to specific partition
Hi, is it possible to ssh directly to a specific LTM partition instead of common one? i have big-ip 3600 10.2 with LTM and ASM modules ? thank you.
I wrote this for telnet in route domains but it would be easy to change it for SSH and other bash tools. I found it easier than keep doing ipv6 converts
modify script telnet {
proc script::run {} {
set base_record [split $tmsh::argv ]
set ipdomain [lindex $base_record 1]
set ip_domain [split $ipdomain "%" ]
set ip_addr [lindex $ip_domain 0]
set domain [lindex $ip_domain 1]
set hex_domain [format %04x $domain]
set port [lindex $base_record 2 ]
set string [list "2620:0000:0c10:f501:0000:$hex_domain:$ip_addr"]
if {$tmsh::argc eq 2} {
catch {exec telnet "$string"} result
} else {
catch {exec telnet "$string" "$port"} result
}
puts "$result"
if {$base_record eq "telnet" } {
puts "You must supply at least a IP address and route domain"
}
}
proc script::help {} {
tmsh::add_help "This will allow telnet to connect to a IP within a route domain\n\nUsage telnet <%route_domain_id> }
proc script::tabc {} {
puts "required values <%route_domain_id> "
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects