专题一. 交换机与路由器的基本配置 交换机的基本配置 C2950# config terminal 进入全局配置模式 show interface fastethernet0/1 查看端口0/1的配置结果 show interface fastethernet0/1 status 查看端口0/1的状态 show mac-address-table 查看整个MAC地址表 clear mac-address-table restricted static 清除限定性地址 C2950(config)# hostname 2950A 设置主机名为2950A interface f0/23 进入端口23的配置模式 enable password cisco 设置enable password为cisco enable secret cisco1 设置enable secret为cisco1 ip address 192.168.1.1 255.255.255.0 设置交换机IP地址 ip default-gateway 192.168.1.254 设置默认网关 ip domain-name cisco.com 设置域名 ip name-server 200.0.0.1 设置域名服务器 mac-address-table aging-time 100 设置超时是时间为100s mac-address-table permanent 0000.0c01.cc f0/3 加入永久地址 mac-address-table restricted static 0000.0c02.bbcc f0/6 f0/7 加入静态地址 C2950(config-if)#speed ? 查看speed命令的子命令 speed 100 设置该端口速率为100Mb/s dulplex full/half/auto 设置该端口为全双工 description TO_PC1 设置该端口描述为TO_PC1 二.路由器的基本配置 interface fastethernet0/1 进入接口F0/1子配置模式 interface Ethernet0 进入以太网口0子配置模式 no shutdown 激活接口 ip address 192.168.1.2 255.255.255.0 设置接口的IP地址 show running-config 检查配置结果 show sessions 查看终端服务器的会话 专题二 配置VTP和STP 一. 配置VTP 2950A #vlan database 进入VLAN配置子模式 show vtp status 查看VTP设置信息 show vlan 查看VLAN配置信息 copy running-config startup-config 保存配置文件 2950A(vlan)#vtp server/client 设置本交换机为server/client模式 vtp pruning 启动修剪功能 vtp domain vtpserver 设置域名 vlan 2 创建VLAN2,系统将自动命名
- 粉丝: 1
- 资源: 11
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx