DOC

HW2326

By Jill Perez,2014-08-29 01:04
6 views 0
HW2326

    华为2326配置指导书

1.华为2326配置方法通过Console口配置交换机,同HW2016方法一样。

    2HW2326 基本配置方法

    Quidway]aaa

    [Quidway-aaa]undo local-user ftpuser [Quidway]undo interface Vlanif 10 [Quidway]undo vlan 10

    [Quidway]undo ftp server

    [Quidway]interface Ethernet 0/0/1 [Quidway-Ethernet0/0/1]undo port default vlan

    [Quidway-Ethernet0/0/1]q

    [Quidway]vlan 2

    [Quidway-vlan2]q

    [Quidway]interface Vlanif 2

    [Quidway-Vlanif2]ip address 192.168.100.x [Quidway-Vlanif2]q

    [Quidway]int ethernet 0/0/1

    [Quidway-ethernet0/0/1]port trunk allow-pass vlan 2

    [Quidway-ethernet0/0/1]qu

    [Quidway]interface GigabitEthernet 0/0/25 [Quidway-Ethernet0/0/1]port trunk allow-pass vlan 2

    [Quidway-Ethernet0/0/1]q

    [Quidway]aaa

    [Quidway-aaa]local-user huawei password cipher huawei

    [Quidway-aaa]q

    [Quidway]super password cipher huawei [Quidway]user-interface vty 0 4

    [Quidway-ui-vty0-4]authentication-mode aaa [Quidway-ui-vty0-4]q

    [Quidway]q

    sa

3.S3552G下挂S2326交换的配置方法

    [Quidway]dis cu

    #

     sysname Quidway

    #

     super password level 3 cipher N`C55QK<`=/Q=^Q`MAF4<1!!

    #

     igmp-snooping enable

    #

     vlan batch 2 1109 2103 to 2104 #

     loopback-detect interval 5

    #

     bpdu enable

    #

    interface Vlanif2

     ip address 192.168.12.100 255.255.255.0 #

    interface Ethernet0/0/1

     port trunk allow-pass vlan 2 1109 2103 to 2104

     bpdu-tunnel enable

     jumboframe enable

#

    interface Ethernet0/0/2

     port default vlan 1109

     port hybrid untagged vlan 2103 2104

     jumboframe enable

#

    interface Ethernet0/0/3

     port default vlan 1109

     port hybrid untagged vlan 2103 2104

     jumboframe enable

#

    interface Ethernet0/0/4

     port default vlan 1109

     port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

interface Ethernet0/0/5

     port default vlan 1109

     port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

#

    interface Ethernet0/0/6

     port default vlan 1109

     port trunk allow-pass vlan 1109 2103 to 21041

     jumboframe enable

#

    interface Ethernet0/0/7

     port default vlan 1109

     port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

#

    interface Ethernet0/0/8

     port default vlan 1109

     port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

#

    interface Ethernet0/0/9

     port default vlan 1109

     port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

     am isolate Ethernet0/0/1 Ethernet0/0/2 Ethernet0/0/3 Ethernet0/0/4 Ethernet0/0/5 Ethernet0/0/6

    Ethernet0/0/7 Ethernet0/0/8

    am isolate Ethernet0/0/10 Ethernet0/0/11 Ethernet0/0/12 Ethernet0/0/13 Ethernet0/0/14

    Ethernet0/0/15 Ethernet0/0/16 Ethernet0/0/17

     am isolate Ethernet0/0/18 Ethernet0/0/19 Ethernet0/0/20 Ethernet0/0/21 Ethernet0/0/22

    Ethernet0/0/23 Ethernet0/0/24

#

    interface Ethernet0/0/10

     port default vlan 1109

     port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

     loopback-detect enable

     loopback-detect action block

     am isolate Ethernet0/0/1 Ethernet0/0/2 Ethernet0/0/3 Ethernet0/0/4 Ethernet0/0/5 Ethernet0/0/6

    Ethernet0/0/7 Ethernet0/0/8

     am isolate Ethernet0/0/9 Ethernet0/0/11 Ethernet0/0/12 Ethernet0/0/13 Ethernet0/0/14

    Ethernet0/0/15 Ethernet0/0/16 Ethernet0/0/17

     am isolate Ethernet0/0/18 Ethernet0/0/19 Ethernet0/0/20 Ethernet0/0/21 Ethernet0/0/22

    Ethernet0/0/23 Ethernet0/0/24

    #

    [42Dinterface Ethernet0/0/11

     description ip 192.168.12.26

     port trunk allow-pass vlan 2 1109 2103 to 2104

     jumboframe enable

     loopback-detect enable

     loopback-detect action block

     am isolate Ethernet0/0/1 Ethernet0/0/2 Ethernet0/0/3 Ethernet0/0/4 Ethernet0/0/5 Ethernet0/0/6

    Ethernet0/0/7 Ethernet0/0/8

     am isolate Ethernet0/0/9 Ethernet0/0/10 Ethernet0/0/12 Ethernet0/0/13 Ethernet0/0/14

    Ethernet0/0/15 Ethernet0/0/16 Ethernet0/0/17

     am isolate Ethernet0/0/18 Ethernet0/0/19 Ethernet0/0/20 Ethernet0/0/21 Ethernet0/0/22

    Ethernet0/0/23 Ethernet0/0/24 #

    interface Ethernet0/0/12

     port default vlan 1109

     port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

    #

    interface Ethernet0/0/13

     description To_192.168.12.31

     port link-type trunk

     port trunk allow-pass vlan 2 1109 2103 to 2104

     jumboframe enable

    #

    interface Ethernet0/0/14

     port default vlan 1109

     jumboframe enable

    #

    interface Ethernet0/0/15

     port link-type access

     port default vlan 1109

     jumboframe enable

    #

    interface Ethernet0/0/16 port default vlan 1109

     jumboframe enable

    #

    interface Ethernet0/0/17

     port default vlan 1109 port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

    #

    interface Ethernet0/0/18 port default vlan 1109

     jumboframe enable

     #

    interface Ethernet0/0/19 port default vlan 2103

     jumboframe enable

     loopback-detect enable

     loopback-detect action block #

    interface Ethernet0/0/20

     port default vlan 1109

     port trunk allow-pass vlan 1109 2103 to 2104

    jumboframe enable

     loopback-detect enable

     loopback-detect action block #

    interface Ethernet0/0/21

     port link-type access

     port default vlan 1109

     #

    interface Ethernet0/0/22

     port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

     #

    interface Ethernet0/0/23

     port default vlan 1109

     port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

     #

    interface Ethernet0/0/24

     port trunk allow-pass vlan 1109 2103 to 2104

     jumboframe enable

    interface GigabitEthernet0/0/1

     description to_S3552G_E0/23

     port link-type trunk

     port trunk allow-pass vlan 1 to 2 1109 2103 to 2104

     jumboframe enable

    #

    interface GigabitEthernet0/0/2 #

    interface NULL0

    #

    aaa

     local-user huawei password cipher N`C55QK<`=/Q=^Q`MAF4<1!!

    authentication-scheme default

     #

     authorization-scheme default

     #

     accounting-scheme default

     #

     domain default

     #

    #

    user-interface con 0

    user-interface vty 0 4

     authentication-mode aaa #

    return

    

    3.1s7802下挂2326交换的配置方法(混合使用) [Quidway]dis cu

    #

     sysname Quidway

    #

     super password level 3 cipher N`C55QK<`=/Q=^Q`MAF4<1!!

    #

     igmp-snooping enable #

     vlan batch 2 to 3 511 1109 2103 to 2104

    #

     loopback-detect interval 5 #

     bpdu enable

    #

    interface Vlanif2

     ip address 192.168.12.100 255.255.255.0

    #

    interface Ethernet0/0/1

     port trunk allow-pass vlan 2 1109 2103 to 2104

     bpdu-tunnel enable

     jumboframe enable

#

    interface Ethernet0/0/2

     port default vlan 1109

     port hybrid untagged vlan 3 511

     jumboframe enable

#

    interface Ethernet0/0/3

     port default vlan 1109

     port hybrid untagged vlan 3 511

     jumboframe enable

#

    interface Ethernet0/0/4

     port default vlan 1109

     port hybrid untagged vlan 3 511

     jumboframe enable

interface Ethernet0/0/5

     port default vlan 1109

     port hybrid untagged vlan 3 511

     jumboframe enable

#

    interface Ethernet0/0/6

     port default vlan 1109

     port hybrid untagged vlan 3 511

     jumboframe enable

#

    interface Ethernet0/0/7

     port default vlan 1109

     port hybrid untagged vlan 3 511

     jumboframe enable

#

    interface Ethernet0/0/8

     port default vlan 1109

     port hybrid untagged vlan 3 511

     jumboframe enable

#

    interface Ethernet0/0/9

     port default vlan 1109

     port hybrid untagged vlan 3 511

     jumboframe enable

#

    interface Ethernet0/0/10

     port default vlan 1109

     port hybrid untagged vlan 3 511

     jumboframe enable

     loopback-detect enable

     loopback-detect action block

     am isolate Ethernet0/0/1 Ethernet0/0/2 Ethernet0/0/3 Ethernet0/0/4 Ethernet0/0/5 Ethernet0/0/6

    Ethernet0/0/7 Ethernet0/0/8

     am isolate Ethernet0/0/9 Ethernet0/0/11 Ethernet0/0/12 Ethernet0/0/13 Ethernet0/0/14

    Ethernet0/0/15 Ethernet0/0/16 Ethernet0/0/17

     am isolate Ethernet0/0/18 Ethernet0/0/19 Ethernet0/0/20 Ethernet0/0/21 Ethernet0/0/22

    Ethernet0/0/23 Ethernet0/0/24

    #

    [42Dinterface Ethernet0/0/11

     description ip 192.168.12.26

     port trunk allow-pass vlan 2 to 3 511 1109 2103 to 2104

     jumboframe enable

     loopback-detect enable

     loopback-detect action block

     am isolate Ethernet0/0/1 Ethernet0/0/2 Ethernet0/0/3 Ethernet0/0/4 Ethernet0/0/5 Ethernet0/0/6

    Ethernet0/0/7 Ethernet0/0/8

     am isolate Ethernet0/0/9 Ethernet0/0/10 Ethernet0/0/12 Ethernet0/0/13 Ethernet0/0/14

    Ethernet0/0/15 Ethernet0/0/16 Ethernet0/0/17

     am isolate Ethernet0/0/18 Ethernet0/0/19 Ethernet0/0/20 Ethernet0/0/21 Ethernet0/0/22

    Ethernet0/0/23 Ethernet0/0/24

    #

    interface Ethernet0/0/12

     port default vlan 1109

     port trunk allow-pass vlan 3 511 1109

     jumboframe enable

    #

    interface Ethernet0/0/13

     description To_192.168.12.31

     port link-type trunk

     port trunk allow-pass vlan 2 to 3 511

     jumboframe enable

    #

    interface Ethernet0/0/14

     port link-type access

     port default vlan 1109

     jumboframe enable

    #

    interface Ethernet0/0/15

     port link-type access

     port default vlan 1109

     jumboframe enable

#

    interface Ethernet0/0/16

     port link-type access

     port default vlan 1109

     jumboframe enable

    #

    interface Ethernet0/0/17

     port default vlan 1109

     port trunk allow-pass vlan 3 511

     jumboframe enable

    #

    interface Ethernet0/0/18

     port link-type access

     port default vlan 1109

     jumboframe enable

     #

    interface Ethernet0/0/19

     port link-type access

     port default vlan 3

     jumboframe enable

     #

    interface Ethernet0/0/20

     port link-type access

     jumboframe enable

     loopback-detect enable

     loopback-detect action block #

    interface Ethernet0/0/21

     port link-type access

     port default vlan 1109

     #

    interface Ethernet0/0/22

     port trunk allow-pass vlan 1 to 3 511 1109 2103 to 2104

     jumboframe enable

     #

    interface Ethernet0/0/23

     port default vlan 1109

     port trunk allow-pass vlan 1 511 1109

     jumboframe enable

     #

    interface Ethernet0/0/24

     port default vlan 2

     port trunk allow-pass vlan 1 to 3 511 1109 2103 to 2104

     jumboframe enable

    interface GigabitEthernet0/0/1

     description to_7802_g2/0/3

     port link-type trunk

     port trunk allow-pass vlan 1 to 3 511 1109 2103 to 2104

     jumboframe enable

    #

    interface GigabitEthernet0/0/2 #

    interface NULL0

    #

    aaa

     local-user huawei password cipher N`C55QK<`=/Q=^Q`MAF4<1!!

     local-user ftpuser password simple ftppwd

     local-user ftpuser service-type ftp

     local-user ftpuser ftp-directory flash:/

     authentication-scheme default

     #

     authorization-scheme default

     #

     accounting-scheme default

     #

     domain default

     #

    #

    user-interface con 0

    user-interface vty 0 4

     authentication-mode aaa

    #

    return

    

4HWs2326交换机常用命令

    查看1端口下MAC 地址

    Dis mac-add dy ehte 0/0/1

查看MAC地址在那个端口

    例,dis mac-add 001e-108d-b4b3 vlan 3

Report this document

For any questions or suggestions please email
cust-service@docsford.com