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

1、删除自带的Vlan1的vlan接口

     undo int vlan 1

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

     vlan 200

     int  vlan 200

     ip address 192.168.200.6  255.255.255.0

3、批量修改端口的交换模式

     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
4、将交换接口的access模式修改为trunk模式,首先要删除此接口的缺省vlan

     int  g0/0/24

     undo port default vlan 200

     port link-type trunk

     port trunk allow-pass vlan 200 210

5、配置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


6、配置静态路由

      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
---------------------

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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值