通信人家园

标题: 华为 Huawei MA5626 做端口互通  [查看完整版帖子] [打印本页]

时间:  2024-12-6 21:40
作者: kurata365     标题: 华为 Huawei MA5626 做端口互通

华为 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


时间:  2024-12-7 12:47
作者: Area_Code_61706

感谢分享




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