华为 mux-vlan subordinate 配置案例
时间: 2024-06-09 11:07:38 浏览: 19
华为设备上,MUX-VLAN Subordinate(MVS)是一种基于VLAN的二层隧道技术,用于在不同的网络中传输数据。以下是一个简单的配置示例:
1. 首先,需要创建多个VLAN,例如VLAN 10和VLAN 20:
```
vlan 10
vlan 20
```
2. 接下来,需要配置主VLAN,例如VLAN 10作为主VLAN:
```
interface GigabitEthernet 0/0/1
port link-type hybrid
port hybrid vlan 10 untagged
```
3. 配置子端口,例如将VLAN 20作为子端口:
```
interface GigabitEthernet 0/0/1.20
port link-type hybrid
port hybrid vlan 20 untagged
```
4. 配置MVS隧道:
```
interface GigabitEthernet 0/0/1
port link-type hybrid
port hybrid vlan 10 untagged
port hybrid vlan 20 tagged
mpls
tunnel-mpls mpls-tp
tunnel-mpls mpls-tp auto-bind lsp
tunnel-mpls mpls-tp lsp 1
tunnel-mpls mpls-tp lsp 1 bind tunnel 1
tunnel-mpls mpls-tp lsp 1 bind vlan 20
```
在上述示例中,MVS隧道使用MPLS-TP技术进行配置,并将VLAN 20作为子VLAN传输数据。需要注意的是,MVS隧道需要使用相同的MPLS-TP标识符和LSP ID来绑定主VLAN和子VLAN。
相关推荐
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)