交换机模拟器(交换机模拟器软件安装)

本文目录一览:

  • 1、在思科模拟器上怎么进行交换机的基本配置
  • 2、在思科模拟器上如何进行交换机的基本配置?
  • 3、华为ensp模拟器支持几种交换机,能增加交换机类型吗?

在思科模拟器上怎么进行交换机的基本配置

当创建vlan时,必须要决定是否使用VTP,使用VTP,能使配置在一个或多个交换机上被改变时,那些改变会自动传送给在同一个VTP域中的其他交换机。VTP 被组织成管理域(VTP Domain),相同域中的交换机能共享VLAN 信息。根据交换机在VTP 域中的作用不同,VTP 可以分为三种模式:服务器模式(Server),客户机模式(Client),透明模式。。。

1、首先,打开思科模拟器软件,连接三台交换机的连接线,将所有交换机互相连接起来,一台当服务器,一台当客户机,另外一台当透明模式。

2、把三台交换机的配置清除干净,重启交换机,配置命令为:

复制内容到剪贴板 S1#flash:vlan.dat S1#erasestartup-config S1#reload

配置S1 为VTP server,配置命令为:

复制内容到剪贴板 S1(config)#vtpmodeserver

3、配置S3 为VTP transparent,配置命令是:

复制内容到剪贴板 S3#vlandatabase S3(vlan)#vtptransparent S3(vlan)#vtppasswordcisco(配置交换机的密码) SettingdeviceVLANdatabasepasswordtocisco

4、配置S2 为VTP client,配置命令是:

复制内容到剪贴板 S2(config)#vtpmodeclient SettingdevicetoVTPCLIENTmode. S2(config)#vtpdomainVTP-TEST DomainnamealreadysettoVTP-TEST. S2(config)#vtppasswordcisco

5、在S1 上创建VLAN,检查S2、S3 上的VLAN 信息,配置命令是:

复制内容到剪贴板 S1(config)#vlan2 S1(config)#vlan3

查看s1,s2,s3的`VLAN配置信息。命令是:

复制内容到剪贴板 S1#showvlan S2#showvlan S3#showvlan

6、查看VTP 信息,查看交换机的vtp详细信息和版本等信息:

复制内容到剪贴板 S1#showvtpstatus

注意事项:

1、要成功配置vtp服务器,应确认 配置的所有交换机都已设置为默认设置。

2、在网络中配置至少两台vtp服务器交换机。

3、确保所有的交换机都配置相同的vtp协议版本。

4、配置交换机的vtp模式一定要在交换机的特权配置模式下配置。

在思科模拟器上如何进行交换机的基本配置?

楼主,你好x0dx0ax0dx0a在模拟器上添加思科交换机x0dx0ax0dx0a进行CLI输入x0dx0ax0dx0a用户模式hostname# ;x0dx0a特权模式hostname(config)# ;x0dx0a全局配置模式hostname(config-if)# ;x0dx0ax0dx0a交换机口令设置:x0dx0aswitchenable ;进入特权模式x0dx0aswitch#config terminal ;进入全局配置模式x0dx0aswitch(config)#hostname csico ;设置交换机的主机名x0dx0aswitch(config)#enable secret csico1 ;设置特权加密口令x0dx0aswitch(config)#enable password csico8 ;设置特权非密口令x0dx0aswitch(config)#line console 0 ;进入控制台口x0dx0aswitch(config-line)#line vty 0 4 ;进入虚拟终端x0dx0aswitch(config-line)#login ;虚拟终端允许登录x0dx0aswitch(config-line)#password csico6 ;设置虚拟终端登录口令csico6x0dx0aswitch#exit ;返回命令x0dx0a交换机VLAN创建,删除,端口属性的设置,配置trunk端口,将某端口加入vlan中,配置VTP:x0dx0aswitch#vlan database ;进入VLAN设置x0dx0aswitch(vlan)#vlan 2 ;建VLAN 2x0dx0aswitch(vlan)#vlan 3 name vlan3 ;建VLAN 3并命名为vlan3x0dx0aswitch(vlan)#no vlan 2 ;删vlan 2x0dx0aswitch(config)#int f0/1 ;进入端口1x0dx0aswitch(config)#speed ? 查看speed命令的子命令x0dx0aswitch(config)#speed 100 设置该端口速率为100mb/s (10/auto)x0dx0aswitch(config)#duplex ? 查看duplex的子命令x0dx0aswitch(config)#duplex full 设置该端口为全双工(auto/half)x0dx0aswitch(config)#description TO_PC1 这是该端口描述为TO_PC1x0dx0aswitch(config-if)#switchport access vlan 2 ;当前端口加入vlan 2x0dx0aswitch(config-if)#switchport mode trunk ;设置为trunk模式(access模式)x0dx0aswitch(config-if)#switchport trunk allowed vlan 1,2 ;设置允许的vlanx0dx0aswitch(config-if)#switchport trunk encap dot1q ;设置vlan 中继x0dx0aswitch(config)#vtp domain vtpserver ;设置vtp域名相同x0dx0aswitch(config)#vtp password ;设置发vtp密码x0dx0aswitch(config)#vtp server ;设置vtp服务器模式x0dx0aswitch(config)#vtp client ;设置vtp客户机模式x0dx0ax0dx0a交换机设置IP地址,默认网关,域名,域名服务器,配置和查看MAC地址表:x0dx0aswitch(config)#interface vlan 1 ;进入vlan 1x0dx0aswitch(config-if)#ip address 192.168.1.1 255.255.255.0 ;设置IP地址x0dx0aswitch(config)#ip default-gateway 192.168.1.6 ;设置默认网关x0dx0aswitch(config)#ip domain-name cisco.com 设置域名x0dx0aswitch(config)#ip name-server 192.168.1.18 设置域名服务器x0dx0aswitch(config)#mac-address-table? 查看mac-address-table的子命令x0dx0aswitch(config)#mac-address-table aging-time 100 设置超时时间为100msx0dx0aswitch(config)#mac-address-table permanent 0000.0c01.bbcc f0/3 加入永久地址在f0/3端口x0dx0aswitch(config)#mac-address-table restricted static 0000.0c02.bbcc f0/6 f0/7 加入静态地址目标端口f0/6源端口f0/7x0dx0aswitch(config)#endx0dx0aswitch#show mac-address-table 查看整个MAC地址表x0dx0aswitch#clear mac-address-table restricted static 清除限制性静态地址x0dx0a交换机显示命令:x0dx0aswitch#write ;保存配置信息x0dx0aswitch#show vtp ;查看vtp配置信息x0dx0aswitch#show run ;查看当前配置信息x0dx0ax0dx0aswitch#show vlan ;查看vlan配置信息x0dx0aswitch#show interface ;查看端口信息x0dx0aswitch#show int f0/0 ;查看指定端口信息x0dx0aswitch#show int f0/0 status;查看指定端口状态x0dx0aswitch#dir flash: ;查看闪存

华为ensp模拟器支持几种交换机,能增加交换机类型吗?

华为ensp现在可以模拟,AR1220,S5700,S3700这3种中低端的路由器和交换机,以后有可能会继续增加几种设备型号.

利用模拟器可以可视化完成添加删除设备、设置槽位端口、管理拓扑、启动停止设备等操作,大大减轻了复杂度.

一个命令效果的不确定或者有些许偏差都可能造成损失,而模拟器如果不能反映真实设备的效果, 那么在做实际操作之前去模拟器做个实验就没意义了, 甚至会误人子弟.

交换机模拟器(交换机模拟器软件安装)

原创文章,作者:初欣运营网,如若转载,请注明出处:https://www.36wp.cn/100445.html

(0)
上一篇 2023年3月19日 上午2:45
下一篇 2023年3月19日 上午3:06

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注