HCL试验5

PC端配置:配置ip地址

交换机1配置:①创建VLAN

                                                system-view

                                                vlan 10

                                                vlan 20

②配置PC端接口

                                                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

 

③配置交换机接口

                                                interface gi 1/0/48

                                                port link-type trunk

                                                port trunk permit vlan 10 20

交换机2配置:①创建VLAN

                                                system-view

                                                vlan 10

                                                vlan 20

2.配置交换机接口

                                               interface bridge-aggregation 1

                                               qu

                                               interface rang gi1/0/46 to gi1/0/48

                                               port link-mode bridge

                                               port link-aggregation group 1

                                               qu

                                               interface bridge-agg 1

                                               port link-type trunk

                                               port trunk permit vlan all

路由器配置:

                                                 interface bridge-aggregation 1

                                               qu

                                               interface rang gi1/0/0 to gi1/0/3

                                               port link-mode bridge

                                               port link-aggregation group 1

                                               qu

                                               interface bridge-agg 1

                                               port link-type trunk

                                               port trunk permit vlan all

猜你喜欢

转载自www.cnblogs.com/junruo/p/10831397.html