Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Connect command

From NetworkCommands


Image:Cisco-logo-large.gif

A command available on most Cisco router and switch platforms; used to initiate telnet and other connections from the device where the command is executed, to another host.

Contents

Image:Vm-power-on-medium.png Usage Syntax

connect ip_address [/source-interface interface] [port] [/ipv4 | /ipv6]

Image:Vm-power-on-medium.png Usage Examples

connect 1.1.1.1 /source-interface GigabitEthernet0/1 - Telnet to host 1.1.1.1 using the IP address of GigabitEthernet0/1 as a source address

connect 2.2.2.2 10000 - Telnet to host 2.2.2.2 on port 10000

4.4.4.4 - Telnet to host 4.4.4.4

Image:accessories-text-editor-v2-medium.png Usage Notes

The /ipv4 and /ipv6 options force the use of the specified version of IP.

The command itself can be omitted (and just the IP address entered) when you wish to telnet to another device without using any command options.

Image:icemon-medium.png Related Commands

The telnet command is exactly the same as this command

The show sessions command can be used to display active and paused outbound connections

The disconnect command can be used to disconnect active and paused outbound connections and ssh connections

The resume command can be used to resume active outbound connections

The terminal escape sequence can be used to pause active outbound connections

Image:icemon-medium.png Related Articles

Information on Cisco commands Image:Cisco-logo-small.png

Information on Vyatta commands Image:Vyatta-logo-small.png

Information on Extreme commands Image:Extreme-logo-small.png

Information on Linux commands Image:Tux-small.png

Information on F5 BigIP commands Image:F5-logo-small.png

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to steve#networkstuff.eu (replacing the # with an @)



Site Toolbox:

Personal tools
This page was last modified on 24 July 2008, at 09:59. - This page has been accessed 34 times. - Disclaimers - About NetworkCommands
Powered by MediaWiki