| enable   //进入全局模式 zxr10   //这是密码 con t    //进入配置模式   username cncsh password cncsh  enable secret cncsh  //这两句是配置用户名密码,无需改动 hostname XXXX-3928A//这句是交换机命名,需要改下 vlan 69  exit interface fei_1/24   //上联口24 连接传输 shutdown no shutdown switchport mode trunk switchport thunk vlan 69,70,800 exit interface vlan 69 ip address 10.127.44.18255.255.255.0    //交换机地址 ex ip router 0.0.0.0 0.0.0.0 10.127.44.1  //地址网关   interface gei_1/25      //连接交换机1 switchport mode trunk switchport trunk vlan 69,70,800 ex interface gei_1/26     //连接交换机2 switchport mode trunk switchport trunk vlan 69,70,800   interface fei_1/1    //连接ap的端口 1端口 switchport mode hybrid switchport hybrid vlan 800 tag   //业务vlan switchport hybrid vlan 70 untag switchport hybrid native vlan 70   //ap管理vlan ex [url=]interface fei_1/2    //[/url]连接ap的端口 2端口 switchportmode hybrid switchporthybrid vlan 800 tag switchporthybrid vlan 70 untag switchporthybrid native vlan 70    Wr // 保存 
 有ap的端口就复制这段代码,把fei_后面的数字改掉即可。 
 
 
 
 |