martedì 21 giugno 2011

Cisco IOS Commands

Comandi Descrizione
Tab Completes the remainder of the command or keyword
Ctrl-R Redisplays a line
Ctrl-Z Exits configuration mode and returns to the EXEC
Down Arrow Allows user to scroll forward through former commands
Up Arrow Allows user to scroll backward through former commands
Ctrl-Shift-6 Allows the user to interrupt an IOS process such as ping or traceroute
Ctrl-C Aborts the current command and exits the configuration mode

enable/disable
Commands used to change the CLI between the user EXEC mode and the privileged EXEC mode, respectively
configure terminal Command used to take the device from privileged EXEC mode to the global configuration mode


hostname <NomeHost> Command to assign an hostname to a Router or Switch. PS: Only in global configuration mode
service password-encryption Command causes the encryption of passwords to occur when a password is configured. It is applies weak encryption to all unencrypted passwords. PS: Only in global configuration mode
banner motd #...# Command to set the login banner (MOTD) on a Router or Switch. PS: Only in global configuration mode
enable secret <password> Command to set encrypted password on privileged EXEC mode. PS: Only in global configuration mode
enable password <password> Command to set clear password on privileged EXEC mode. PS: Only in global configuration mode
line con 0
password <pwd>
login
Commands to limits device access using the console connection. PS: Only in global configuration mode
line vty 0 4
password <pwd>
login
Commands to limits device access using the VTY connection. PS: Only in global configuration mode
show running-config Command to lists the complete configurationts currently active in RAM (Router or Switch)
show startup-config Command to lists the complete configurationts currently active in NVRAM (Router or Switch)
copy running-config startup-config Command to save the currently configuration (RAM) into in NVRAM
interface <type> <port> Command to configure Router or Switch interface (fa0/0, s0/0/0, ecc..). PS: Only in global configuration mode
shutdown/no shutdown Command used to shutdown/active an interface. PS: Only in interface configuration mode
exit Command used to quit the current interface configuration mode.
ip address <ip> <mask> Command to set ip address and subnet mask for an interface (Router or Switch). PS: Only in interface configuration mode
show mac-address-table Command that show a mapping of how hosts are connected to a Switch.
ip default-gateway Command to set an ip address to a switch. Like any other host, the switch needs a gateway address defined to communicate outside of the LAN.
interface vlan 1
ip address <ip> <mask>

no shutdown
The address for a switch is assigned to a virtual interface represented as a (VLAN). In most cases, this is the interface VLAN 1. We assign an IP address to the VLAN 1 interface. Like the physical interfaces of a Router, we also must enable this interface with the no shutdown command.
show ip interface brief This command provides a more abbreviated output than the show ip interface command
ping <ip address> Command to test connectivity
traceroute <ip> Command to test connectivity
show ip route Command to show the routing table on a Router
no ip domain-lookup Command to disable DNS lookup. PS: Only in global configuration mode
line con 0
logging synchronous
In order to keep the unsolicited output separate from your input, enter line configuration mode for the consoled port and add the logging synchronous command
show controllers s0/0/0 Command to check clock rate signal on serial interfaces
interface s0/0/0
clock rate 64000
Command to set the clock rate on a serial interface
debug ip routing Show any changes that the Router performs when adding or removing routes.





Altre risore utili:

Nessun commento:

Posta un commento