【cisco实验】练习 2.3.8: 配置基本交换机管理



地址表


设备     接口     IP 地址     子网掩码
S1    VLAN99    172.17.99.11    255.255.255.0
PC1    网卡    172.17.99.21    255.255.255.0
服务器    网卡    172.17.99.31    255.255.255.0
学习目标

使用控制台连接连到交换机
浏览各种 CLI 模式
使用帮助机制配置时钟
访问并配置命令历史记录
配置启动顺序
配置 PC 并将其连接到交换机
配置全双工
管理 MAC 地址表
管理交换机配置文件
简介:

基本交换机管理是配置交换机的基础工作。本练习的重点是:浏览各种命令行接口模式,使用帮助功能,访问命令历史记录,配置启动顺序参数,设置速率和双工设置,以及管理 MAC 地址表和交换机配置文件。后续章节中的交换机基本安全配置将会用到本练习中所学到的技能。


S1配置:

Switch#conf t
Switch(config)#hostname S1
S1(config)#int vlan 99
S1(config-if)#ip address 172.17.99.11 255.255.255.0
S1(config-if)#no shutdown

S1(config-if)#int fa0/18
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 99

S1(config-if)#line console 0
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#history size 35

S1#clock set 19:46:21 18 Oct 2015

S1(config)#line vty 0 4
S1(config-if)#history size 35

S1(config)#int fa0/18
S1(config-if)#dulpex full
S1(config-if)#speed 100

S1(config)#int fa0/24
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 99

S1#copy startup-config tftp:
Address or name of remote host []? 172.17.99.31
Destination filename [S1-confg]? [Enter]


原文地址:https://www.cnblogs.com/A-yes/p/9894230.html