返回顶部
首页 > 资讯 > 精选 >华为s5700s-28p-li-ac配置小结
  • 424
分享到

华为s5700s-28p-li-ac配置小结

2023-06-05 00:06:56 424人浏览 安东尼
摘要

删除自带的Vlan1的vlan接口     undo int vlan 1创建vlan200,并配置vlan接口地址     vlan 200     

删除自带的Vlan1的vlan接口

     undo int vlan 1

创建vlan200,并配置vlan接口地址

     vlan 200

     int  vlan 200

     ip address 192.168.200.6  255.255.255.0

批量修改端口的交换模式

     port-group 1 创建组1

     group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/10 将1到10加入到组1

     port link-type access 接口类型为接入模式

     删除组

     undo port-group 1

将交换接口的access模式修改为trunk模式,首先要删除此接口的缺省vlan

     int  g0/0/24

     undo port default vlan 200

     port link-type trunk

     port trunk allow-pass vlan 200 210

配置telnet登陆

      telnet  server enable

      user-interface vty 0 4

      user privilege level 15

      authentication-mode aaa

      quit

      aaa

      local-user admin passWord irreversible-cipher abc

      local-user admin privilege level 15

      local-user admin service-type telnet

      quit

华为s5700s-28p-li-ac配置小结

配置静态路由

      ip route-static 0.0.0.0 0.0.0.0 192.168.200.1

所有配置如下:

[Quidway]dis current-configuration

!Software Version V200R003C00SPC300

#

sysname Quidway

#

vlan batch 200 210

#

undo nap slave enable

#

aaa

 authentication-scheme default

 authorization-scheme default

 accounting-scheme default

 domain default

 domain default_admin

 local-user admin password irreversible-cipher %@%@]_+F~JL*.1B["_.@~AxY=eAk=7#:H

G'Lg.HO6,C5&mCIeAn=%@%@

 local-user admin privilege level 15

 local-user admin service-type telnet

#

interface Vlanif200

 ip address 192.168.200.6 255.255.255.0

#

interface GigabitEthernet0/0/1

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/2

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/3

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/4

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/5

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/6

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/7

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/8

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/9

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/10

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/11

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/12

 port link-type access

 port default vlan 200

#

interface GigabitEthernet0/0/13

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/14

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/15

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/16

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/17

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/18

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/19

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/20

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/21

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/22

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/23

 port link-type access

 port default vlan 210

#

interface GigabitEthernet0/0/24

 port link-type trunk

 port trunk allow-pass vlan 200 210

#

interface GigabitEthernet0/0/25

#

interface GigabitEthernet0/0/26

#

interface GigabitEthernet0/0/27

#

interface GigabitEthernet0/0/28

#

interface NULL0

#

ip route-static 0.0.0.0 0.0.0.0 192.168.200.1

#

user-interface con 0

user-interface vty 0 4

 authentication-mode aaa

 user privilege level 15

user-interface vty 16 20

#

port-group 1

 group-member GigabitEthernet0/0/1

 group-member GigabitEthernet0/0/2

 group-member GigabitEthernet0/0/3

 group-member GigabitEthernet0/0/4

 group-member GigabitEthernet0/0/5

 group-member GigabitEthernet0/0/6

 group-member GigabitEthernet0/0/7

 group-member GigabitEthernet0/0/8

 group-member GigabitEthernet0/0/9

 group-member GigabitEthernet0/0/10

 group-member GigabitEthernet0/0/11

 group-member GigabitEthernet0/0/12

--------------------- 

作者:mrwu9902 

来源:CSDN 

原文:https://blog.csdn.net/mrwu9902/article/details/48368191 

版权声明:本文为博主原创文章,转载请附上博文链接!

--结束END--

本文标题: 华为s5700s-28p-li-ac配置小结

本文链接: https://lsjlt.com/news/240476.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
  • 华为s5700s-28p-li-ac配置小结
    删除自带的Vlan1的vlan接口     undo int vlan 1创建vlan200,并配置vlan接口地址     vlan 200     ...
    99+
    2023-06-05
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作