您好,登錄后才能下訂單哦!
熟練掌握cisco 3550的常用配置命令
設(shè)置設(shè)備的標(biāo)示名,一般按設(shè)備型號(hào)+物理位置+管理IP地址
command:(config)#hostname machine_name
查看設(shè)備系統(tǒng)版本和信息
show version
show boot
show flash:
sh cpu
配置登錄的用戶名和密碼
username Cisco password cisco
關(guān)閉錯(cuò)誤命令查詢:no ip domain-lookup
SSH登錄配置
在配置模式下:
line vty 0 15 //"(config)#"在配置遠(yuǎn)程管理登錄
password cisco
login local //先設(shè)置密碼,開啟遠(yuǎn)程的效果
transport input {ssh|telnet|none|all} //
access-class 1 in //字符"1"為access-list 表名
no exec-timeout
enable 模式下:
enable password cisco
enable secret cisco1 //同時(shí)設(shè)置了secret密碼和password,enable密碼不生效
sh lacp sys-id
sh file system
sh hardware
dir or show flash
crypto key generate rsa //要先創(chuàng)建域名,使用命令ip domain name syx.com
AAA認(rèn)證開啟,aaa new-module
鄰居發(fā)現(xiàn)協(xié)議
cdp run
cdp timer 10
cdp holdtime 30
cdp advertise-v2
int f0/1接口下開啟cdp協(xié)議
cdp enable
7.line con 0 配置// console 口配置
password cisco
login local
8.spanning-tree
sh spanning-tree active
sh spanning-tree vlan XX active
9.NTP
ntp peer 192.168.1.1 ver 3 key 2 source f0/10 prefer
ntp authenticate
ntp broadcastdelay 3000
ntp trustkey 2
ntp authentication-key 2 md5 cisco
10.VTP
vtp mode {client |server|transparent}
vtp password cisco
vtp domain domain_name
vtp version 2
vtp pruning
查看vtp配置信息
sh vtp password
sh vtp status
11.端口安全port-security
int f0/1
swithport port-security ?
ip dhcp snooping(arp 防止***)
全局開啟 ip dhcp snooping
int f0/1
ip dhcp snooping {limit rate |trust|vlan}
sh ip dhcp snooping
12.終端顯示緩沖的大小
terminal length 100
terminal width 100
sh mac address-table dy int f0/1
sh int counters
errdisable recovery {internal|cause}
13.dhcp配置,在cisco 3550設(shè)備上配置
ip dhcp pool 0
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 192.168.1.254
domain-name cisco-china.com
lease 7 9
不被dhcp 地址池分配給用戶的地址設(shè)置
ip dhcp excluded-address 192.168.10.254
ip dhcp excluded-address 192.168.10.1 192.168.10.20
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。