电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

学习交换机基本配置

学习交换机基本配置_第1页
1/6
学习交换机基本配置_第2页
2/6
学习交换机基本配置_第3页
3/6
一、交换机的基本配置 1. 配置 en able 口令、密码和主机名 Switch> (用户执行模式提示符) Switch>enable (进入特权模式) Switch# (特权模式提示符) Switch#config terminal (进入配置模式) Switch(config)#enable password cisco (设置 enable password 为 cisco) Switch(config)#enable secret cisco1 (设置 enable secret 为 sisco1) Switch(config)#hostname C2950 (设置主机名为 C2950) C2950(config)#end (退回到特权模式) C2950# 2. 配置交换机 IP 地址、默认网关、域名和域名服务器 C2950(config)#ip address 192.168.1.1 255.255.255.0 (设置交换机 IP) C2950(config)#ip default-gateway 192.168.1.254 (设置默认网关) C2950(config)#ip domain-name cisco.com (设置域名) C2950(config)#ip name-server 200.0.0.1 (设置域名服务器) C2950(config)#end 3. 配置交换机的端口属性 C2950(config )#interface fastethernet0/1 (进入接口 0/1 的配置模式) C2950(config-if)#speed ? (查看 speed 命令的子命令) C2950(config-if)#speed 100 (设置该端口速率为 100Mbps) C2950(config-if)#duplex ? (查看 duplex命令的子命令) C2950(config-if)#duplex full (设置该端口为全双工) C2950(config-if)#description TO_PC1 (设置该端口描述为 TO_PC1) C2950(config-if)#^Z (返回到特权模式,同 end) C2950#show interface fastethernet0/1 (查看端口 0/1 的配置结果) C2950#show interface fastethernet0/1 status (查看端口 0/1 的状态) 4. 配置和查看MAC 地址表 C2950(config)#mac-address-table ? (查看mac-address-table 的子命令) C2950(config)#mac-address-table aging-time 100 (设置超时时间为100s) C2950(config)#mac-address-table permanent 0000.0c01.bbcc f0/3 (加入永久地址) C2950(config)#mac-address-table restricted static 0000.0c02.bbcc f0/3 f0/7 (加入静态地址) C2950(config)#end C2950#show mac-address-table (查看整个MAC 地址表) C2950#clear mac-address-table restricted static (清除限制性地址) 二、配置和管理 VLAN 1. VLAN基础知识 VLAN 技术:把物理上直接相连的网络从逻辑上划分为多个子网。每一个VLAN 对应着一个广播域,处于不同 VLAN 上的主机不能...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

学习交换机基本配置

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部