当前位置: 首页 > 系统与网络 > 正文

[分享]华为 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/UPDOWN:Line 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

本文固定链接: https://blog.ich8.com/post/5367 | 霸王硬上弓's Blog

avatar
该日志由 霸王硬上弓 于2015年05月02日发表在 系统与网络 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: [分享]华为 Huawei MA5626 做端口互通 | 霸王硬上弓's Blog

[分享]华为 Huawei MA5626 做端口互通:等您坐沙发呢!

发表评论

您必须 [ 登录 ] 才能发表留言!