sth

1..檢查版本

2.版本升級

console#upgrade system ftp: A:
Address or name of remote host []: 192.168.1.10
Source file name []: FTOS-SC-8.3.3.9.bin
User name to login remote host: dell
Password to login remote host:
01:59:11: %STKUNIT0-M:CP %FTP-3-FTP_ERROR: File not found
% Error: Failed to access the remote file.
% Error: Upgrade system image failed.
console#upgrade system ftp: A:
Address or name of remote host []: 192.168.1.10
Source file name []: FTOS-SC-8.3.3.9.bin
User name to login remote host: dell
Password to login remote host:
!!!!!!!!!!!!

PS:主機FTP服務器,目錄,用戶名,密碼

Show:
show version
show system stack-unit 0
show system brief



3.基本配置
    hostname
    enable password
    username password
    ssh/telnet
        no ip telnet server enable    關閉telnet
        ip ssh server enable

    Spanning tree
        protocol spanning-tree rstp/mstp/stp/pvst
            no disable               打開模式

    Show 命令

        show spanning-tree rstp
        show spanning-tree rstp interface gi0/0


4.VLAN
    創建VLAN、VLAN IP
        interface vlan 100
        
    Access/Trunk/Native vlan

CiscoAccess: interface g0/0
        sw mo ac
        sw ac vlan 100
        no sh

FTOSAccess:    interface vlan 100
        untagged interface g0/0


CiscoTrunk:   interface gi0/1
        sw trunk encapsulation dot1q
        sw mo trunk
        sw trunk all vlan 100 , 120
        no sh

FTOSTrunk : interface vlan 100 , vlan 120
        tagged gi0/1

Show命令:
    show vlan
    show interface switchport gi0/1
    


5.Interface
    Switchport
    No switchport

    Port-channel

    1. Static
        interface port-channel 10
            channel-member gi0/10-11
    2.LACP
        interface GigabitEthernet 0/12
             no ip address
             port-channel-protocol LACP
              port-channel 11 mode active
             no shutdown

    Show 命令
        show interface status
        show ip inter bri
        show inter port-channel 11 bri
        show interface gi0/11 bri


6.堆疊、VLT


    Stack-unit 0 stack-group 14
    (注:只有S4810/6000 - SZ9000 Arc才能需要打上面這命令堆疊)



7.VRRP(公有)
    參考HSRP(私有)



8.SNMP


snmp-server community csm@1234 ro
snmp-server contact FS4810s-07-08
snmp-server location BJ
snmp-server user csm@1234 csm@1234 1
snmp-server user csm@1234 csm@1234 2c
snmp-server user csm@1234 csm@1234 3




A.基本命令:
    1.show
        Show command-history    顯示之前配過的命令
        Show command    

    2.關於接口
        Interface Range Marco
            Define interface-range macro(name)
        
        Port-channel
            static
            Interface port-channel 31
                switchport
                Channel-member {interface}
                Minimum-linkes 3        在最小3個up情況下,Port-channel才up
            
            Dynamic(LACP)
            Interface G0/12
                Port-channel-protocol lacp
                Port-channel 32 mode active
            Interface port-channel 32
                No shutdown
                
                
        Access/Trunk
        
            You can't simply put a port into trunk mode as you do in IOS, you have
            to define all the VLANs that you want to carry on that port.
            
            For an access port you do:
            int g0/6
            switchport
            int vlan 123
            untagged g0/6
            
            For a trunk port you go:
            int g0/6
            Switchport
            int vlan 123
            tagged g0/6
            int vlan 124
            tagged g0/6
            
                
        Native Vlan
        
            interface vlan 10
            untagged gigabitethernet 1/0
            
            interface vlan 20
            tagged gigabitethernet 1/0
            
            interface vlan 30
            tagged gigabitethernet 1/0
            
            
            In this case You use the vlan 10 like nativ vlan in ge1/0 and vlan 20
            and 30 like taged vlan with dot1q encapsulation. So you need define the
            needed vlan on all interface. Not like cisco ( permit all vlan in default :)
            
            But you need use the "portmode hybrid" command on ge1/0 if you like use
            nativ and tagged vlan on the interface same time.
            
            On port-channel interface you can't use the "portmode hybrid" command !
            
            In the IOS:
            
            interface gigabithetnernet 1/0
            switchport
            switchport mode trunk
            switchport trunk encapsulation dot1q
            switchport trunk native vlan 10
            switchport trunk allowed vlan 20,30

            For Example:
        
            Force10(conf-if-gi-0/1)#Int g0/1
            Force10(conf-if-gi-0/1)#Portmode hybrid
            Force10(conf-if-gi-0/1)#Switchport
            
            Force10(conf)#Int vlan 10
            Force10(conf-if-vl-10)#Untagged g1/0
            Force10(conf)#Int vlan 20
            Force10(conf-if-vl-20)#Tagged g1/0
            Force10(conf)#Int vlan 30
            Force10(conf-if-vl-30)#Tagged g1/0
            
            Just like Cisco IOS
            CiscoSW(config)#interface g0/1/0
            CiscoSW(config-if)#Switchport trunk encapuslation dot1q
            CiscoSW(config-if)#Swtichport mode trunk
            CiscoSW(config-if)#Switchport trunk native vlan 10
            CiscoSW(config-if)#Switchport trunk allowd vlan 20,30
            



5548堆疊unit號,需要手動綁定。switch 1 renumber 1
            
            
        
1、先升級版本
   交換機是否需要堆疊    
2、確認vlan號,vlan需要在哪些交換機上配置,哪些vlan需要網關地址
3、交換機互聯做port-channel
4、是否是光口交換機還是電口交換機。準備光模塊        




查看堆疊sh swi

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章