Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2002, Cisco Systems, Inc.

Similar presentations


Presentation on theme: "Copyright © 2002, Cisco Systems, Inc."— Presentation transcript:

1 Copyright © 2002, Cisco Systems, Inc.
Switching ICND Copyright © 2002, Cisco Systems, Inc.

2 LAN Switch Store and Forward Cut-Through Fragment-Free
스위치를 통한 패킷 스위칭의 대기시간(latency)은 선택한 스위치 방식에 따라 다르다. 스위치 방식에는 세 가지가 있다. Store and Forward Cut-Through Fragment-Free

3 기본설정 스위칭 Cut-Through 오류 확인 없음
2 바이트 Preamble SFD 수신지 목적지 길이 Data FCS 1 바이트 6 바이트 4 바이트 1500바이트 까지 기본설정 스위칭 Cut-Through 오류 확인 없음

4 Fragment-Free Preamble SFD 수신지 목적지 길이 Data FCS 2 바이트 1 바이트 6 바이트 4 바이트
이 방식에서 스위치는 충돌 윈도우 (64 bytes) 를 수신하기 까지 프레임을 포워딩하지 않는다. 패킷내의 오류는 거의 대부분 첫 64바이트에서 발생하기 때문이다 스위치의 기본 설정 스위칭 방식이다. 2 바이트 Preamble SFD 수신지 목적지 길이 Data FCS 1 바이트 6 바이트 4 바이트 1500바이트 까지 FragmentFree 충돌여부 확인

5 Store-and-forward 모든 오류가 필터됨 최고의 대기 시간을 가짐
스위치 버퍼에 완전한 데이터 프레임이 수신되면 CRC가 실행되고, MAC 필터 테이블에 들어 있는 수신지 어드레스를 참조하여 외부로 송신하는 인터페이스를 결정함. 2 바이트 Preamble SFD 수신지 목적지 길이 Data FCS 1 바이트 6 바이트 4 바이트 1500바이트 까지 Store-and-forward 모든 오류가 필터됨 최고의 대기 시간을 가짐

6 Switch Configuration

7 User Mode and Enable Password
각 패스워드가 제공하는 접근 형태를 제어하기 위해 서로 다른 수준의 명령어를 사용한다.

8 User Mode and Enable Password
1 user (s) now active on Management console. User Interface Menu [M] Menus [K] Command Line [ I ] IP Configuration Enter Selection : K CLI session with the switch is open. To end the CLI session, enter [Exit] >enable #config t Enter configuration commands, one per line. End with CNTL/Z (config)#

9 Enable Password Configuration
(config)# enable password ? Level Set exec level password (config)# enable password level ? <1-15> Level number 사용자 모드의 패스워드를 입력하기 위해서는 level number 1을 사용하며, level Number 15는 Enable Password를 입력하여 사용한다. 패스워드는 적어도 4글자 이상어야 하고 8글자를 넘을 수 없다.

10 Enable Password Configuration
(config)# enable password ? Level Set exec level password (config)# enable password level ? <1-15> Level number (config)#enable password level 1 cisco Error: Invalid password length. Password must be between 4 and 8 characters (config)#enable password level 1 cisco (config)#enable password level 15 cisco1 (config)#exit #exit CLI session with the switch is now closed. Press any key to continue.

11 Enable Password Configuration
1 user (s) now active on Management console. User Interface Menu [M] Menus [K] Command Line [ I ] IP Configuration Enter Selection : K Enter password: **** CLI session with the switch is open. To end the CLI session, enter [Exit] >en enter password: **** #

12 Enable Secret Password
Enable Password보다 더 강화된 보안 패스워드이며, 설정되면 enable 모드의 패스워드 보다 우선 순위가 높다. (config)#enable secret cisco2 1900 스위치의 enable password와 enable secret 명령어는 동일하다. 설정된 것을 확인하는 명령어는 Show running-config

13 Enable Secret Password
#show running-config Building configuration… Current configuration: enable secret 5 $1$iScn$CsMT/ggiGvqobXBy/KtyA enable password level 1 “CISCO” enable password level 15 “CISCO1” Enable 모드 패스워드는 기본적으로 암호화 되어 있지 않으므로 주의. 패스워드가 대소문자 구별이 없으므로, 소문자로 입력을 해도 대문자로 보여준다.

14 Hostname Configuration
>en Enter password: **** #config t Enter configuration commands, one per line. End with CNTL/Z (config)#hostname Switch1900 Switch1900#(config)#

15 IP Information configuration
단지 장치를 연결하면 허브에서 작동하는 것 처럼 작동할 한다. Telnet이나 다른 응용 소프트웨어를 이용해서 스위치를 관리 할 수 있다는 것이다.

16 Show ip ( 줄여서 sh ip) 명령어로 기본적인 IP 설정내역을 확인 할 수가 있다.
Switch#show ip IP Address: Subnet Mask: Default Gateway: Management VLAN: 1 Domain name: Name server 1: Name server 2: HTTP server : Enable HTTP port : 80 RIP: Enable

17 IP Address Configuration
1900 스위치에서 IP 정보를 설정하기 위해서는 ip address라는 명령어를 사용하고, 기본 게이트웨이는 ip default-address 명령어를 사용한다. Switch#config t Enter configuration commands, one per line. End with CNTL/Z Switch(config)#ip address Switch(config)#ip default-gateway Switch(config)#

18 IP Address 확인 Switch#show ip IP Address: Subnet Mask: Default Gateway: Management VLAN: 1 Domain name: Name server 1: Name server 2: HTTP server : Enable HTTP port : 80 RIP: Enable 기존의 정보를 삭제하고자 할 경우 no ip address와 no ip default-gateway

19 Switch Interface Configuration
1900 스위치는 type slot/port 명령어를 사용하여 구성 할 가있는데, 스위치에서 type slot/port 명령어는 interface 명령어로 특정한 인터페이스를 구성 할 수가 있다 스위치는 제로 (0) 슬롯 하나만 존재한다. 보통 Ethernet는 10BaseT 의미하며, FastEthernet는 100BaseT를 의미한다.

20 10BaseT Interface Configuration
Switch#config terminal Enter configuration commands, one per line, End with CNTL/Z Switch(config)#int ethernet ? <0-0> IEEE Switch(config)#int ethernet 0? / Switch(config)#int ethernet 0/? <1-25> IEEE Switch(config)#int ethernet 0/1 Switch(config-if)#? Interface configuration commands: Description Interface specific description [생 략]

21 FastEthernet Interface
FastEthernet 포트를 설정하기 위해서 사용되는 명령어는 type slot/port 명령어이다. Switch#config terminal Switch(config)#interface fastethernet ? <0-0> FastEthernet IEEE Switch(config)#interface fastethernet 0/? <26-27> FastEthernet IEEE Switch(config)#interface fastethernet 0/26 Switch(config-if)#interface fastethernet 0/27 Switch(config-if)#[control+Z] Show interface 명령어를 사용하여 변경사항을 확인 할 수가 있다.

22 Interface 설정문 Description 명령어를 사용하여 이름을 설정해 줄 수가 있다. 명령어에 공백은 사용할 수 없지만, 필요시 밑줄 (_)을 사용할 수가 있다. Switch#config terminal Switch(config)#interface e0/1 Switch(config-if)#description Finance_VLAN Switch(config-if)#interface f0/26 Switch(config-if)#description trunk_to_Building_4 Switch(config-if)# 주로 사용하는 것은 10Mps인지 100Mbps 포트인지 설명을 설정하는 것이다. Show interface나 show running-config으로 확인 할 수가 있다.

23 Port Duplex Configuration
1900 스위치에는 10BaseT 포트가 12개 또는 24개 있고 한 개 또는 두 개의 FastEthernet 포트가 있다. 스위치에서 모든 포트가 정해진 속도가 있으므로, Duplex 포트를 설정 할 수가 있다. Switch#config terminal Switch(config)#duplex ? Auto Enable auto duplex configuration full Force full duplex operation full-flow-control Force full duplex with flow control half Force half duplex operation Switch(config-if)#duplex full

24 Port Duplex Configuration
파라미터 정의 Auto 포트를 auto-negotiation 모드로 설정, 모든 100BaseTX 포트의 기본 설정값임 Full 10 또는 100Mbps 포트를 full-duplex모드로 설정 Full-flow-control BaseTX 포트에만 사용되며, 버퍼의 overflow를 막기 위해서 흐름제어를 사용함 Half 10BaseT 포트의 기본설정 값으로 포트가 half-duplex 모드로만 작동하도록 설정

25 IP 연결확인 1900 스위치에서 traceroute 나 telnet을 사용할 수는 없다.
Switch#ping Sending 5, 100-byte ICMP Echo to , time out is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max 0/2/10 ms Switch#telnet ^ % Invalid input detected at ‘^’ marker.

26 Switch 환결설정 지우기 Switch#delete ? Nvram NVRAM configuration vtp Reset VTP configuration to defaults Switch#delete nvram This command resets the switch with factory defaults. All system parameters will revert to their default factory settings, All static and dynamic addresses will be removed. Reset system with factory defaults, [Y]es or [N]o ? yes

27 VLAN Configuration 기본의 LAN Segmentation 1층 2층 3층 VLAN Segmentation
HUB LAN3 LAN2 LAN1 Router 기본의 LAN Segmentation Switch 1층 2층 3층 VLAN Segmentation

28 VLAN 설정 1 user (s) now active on Management console.
1900 스위치에서는 64개의 가상랜을 생성할 수 있다. 각 가상랜마다 각각의 spanning-tree instance가 설정될 수 있다. 1 user (s) now active on Management console. User Interface Menu [M] Menus [K] Command Line [ I ] IP Configuration Enter Selection : K CLI session with the switch is open. To end the CLI session, enter [Exit]

29 VLAN 설정 IOS 기반 스위치의 VLAN을 설정하기 위해서 vlan [vlan#] name [vlan name] 명령어를 사용한다. >en #config terminal (config)#hostname (config)#vlan 2 name sales 1900(config)#vlan 3 name marketing 1900(config)#vlan 4 name mis 1900(config)#exit 생성된 VLAN은 스위치 포트, 또는 포트에 대응되지 않으면 사용되지 않는다. 그리고 모든 포트가 설정되지 않으면 항상 VLAN 1에 속해있다.

30 VLAN이 생성되면, show vlan 명령어를 사용하여 그 내용을 확인할 수 있다.
1900#show vlan VLAN Name Status Ports default Enabled 1-12, AUI, A, B 2 sales Enabled 3 marketing Enabled 4 mis Enabled 1002 fddi-default Suspended 1003 token-ring-defau Suspended fddinet-default Suspended 1005 trnet-default Suspended [생 략]

31 VLAN에 스위치 포트 등록하기 Vlan-membership 명령어를 사용하여 가상랜에 속해있는 각각의 포트의 환경을
구성할 수 있다. 그리고 한번에 하나의 포트만 설정할 수 있는데, 1900 스위치에서는 한번에 다중 포트에 대해 설정할 수 있는 명령어가 없기 때문이다.

32 VLAN에 스위치 포트 등록하기 1900#config t 1900(config)#interface e0/2 1900(config-if)#vlan-membership ? Dynamic Set VLAN membership type as dynamic Static Set VLAN membership type as static 1900(config-fi)#vlan-membership static ? <1-1005> ISL VLAN index 1900(config-if)vlan-membership static (config-if)#interface e0/4 1900(config-if)#vlan-membership static (config-if)#interface e0/5 1900(config-if)#vlan-membership static (config-if)#exit


Download ppt "Copyright © 2002, Cisco Systems, Inc."

Similar presentations


Ads by Google