Вы находитесь на странице: 1из 2

List of most used Cisco IOS commands | vty.

me

Router Models
MODE Router> Router# Router(config)# Router(config-if)# Router(config-subif)# Router(config-line)# Router(config-router)# Router(config-if)#exit Router(config-if)#end Router(config)# Router# DESCRIPTION User mode Privileged mode Global configuration mode Interface mode Subinterface mode Line mode Router configuration mode Exit interface mode, return you one mode before Exit interfacemode, return to global configuration mode, (CTRL+Z)

Global Configuration Mode


COMMAND Router> Router# Router# conf t Router(config)# DESCRIPTION Can see config but not change Can see config, and move to make changes Moves to global config mode Disable IP domain name system hostname translation Sets Hello like message of the day banner

Router(config)#no ip domain-lookup Router(config)#banner motd ^Hello^

Configure Router Name


COMMAND Router(config)#hostname vtyme vtyme(config)# DESCRIPTION Name can be any word you choose After change was made

Configure Passwords
COMMAND Router(config)#enable password cisco Router(config)#enable secret class Router(config)#line con 0 Router(configline)#password console Router(config-line)#login Router(config-line)#loggin synchronous Router(config)#line vty 0 4 Router(configline)#password telnet Router(config-line)#login Router(config-line)#loggin synchronous Router(config)#line aux 0 Router(configline)#password nopass Router(config-line)#login Enters auxiliary line mode, sets auxiliary line mode password to nopass, enable password checking at login DESCRIPTION Set enable password Set enable secret password

Enter console line mode, sets console-line mode password to console, enable password checking at login and enable synchronized message output

Enter vty mode for all 5 vty lines, sets vty password to telnet, enable password checking at login and enable synchronized message output

http://vty.me/2010/03/27/list-of-most-used-cisco-ios-commands/[3/28/2010 8:08:59 PM]

List of most used Cisco IOS commands | vty.me

Router(config)#service password-encryption

Applies a weak encryption to passwords

Show Commands
COMMAND Router#show startupconfig Router#show runningconfig Router#show protocols Router#show ip route Router#show ip protocols Router#show vlan Router#show vtp Router#show spanning-tree Router#show macaddress-table Router#show ip interface brief Router#show cdp neghbors Router#show arp Router#show version Router#show flash Router#show history Router#show users Router#show clock Router#show controllers serial 0 Router#show sessions DESCRIPTION Displays configuration saved in NVRAM Displays condiguration currently running in RAM Displays status of configured Layer 3 protocols Displays routing table Displays IP routing protocols process parameters and statistic Displays VLAN status Displays VTP information Displays spanning tree topology Displays MAC table Displays summary of interface IP status and configuration Displays neighbor entries Displays the ARP table Displays info about loaded software version Displays info about Flash memory Displays history of commands used Displays all users connected to device Displays time set on device Displays statistics for interface hardware. Statistics display if the clock rate is set and if the cable is DCE or DTE or not attached Displays all telnet connections to device

Saving Configuration
COMMAND Router#copy run start Router#copy run tftp DESCRIPTION Saves the running-config to local NVRAM Saves the running-config remotely to TFTP server

Configure Interface
COMMAND Router(config)#interface fa0/0 Router(config-if)#ip address 192.168.1.2 255.255.255.0 Router(config-if)#no shutdown Router(config-if)#description homeLan Router(config-if)#no ip address Router(config)#interface s0/0 Router(config-if)#clock rate 64000 DESCRIPTION Moves to Fast Ethernet 0/0 interface mode Assigns address and subnet maks to interface Turn interface on Optional description of the link is locally significant Remove assign address from interface Moves to Serial 0/0 interface mode Configure serial interface clock speed

http://vty.me/2010/03/27/list-of-most-used-cisco-ios-commands/[3/28/2010 8:08:59 PM]

Вам также может понравиться