迈普交换机基本配置

  • 格式:docx
  • 大小:22.59 KB
  • 文档页数:4

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