云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > 新《计算机网络》实验-8-2015 - 图文

新《计算机网络》实验-8-2015 - 图文

  • 62 次阅读
  • 3 次下载
  • 2026/4/23 3:47:46

下面是交换机的命令截图

这时就可以按交换机或路由器的命令进行配置了。

下面提供一些输入命令的参考

第一步:交换机各个操作模式直接的切换

Swtich>enable //使用enable命令从用户模式进入特权模式 Swtich#configure terminal //进入全局配置模式

Enter configuration commands, one per line. End with CNTL/Z. !使用configure terminal命令从特权模式进入全局配置模式 Swtich(config)#interface fastEthernet 0/1 !使用interface命令进入接口配置模式

Swtich(config-if)# Swtich(config-if)#exit //!使用exit命令退回上一级操作模式

Swtich#configure terminal //进入全局配置模式

Swtich(config)#interface fastEthernet 0/2 //进入接口配置模式 Swtich(config-if)#end //使用end命令直接退回特权模式

Swtich# !

第二步:交换机命令行界面基本功能

Switch>?

!显示当前模式下所有可执行的命令 disable Turn off privileged commands enable Turn on privileged commands exit Exit from the EXEC

help Description of the interactive help system ping Send echo messages

rcommand Run command on remote switch show Show running system information telnet Open a telnet connection

traceroute Trace route to destination Swtich>en Swtich>enable

!使用tab键补齐命令 Swtich#con?

configure connect

!使用?显示当前模式下所有以“con”开头的命令 Swtich#conf t

Enter configuration commands, one per line. End with CNTL/Z. Swtich(config)# !使用命令的简写

Swtich(config)#interface ?

!显示interface命令后可执行的参数 Aggregateport Aggregate port interface Dialer Dialer interface

FastEthernet Fast IEEE 802.3

GigabitEthernet Gbyte Ethernet interface Loopback Loopback interface Multilink Multilink-group interface Null Null interface

Tunnel Tunnel interface

Virtual-ppp Virtual PPP interface

Virtual-template Virtual Template interface Vlan Vlan interface

range Interface range command Switch(config)#interface

Swtich(config)#interface fastEthernet 0/1 Switch(config-if)# ^Z Switch#

!使用快捷键“Ctrl+Z”可以直接退回到特权模式 Switch#ping 1.1.1.1

sending 5, 100-byte ICMP Echos to 1.1.1.1,

timeout is 2000 milliseconds. . ^C Switch#

!在交换机特权模式下执行ping 1.1.1.1命令,发现不能ping通目标地址,交换机默认情况下需要发送5个数据包,如不想等到5个数据包均不能ping通目标地址的反馈出现,可在数

搜索更多关于: 新《计算机网络》实验-8-2015 - 图文 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

下面是交换机的命令截图 这时就可以按交换机或路由器的命令进行配置了。 下面提供一些输入命令的参考 第一步:交换机各个操作模式直接的切换 Swtich>enable //使用enable命令从用户模式进入特权模式 Swtich#configure terminal //进入全局配置模式 Enter configuration commands, one per line. End with CNTL/Z. !使用configure terminal命令从特权模式进入全局配置模式 Swtich(config)#interface fa

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com