华为模拟器三层交换机VALN兼路由
实验需求:
1.创建VLAN并且能正确地划分Hybrid VLAN
2.Hybrid端口配置正确
3.Tag标签能正确标记,去除
4.利用三层交换机实现全网互通
5.设置DHCP,PC可以自动获取IP地址
以下是拓扑图及详细步骤:
一.创建VLAN并且划分hybrid VLAN正确
以下是详细步骤:
LSW2
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]
[Huawei]vlan 10
[Huawei-vlan10]vlan 20
[Huawei-vlan20]
Oct 21 2013 16:07:38-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.
25.191.3.1 configurations have been changed. The current change number is 5, the
change loop count is 0, and the maximum number of records is 4095.
[Huawei-vlan20]int e0/0/1
[Huawei-Ethernet0/0/1]port hybrid pvid vlan 10
Oct 21 2013 16:08:08-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.
25.191.3.1 configurations have been changed. The current change number is 6, the
change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/1]port hybrid untagged vlan 10 20
[Huawei-Ethernet0/0/1]int e0/0/2
Oct 21 2013 16:08:28-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.
25.191.3.1 configurations have been changed. The current change number is 7, the
change loop count is 0, and the maximum number of records is 4095. h
[Huawei-Ethernet0/0/2]port hybrid pvid vlan 20
[Huawei-Ethernet0/0/2]port hybrid untagged vlan 10 20
[Huawei-Ethernet0/0/2]
Oct 21 2013 16:08:48-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.
25.191.3.1 configurations have been changed. The current change number is 9, the
change loop count is 0, and the maximum number of records is 4095.
LSW2:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]vlan 30
[Huawei-vlan30]int e
Oct 21 2013 16:18:58-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.
25.191.3.1 configurations have been changed. The current change number is 4, the
change loop count is 0, and the maximum number of records is 4095.
[Huawei-vlan30]int e0/0/1
[Huawei-Ethernet0/0/1]port hybrid pvid vlan 30
[Huawei-Ethernet0/0/1]port hybrid untagged vlan 30
[Huawei-Ethernet0/0/1]
Oct 21 2013 16:19:28-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.
25.191.3.1 configurations have been changed. The current change number is 6, the
change loop count is 0, and the maximum number of records is 4095.
二.创建Hybrid的端口
以下是详细步骤:
LSW2:
[Huawei]interface GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1]
[Huawei-GigabitEthernet0/0/1]port hybrid tagged vlan 10 20
[Huawei-GigabitEthernet0/0/1]
Oct 21 2013 16:26:48-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OI