实验拓扑如下:
主核心交换机配置
<Huawei>undo ter mo Info: Current terminal monitor is off. <Huawei>sys Enter system view, return user view with Ctrl+Z. [Huawei]sysname zhxjh [zhxjh]vlan 10 [zhxjh-vlan10]vlan 20 [zhxjh-vlan20]vlan 30 [zhxjh-vlan30]int vlan 10 [zhxjh-Vlanif10]ip add 192.168.10.254 24 [zhxjh-Vlanif10]int vlan 20 [zhxjh-Vlanif20]ip add 192.168.20.254 24 [zhxjh-Vlanif20]int vlan 30 [zhxjh-Vlanif30]ip add 192.168.30.254 24 [zhxjh-Vlanif30]int g0/0/1 [zhxjh-GigabitEthernet0/0/1]port lin tr [zhxjh-GigabitEthernet0/0/1]port tr al vlan all
LSW2交换机配置
<Huawei>undo ter mo Info: Current terminal monitor is off. <Huawei>sys Enter system view, return user view with Ctrl+Z. [Huawei]sysname lcjh [lcjh]vlan 10 [lcjh-vlan10]vlan 20 [lcjh-vlan20]vlan 30 [lcjh-vlan30]int g0/0/1 [lcjh-GigabitEthernet0/0/1]port lin tr [lcjh-GigabitEthernet0/0/1]port tr al vlan all [lcjh-GigabitEthernet0/0/1]int g0/0/2 [lcjh-GigabitEthernet0/0/2]port lin ac [lcjh-GigabitEthernet0/0/2]port def vlan 20 [lcjh-GigabitEthernet0/0/2]int g0/0/3 [lcjh-GigabitEthernet0/0/3]port lin tr [lcjh-GigabitEthernet0/0/3]port tr al vlan all [lcjh-GigabitEthernet0/0/3]int vlan 10 [lcjh-Vlanif10]ip add 192.168.10.20 24 [lcjh-Vlanif10]q [lcjh]ip route-static 0.0.0.0 0.0.0.0 192.168.10.254
多媒体机房交换配置
<Huawei>undo ter mo Info: Current terminal monitor is off. <Huawei>sys Enter system view, return user view with Ctrl+Z. [Huawei]sysname dmtjfjh [dmtjfjh]vlan 10 [dmtjfjh-vlan10]vlan 30 [dmtjfjh-vlan30]int g0/0/1 [dmtjfjh-GigabitEthernet0/0/1]port lin tr [dmtjfjh-GigabitEthernet0/0/1]port tr al vlan all [dmtjfjh-GigabitEthernet0/0/1]int g0/0/2 [dmtjfjh-GigabitEthernet0/0/2]port lin ac [dmtjfjh-GigabitEthernet0/0/2]port def vlan 30 [dmtjfjh-GigabitEthernet0/0/2]int vlan 10 [dmtjfjh-Vlanif10]ip add 192.168.10.30 24 [dmtjfjh-Vlanif10]q [dmtjfjh]ip route-static 0.0.0.0 0.0.0.0 192.168.10.254
实验验证
二〇一四年六月十九日 13:19:38
评论区