show ip interface s0/0
show controllers s0/0
show protocols
show ip interface brief
clear counters
show interface s0/0
show cdp entry * protocol
write erase
erase startup-config
copy run start
write
reload
show startup-config
show running-config
show flash:
bandwidth
clock rate
clock set 11:11:11 24 Nov
clock timezone BJ +8
show run | begin interface
interface f0/1
ip add 192.168.1.1 255.255.255.0
no shutdown
ip add 192.168.1.2 255.255.255.0 secondary
do show running-config
description connect to Wan interface
banner login #This is login banner message#
banner incoming # This is incoming banner message#
banner exec # This is exec banner message#
banner motd # This is motd banner message#
banner prompt-timeout # This is prompt-timeout banner message#
service password-encryption
hostname xxxx
ip domain-name cisco.com
crypto key generate rsa general-keys modulus 1024
ip ssh version 2
ip ssh authentication-retries 3
ip ssh timeout 30
line vty 0 935
line con 0
line aux 0
line tty 1 64
transport input ssh telnet
password cisco
login
login local
exec-timeout 0 0
logging synchronous
enable password cisco
enable secret cisco
username cisco privilege 15 password cisco
show history
show terminal
terminal history size 20
router rip
version 2
configure terminal/memory/network
disable
enable
logout
show version
ip http server
ip http secure-server
ip http authentication local
username cisco privilege 15 password cisco
SDM使用ssh和http双重认证