작성일 댓글 남기기

OmniSwitch 기본명령어

OmniSwitch 기본 명령어

▶ Omni switch의 접속

– 접속은 ftp, telnet, 그리고 시리얼통신(콘솔) 이렇게 3가지로 접속할수 있다.

㉠ ftp : file을 넘기거나 받을 때 사용한다

          flash memory가 stack구조로 되어있으므로 file을 순서대로 넣어주는 것이 좋다

          file상태는 접속상에서 ‘ls’ 명령으로 볼수 있다

㉡ telnet : network상에서 간단한 setting 변경시, switch상태 확인시 가장 손쉬운 접속방법

               vt(가상터미널)을 통하여 원격으로 제어할수 있다

㉢ 콘솔 : switch장애시, network접속이 안될때, lan E. 수정시 등에 사용

             switch의 file이 깨져서 부팅이 되질 않을 경우 콘솔상에서 file을 넘겨준다

             단, tcp/ip통신이 되질 않으므로 시리얼 통신으로 (zmodem)으로 넘긴다

▶ Switch 접속

먼저 switch의 ip를 쳐서 telnet 으로 접속한다. 

c:\windows\telnet X.X.X.X

Welcome to the Xylan OmniSwitch! Version 3.4.7

login   :

password:

접속메시지와 함께 스위치 버젼(mpm.img mpm.cmd file의 버젼)이 출력된다

login에는 ‘admin’과 함께 password를 입력한다(default는 ‘switch’)

  **********************************************************************

Xylan OmniSwitch – Copyright (c), 1994-1998 XYLAN Inc.

All rights reserved.

           System Name:       no_name

    Command      Main Menu

    ———— ——————————————————–

    File         Manage system files

    Summary      Display summary info for VLANs, bridge, interfaces, etc.

    VLAN         VLAN management

    Networking   Configure/view network parameters such as routing, etc.

    Interface    View or configure the physical interface parameters

    Security     Configure system security parameters

    System       View/set system-specific parameters

    Services     View/set service parameters

    Switch       Enter Any to Any Switching Menu

    Help         Help on specific commands

    Diag         Display diagnostic level commands

    Exit/Logout  Log out of this session

    ?            Display the current menu contents

/ %

/ %

모든명령은 % 프롬프트상에서 실행한다

모든 명령어들은 찾기 기능을 지니고 있다.  만약에 ‘viatrl’명령어를 모를 경우 ‘v’하나만

치면 ‘v’로 시작하는 모든 명령어가 출력된다

/ % c

Non-unique command match, possible commands:

         cp  crgp  crvl  cratvl  crmcvl  counts  cd  cas  cvc  cva

         cpis  camstat  camcfg  chpr  cb  configsync  conlog  cmdlog

         chngmac

/ %

/ % r

Non-unique command match, possible commands:

         rm  rmgp  rmvl  rmvp  rmatvl  rmmcvl  rldump  risr  rips  ripflush

         ripxsr  reboot  rts  res  relay  rb  reset  renounce

/ %

▶ Switch 의  기본 명령어

대부분의 명령어들은 유닉스처럼 약어로 구성이 되어있슴

㉠ls(list) – file을 나열하는 명령어. 날짜는 생성일을 표시함

           각 모듈들은 확장자가 img인 file로 등록됨

           각 모듈의 file이 없으면 모듈이 있어도 인식못함

           장애발생시엔 확장자가 dmp인 file생성됨. 어디에서 error가 발생되었는지

           표시됨

/ % ls

   mpm.img                            1843980 06/24/98 11:33

   mpm.cmd                                 18 06/24/98 11:34

   mesm.img                             22113 06/26/98 09:51

   mpm.cfg                               1024 01/01/70 00:00

   mpm.cnf

                          98304 07/28/98 07:08

                 1251961 bytes free.

/ %

mpm.cfg  /  mpm.cnf

: 두 file은 config file로서 VLan, Lan E. 등의 정보를 가지고 있다

  이 두 file은 삭제를 하여도 자동으로 재 생성됨(단, config는 다시 잡아야함)

㉡view – cat, vi와 같은 편집기. file의 내용을 볼수도 있고 편집도 가능하다

          .dmp file이 발생하였을 경우 스위치상에서 내용 확인이 가능

/ % view mpm.cmd

cmDoDump=1

cmInit

/ %

/ %

㉢ cp(copy) / rm(remove) : file을 copy시와 삭제시 사용

             유닉스와 마찬가지로 mv 명령도 가능

/ % cp mesm.img /simm

 /flash/mesm.img -> /simm/mesm.img : 100%

/ %

/ %

/ % cd /simm

/ % ls

   asm.img                             834012 05/16/99 11:23

   mesm.img                             25901 08/05/99 09:24

                 7250899 bytes free.

/ % rm mesm.img

mesm.img is an executable – are you sure you want to remove this? (n) y

File system compaction in progress…

㉣pwd : 현재 디렉토리 확인

/ % pwd

/simm

/ % cd /flash

㉤pw(passwd) : password 변경시 사용

                       아래의 예는 ‘diag’계정의 password변경이다

/ % pw diag

Changing password for account: diag

Old password:

New password:

Retype new:

㉥lookup : man과 같은 매뉴얼기능

               아래의 예는 ‘map’명령어를 살펴본 것이다.

% lookup map

Modify an atm port configuration

/ %

㉦ systat – 현재의 시스템 상태를 출력한다

/ % systat

System Uptime                   : 0 days, 02:52:27.18

VBus Transmit Overruns          : 0

VBus Receive  Overruns          : 0

MPM total memory                : 16MB

MPM free memory                 : 4800112 bytes

MPM CPU Utilization (  5 sec)   : 47% ( 1% intr  8% kernel 36% task 53% idle)

MPM CPU Utilization ( 60 sec)   : 50% ( 1% intr  8% kernel 38% task 50% idle)

Power Supply 1 State            : OK

Power Supply 2 State            : OK

Temperature Sensor              : OK – Under Threshold

Temperature Alarm Masking       : Disabled

 system Uptime : 시스템이 부팅후 켜져있는 시간

 CPU Utilization : CPU 상태. 100% 가 되면 Hang Up됨

 Temperature Sensor : 온도 상태. 과열되면 MPM 1G모듈에도 LED로 표시됨

                      여기선 ‘TOO HOT’ 으로 표시됨

Power Suppy X State : power supply 상태

㉧ camstat : cam 상태를 출력하는 명령어

            각 슬롯별 접속된 노드수를 체크할수 있다

/ % camstat

Slot  # of CAMs    Cfg Usage Adj Usage  Max Avail Actual Usage

—-  ———–  ——— ——— ———- ————

MPM     1               NA          NA         NA         NA

  2     1 (1+0)          0        1024       1010        267

  3     1 (1+0)          0        1024        987         10

  4     1 (1+0)          0        1024        987         10

  5     1 (1+0)          0        1024        987          0

  6     2 (2+0)          0        1920       1905          3

/ %

/ %

/ %

㉨slot : 슬롯의 상태를 살필 수 있는 명령어.

/ %

/ % slot

     Module-Type Adm-Status   HW     Board      Mfg    Firmware-Version

Slot Part-Number Oper-Status  Rev   Serial #    Date   Base-MAC-Address

—- ———– ———– —– ———- ——– —————–

 1*       MPM 1G Enabled       B2    74950835 12/02/97 3.4.5

         5014316 Operational                           00:20:da:89:ca:a0

 2          HSM2 Enabled       D3    72151145 05/22/97 3.4.5

         5011006 Operational                           00:20:da:81:0a:60

                                                       00:20:da:81:0a:70

 2-1         ATM               A     71954563 05/08/97

         5011626

 2-2         ATM               A     71954578 05/08/97

         5011626

 3      ESM-C-32 Enabled       D2    75250808 12/25/97 3.4.5

         5015426 Operational                           00:20:da:8b:ab:60

                                                      00:20:da:8b:ab:70

 4      ESM-C-32 Enabled       D2    75251787 12/26/97 3.4.5

         5015426 Operational                           00:20:da:8a:4d:d0

                                                       00:20:da:8a:4d:e0

 5      ESM-C-32 Enabled       D6    84870382 12/02/98 3.4.5

         5015426 Operational                           00:20:da:c9:84:b0

                                                       00:20:da:c9:84:c0

 6    M-Ether/12 Enabled       C9    74650435 11/12/97 3.4.5

         5015817 Operational                           00:20:da:88:68:f0

 7         Empty

 8         Empty

 9         Empty

▶ network 관련 명령어

㉠ vl / gp(VLan)

 – 현재 구성되어있는 VLan환경, Vgroup등을 출력한다.

/ % vl

‘vl’ command is archaic, ‘gp’ is preferred…

Group                                 Network Address  Proto/

 ID          Group Description       (IP Subnet Mask)  Encaps

(:VLAN ID)                           or (IPX Node Addr)

===== ============================== =============== ========

    1 Default GROUP (#1)

  1: 2                               192.168.10.1      IP  /

                                       (ff.ff.ff.00 )   ETH2

  1:10                               192.168.20.1      IP  /

                                       (ff.ff.ff.00 )   ETH2

  1:15                               000503845      IPX /

                                     (0adfff:fffff4)   ETH2

/ %

1:2 는 group 이름, 그리고 그 그룹의 ip(gatway), 괄호안은 subnetmask, 마지막에는 프레임종류 (ethdrvnetⅡ, 802.3, 802.5, CIP등)가 출력된다

㉡ viatrl

  autotracker rule을 관찰할수 있는 모드

/ % viatrl

VLAN  VLAN  Rule Rule          Rule     Rule

Group:Id    Num  Type          Status   Definition

———————————————————-

    1: 2      1  NET ADDR RULE Enabled  IP Addr = 192.168.10.0

                                        IP Mask = 255.255.255.0

              2  PORT RULE     Enabled  2/1/Lne/1

                                        2/2/Lne/1

    1:10      1  NET ADDR RULE Enabled  IP Addr = 192.168.20.0

                                        IP Mask = 255.255.255.0

              2  PORT RULE     Enabled  2/1/Lne/1

                                        2/2/Lne/1

              3  PORT RULE     Enabled  3/10/Brg/1

              4  PORT RULE     Enabled  3/28/Brg/1

    1:15    1  NET ADDR RULE Enabled  IPX Addr = 0x000503845

                                        IPX Encapsulation = IPX Proprietary

              2  PORT RULE     Enabled  2/1/Lne/1

                                        2/2/Lne/1

              3  PORT RULE     Enabled  6/1/Brg/1

1:10은 192.168.20.0의 도메인을 가진 TCP/IP group이다

서브넷 마스크는 C Class(255.255.255.0)

2번의 port rule은 2/1 즉 ASM 모듈에 대한 port rule이고 3,4번은 ESM모듈에 대한

portrule이다

1:15번 group은 IPX 도메인으로 network name이 ‘503845’임이 표시되어 있슴

㉢ ipr(IP Routing Table)

 – routing table을 보는 명령어. 현재 각  switch 상호간 교환되는 routing 정보를

   출력함

/ % ipr

                                IP ROUTING TABLE

                                                            Group VLAN

  Network          Mask             Gateway         Metric    Id: Id

  ———————————————————————–

  127.0.0.1        255.255.255.255  127.0.0.1          1      LOOPBACK

  192.168.10.0     255.255.255.0    192.168.10.1       1        1:2

  192.168.30.0     255.255.255.0    192.168.10.3       2        1:2

㉣ modvl(Mode VLan)

 –  VLan환경을 수정할때 사용하는 명령어

    연결프레임, Rip상태, 프로토콜, IP 및 subnet mask등을 변경할때 사용

/ % vl

‘vl’ command is archaic, ‘gp’ is preferred…

Group                                 Network Address  Proto/

 ID          Group Description       (IP Subnet Mask)  Encaps

(:VLAN ID)                           or (IPX Node Addr)

===== ============================== =============== ========

    1 Default GROUP (#1)

  1: 2                               192.168.10.1         IP  /

                                         (ff.ff.ff.00 )   ETH2

  1:10                               192.168.20.1          IP  /

                                       (ff.ff.ff.00 )   ETH2

  1:15                               000000a5          IPX /

                                     (0adfff:fffff4)   ETH2

/ % modvl 1:10

 Current values associated with GROUP 1.10 are as follows:

  1) GROUP Number         – 1:10

  2) Description          – Default GROUP (#1)

IP parameters:

  3) IP enabled           – Y

  4) IP Network Address   – 192.168.20.1

  5) IP Subnet Mask       – 255.255.255.0

  6) IP Broadcast Address – 192.168.20.255

  7) Router Description   –

  8) RIP Mode             – Active

       {Active(a), Inactive(i), Deaf(d), Silent(s)}

  9) Default Framing      – Ethernet II

       {Ethernet II(e), Ethernet 802.3(8), fddi(f),

        token ring(t), source route token ring(s)}

IPX parameters:

 10) IPX enabled          – N

(save/quit/cancel)

   : q

먼저 vl 에서 group 넘버를 확인한 후 ‘modvl’ 번호를 입력한다

수정 방법은 수정하고자 하는 번호를 누른후 수정하면됨

예를 들어 ip를 ‘192.168.20.2’으로 수정하고 싶은 경우

: 4=192.168.20.2

: save

  라고 입력하면 됨

Rip 모드를 수정하고 싶은 경우는 8번에서 수정

㉤ modatvl(Mode Autotracking VLan)

 – autotracker 추가/삭제/수정시 사용

 – port rule 추가 : 

/ % ipmac 192.168.10.91

        IP to MAC ADDRESS ASSOCIATION TABLE

     IP Address         MAC Address   Slot / Intf

     192.168.10.91       001083:05EC7D     4 / 21

/ %

/ %

/ %

/ % gp

Group                                 Network Address  Proto/

 ID          Group Description       (IP Subnet Mask)  Encaps

(:VLAN ID)                           or (IPX Node Addr)

===== ============================== =============== ========

    1 Default GROUP (#1)

  1: 2                               192.168.10.1         IP  /

                                       (ff.ff.ff.00 )   ETH2

  1:10                               192.168.20.1          IP  /

                                       (ff.ff.ff.00 )   ETH2

  1:15           

                   0503845          IPX /

                                     (0020da:89caa4)   ETH2

/ % modatvl 1:10

VLAN   1:10 is defined as:

        1.      Description     = (null)

        2.      Admin Status    = Enabled

        3.      Rule Definition

                Rule Num     Rule Type     Rule Status

                 1           Net Addr Rule Enabled

                 2           Port Rule     Enabled

                 3           Port Rule     Enabled

                 4           Port Rule     Enabled

                 5           Port Rule     Enabled

                 6           Binding Rule  Enabled

Available options:

        1.      Set VLAN Admin Status

        2.      Set VLAN Description

        3.      Add more rules

        4.      Delete

a rule

        5.      Set rule Admin Status

        6.      Quit

Option = 3

Select rule type:

 1.  Port Rule

 2.  MAC Address Rule

 3.  Protocol Rule

 4.  Network Address Rule

 5.  User Defined Rule

 6.  Binding Rule

 7.  DHCP PORT Rule

 8.  DHCP MAC Rule

Enter rule type (1): 1

Set Rule Admin Status to [(e)nable/(d)isable] (d): e

Enter the list of ports in Slot/Interface format: 4/21

        1.      Description     = (null)

        2.      Admin Status    = Enabled

        3.      Rule Definition

                Rule Num     Rule Type     Rule Status

                 1           Net Addr Rule Enabled

                 2           Port Rule     Enabled

                 3           Port Rule     Enabled

                 4           Port Rule     Enabled

                 5           Port Rule     Enabled

                 6           Binding Rule  Enabled

                 7           Port Rule     Enabled

Available options:

        1.      Set VLAN Admin Status

        2.      Set VLAN Description

        3.      Add more rules

        4.      Delete a rule

        5.      Set rule Admin Status

        6.      Quit

Option = 6

– binding Rule : IP & por t& mac 의 조건적용

/ %

/ % modatvl 1:10

VLAN   1:10 is defined as:

        1.      Description     = (null)

        2.      Admin Status    = Enabled

        3.      Rule Definition

                Rule Num     Rule Type     Rule Status

                 1           Net Addr Rule Enabled

                 2           Port Rule     Enabled

                 3           Port Rule     Enabled

                 4           Port Rule     Enabled

                 5           Port Rule     Enabled

                 6           Binding Rule  Enabled

Available options:

        1.      Set VLAN Admin Status

        2.      Set VLAN Description

        3.      Add more rules

        4.      Delete a rule

        5.      Set rule Admin Status

        6.      Quit

Option = 3

Select rule type:

 1.  Port Rule

 2.  MAC Address Rule

 3.  Protocol Rule

 4.  Network Address Rule

 5.  User Defined Rule

 6.  Binding Rule

 7.  DHCP PORT Rule

 8.  DHCP MAC Rule

Enter rule type (1): 6

Set Rule Admin Status to [(e)nable/(d)isable] (d): e

Please select one of the following bindings:

1.  Bind IP Address to a Port and a MAC Address.

2.  Bind MAC Address to a Protocol and a Port

3.  Bind Port to a Protocol

Enter the type of binding (1): 1

Enter the port in the form of slot/interface: 4/28

Enter the IP Address: 3.1.2.91

Enter the Canonical MAC address in AABBCC:DDEEFF format: 001083:05ec7d

        1.      Description     = (null)

        2.      Admin Status    = Enabled

        3.   

  Rule Definition

                Rule Num     Rule Type     Rule Status

                 1           Net Addr Rule Enabled

                 2           Port Rule     Enabled

                 3           Port Rule     Enabled

                 4           Port Rule     Enabled

                 5           Port Rule     Enabled

                 6           Binding Rule  Enabled

                 7           Binding Rule  Enabled

Available options:

        1.      Set VLAN Admin Status

        2.      Set VLAN Description

        3.      Add more rules

        4.      Delete a rule

        5.      Set rule Admin Status

        6.      Quit

Option = 6

㉥ vas(View ATM Service)

 – ATM service 내용을  출력함

   밑의 보기에서 2/1, 2/2 모듈(ASM)에 ATM service가 올라간 것을 알수있다

  cf. das(Delete ATM Service) : ATM service 지우기

/ % vas

                          ATM Services

          Serv            Service             Service

Slot Port Num           Description            Type

==== ==== ==== ============================= =========

2    1    2    LAN Emulation Service 2       802.3 LEC

2    2    2    LAN Emulation Service 2       802.3 LEC

                          ATM Services

          Serv VC    Oper

Slot Port Num  Typ  Status  SEL Groups      Conn VCI’s/Addresses

==== ==== ==== === ======== === =========== =====================

2    1    2    SVC LANE Op.  02 1           33   34   35   36

                                            37   39   41   42

                                            44   47   49   52

                          55   57   58   60

                                            62   65   73   74

2    2    2    SVC LANE Op.  02 1           60   61   62   63

FDDI Services do not exist!

㉦vap(view atm port) – atm port(csm, asm)의 환경을 보는 명령어

                       ILMI연결유무, uni버젼등을 확인가능

                       (edge switch, atm server)

/ % vap 5/5

                         CSM Port Table

                                         Tran   Media Intrf Uni  #Bits

Slot Port      CSM Port Description      Type   Type  Type  Ver VPI VCI

==== ==== ============================== ====== ===== ===== === === ===

5    5    CSM PORT                       STS3c  Multi PrUNI 3.0 2   10

                                                   Max  Max  Cfgd Cfgd

Slot Port        ATM Address                       VPCs VCCs VPCs VCCs

==== ==== ======================================== ==== ==== ===== ====

5    5    3903488001bc900001018a05200020da00012000 3    1022 0     28

                         Status

                    ——————-

Slot Port   Mode      Oper   SSCOP ILMI Phy Protocol ILMI Enable/Poll

==== ==== ========= ======== ===== ==== ============ ================

5    5    Normal    Enabled   Up    Up     SONET       Enable    On

                      Clock Source

                    ——————-

                         Configured   Current

Slot Port  Timing Mode    Source      Source

==== ==== ============ ============ ============

5    5    Local        Oscillator   Oscillator

㉧ map(motify atm port) – atm port를 motify 때 사용

                          아래의 예는 uni버젼의 변경

/ % map 4/8

ASM Usage: map slot/port

   Slot 4 Port 8 Configuration

1)  Description (30 chars max)      : CSM PORT

2)  ESI (12 hex-chars)               : 000000000000

    NetPrefix(3903488001bc900001018a0520)

3)  Max VPI bits (1..12)            : 2

4)  Max VCI bits (1..12)            : 10

5)  I/F Type {Pub UNI(1), Pri UNI(2),

              PNNI(3), IISP netw(4),

              IISP user(5)          : Private

6)  Phy Protocol {SONET(1), SDH(2)  : SONET

7)  Signaling Ver {3.0(1), 3.1(2)}  : 3.0

8)  ILMI Enable {False(1), True(2)} : Enable

    81) ILMI Polling {Off(1),On(2)} : On

9)  Timing Mode {Local(1), Loop(2)} : Local

    90)  Local {Osc(1), Bus(2)}     : Osc

Enter (option=value/save

/cancel) : 7=2

   Slot 4 Port 8 Configuration

1)  Description (30 chars max)      : CSM PORT

2)  ESI (12 hex-chars)               : 000000000000

    NetPrefix(3903488001bc900001018a0520)

3)  Max VPI bits (1..12)            : 2

4)  Max VCI bits (1..12)            : 10

5)  I/F Type {Pub UNI(1), Pri UNI(2),

              PNNI(3), IISP netw(4),

              IISP user(5)          : Private

6)  Phy Protocol {SONET(1), SDH(2)  : SONET

7)  Signaling Ver {3.0(1), 3.1(2)}  : 3.1

8)  ILMI Enable {False(1), True(2)} : Enable

    81) ILMI Polling {Off(1),On(2)} : On

9)  Timing Mode {Local(1), Loop(2)} : Local

    90)  Local {Osc(1), Bus(2)}     : Osc

Enter (option=value/save/cancel) : save

Reset all connections on slot 4 port 8 (n)?  : y

Resetting port, please wait…

/ %

㉨ vcs(csm connetion statistics) – vci, vpi등 atm 채널의 연결유무를 확인

                                 연결이 되지 않았을 경우엔 0, 5, 16, 18만 생기고 다른 채널은 열리지 않음 

/ % vcs 5/5

                      CSM Connection Statistics

Slot Port VPI  VCI    Received Cells/    Transmitted Cells/

                    Received CLP=0 Cells Received CLP=1 Cells

==== ==== ==== ==== ==================== ====================

5    5    0    5                   84078                84078

                                   84078                    0

5    5    0    16                   8380                 8380

                                    8380                    0

5    5    0    18                      0                    0

                                       0                    0

5    5    0    33                   3849                 3849

                                    3849                    0

5    5    0    34                      0         

          0

                                       0                    0

5    5    0    35                  51525                51525

                                   51525                    0

5    5    0    36                      0                    0

                                       0                    0

㉩ ping – 물리적으로 연결이 되어있는지 확인하는 ping test

/ % ping 192.168.10.1

     Count (0 for infinite) (1) :

     Size (64) :

     Timeout (1) :

Ping starting, hit <RETURN> to stop

PING 192.168.10.1: 64 data bytes

     Count (0 for infinite) (1) : 0

     Size (64) :

     Timeout (1) :

Ping starting, hit <RETURN> to stop

PING 192.168.10.1: 64 data bytes

   [0       ]  ….. ….. ….. ….. ….. ….. ….. ….. ….. …..

   [50      ]  ….. ….. ….. ….. ….. ….. ….. ….. ….. …..

   [100     ]  ….. ..

… ….. ….. …..

—-192.168.10.1 PING Statistics—-

126 packets transmitted, 125 packets received, 0% packet loss

Ping cancelled.

/ %

㉪ X(xlat) – arp 정보를 출력함

/ % x

ARP Table Functions

Enter command (Add/Delete/Show/Flush/Macfind/Ipfind/Quit) (Show) :

                   Address Translation Table

   IP Address    at Physical Address

—————-    —————-

192.168.10.55          at 00:20:ea:00:41:5a

192.168.10.2           at 00:20:da:84:1f:80

192.168.20.4           at 00:aa:00:a3:62:cb

Enter command (Add/Delete/Show/Flush/Macfind/Ipfind/Quit) (Show) : q

/ %

/ %

/ %

㉫10/100cfg / 10/100vc – fastethernet모듈에서 자동인식이 아니라 수동적으로

                        세팅시 사용(fesm 모듈은 전이중,반이중 모두적용됨)

/ % 10/100vc

         10/100 Configured Values for all slots

                     DETECTED            SET

Slot/  Auto-      Line    Duplex    Line    Duplex

Intf   negotiate  Speed   Mode      Speed   Mode

—– ———– ——- ——— ——- ———

 8/ 1  disabled     ?      ?          100    half-d

 8/ 2  enabled      100    HALF-D     auto   half-d

 8/ 3  enabled      100    HALF-D     auto   half-d

 8/ 4  enabled      ?      ?          auto   half-d

 8/ 5  enabled      100    HALF-D     auto   half-d

 8/ 6  enabled      100    HALF-D     auto   half-d

 8/ 7  enabled      ?      ?          auto   half-d

 8/ 8  enabled      ?      ?          auto   half-d

 8/ 9  enabled      ?      ?          auto   half-d

 8/10  enabled      ?      ?       

  auto   half-d

 8/11  disabled     100    HALF-D     100    half-d

 8/12  enabled      100    HALF-D     auto   half-d

/ % 10/100cfg

Enter Slot/Interface [<ret> to exit]  : 8/1

Autonegotiate [y ,n, or (q)uit]  (Currently disabled (n)) : n

Line speed [100 or 10]  (Currently (100)) : 100

Link Mode [Full, Half]  (Currently (H)alf Duplex) : full

㉬ traceroute – 경로를 추적할 때 사용하는 명령

               홉을 추적할수 있다

/ % traceroute 192.192.192.1

Hit Q to quit.

/ %

▶ admin 관련 명령

㉠ who / kill – 사용자가 누구인지 그리고 현재 자기의 permisson을 살펴볼 때 사용

               write 권한이 없을 경우 혹은 미등록 사용자가 있을 경우 kill로 제거할수 있다

/ %

/ % who

SESSION  USER          PRIVS    TTY

 2       diag         [A/W/R]   /pty/telnetA    (192.168.10.200)

/ % who

SESSION  USER          PRIVS    TTY

 2       diag         [A/W/R]   /pty/telnetA    (192.168.10.200)

 3       user         [ / /R]   /pty/telnetB    (192.168.10.13)

/ %

/ %

/ %

/ %

/ % kill -f 3

/ % who

SESSION  USER          PRIVS    TTY

 2       diag         [A/W/R]   /pty/telnetA    (192.168.10.200)

/ %

㉡ snmpc / snmps – snmp세팅시 사용

                     community name 변경이나 trap 경로를 입력할 때 사용

/ % snmpc

SNMP current configuration:

 1) Set Community Name   – public

 2) Get Community Name   – public

 3) Trap Community Name  – public

 4) Broadcast Traps      – disabled

 5) 2  Unicast Traps     – disnabled

 : 5=enable

(save/quit/cancel)

   : ?

 1) Set Community Name   – public

 2) Get Community Name   – public

 3) Trap Community Name  – public

 4) Broadcast Traps      – disabled

 5) 2  Unicast Traps     – enabled

(save/quit/cancel)

   : 6=3.1.1.24

    Enter trap mask words 0:1 (ffffffff:ffffffff):

    Enter trap mask words 2:3 (ffffffff:ffffffff):

    Enter destination port (162):

    NMS state (on):

    Special Access? (yes):

(save/quit/cancel)

   : ?

 1) Set Community Name   – public

 2) Get Community Name   – public

 3) Trap Community Name  – public

 4) Broadcast Traps      – disabled

 5) 2  Unicast Traps     – enabled

 6) NMS IP address       – 192.168.10.24       /162   — ffffffff:ffffffff

                                                 — ffffffff:ffffffff (on ) (SA)

(save/quit/cancel)

   : save

/ %

/ %

㉢loggin – log관리.  언제/어디서/어느계정으로 /어떤 명령어를 사용하는지 알수 있다

           /flash/mpm.log  file에 저장된 file을 불러옴

           /loggin 디렉토리에서 관리하며 logc 명령으로 log를 설정하고 cmdlog로

           command log를 살펴볼수 있다

/ % loggin

/System/Logging %

/System/Logging %

/System/Logging % logc

                               Log Configuration

 1) Log Enabled             : No

Command {Item=Value/?/Help/Quit/Redraw/Save} (Redraw)  : 1=yes

                               Log Configuration

 1) Log Enabled             : Yes

 2) Command History Enabled : No

 3) Console Enabled         : No

 4) Log Size                : 500 records

Command {Item=Value/?/Help/Quit/Redraw/Save} (Redraw)  : 2=yes

                               Log Configuration

 1) Log Enabled             : Yes

 2) Command History Enabled : Yes

 3) Console Enabled         : No

 4) Log Size                :500 records

 Command {Item=Value/?/Help/Quit/Redraw/Save} (Redraw)  : save

/Logging % cmdlog

Command           User      Line              Time

——–          ——–  —————-  —————-

vap               user      192.168.10.200         FRI JUL 30 08:03

     Actual User Input: vap

exit              user      192.168.10.200         FRI JUL 30 08:03

     Actual User Input: exit

systat            user      192.168.10.200         FRI JUL 30 08:05

     Actual User Input: systat