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 p_w_picpath 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