3Com 5500G-EI 스위치 CLI 매뉴얼

by 네오 posted Oct 12, 2010
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄

3Com 5500G-EI 스위치 CLI 매뉴얼

 

 

 

1. Consol 구성

 

 a. Baud rate : 19200 bps

 

 b. Data bit : 8bit

 

 c. Parity bit : none

 

 d. Stop bit : 1bit

 

 

 

2. Login

 

 Username:admin

 

 Password:

 

 <5500G-EI>

 

 

 

3. System-view로 전환

 

 <5500G-EI> system-view

 

   System View: return to User View with Ctrl+Z.

 

 

 

4. Display

 

 [5500G-EI] display ?

 

 

 

 [5500G-EI] display mem

 

   Unit 1

 

   System Available Memory(bytes): 90875136

 

   System Used Memory(bytes): 26083248

 

   Used Rate: 28%

 

 

 

 [5500G-EI] dis cpu

 

   Unit 1

 

   Board 0 CPU busy status:

 

   7% in last 5 seconds

 

  6% in last 1 minute

 

  6% in last 5 minutes

 

 

 

 [5500G-EI] dis var

 

   3Com Corporation

 

   SuperStack 4 Switch 5500G-EI Software Version 3Com OS V3.01.00s56p03

 

   Copyright(c) 2004-2006 3Com Corporation and its licensors, All rights reserved

 

 

 

   SuperStack 4 Switch 5500G-EI uptime is 0 week, 0 day, 1 hour, 30 minutes

 

   System returned to ROM by power-on

 

 

 

   3Com Switch 5500G-EI 24-Port with 1 MIPS Processor

 

   128M bytes SDRAM

 

   16384K bytes Flash Memory

 

   Config Register points to FLASH

 

   Hardware Version is REV.C

 

   CPLD Version is 002

 

   Bootrom Version is 312

 

   [Subslot 0] 24GE+4SFP Hardware Version is REV.C

 

   [Subslot 2] 2 STACK Hardware Version is REV.C

 

 

 

 

 

 [5500G-EI] display current-configuration

 

 

 

 [5500G-EI] dis saved-configuration

 

 

 

5. vlan 구성

 

 [5500G-EI] dis vlan

 

   The following VLANs exist:

 

      1(default)

 

 

 

 [5500G-EI] vlan 2

 

 [5500G-EI] dis vlan

 

   The following VLANs exist:

 

      1(default), 2

 

 

 

 [5500G-EI] dis vlan 1

 

   VLAN ID: 1

 

   VLAN Type: static

 

   Route Interface: not configured

 

   Description: VLAN 0001

 

   Tagged   Ports: none

 

   Untagged Ports:

 

    GigabitEthernet1/0/1   GigabitEthernet1/0/2   GigabitEthernet1/0/3

 

    GigabitEthernet1/0/4   GigabitEthernet1/0/5   GigabitEthernet1/0/6

 

    GigabitEthernet1/0/7   GigabitEthernet1/0/8   GigabitEthernet1/0/9

 

    GigabitEthernet1/0/10   GigabitEthernet1/0/11   GigabitEthernet1/0/12

 

    GigabitEthernet1/0/13   GigabitEthernet1/0/14   GigabitEthernet1/0/15

 

    GigabitEthernet1/0/16   GigabitEthernet1/0/17   GigabitEthernet1/0/18

 

    GigabitEthernet1/0/19   GigabitEthernet1/0/20   GigabitEthernet1/0/21

 

    GigabitEthernet1/0/22   GigabitEthernet1/0/23   GigabitEthernet1/0/24

 

 

 

 

 

 [5500G-EI] dis vlan 2

 

   VLAN ID: 2

 

   VLAN Type: static

 

   Route Interface: not configured

 

   Description: VLAN 0002

 

   Tagged   Ports: none

 

   Untagged Ports: none

 

 

 

 [5500G-EI] vlan 2

 

 [5500G-EI-vlan2] port g 1/0/11 to g 1/0/20

 

 [5500G-EI-vlan2] dis vlan 1

 

   VLAN ID: 1

 

   VLAN Type: static

 

   Route Interface: not configured

 

   Description: VLAN 0001

 

   Tagged   Ports: none

 

   Untagged Ports:

 

    GigabitEthernet1/0/1   GigabitEthernet1/0/2   GigabitEthernet1/0/3

 

    GigabitEthernet1/0/4   GigabitEthernet1/0/5   GigabitEthernet1/0/6

 

    GigabitEthernet1/0/7   GigabitEthernet1/0/8   GigabitEthernet1/0/9

 

    GigabitEthernet1/0/10   GigabitEthernet1/0/21   GigabitEthernet1/0/22

 

    GigabitEthernet1/0/23   GigabitEthernet1/0/24

 

 

 

 

 

 [5500G-EI-vlan2] dis vlan 2

 

   VLAN ID: 2

 

   VLAN Type: static

 

   Route Interface: not configured

 

   Description: VLAN 0002

 

   Tagged   Ports: none

 

   Untagged Ports:

 

    GigabitEthernet1/0/11   GigabitEthernet1/0/12   GigabitEthernet1/0/13

 

    GigabitEthernet1/0/14   GigabitEthernet1/0/15   GigabitEthernet1/0/16

 

    GigabitEthernet1/0/17   GigabitEthernet1/0/18   GigabitEthernet1/0/19

 

    GigabitEthernet1/0/20

 

 

 

 

 

 [5500G-EI-vlan2] undo port g 1/0/15 to g 1/0/20

 

 

 

 

 

 [5500G-EI-vlan2] dis vlan 2

 

   VLAN ID: 2

 

   VLAN Type: static

 

   Route Interface: not configured

 

   Description: VLAN 0002

 

   Tagged   Ports: none

 

   Untagged Ports:

 

    GigabitEthernet1/0/11   GigabitEthernet1/0/12   GigabitEthernet1/0/13

 

    GigabitEthernet1/0/14

 

 

 

 [5500G-EI] undo vlan 2

 

 

 

 

 

 

 

6. Configuring Port

 

 [5500G-EI] display interface GigabitEthernet 1/0/1

 

 [5500G-EI] interface g 1/0/1

 

 [5500G-EI-GigabitEthernet1/0/1] speed 100

 

 [5500G-EI-GigabitEthernet1/0/1] duplex full

 

 [5500G-EI-GigabitEthernet1/0/1] duplex half

 

 [5500G-EI-GigabitEthernet1/0/1] dis int g 1/0/1

 

   GigabitEthernet1/0/1 current state : DOWN

 

   IP sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0012-a9bf-4241

 

   media type twisted pair, loopback not set

 

   port hardware type is 1000_BASE_T

 

   100Mbps-speed mode, half-duplex mode

 

 

 

 [5500G-EI-GigabitEthernet1/0/1] speed auto

 

 [5500G-EI-GigabitEthernet1/0/1] duplex auto

 

 

 

 

 

 < Port Enable >

 

 <5500G-EI> system-view

 

 [5500G-EI] int g 1/0/24

 

 [5500G-EI-GigabitEthernet1/0/24] undo shut

 

 [5500G-EI-GigabitEthernet1/0/24] undo shutdown

 

 

 

 

 

7. 802.1Q Port Trunk link 설정

 

 [5500G-EI] int g 1/0/1

 

 [5500G-EI-GigabitEthernet1/0/1] port link-type trunk

 

 [5500G-EI-GigabitEthernet1/0/1] port trunk permit vlan all

 

   please wait........................................Done.

 

 [5500G-EI-GigabitEthernet1/0/1] dis vlan 2

 

   VLAN ID: 2

 

   VLAN Type: static

 

   Route Interface: not configured

 

   Description: VLAN 0002

 

   Tagged   Ports:

 

    GigabitEthernet1/0/1

 

   Untagged Ports:

 

    GigabitEthernet1/0/10   GigabitEthernet1/0/11   GigabitEthernet1/0/12

 

 

 

 [5500G-EI-GigabitEthernet1/0/1] undo port trunk permit vlan all

 

 

 

 

 

8. VLAN에 IP Interface 설정하기

 

 [5500G-EI] int vlan 1

 

 [5500G-EI-VLAN-interface1] ip address 192.168.0.85 24

 

 [5500G-EI-VLAN-interface1] ip route 0.0.0.0 0.0.0.0 192.168.0.1

 

 

 

 [5500G-EI] dis vlan 1

 

   VLAN ID: 1

 

   VLAN Type: static

 

   Route Interface: configured

 

   IP Address: 192.168.0.85

 

   Subnet Mask: 255.255.255.0

 

   Description: VLAN 0001

 

   Tagged   Ports: none

 

 

 

 [5500G-EI] display ip interface brief

 

   *down: administratively down

 

   (I): lookback

 

   (s): spoofing

 

     interface  IP Address Physical protocol  Description

 

     Vlan-interface1 192.168.0.85 down down  Vlan-inte....

 

 

 

 

 

9. Port-mirroring

 

 [5500G-EI] int g 1/0/1

 

 [5500G-EI-GigabitEthernet1/0/1] mirroring-port ?

 

   both  Mirror the inbound and outbound packets of the interface

 

   inbound Mirror the inbound packets of the interface

 

   outbound Mirror the outbound packets of the interface

 

 

 

 [5500G-EI-GigabitEthernet1/0/1] mirroring-port both

 

 [5500G-EI-GigabitEthernet1/0/1] int g 1/0/2

 

 [5500G-EI-GigabitEthernet1/0/2] monitor-port

 

   Setting the monitor port on Gigabitethernet1.0.2 succeeded!

 

 

 

 

 

10. Configure Save & Configure Default

 

 <5500G-EI> save

 

 The configuration will be written to the device.

 

 Are you sure?[Y/N] y

 

 Please input the file name(*.cfg)(To leave the existing filename unchanged press

 

 the enter key):

 

 Now saving current configuration to the device.

 

 Saving configuration. Please wait............

 

 Unit1 save configuration flash:/3ComOScfg.cfg successfully

 

 

 

 <5500g-EI> reset

 

 <5500g-EI> reset sa

 

 <5500g-EI> reset saved-configuration

 

 The saved configuration will be erased.

 

 Are you sure?[Y/N] y