• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
千落-小煜
博客园    首页    新随笔    联系   管理    订阅  订阅

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

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
posted @ 2019-10-23 12:23  YoLen千落  阅读(583)  评论(3)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3