H3C版本 HCL_V2.1.2_Setup
VirtualBox版本 VirtualBox-6.0.14-Win
一、实验目的
1.掌握vlan配置
2.掌握静态路由的配置
3.掌握静态路由与ospf间如何通信
二、实验拓扑图
三、配置命令
**SW5:
vlan 2
vlan 3
vlan 4
port GigabitEthernet1/0/1
interface Vlan-interface2
ip address 192.168.1.1 255.255.255.0
interface Vlan-interface3
ip address 192.168.2.1 255.255.255.0
interface Vlan-interface4
ip address 192.168.3.1 255.255.255.0
interface GigabitEthernet1/0/1
port link-type access
port access vlan 4
interface GigabitEthernet1/0/2
port trunk permit vlan 2 to 3