【文件属性】:
文件名称:软考网络工程师级配置题总结
文件大小:12KB
文件格式:TXT
更新时间:2012-10-15 01:59:15
软考网络工程师级配置题总结
Enable password cisco 设置enable password 为 cisco
Enable secret cisco1 设置enable secret 为 cisco1
Hostname host1 设置主机名为host1
End 回到特权模式
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 设置域名服务器
Interface f0/1 进入接口f0/1的配置模式
Speed 100 设置该端口速率为100Mb/s
Duplex full 设置该端口为全双工
Description to-pc1 设置该端口描述为to-pc1
Show interface fastethernet0/1 查看端口f0/1的配置结果
Show interface fastethernet0/1 status 查看端口f0/1的状态
Mac-address-table aging-time 100 设置超时时间为100s
Mac-address-table permanent 0000.0c01.bbcc f0/3 加入永久地址
Mac-address-table restricted static 0000.0c02.bbcc f0/6 f0/7 加入静态地址
Clear mac-address-table restricted static 清除限制地址
2. VLAN配置
Vlan database 进入vlan配置子模式