Routing and switching learn the sixth day: VLAN communication

Routing and switching learn the sixth day: VLAN communication
==== HW-SW1 of 5 6 ========= Down
==== HW-SW3 are in a ============ Down
==== protection SW3 are - SWl - Rl ========
==== =========== PC1 is the IP 10.10.10.11
==== PC2 is the IP 10.10.10.12 == =========
==== Server1 is the IP 10.10.10.13 =========

Routing and switching learn the sixth day: VLAN communication

[HW-SW3]display port vlan active //查看端口VLAN接口信息
[HW-SW3]interface GigabitEthernet 0/0/10 //进入10口配置
[HW-SW3-GigabitEthernet0/0/10]port link-type access //端口模式修改为接入口
[HW-SW3]interface GigabitEthernet 0/0/11 //进入11口配置
[HW-SW3-GigabitEthernet0/0/11]port link-type access //端口模式修改为接入口
[HW-SW3]interface GigabitEthernet 0/0/12 //进入12口配置
[HW-SW3-GigabitEthernet0/0/12]port link-type access //端口模式修改为接入口
[HW-SW3]vlan batch 8 to 12 99 //批量设置VLAN8到12,以及99
[HW-SW3]interface GigabitEthernet 0/0/10 //进入10口配置
[HW-SW3-GigabitEthernet0/0/10]port default vlan 8 //端口加入到VLAN8
[HW-SW3-GigabitEthernet0/0/10]interface GigabitEthernet 0/0/11 //进入11口配置
[HW-SW3-GigabitEthernet0/0/11]port default vlan 8 //端口加入到VLAN8
[HW-SW3-GigabitEthernet0/0/11]interface GigabitEthernet 0/0/12 //进入12口配置
[HW-SW3-GigabitEthernet0/0/12]port default vlan 9 //端口加入到VLAN9
[HW-SW3]display port vlan active //查看端口VLAN接口信息

Routing and switching learn the sixth day: VLAN communication

Routing and switching learn the sixth day: VLAN communication

================================================================
R1配置:
[HW-R1]interface GigabitEthernet 0/0/1 //配置1口
[HW-R1-GigabitEthernet0/0/1]ip address 10.10.10.1 24 //配置1口IP

SW1 configuration:
[HW-SW1] BATCH VLAN. 8 to 12 // 99 disposed VLAN8 batch to 12, and 99
[HW-SW1] interface configuration of GigabitEthernet 0/0/3 // 3
[HW-SW1-GigabitEthernet0 / 0 / 3] port link-type access // modify inlet port mode
[HW-SW1-GigabitEthernet0 / 0 /3] port default vlan 8 // port to VLAN8
[SWl-HW-the GigabitEthernet0 / 0 /. 3] int G0 / Configuring an 0/1 //
[HW-SW1-GigabitEthernet0 / 0 /1] port link-type access // modify inlet port mode
[HW-SW1-GigabitEthernet0 / 0 /1] port default vlan 8 // port added to VLAN8

SW3 configuration:
[HW-SW3] interface configuration of GigabitEthernet 0/0/3 // 3
[HW-SW3-GigabitEthernet0 / 0 /3] port link-type access // modify inlet port mode
[HW-SW3-GigabitEthernet0 / 0/3] port default vlan 8 // port to VLAN8

Routing and switching learn the sixth day: VLAN communication
Routing and switching learn the sixth day: VLAN communication

Guess you like

Origin blog.51cto.com/63736/2425732