HCL second experiment

PC side configuration: ip address configuration

Switch 1 configuration: ① create VLAN

                                                system-view

                                                vlan 10

                                                vlan 20

② configurations on PC Interface

                                                interface gi 1/0/1

                                                port link-type access

                                                port access vlan 10

                                                interface gi 1/0/2

                                                port link-type access

                                                port access vlan 10

                                                interface gi 1/0/3

                                                port link-type access

                                                port access vlan 20

                                                 interface gi 1/0/4

                                                port link-type access

                                                port access vlan 20

 

③ Configuration Switch Interface

                                                interface gi 1/0/48

                                                port link-type trunk

                                                port trunk permit vlan 10 20

2 Switch Configuration: ① create VLAN

                                                system-view

                                                vlan 10

                                                vlan 20

② configurations on PC Interface:              

                                                interface gi 1/0/1

                                                port link-type access

                                                port access vlan 10

                                                 interface gi 1/0/2

                                                port link-type access

                                                port access vlan 20

                                             

③ Configuration Switch Interface

                                                interface gi 1/0/48

                                                port link-type trunk

                                                port trunk permit vlan 10 20

Guess you like

Origin www.cnblogs.com/zy5201311/p/10930013.html