迈普交换机基础配置

迈普交换机基础配置迈普交换机基础配置 迈普交换机配置命令大全

大家好,欢迎来到IT知识分享网。

Switch>enable Switch#configure terminal Switch(config)#username test privilege 15 password 0 test Switch(config)#authentication line vty login local Switch(config)#enable password level 15 testpassword 
Switch#configure terminal Switch(config)#interface gigabitethernet 0/1 Switch(config-if-gigabitethernet0/1)#switchport mode access Switch(config-if-gigabitethernet0/1)#switchport access vlan 10 Switch(config-if-gigabitethernet0/1)#no shutdown Switch(config-if-gigabitethernet0/1)#exit Switch(config)#exit Switch# 
Switch#configure terminal Switch(config)#interface gigabitethernet 0/48 Switch(config-if-gigabitethernet0/48)#switchport mode trunk Switch(config-if-gigabitethernet0/48)#switchport trunk allowed vlan all Switch(config-if-gigabitethernet0/48)#switchport trunk pvid vlan 1 Switch(config-if-gigabitethernet0/48)#no shutdown Switch(config-if-gigabitethernet0/48)#exit Switch(config)#exit Switch# 
Switch#configure terminal Switch(config)#interface vlan 10 Switch(config-if-vlan10)#ip address 192.168.1.1 255.255.255.0 Switch(config-if-vlan10)#exit Switch(config)#exit Switch# 
Switch#configure terminal (config)#spanning-tree enable Switch(config)#spanning-tree mode mstp Switch(config)#spanning-tree mst configuration Switch(config-mst)#region-name test Switch(config-mst)#instance 1 vlan 10 Switch(config-mst)#instance 2 vlan 20 Switch(config-mst)#active configuration pending Switch(config-mst)#exit Switch(config)# 
Switch(config)#ip access-list standard 100 Switch(config-std-nacl)#10 permit host 23.50.6.99 Switch(config-std-nacl)#20 permit 23.50.6.0 255.255.255.0 Switch(config-std-nacl)#30 deny any 
Switch(config)#line vty 0 4 Switch(config-line)#login local Switch(config-line)#exec-timeout 5 0 Switch(config-line)#protocol input ssh Switch(config-line)#privilege level 0 Switch(config-line)#exit Switch(config)# 
Switch#configure terminal Switch(config)#clock timezone beijin 8 Switch(config)#ntp server 10.109.192.5 Switch(config)#ntp server 10.109.192.5 
Switch#filesystem Switch(config-fs)#dir Switch(config-fs)#copy file-system sp4-g-6.6.4.1.18(C).pck tftp 23.50.6.99 123.pck Switch(config-fs)#copy tftp 23.50.6.99 123.pck file-system sp4-g-6.6.4.1.18(C).pck 

Tftp服务器可以下载软件3CDaemon在电脑上运行即可。

免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://haidsoft.com/136823.html

(0)
上一篇 2025-06-24 20:33
下一篇 2025-06-24 20:45

相关推荐

发表回复

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

关注微信