Connect command
From NetworkCommands
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 |
Usage Syntax
connect ip_address [/source-interface interface] [port] [/ipv4 | /ipv6]
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
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.
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
Related Articles
Information on Cisco commands
Information on Vyatta commands
Information on Extreme commands
Information on Linux commands
Information on F5 BigIP commands
Information on Blue Coat SGOS commands
Information on Nokia IPSO commands







