<delect id="sj01t"></delect>
  1. <em id="sj01t"><label id="sj01t"></label></em>
  2. <div id="sj01t"></div>
    1. <em id="sj01t"></em>

            <div id="sj01t"></div>

            華為交換機之間靜態路由配置實例最新

            時間:2024-07-31 03:35:49 華為認證 我要投稿
            • 相關推薦

            華為交換機之間靜態路由配置實例2016最新

              華為交換機之間怎么配置靜態路由,下面yjbys為大家分享交換機之間靜態路由的配置實例,希望對大家學習華為交換機有幫助!

              拓撲圖

              左邊交換機配置:

            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            17
            18
            19
            20
            21
            22
            23
            24
            25
            26
            27
            28
            29
            30
            31
            32
            33
            34
            35
            36
            37
            38
            39
            40
            41
            42
            43
            44
            45
            46
            47
            48
            49
            50
            51
            52
            53
            54
            55
            56
            57
            58
            59
            60
            61
            62
            63
            64
            65
            66
            67
            68
            69
            <Huawei>dis cu
            #
            sysname Huawei
            #
            vlan batch 10 100
            #
            cluster enable
            ntdp enable
            ndp enable
            #
            drop illegal-mac alarm
            #
            diffserv domain default
            #
            drop-profile default
            #
            aaa
             authentication-scheme default
             authorization-scheme default
             accounting-scheme default
             domain default
             domain default_admin
             local-user admin password simple admin
             local-user admin service-type http
            #
            interface Vlanif1
            #
            interface Vlanif10
             ip address 172.16.10.254 255.255.255.0
            #
            interface Vlanif100
             ip address 172.16.100.1 255.255.255.0
            #
            interface MEth0/0/1
            #
            interface Eth-Trunk1
             port link-type trunk
             port trunk allow-pass vlan 2 to 4094
            #
            interface GigabitEthernet0/0/1
             port link-type access
             port default vlan 10
            #
            interface GigabitEthernet0/0/2
            #
            .........................
            #
            interface GigabitEthernet0/0/21
             eth-trunk 1
            #
            interface GigabitEthernet0/0/22
             shutdown
             eth-trunk 1
            #
            interface GigabitEthernet0/0/23
             eth-trunk 1
            #
            interface GigabitEthernet0/0/24
             eth-trunk 1
            #
            interface NULL0
            #
            ip route-static 172.16.20.0 255.255.255.0 172.16.100.254
            #
            user-interface con 0
            user-interface vty 0 4
            #
            return
            <Huawei>

              右邊交換機配置:

            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            17
            18
            19
            20
            21
            22
            23
            24
            25
            26
            27
            28
            29
            30
            31
            32
            33
            34
            35
            36
            37
            38
            39
            40
            41
            42
            43
            44
            45
            46
            47
            48
            49
            50
            51
            52
            53
            54
            55
            56
            57
            58
            59
            60
            61
            62
            63
            64
            65
            66
            67
            68
            <Huawei>dis cu
            #
            sysname Huawei
            #
            vlan batch 20 100
            #
            cluster enable
            ntdp enable
            ndp enable
            #
            drop illegal-mac alarm
            #
            diffserv domain default
            #
            drop-profile default
            #
            aaa
             authentication-scheme default
             authorization-scheme default
             accounting-scheme default
             domain default
             domain default_admin
             local-user admin password simple admin
             local-user admin service-type http
            #
            interface Vlanif1
            #
            interface Vlanif20
             ip address 172.16.20.254 255.255.255.0
            #
            interface Vlanif100
             ip address 172.16.100.254 255.255.255.0
            #
            interface MEth0/0/1
            #
            interface Eth-Trunk1
             port link-type trunk
             port trunk allow-pass vlan 2 to 4094
            #
            interface GigabitEthernet0/0/1
             port link-type access
             port default vlan 20
            #
            interface GigabitEthernet0/0/2
            #
            .......................
            #
            interface GigabitEthernet0/0/21
             eth-trunk 1
            #
            interface GigabitEthernet0/0/22
             eth-trunk 1
            #
            interface GigabitEthernet0/0/23
             eth-trunk 1
            #
            interface GigabitEthernet0/0/24
             eth-trunk 1
            #
            interface NULL0
            #
            ip route-static 172.16.10.0 255.255.255.0 172.16.100.1
            #
            user-interface con 0
            user-interface vty 0 4
            #
            return
            <Huawei>

              左邊交換機配置步驟(右邊交換機配置類似)

              1、批量創建vlan

              [Huawei]vlan batch 10 100

              2、配置vlanif 地址

              [Huawei]interface Vlanif 100

              [Huawei-Vlanif100]ip address 172.16.100.1 24

              [Huawei-Vlanif100]q

              [Huawei]interface Vlanif 10

              [Huawei-Vlanif10]ip address 172.16.10.254 24

              3、配置GE0/0/1端口屬性并加入vlan 10

              [Huawei-GigabitEthernet0/0/1]port link-type access

              [Huawei-GigabitEthernet0/0/1]port default vlan 10

              4、配置eth-trunk (增加帶寬、實現鏈路備份)及屬性

              [Huawei]interface Eth-Trunk 1

              [Huawei-Eth-Trunk1]trunkport GigabitEthernet 0/0/21 to 0/0/24

              # 端口加入eth-trunk 1 中

              [Huawei-Eth-Trunk1]mode manual load-balance

              # 手工負載模式

              [Huawei-Eth-Trunk1]port link-type trunk

              [Huawei-Eth-Trunk1]port trunk allow-pass vlan all

              #配置eth-trunk 端口為trunk模式并允許所有vlan通過

              5、靜態路由配置

              [Huawei]ip route-static 172.16.20.0 24 172.16.100.254

              # 配置到達 172.16.20.0 這段網絡的下一跳地址為172.16.100.254

            【華為交換機之間靜態路由配置實例最新】相關文章:

            華為交換機路由器配置實例201606-24

            2016最新華為交換機常用配置實例09-18

            最新華為路由器交換機配置命令10-15

            H3C交換機配置靜態路由的方法08-02

            H3C交換機配置靜態路由教程05-22

            華為交換機路由器配置命令大全10-22

            華為交換機配置命令08-07

            華為交換機配置命令10-23

            華為路由器配置命令04-10

            華為路由器配置大全10-06

            <delect id="sj01t"></delect>
            1. <em id="sj01t"><label id="sj01t"></label></em>
            2. <div id="sj01t"></div>
              1. <em id="sj01t"></em>

                      <div id="sj01t"></div>
                      黄色视频在线观看