通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  新兵

注册:2024-10-8
跳转到指定楼层
1#
发表于 2024-12-6 21:40:49 |只看该作者 |倒序浏览
华为 Huawei MA5626 做端口互通

适用于308版本。

MA5626#config

MA5626(config)#vlan service-profile profile-id 1 #创建一个ID号为1的vlan配置模板
{ |profile-name }:

Command:
vlan service-profile profile-id 1

MA5626(config-vlan-srvprof-1)#user-bridging enable #使能二层互通功能
Info: Please use the commit command to make modifications take effect

MA5626(config-vlan-srvprof-1)#commit      #设置二层互通后需要使用commit命令使其生效

MA5626(config-vlan-srvprof-1)#quit

MA5626(config)#vlan bind service-profile 1 profile-id 1      #将vlan 1与创建的vlan模板绑定

MA5626(config-if-vlanif1)#quit

MA5626(config)#multi-service-port vlan 1 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6 #批量增加业务虚端口
It will take several minutes, and console may timeout, please use command
idle-timeout to set time limit
Are you sure to create service virtual port(s)? (y/n)[n]:y
The number of total board in this operation: 1
The number of total service virtual port in this operation: 8
Creating start…

Creating end:
The number of total service virtual port which need be created: 8
The number of total service virtual port which have been created: 8

MA5626(config)#
%2000-01-02 14:42:18+08:00 MA5626 IFNET/2/UPDOWNine protocol on the interface vlanif1 turns into UP state

MA5626(config)#interface vlanif 1 #进入vlan 1

MA5626(config-if-vlanif1)#ip address 10.0.2.4 255.255.255.0 #配置管理地址
{ |description|sub }:

Command:
ip address 192.168.1.2 255.255.255.0

举报本楼

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

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

GMT+8, 2024-12-22 17:23 , Processed in 0.107474 second(s), 16 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部