华为交换机命令解析。请高手帮我逐条解析一下,谢谢!
system-viewvlanbatch109209dhcpenabledhcpsnoopingenablestpbpdu-protectionstpenableinte...
system-view
vlan batch 109 209
dhcp enable
dhcp snooping enable
stp bpdu-protection
stp enable
interface Eth-Trunk1
stp disable
port link-type trunk
trunkport GigabitEthernet 0/1/1 0/1/2
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 109 209
dhcp snooping trusted
description to S5728_SZVE3BSLHW02_G0/0/1_G1/0/1 10.170.27.5
quit
vlan 109
dhcp snooping enable
dhcp snooping trusted interface Eth-Trunk1
vlan 209
dhcp snooping enable
dhcp snooping trusted interface Eth-Trunk1
return
system-view
info-center loghost 10.72.52.25 facility local1
sysname szve3bslhw08
super password level 3 cipher hr1ycfl!1314
interface Vlanif 109
ip address 10.170.27.6 255.255.255.0
quit
ip route-static 0.0.0.0 0.0.0.0 10.170.27.1
FTP server enable 展开
vlan batch 109 209
dhcp enable
dhcp snooping enable
stp bpdu-protection
stp enable
interface Eth-Trunk1
stp disable
port link-type trunk
trunkport GigabitEthernet 0/1/1 0/1/2
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 109 209
dhcp snooping trusted
description to S5728_SZVE3BSLHW02_G0/0/1_G1/0/1 10.170.27.5
quit
vlan 109
dhcp snooping enable
dhcp snooping trusted interface Eth-Trunk1
vlan 209
dhcp snooping enable
dhcp snooping trusted interface Eth-Trunk1
return
system-view
info-center loghost 10.72.52.25 facility local1
sysname szve3bslhw08
super password level 3 cipher hr1ycfl!1314
interface Vlanif 109
ip address 10.170.27.6 255.255.255.0
quit
ip route-static 0.0.0.0 0.0.0.0 10.170.27.1
FTP server enable 展开
2个回答
展开全部
system-view 进入系统视图
vlan batch 109 209 创建vlan109到vlan209
dhcp enable 打开dhcp
dhcp snooping enable 打开dhcp snooping
stp bpdu-protection 启动bpdu保护功能
stp enable 打开stp
interface Eth-Trunk1 进入 Eth-Trunk1接口
stp disable 显示stp信息
port link-type trunk 设置为trunk借口
trunkport GigabitEthernet 0/1/1 0/1/2 加入GigabitEthernet 0/1/1 0/1/2
undo port trunk allow-pass vlan 1 trunk接口不允许vlan1通过
port trunk allow-pass vlan 109 209 trunk接口允许vlan109-209通过
dhcp snooping trusted 设置dhcp snoping 信任端口
description to S5728_SZVE3BSLHW02_G0/0/1_G1/0/1 10.170.27.5 描述语句,与 S5728_SZVE3BSLHW02_G0/0/1连接,对端IP为10.170.27.5
quit 退出到上一级
vlan 109 进入vlan109
dhcp snooping enable 打开dhcp
dhcp snooping trusted interface Eth-Trunk1 应用到trusted接口interface Eth-Trunk1上
vlan 209 进入vlan209
dhcp snooping enable 打开dhcp
dhcp snooping trusted interface Eth-Trunk1 应用到trusted接口interface Eth-Trunk1上
return 返回用户视图
system-view 进入系统视图
info-center loghost 10.72.52.25 facility local1 将info-center的log消息(运行信息文件 例如端口up down,ospf,bgp的信息等)保存在日至服务器上,日至服务器地址为10.72.52.25
sysname szve3bslhw08 系统名称命名为szve3bslhw0
super password level 3 cipher hr1ycfl!1314 设置超级管理员cipher认证密码hr1ycfl!1314
interface Vlanif 109 进入Vlanif 109接口
ip address 10.170.27.6 255.255.255.0 设置接口IP为10.170.27.6,24位掩码
quit 退出到上一级
ip route-static 0.0.0.0 0.0.0.0 10.170.27.1 设置静态路由,指向10.170.27.1
FTP server enable 打开ftp服务
vlan batch 109 209 创建vlan109到vlan209
dhcp enable 打开dhcp
dhcp snooping enable 打开dhcp snooping
stp bpdu-protection 启动bpdu保护功能
stp enable 打开stp
interface Eth-Trunk1 进入 Eth-Trunk1接口
stp disable 显示stp信息
port link-type trunk 设置为trunk借口
trunkport GigabitEthernet 0/1/1 0/1/2 加入GigabitEthernet 0/1/1 0/1/2
undo port trunk allow-pass vlan 1 trunk接口不允许vlan1通过
port trunk allow-pass vlan 109 209 trunk接口允许vlan109-209通过
dhcp snooping trusted 设置dhcp snoping 信任端口
description to S5728_SZVE3BSLHW02_G0/0/1_G1/0/1 10.170.27.5 描述语句,与 S5728_SZVE3BSLHW02_G0/0/1连接,对端IP为10.170.27.5
quit 退出到上一级
vlan 109 进入vlan109
dhcp snooping enable 打开dhcp
dhcp snooping trusted interface Eth-Trunk1 应用到trusted接口interface Eth-Trunk1上
vlan 209 进入vlan209
dhcp snooping enable 打开dhcp
dhcp snooping trusted interface Eth-Trunk1 应用到trusted接口interface Eth-Trunk1上
return 返回用户视图
system-view 进入系统视图
info-center loghost 10.72.52.25 facility local1 将info-center的log消息(运行信息文件 例如端口up down,ospf,bgp的信息等)保存在日至服务器上,日至服务器地址为10.72.52.25
sysname szve3bslhw08 系统名称命名为szve3bslhw0
super password level 3 cipher hr1ycfl!1314 设置超级管理员cipher认证密码hr1ycfl!1314
interface Vlanif 109 进入Vlanif 109接口
ip address 10.170.27.6 255.255.255.0 设置接口IP为10.170.27.6,24位掩码
quit 退出到上一级
ip route-static 0.0.0.0 0.0.0.0 10.170.27.1 设置静态路由,指向10.170.27.1
FTP server enable 打开ftp服务
更多追问追答
追问
请问:Eth-Trunk1 是虚拟接口还是物理端口啊
追答
为了增加路由器RouterA与RouterB之间的通信带宽,并保证通信链路的可靠性,需要在两台路由器之间创建Eth-Trunk,将多个GE或FE接口捆绑成一个Eth-Trunk。当Eth-Trunk中的某个成员端口出现故障时,整个Eth-Trunk链路业务不会中断,从而保证链路可靠性。
也就是链路聚合。
展开全部
你好!
system-view:进入系统视图
vlan batch 109 209 :创建VLAN 109 209
dhcp enable :开启DHCP
dhcp snooping enable :开启DHCP侦听
stp bpdu-protection :BPDU保护
stp enable :开启STP(生成树)
interface Eth-Trunk1 :进入中继端口1
stp disable :关闭STP
port link-type trunk :端口启用为中继模式
trunkport GigabitEthernet 0/1/1 0/1/2 :中继端口包括Gib0/1/1和Gib90/1/2
undo port trunk allow-pass vlan 1 :关闭 端口中继只允许VLAN 1流量通过
port trunk allow-pass vlan 109 209 :端口中继允许VLAN 109 VLAN 209流量通过
dhcp snooping trusted
description to S5728_SZVE3BSLHW02_G0/0/1_G1/0/1 10.170.27.5 :端口描述,与 S5728_SZVE3BSLHW02_G0/0/1连接,对端IP为10.170.27.5
quit :返回上一层
vlan 109 :创建VLAN109
dhcp snooping enable :开启DHCP侦听
dhcp snooping trusted interface Eth-Trunk1
vlan 209 :创建VLAN 209
dhcp snooping enable :开启DHCP侦听
dhcp snooping trusted interface Eth-Trunk1
return :返回到用户视图
system-view :进入系统视图
info-center loghost 10.72.52.25 facility local1 : 登录主机权限为1
sysname szve3bslhw08 :主机名为:szve3bslhw08
super password level 3 cipher hr1ycfl!1314 :创建登录密码: cipher hr1ycfl!1314,3特权
interface Vlanif 109 :进入VLAN 109虚拟接口
ip address 10.170.27.6 255.255.255.0 :配置IP地址
quit :返回上一层
ip route-static 0.0.0.0 0.0.0.0 10.170.27.1 :配置默认路由
FTP server enable :开启FTP服务器
没有回答的,表示没用过。不知道。
谢谢
system-view:进入系统视图
vlan batch 109 209 :创建VLAN 109 209
dhcp enable :开启DHCP
dhcp snooping enable :开启DHCP侦听
stp bpdu-protection :BPDU保护
stp enable :开启STP(生成树)
interface Eth-Trunk1 :进入中继端口1
stp disable :关闭STP
port link-type trunk :端口启用为中继模式
trunkport GigabitEthernet 0/1/1 0/1/2 :中继端口包括Gib0/1/1和Gib90/1/2
undo port trunk allow-pass vlan 1 :关闭 端口中继只允许VLAN 1流量通过
port trunk allow-pass vlan 109 209 :端口中继允许VLAN 109 VLAN 209流量通过
dhcp snooping trusted
description to S5728_SZVE3BSLHW02_G0/0/1_G1/0/1 10.170.27.5 :端口描述,与 S5728_SZVE3BSLHW02_G0/0/1连接,对端IP为10.170.27.5
quit :返回上一层
vlan 109 :创建VLAN109
dhcp snooping enable :开启DHCP侦听
dhcp snooping trusted interface Eth-Trunk1
vlan 209 :创建VLAN 209
dhcp snooping enable :开启DHCP侦听
dhcp snooping trusted interface Eth-Trunk1
return :返回到用户视图
system-view :进入系统视图
info-center loghost 10.72.52.25 facility local1 : 登录主机权限为1
sysname szve3bslhw08 :主机名为:szve3bslhw08
super password level 3 cipher hr1ycfl!1314 :创建登录密码: cipher hr1ycfl!1314,3特权
interface Vlanif 109 :进入VLAN 109虚拟接口
ip address 10.170.27.6 255.255.255.0 :配置IP地址
quit :返回上一层
ip route-static 0.0.0.0 0.0.0.0 10.170.27.1 :配置默认路由
FTP server enable :开启FTP服务器
没有回答的,表示没用过。不知道。
谢谢
追问
太谢谢你了,你们回答都好,但是分数给他了!只能打从心底里感谢你!可以加你好友,向你请教吗?
追答
可以.1027595907
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询