Prompt level router> router(config)# router(config-line)# router(config-if)# router(config-router)#
![]()
if you have a command go
hear to
The Router# < prompt
a note to the reader when you see the " < _" in the examples press the return key to enter the command in.
this web site is for reference only some commands my not work on all routers depending on what ios version you have
Enter the router configuration mode "Router(config)#" level from the "Router#" level
see also: router(config)#
Shortcuts: Config
example:
router#configure <-
configuring from terminal, memory, or network [terminal]? <-terminal is default
T <-
Enter configuration commands, one per line. end with CTRL+Z.
router(config)#
example:
router#config <-
configuring from terminal, memory, or network [terminal]?
memory <-useful if you want to load the current
-startup configuration
router#
example:
router#config <-
configuring from terminal, memory, or network [terminal]?
network <-load a config from a TFTP server
host or network configuration file [host]?
address of remote host[255.255.255.255]? "1.1.1.1" <-type the ip address of the host with the configuration here
name of configuration file [router-config]? <-this is required
configure using router-config from 1.1.1.1? [confirm]
loading router-config !![ok]
router#
Exit the router privileged exec mode
example:
router#exit <- router con0 is now avilable press return to get started.
Opens a connection to a remote host
Asks for network address or host name
Like "London" or an IP address like "10.1.3.5"
example:
router#connect <-return key
host:10.0.0.0 <-would open a connection to the 10.0.0.0 host
or
host: London <-would open a connection to the host London
options
host:10.0.0.0 20 <-would open the connection using port 20
host:10.0.0.0 20 newhost <-would open the connection having a keyword of "newhost"
<-on port 20 at ip address 10.0.0.0
Opens a connection to a remote host using telnet Asks for address or host name like "floor_1" or "10.253.156.24"
example:
router#telnet <-return key
host:10.0.0.0 <-would open a connection to the 10.0.0.0 host
or
host: London <-would open a connection to the host London
options
host:10.0.0.0 20 <-would open the connection using port 20
host:10.0.0.0 20 newhost <-would open the connection having a keyword of "newhost"
<-on port 20 at ip address 10.0.0.0
Disconnects an existing network connection
See also: exit, logout, connect
pings a host or interface
asks for ip address or host name
See also:
example:
router#ping 10.1.1.1 <-return key
type escape sequence to abort.
sending 5, 100-byte icmp echoes to 10.1.1.1, timeout is 2 seconds:
!!!!! <-this is the return part !=good reply .=timed out U=destination unreachable
<-N=network unreachable P=protocol unreachable Q=quench source "back of my buffer is full"
<-M=fragment A=destination is administrative unreachable ?=unknown response
success rate is 100 percent (5/5), round-trip min/avg/max = 25/25/25 ms
router#
full ping available only in exec mode "router#"
router#ping <-return key
protocol [ip]:
target ip address:10.1.1.1 <-this is the ip address you want to ping
repeat count [5]:
datagram size [100]:
timeout in seconds[2]:
extended commands [n]:Y
source address or interface: <-this is your ip address or the one you wnat to source the ping from
type of service [0]:
set DF bit in ip header? [no]:
validate reply data? [no]:
data pattern [0xabcd]:
loose, strict, record, timestamp, verbose [none]:
sweep range of sizes [n]:
type escape sequence to abort.
sending 5, 100-byte icmp echoes to 10.1.1.1, timeout is 2 seconds:
!!!!!
success rate is 100 percent (5/5), round-trip min/avg/max = 25/25/25 ms
router#
Shows information on almost any thing you need to know
See also: show user level
Sub commands:
Backup
Clock
Displays system clock
Compress
Dialer
Flash
Displays what is in the flash memory
History
Hosts
Location
Modemcap
PPP
Rmon
Rtr
Sessions
Snmp
Tacacs
Terminal
Traffic-shape
Users
Version
Access-enable
Enables the router to create a temporary access list entry in a dynamic access list.
Example:
Subcommands:
Atmsig
Executes ATM signaling commands.
Example:
Subcommands:
Cd
Clear
Dir
Help
Lat
Lock
Login
Mrinfo
Mstat
Mtrace
Name-connection
Pad
Ppp
Pwd
Resume
Rlogin
Slip
Systat
Terminal
Tn3270
Traceroute
Where
X3
Xremote
Exit the router privileged exec mode
example:
router#logout <- router>