迈普交换机配置1、迈普设备配置基本命令用户名密码为:admin adminSwitch>enable //进入普通用户模式-只能瞧瞧Switch#config terminal //进入全局配置模式Switch(config)#vlan 70 //新建 vlan 70Switch(config-If-Vlan70)#name guanli //将 vlan70 命名为 guanliSwitch(config-If-Vlan70)#ip address 172、17、202、21255、255、255、0 //配置交换机管理地址Switch(config-If-Vlan70)#no shutdownSwitch(config-If-Vlan70)#exitSwitch(config)#ip route-static 0、0、0、0 0、0、0、0 172、17、202、1//配置交换机路由Switch(Config)#vlan 338,440 //新建 vlan338,440Switch(config)#int ethernet 0/0/1 //进入端口Switch(Config- Ethernet- 0/0/1)#no shutdown //打开端口Switch(Config- Ethernet- 0/0/1)#switchport mode access //将端口定义为 access 口Switch(Config- Ethernet- 0/0/1)#switchport access vlan 388 //将 vlan338 加入该端口Switch(Config- Ethernet- 0/0/1)#exit //退出Switch(Config)# int ethernet 0/0/12-19;int ethernet 0/0/20 //进入端口组Switch(Config-Port-Range)#switchport mode access //将端口组定义为access 口Switch(Config-Port-Range)#switchport access vlan 440//将 vlan440 加入该端口组Switch(Config-Port-Range)#exit //退出Switch(Config)# int ethernet 0/0/21 //进入端口Switch(Config- Ethernet-0/0/21)# switchport mode trunk //将端口定义为 trunk 口Switch(Config- Ethernet-0/0/21)#switchport trunk aaowed vlan70;338;440//该端口允许 Vlan70,338,440 通过Switch(Config- Ethernet-0/0/21)exit //退出 0/0/21 端口Switch(Config)# exit //退出、Switch#write //保存2、迈普设备故障处理基本命令1)查瞧交换机端口状态2)查瞧交换机端口描述3)查询 mac 地址4)修改交换机配置打开端口 no shutdown关闭端口 no shutdown迈普路由器配置与维护enable 普通用户模式 只能瞧瞧特权用户模式: 文件系统模式 configure 全局配置模式----interface 接口配置模式router*** 路由配置模式ipsccess-list 访问列表配置模式voice-port 语音口配置模式dial-peer 拨号端口配置模式系统配置