华为交换机TRUNK的配置
配置:
1、进进对应接口配置接口类型Q
[SW1]interface e0/0/1 [SW1-Ethernet0/0/1]port link-type trunk
2、讲Trunk需要答应通过的VLAN进行答应
[SW1-Ethernet0/0/1]port trunk allow-pass vlan 10 20
·单独答应某些AN
[SW1-Ethernet0/0/1]port trunk allow-pass vlan 10 to 20
·答应VLAN10到20
[SW1-Ethernet0/0/1]port trunk allow-pass vlan all
·答应所有VLAN通过
3、删除答应的VLAN
[SW1-Ethernet0/0/1]undo port trunk allow-pass vlan 20
·不答应某个VAN通过
0