成人AV在线无码|婷婷五月激情色,|伊人加勒比二三四区|国产一区激情都市|亚洲AV无码电影|日av韩av无码|天堂在线亚洲Av|无码一区二区影院|成人无码毛片AV|超碰在线看中文字幕

cisco交換機(jī)序列號(hào)查看命令

show versionsh inv show diagshow versionshow diagbus由于工作的關(guān)系,經(jīng)常需要給客戶作一些維保的服務(wù),這樣經(jīng)常需要了解客戶設(shè)備的序列號(hào)。往往客戶又比較

show version
sh inv
show diag
show version
show diagbus
由于工作的關(guān)系,經(jīng)常需要給客戶作一些維保的服務(wù),這樣經(jīng)常需要了解客戶設(shè)備的序列號(hào)。往往客戶又比較懶,不愿意去機(jī)房里面一個(gè)個(gè)查找。





Cisco交換機(jī)命令大總結(jié)
switch(config)#interface vlan 1 進(jìn)入vlan 1
switch(config-if)#ip address 設(shè)置IP地址
switch(config-if)#ip default-gateway 設(shè)置默認(rèn)網(wǎng)關(guān)
switch(config)#line vty 0 4 進(jìn)入虛擬終端
switch(config-line)#login 允許登錄
switch(config-line)#password xx 設(shè)置登錄口令
switch#exit 返回命令

Cisco交換機(jī)命令之控制臺(tái)口令

switch(config)#line console 0 進(jìn)入控制臺(tái)口
switch(config-line)#login 允許登錄
switch(config-line)#password xx 設(shè)置登錄口令
switch#exit 返回命令

Cisco交換機(jī)命令之基本接口配置

switch(config)#interface f0/1 進(jìn)入f0/1接口
switch(config-if)#duplex full 配置全雙工模式
switch(config-if)#speed 100 配置速率
switch(config-if)#description to ***** 接口描述
switch(config)#ip domain-name ***.com 設(shè)置或名服務(wù)器
switch(config)#mac-address-table aging-time 設(shè)置mac表超時(shí)時(shí)間
switch#write 保存配置信息
switch#copy running-config startup-config 保存當(dāng)前配置nvram
switch#erase startup-config 清除配置文件

Cisco交換機(jī)命令之交換機(jī)VLAN設(shè)置:

switch#vlan database 進(jìn)入VLAN設(shè)置
switch(vlan)#vlan 2 建VLAN 2
switch(vlan)#name 名字 建VLAN 2的名稱
switch(vlan)#no vlan 2 刪vlan 2
注:刪除vlan時(shí)原屬于此vlan的端口處于非激活狀態(tài),直到重新分配為止。
switch(config)#int f0/1 進(jìn)入端口1
switch(config-if)#switchport mode access 當(dāng)前端口工作莫試
switch(config-if)#switchport access vlan 2 當(dāng)前端口加入vlan 2
switch(config-if)#switchport mode trunk 設(shè)置為干線
switch(config-if)#switchport trunk encapsulation dot1q 設(shè)置vlan 中繼協(xié)議
switch(config-if)#no switchport mode 或 ( switchport mode access) 禁用干線
switch(config-if)#switchport trunk allowed vlan add 1,2 ; 從Trunk中添加vlans
switch(config-if)#switchport trunk allowed vlan remove 1,2 ;從Trunk中刪除vlans
switch(config-if)#switchport trunk pruning vlan remove 1,2 ;從Trunk中關(guān)閉局部修剪

Cisco交換機(jī)命令之以太網(wǎng)通道配置

switch(config)#interface range fasternet0/1 - 2 將fasternet0/1和0/2 口捆綁
switch(config-if)#channel-group 1 mode on 配置以太通道模式
switch(config-if)#port-channel load-balance {dst-mac | src-mac}在鏈路間實(shí)現(xiàn)負(fù)載均衡
switch#show etherchannel 1 summary 查看通道信息
switch#show etherchannel load-balance 查看通道信息

Cisco交換機(jī)命令之vtp配置

switch(config)#vtp domain 設(shè)置vtp域名
switch(config)#vtp password 設(shè)置vtp密碼
switch(config)#vtp mode server 設(shè)置vtp服務(wù)器模式
switch(config)#vtp mode client 設(shè)置vtp客戶機(jī)模式
switch(config)#vtp mode transparent 設(shè)置vtp 透明模式

標(biāo)簽: