2024年5月29日发(作者:可春琳)
1. 基本连通性配置
Vlan配置
set vlan 63 add port 1-8 untag
set vlan 63 add port 9-10 tag
set vlan 131 add port 1-8 untag
set vlan 131 add port 9-10 tag
set vlan 63 enable
set vlan 131 enable
set vlan 73 add port 9-10 tag
set vlan 73 enable
端口pvid配置
set port 1 pvid 131
管理ip和路由配置
下联交换机的vlan
conf router
set ipport 0 ipaddress 192.168.1.98 255.255.255.0
set ipport 0 vlan 1
set ipport 0 enable
iproute 0.0.0.0 0.0.0.0 192.168.1.254 1
2. SNMP配置
conf snmp
create community public public
create community whsh private
create view zteView include 1.3.6.1
set community public view zteView
set community whsh view zteView
set host 10.128.101.150 trap v2c public
默认已创建
2024年5月29日发(作者:可春琳)
1. 基本连通性配置
Vlan配置
set vlan 63 add port 1-8 untag
set vlan 63 add port 9-10 tag
set vlan 131 add port 1-8 untag
set vlan 131 add port 9-10 tag
set vlan 63 enable
set vlan 131 enable
set vlan 73 add port 9-10 tag
set vlan 73 enable
端口pvid配置
set port 1 pvid 131
管理ip和路由配置
下联交换机的vlan
conf router
set ipport 0 ipaddress 192.168.1.98 255.255.255.0
set ipport 0 vlan 1
set ipport 0 enable
iproute 0.0.0.0 0.0.0.0 192.168.1.254 1
2. SNMP配置
conf snmp
create community public public
create community whsh private
create view zteView include 1.3.6.1
set community public view zteView
set community whsh view zteView
set host 10.128.101.150 trap v2c public
默认已创建