본문 바로가기

Extream

[extream]summit24 많이 사용하는 명령어

기본적으로 Default VLAN에 모든 port들이 들어있다. 먼저 이 port들을 제거 해 준다.
Summit24:1 # sh vlan                                            
VLAN Interface[0-fdf] with name "Default" created by user       
     Tagging:   802.1Q Tag 1                                    
     IP:        Waiting for bootp reply.                        
     IPX:       Not configured                                  
     STPD:      Domain "s0" is not running spanning tree protocol
     Protocol:  Match all unfiltered protocols.                 
     Qos Profile:       QP1                                     
     Ports:     25.     (Number of active port=0)               
                Untag:  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

Summit24:2 # config default delete port all
     만약 1번과 5번 port를 제거 한다면 all 부분에 1, 5라고 넣어주면 됨
     1번 부터 5번 까지의 port들을 제거 한다면 1 – 5라고 넣어주면 됨

Summit24:3 # sh vlan

VLAN Interface[0-fdf] with name "Default" created by user
     Tagging:   802.1Q Tag 1
     IP:        Waiting for bootp reply.
     IPX:       Not configured
     STPD:      Domain "s0" is not running spanning tree protocol
     Protocol:  Match all unfiltered protocols.
     Qos Profile:       QP1
     Ports:     0.     (Number of active port=0)


VLAN을 creat 명령어를 사용해 만든다.
Summit24:4 # creat vlan test

만든 VLAN에 port를 추가시킨다.
Summit24:5 # config vlan test add port 1 – 4
   
VLAN에 IP Address를 입력한다.
Summit24:6 # conf test ipaddress 211.218.145.237/28             
IP interface for VLAN test has been created.                 
IP address = 211.218.145.237,   Netmask = 255.255.255.240.

VLAN의 IP Address를 바꾸려면 IP Address만 변경하여 위와 동일하게 하면 됨.
IP Address만 삭제할때는  unconfig vlan test  ipaddress 하면 됨.

Summit24:20 # config iproute add default 211.218.145.238       
 
Summit24:21 # sh iproute                                          
                                                                    
Destination        Gateway         Mtr Flags     Use     VLAN  Origin
211.218.145.224/28 211.218.145.237   1 U           0     test  Direct
127.0.0.1/8        127.0.0.1         0 U H         0     test  Direct
Default Route      211.218.145.238   1 UG   M      0     test  Static
                                                                    
Total number of routes = 3.                                         
                                                                    
Mask distribution:                                                  
    1 default routes                1 routes at length  8           
    1 routes at length 28                                           
                                                                    
Route origin distribution:                                          
    2 routes from Direct            1 routes from Static  

장비의 Configuration을 삭제하는 방법
Summit24:8 # Unconfigure switch all
   위와 같은 명령을 내리면 장비가 Configuration을 지운 후 재 부팅 함.

설정된 것이 아니라 새로 만들려는 항목들에 대한 명령어 순서는 대부분이
Create    config  순서로 이루어 진다.
Create  vlan name
Config  vlan name 등등의 형식   

기존에 가지고 있는 항목들은 대개 enable , disable로 처리된다.
Enable route sharing
Enable ipforwording

설정에 대해 지우고 싶을때는 delete 혹은 config name delete등의 형식으로 이루어 진다.
Delete vlan name
Delete account 등의 형태를 가진다. 

Interface가 10M 인지 100M인지 또는 auto로 configuration 되어 있는지 확인
Summit24:9 # sh ports 1 info                
                   
Information for port 1:                                            
        Port state: enabled                                        
        Link state: active                                         
        Port diagnostic: pass                                      
        Configured Duplex mode: auto    Actual Duplex Mode: full   
        Configured speed: auto  Actual Speed: 100                  
        Link up 1 time(s)                                          
        Link down 1 time(s)                                        
        Media type: UTP                                            
        Has redundant port: no                                     
        Summit Link disabled                                       
        Extreme Discovery Protocol: enabled                        
        Qos Monitor: disabled                                      
        Load sharing is not enabled                                
        MAC Learning: enabled                                      
        VLAN information:                                          
                test(untagged) Vlan Id: 4095  

Port 의 Configuration변경방법

Summit24:10 # configure ports 1 auto off speed 100 duplex full
Summit24:11 # configure ports 1 auto off duplex full speed 100

 위 2개의 명령어는1번  port를 강제적으로 100 full로 잡는 방법이다.

Summit24:12 # configure ports 1 auto on
 1번 port를 auto로 잡는 방법임.


다른 장비와 연결된 port가 제대로 동작하는지 확인

Summit24:8 # Sh port stats
 
Port Statistics                                       Thu Jun 19 20:41:11 2003 
Port     Link        Tx Pkt     Tx Byte       Rx Pkt     Rx Byte   Rx      Rx  
         Status      Count      Count         Count      Count     Bcast   Mcast
=================================================================
  1       READY           0                  0            0                    0       0       0
  2      ACTIVE        1959      244308         2880     3925901       0       0
  3       READY           0                  0            0                    0       0       0
  4       READY           0                  0            0                    0       0       0
  5       READY           0                  0            0                    0       0       0
  6       READY           0                  0            0                    0       0       0
  7       READY           0                  0            0                    0       0       0
  8       READY           0                  0            0                    0       0       0
  9       READY           0                  0            0                    0       0       0
 10       READY          0                  0            0                    0       0       0
=================================================================
           0->Clear Counters  U->page up  D->page down ESC->exit 
Displays real-time receive error statistics.

Summit24:8 # Sh port rxerror
 Port Rx Error Monitor                                 Thu Jun 19 20:37:25 2003 
Port      Link        Rx      Rx      Rx        Rx     Rx        Rx        Rx  
          Status      CRC     Over    Under     Frag   Jabber    Align     Lost
=================================================================
  1        READY        0        0        0        0        0        0        0
  2       ACTIVE        0        0        0        0        0        0        0
  3        READY        0        0        0        0        0        0        0
  4        READY        0        0        0        0        0        0        0
  5        READY        0        0        0        0        0        0        0
  6        READY        0        0        0        0        0        0        0
  7        READY        0        0        0        0        0        0        0
  8        READY        0        0        0        0        0        0        0
  9        READY        0        0        0        0        0        0        0
 10        READY        0        0        0        0        0        0        0
=================================================================
           0->Clear Counters  U->page up  D->page down ESC->exit

Displays real-time transmit error statistics.

Summit24:8 # Sh port txerror
Port Tx Error Monitor                                 Thu Jun 19 20:40:10 2003  
Port      Link         Tx    Tx          Tx            Tx        Tx             
          Status       Coll  Late Coll   Deferred      Error     Parity         
=================================================================
  1        READY          0          0          0          0          0         
  2       ACTIVE          0          0          0          0          0         
  3        READY          0          0          0          0          0         
  4        READY          0          0          0          0          0         
  5        READY          0          0          0          0          0         
  6        READY          0          0          0          0          0         
  7        READY          0          0          0          0          0         
  8        READY          0          0          0          0          0         
  9        READY          0          0          0          0          0         
 10        READY          0          0          0          0          0         
=================================================================
           0->Clear Counters  U->page up  D->page down ESC->exit

Port들의 사용율을 체크 할 때 사용.  ( spacebar를 사용해 다른 정보들도 볼 수 있음.)
                   (packet/sec  ->  bytes/sec  ->   % bandwidth)
Summit24:6 # sh port utilization
 
Link Utilization Averages                             Thu Jun 19 20:45:11 2003  
Port      Link    Receive        Peak Rx         Transmit        Peak Transmit  
          Status  packet/sec     pkt/sec         pkt/sec         pkt/sec        
=================================================================
   1       READY        0              0               0               0        
   2      ACTIVE      240            240             210             210        
   3       READY        0              0               0               0        
   4       READY        0              0               0               0        
   5       READY        0              0               0               0        
   6       READY        0              0               0               0        
   7       READY        0              0               0               0        
   8       READY        0              0               0               0        
   9       READY        0              0               0               0        
  10       READY        0              0               0               0        
 
=================================================================
         spacebar->toggle screen U->page up  D->page down ESC->exit

장비에 관한 대략적인 정보를 볼 수 있음.
Summit24:24 # sh switch                                                         
                                                                                  
sysName:        Summit24                                                          
sysLocation:                                                                      
sysContact:     support@extremenetworks.com, +1 888 257 3000                      
System MAC:     00:01:30:60:85:00                                                 
                                                                                  
License:        Basic L3.                                                         
Qos Mode:       Ingress                                                           
System Mode:    802.1Q EtherType is 8100.    CardFailureAction Mode:    None      
PACE disabled.    Jumbo disabled.                                                 
Current time:   Wed Jul 2 13:41:21 2003                                           
Timezone:       GMT Offset: 0 minutes, DST is in effect.                          
Auto DST check: Enabled                                                           
Boot time:      Wed Jul 2 11:49:28 2003                                           
Next reboot:    None scheduled                                                    
Timed upload:   None scheduled                                                    
Temperature:    Normal.    All fans are operational.                              
Power supply:   Primary OK, RPS not present                                       
                                                                                  
Software image selected:        primary                                           
Software image booted:          primary                                           
Primary software version:       4.1.21b1                                          
Secondary software version:     4.1.15b4                                          
                                                                                  
Configuration selected:         primary                                           
Configuration booted:           primary                                           
Primary configuration:          444520 bytes saved on Fri Jun 13 15:02:10 2003    
Secondary configuration:        444520 bytes saved on Tue Feb 4 15:07:11 2003


장비가 사용하고 있는 Boot image와 image를 확인


Summit48:15 # sh ver
 
System ID:       800013-14-0037M02655
Board ID:        700015-11-0037M00694
Left Board ID:   700016-10-0036M00614
Right Board ID:  --
Image  :  Extremeware Version 4.1.19 (Build 2)  by Release_Master  Wed 08/09/200
0  6:09p
 BootROM : 1.9