加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

cisco 二层交换机简单操作

发布时间:2020-12-15 17:41:21 所属栏目:百科 来源:网络整理
导读:conf?t hostname?sw1 enable?secret?5?sisterfr conf?t line?vty?0?4 login password?7?sisfurong interface?vlan?1 ip?address?10.10.10.112?255.255.255.0 no?shu exit ip?default-gateway?10.10.10.10 ip?name-server?61.134.1.4 exit ping?www.baidu.com

conf?t

hostname?sw1

enable?secret?5?sisterfr


conf?t

line?vty?0?4

login

password?7?sisfurong


interface?vlan?1

ip?address?10.10.10.112?255.255.255.0

no?shu

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接通电源,开始……,出现下面的界面:



请注意:这个时候的提示符是――switch:

根据提示,输入“flash_init就恢复了出场设置,这样密码就被清除掉了;可是……


















wKiom1Xia4mR65sgAABngpxKQnk547.jpg

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读