通信人家园

标题: ZXR10 5260H交换机开局配置  [查看完整版帖子] [打印本页]

时间:  2023-3-5 14:57
作者: lovellh     标题: ZXR10 5260H交换机开局配置

据串口电缆的连接管理
在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

时间:  2023-3-5 15:29
作者: 周君

好。支持




通信人家园 (https://www.txrjy.com/) Powered by C114