Cisco L2 - 1.1. L2 스위치 기본설정

1.1.  L2 스위치 기본설정  - Cisco IOS 기반으로 작성하였다.

 

1.1.1. 장비설정 초기화

Switch# erase startup-config

Switch# reload

 

1.1.2.  Enable passwd 설정

Switch# config t

Switch(config)# enable secret test

Switch(config)# end

Switch# wr (저장)

 

1.1.3.  Telnet 접근제어

Switch(config)#line vty 0 4

Switch(config)#password test

Switch(config-line)# access-class 20 in

Switch(config-line)#exit

Switch(config)#access-list 20 permit 200.1.1.1

 

1.1.4. 레이블링 하기

장비이름 설정

Switch(config)# hostname  test2950

 

포트에 주석달기       

Switch(config)#int f0/1

Switch(config-if)# description  gr.thseo.com

SW11-Main#show  interfaces  des

 

1.1.5. 포트속도와 duplex는 수동으로 설정하라

Switch(config)#int range fa 0/23 - 24

Switch(config-if-range)#speed 100

Switch(config-if-range)#duplex full

Switch(config-if-range)#spanning-tree portfast

Switch(config)#show int status  // 인터페이스 상태 확인

 

1.1.6. 관리용 ip설정

Switch(config)# int VLAN 1

Switch(config-if)# no shut  (필수)

Switch(config-if)# ip address 10.10.10.10 255.255.255.0

Switch(config)#ip default-gateway 10.10.10.254

 

1.1.7. snmp 설정

Switch(config)# snmp-server community inet ro 12

Switch(config)# access-list 12 permit host 203.255.113.37

by 한가이 | 2009/03/10 15:26 | 스위치 | 트랙백 | 덧글(0)

트랙백 주소 : http://hanguy.egloos.com/tb/2293999
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]

:         :

:

비공개 덧글

◀ 이전 페이지          다음 페이지 ▶