cisco 二層交換機簡單操做

conf tide

hostname sw1spa

enable secret 5 sisterfrserver


conf txml

line vty 0 4blog

loginip

password 7 sisfurongci


interface vlan 1get

ip address 10.10.10.112 255.255.255.0flash

no shuit

exit

ip default-gateway 10.10.10.10

ip name-server 61.134.1.4

exit

ping www.baidu.com


dir

dir all

dir flash:

dir system:

dir nvram:

pwd



en

erase startup-config

reload


conf t

interface f0/11

duplex full


conf t

interface f0/24

switchport mode access

switchport mode trunk

switchport trunk encap dot1q

switchport trunk allowed vlan all

switchport mode access

switchport port-security mac-address sticky

switchport access vlan 2


conf t

vlan 3

no sh


interface f0/7

switchport mode access

switchport access vlan 3


en

show version

show interfaces vlan 1

show mac-address-table

show mac-address-table aging-time( 老化時間 )


show interfaces status

show interfaces trunk module 0

show interfaces transceiver properties

show interfaces vlan 1

show interfaces etherchannel

show interfaces switchport


show ip interface brief


show vlan brief

show vlan


en

systat

systat all


破解密碼

剛拿到一臺cisco交換機,是臺舊的;先從破解密碼開始;

安住「mode接通電源,開始……,出現下面的界面:


wKioL1M1Vs7SXFRtAAEtWn57UIA098.jpg


請注意:這個時候的提示符是——switch:

根據提示,輸入「flash_init就恢復了出場設置,這樣密碼就被清除掉了;但是……


















wKiom1Xia4mR65sgAABngpxKQnk547.jpg

相關文章
相關標籤/搜索