C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2013-9-11
发表于 2023-3-5 14:57:50 |显示全部楼层
据串口电缆的连接管理
在ZXAN>提示符后输入enable命令及密码zxr10,即可进入管理员模式(ZXAN#)

con t
interface mgmt_eth
  ip address 10.40.89.79 255.255.255.0    //配置带外口ip地址
exit
===========================================================================
//进入交换机VLAN配置模式,配置各物理接口vlan绑定
con t
switchvlan-configuration                  
  interface gei-0/1/1/1
    switchport mode trunk
    switchport trunk vlan 1213,3999   
exit
  interface gei-0/1/1/2
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/3
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/4
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/5
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/6
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/7
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit   
  interface gei-0/1/1/8
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/9
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/10
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/11
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/12
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/13
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/14
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/15
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/16
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/17
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/18
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/19
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/20
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/21
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/22
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/23
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface gei-0/1/1/24
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface xgei-0/1/1/25
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface xgei-0/1/1/26
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface xgei-0/1/1/27
    switchport mode trunk
    switchport trunk vlan 1213,3999
exit
  interface xgei-0/1/1/28
    switchport mode trunk
    switchport trunk vlan 1213,3999
end

//进入交换机VLAN配置模式
//创建PVLAN,跳转到PVLAN模式
config t
switchvlan-configuration        
private-map session-no 100   
    isolate gei-0/1/1/1         
    isolate gei-0/1/1/2
    isolate gei-0/1/1/3
    isolate gei-0/1/1/4
    isolate gei-0/1/1/5
    isolate gei-0/1/1/6
    isolate gei-0/1/1/7
    isolate gei-0/1/1/8
    isolate gei-0/1/1/9
    isolate gei-0/1/1/10
    isolate gei-0/1/1/11
    isolate gei-0/1/1/12
    isolate gei-0/1/1/13
    isolate gei-0/1/1/14
    isolate gei-0/1/1/15
    isolate gei-0/1/1/16
    isolate gei-0/1/1/17
    isolate gei-0/1/1/18
    isolate gei-0/1/1/19
    isolate gei-0/1/1/20
    isolate gei-0/1/1/21
    isolate gei-0/1/1/22
    promis gei-0/1/1/23
    promis gei-0/1/1/24
    isolate xgei-0/1/1/25
    isolate xgei-0/1/1/26
    promis xgei-0/1/1/27     
    promis xgei-0/1/1/28   
end

举报本楼

本帖有 1 个回帖,您需要登录后才能浏览 登录 | 注册
您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系大家 |网站地图  

GMT+8, 2024-10-31 19:15 , Processed in 0.237031 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图