通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  新兵

注册:2016-8-1
跳转到指定楼层
1#
发表于 2021-8-16 00:06:02 |只看该作者 |倒序浏览
undo vlan 1
undo interface vlanif1
sys

sysname zhong

vlan batch 16 1833 to 1880
interface Vlanif16
ip address 10.252.7.12 255.255.255.0
quit
stp enable
y

interface Ethernet0/0/1
port link-type access
port default vlan 1857
interface Ethernet0/0/2
port link-type access
port default vlan 1858
interface Ethernet0/0/3
port link-type access
port default vlan 1859
interface Ethernet0/0/4
port link-type access
port default vlan 1860
interface Ethernet0/0/5
port link-type access
port default vlan 1861
interface Ethernet0/0/6
port link-type access
port default vlan 1862
interface Ethernet0/0/7
port link-type access
port default vlan 1863
interface Ethernet0/0/8
port link-type access
port default vlan 1864
interface Ethernet0/0/9
port link-type access
port default vlan 1865
interface Ethernet0/0/10
port link-type access
port default vlan 1866
interface Ethernet0/0/11
port link-type access
port default vlan 1867
interface Ethernet0/0/12
port link-type access
port default vlan 1868
interface Ethernet0/0/13
port link-type access
port default vlan 1869
interface Ethernet0/0/14
port link-type access
port default vlan 1870
interface Ethernet0/0/15
port link-type access
port default vlan 1871
interface Ethernet0/0/16
port link-type access
port default vlan 1872
interface Ethernet0/0/17
port link-type access
port default vlan 1873
interface Ethernet0/0/18
port link-type access
port default vlan 1874
interface Ethernet0/0/19
port link-type access
port default vlan 1875
interface Ethernet0/0/20
port link-type access
port default vlan 1876
interface Ethernet0/0/21
port link-type access
port default vlan 1877
interface Ethernet0/0/22
port link-type access
port default vlan 1878
interface Ethernet0/0/23
port link-type access
port default vlan 1879
interface Ethernet0/0/24
port link-type access
port default vlan 1880

interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 16 1833 to 1880
undo negotiation auto

quit
ip route-static 0.0.0.0 0.0.0.0 10.252.7.1
aaa
local-user huawei password cipher huawei
local-user huawei service-type telnet
local-user huawei level 3
user-interface con 0
user-interface vty 0 4
authentication-mode aaa
q
q
save
y


举报本楼

您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2024-11-25 16:31 , Processed in 0.108849 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部