计算机网络交换机的基本配置总结,计算机网络-交换机基本配置

本文档展示了如何在Cisco交换机上进行基本配置,包括设置密码、启用HTTP服务、配置接口等。在命令行中使用自动补全和命令简写时,需要注意命令的唯一性。同时,强调了不同操作模式下的命令限制,交换机不能跨模式执行命令。在尝试保存配置时遇到错误,提示无法识别主机或地址。
摘要由CSDN通过智能技术生成

version RGOS 10.4(3b2)p1 Release(136500)(Tue May 29 14:08:02 CST 2012 -ngcf62)

hostname SW-1

nfpp

vlan 1

service password-encryption

ip http authentication local

enable service web-server http

enable service web-server https

interface FastEthernet 0/1

duplex half

speed 10

description "This is an Accessport."

interface FastEthernet 0/2

interface FastEthernet 0/3

interface FastEthernet 0/4

interface FastEthernet 0/5

interface FastEthernet 0/6

interface FastEthernet 0/7

interface FastEthernet 0/8

interface FastEthernet 0/9

SW-1#copy running-config startup-config

SW-1#write memory

SW-1#write

Translating "write"...

% Unrecognized host or address, or protocol not running.

SW-1#*Oct 14 11:33:57: %LINK-3-UPDOWN: Interface FastEthernet 0/11, changed state to down.

*Oct 14 11:33:57: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet 0/11, changed state to down.

五、实验总结及体会

命令行操作进行自动补齐或命令简写时,要求所简写的字母必须能够惟一区别该命令。如switch# conf可以代表configure,但switch#co无法代表configure,因为co开头的命令有两个copy和configure,设备无法区别。注意区别每个操作模式下可执行的命令种类。交换机不可以跨模式执行命令。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值