山石防火墙CLI创建VLAN(山石防火墙常用命令)

网友投稿 408 2022-09-12


山石防火墙CLI创建VLAN(山石防火墙常用命令)

1、 新建VLANHS-E2860-A(config)# vlan 220HS-E2860-A(config-vlan)# show vlan create VLAN:0001,0201,0202,0203,0204,0205,0206,0207,0208,0209,0210,0211,0212,0213,02150216,0217,0218,0219,0220active VLAN:0001,0201,0202,0203,0204,0205,0206,0207,0208,0209,0210,0211,0212,0213,02150216,0217,0218,0219HS-E2860-A(config-vlan)#exit2、 将以太网接口加入到VLAN220HS-E2860-A(config)# interface ethernet0/2HS-E2860-A(config-if-eth0/2)# switchmode trunk vlan 220HS-E2860-A(config-if-eth0/2)# exitHS-E2860-A(config)#show vlan create VLAN:0001,0201,0202,0203,0204,0205,0206,0207,0208,0209,0210,0211,0212,0213,02150216,0217,0218,0219,0220active VLAN:0001,0201,0202,0203,0204,0205,0206,0207,0208,0209,0210,0211,0212,0213,02150216,0217,0218,0219,2203、 配置vlan220 IP段HS-E2860-A(config)# interface vlan220HS-E2860-A(config-if-vla220)# ip address 10.122.190.254/27错误:请先绑定域再配置接口的IP地址HS-E2860-A(config-if-vla220)# zone 营业厅 //配置IP前要先绑定域HS-E2860-A(config-if-vla220)# ip address 10.122.190.254/274、 配置改VLAN220管理服务(manager server)HS-E2860-A(config-if-vla220)#manage sshHS-E2860-A(config-if-vla220)#manage pingHS-E2860-A(config-if-vla220)#manage telnetHS-E2860-A(config-if-vla220)#save //保存配置5、 检查vlan220配置HS-E2860-A(config-if-vla220)# show interface vlan220Interface vlan220 Description:石湖山食堂 Physical up Admin up Link up Protocol up Interface ID:41IP address:10.122.190.254IP address mask:255.255.255.224MAC address:001c.54a4.a537IP MTU:1500ARP learn:enableARP disable-dynamic-entry:disableARP timeout:1200QoS input profile : 1st-level -- 2nd-level -- QoS output profile: 1st-level -- 2nd-level -- downstream bandwidth is 1000000000upstream bandwidth is 1000000000Bind to zone 营业厅 Belong to vsys rootAuth-arp disableDns proxy disable Proximity detect offProximity route disablemanage service:SSH;TELNET;PING;Secondary IP address0: 0.0.0.0 mask:0.0.0.0Secondary IP address1: 0.0.0.0 mask:0.0.0.0Secondary IP address2: 0.0.0.0 mask:0.0.0.0Secondary IP address3: 0.0.0.0 mask:0.0.0.0Secondary IP address4: 0.0.0.0 mask:0.0.0.0Secondary IP address5: 0.0.0.0 mask:0.0.0.0


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:开源日志服务器Graylog检测网络设备故障
下一篇:基于MybatisPlus插件TenantLineInnerInterceptor实现多租户功能
相关文章

 发表评论

暂时没有评论,来抢沙发吧~