ensp 链路聚合

三层交换机和三层交换机链路聚合:

    interface Eth-Trunk11

        port link-type trunk

        port trunk pvid vlan 99

        port trunk allow-pass vlan 10 20 30 40 99

        mode lacp-static

        lacp preempt enable

        max active-linknumber 3

        lacp preempt delay 10


    interface Eth-Trunk11

        port link-type trunk

        port trunk pvid vlan 99

        port trunk allow-pass vlan 10 20 30 40 99

        mode lacp-static

        lacp preempt enable

        max active-linknumber 3

        lacp preempt delay 10



路由器与路由器链路聚合:

    interface Eth-Trunk1

            undo portswitch

            ip address 10.0.0.13 255.255.255.252

            mode lacp-static

            lacp preempt enable

            max active-linknumber 2

            lacp preempt delay 10


   interface Eth-Trunk1

            undo portswitch

            ip address 10.0.0.14 255.255.255.252

            mode lacp-static

            lacp preempt enable

            max active-linknumber 2

            lacp preempt delay 10


二层交换机与路由器链路聚合:

        二层交换机:

                    interface Eth-Trunk7

                    port link-type trunk

                    port trunk allow-pass vlan 100 200

                    mode lacp-static

                    lacp preempt enable

                    max active-linknumber 2

                    lacp preempt delay 10

    路由器子接口:

                二层交换机下面多个vlan连接 路由器

                    # 父接口配置链路聚合 子接口配置ip地址

                        interface Eth-Trunk7

                        undo portswitch

                        mode lacp-static

                        lacp preempt enable

                        max active-linknumber 2

                        lacp preempt delay 10

                    #

                    interface Eth-Trunk7.1

                        dot1q termination vid 200

                        ip address 10.100.200.254 255.255.255.0

                        arp broadcast enable 这个不能省

                        dhcp select interface

                        #

                    interface Eth-Trunk7.2

                        dot1q termination vid 100

                        ip address 10.100.100.254 255.255.255.0

                        arp broadcast enable  这个不能省

                        dhcp select interface

                    #

                    

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容