首页 > 其他 > 详细

eNSP不同网段互联操作及其他系统指令

时间:2019-11-25 23:00:44      阅读:93      评论:0      收藏:0      [点我收藏+]
 
system-view
sysname Hexin
vlan batch 10 20
interface GigabitEthernet 0/0/1
port link-type trunk
port trunk allow-pass vlan10  20
interface GigabitEthernet 0/0/2
port link-type trunk
port trunk allow-pass vlan10  20
quit
interface Vlanif 10
ip address 192.168.10.254 ?
ip address 192.168.10.254 24
interface Vlanif 20
ip address 192.168.20.254 ?
ip address 192.168.20.254 24
////---------------查询----------------////
display ip interface brief
////---------------开启端口----------////
undo shutdown
////--------------保存---------------////
save
////--------------重启---------------////
reboot

eNSP不同网段互联操作及其他系统指令

原文:https://www.cnblogs.com/zxh666/p/11930516.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!