본문 바로가기
IT스터디/벤더별 자료

알카텔 스위치 매뉴얼 - 장비 Config

by 천하무적 엔지니어 2021. 3. 28.

이번 시간에는 알카텔 루슨트 스위치 장비 자주 사용하는 Config에 대해서 알아보도록 하겠습니다. 매뉴얼에 있는 내용을 정리해서 올려놓았으니 필요한 설정 부분만 보시고 참고하시가 바랍니다.

 

 

1. 알카텔 스위치 Config 

 

알카텔 스위치 명령어 모음입니다. 알카텔 스위치는 CLI에서 sh run처럼 명령어를 치시면 안 되고 Full name을 다 쳐주셔야 명령어가 적용이 되니 꼭 명심하고 실행하세요

 

 

1. 기본 계정과 password

User = admin

Password = switch

 

 

2. Switch system time과 timezone 설정

->system timezone kst

->system time HH:MM:SS

->system time-and-date synchro :

확인 명령어 ->show system

 

 

3. Switch의 Reboot

->reload

->reload working no rollback-timeout

 

 

4. AAA 설정

- Web, telnet, ftp, etc. ->aaa authentication default local

 

 

5. Save configuration

->write memory 동기화 명령어

-> copy working certified flash-synchro

 

 

 

 

6. Configuration 초기화

/flash/working 디렉터리에서 boot.cfg를 삭제 후 아래의 명령어로 reload 한다.

-> reload working no rollback-timeout

( cd working -> rm boot.cfg )

 

 

7. CMM의 동기화

Working directory와 certified directory의 동기화

-> copy working certified

Primary CMM과 Secondary CMM의 동기화

-> copy working certified flash-synchro

 

 

8. NMS 설정 (알카텔은 이 설정이 조금 까다로움)

Aaa authentication snmp local

Snmp security no security

Snmp community map “public” user “a12345” on ▶ user 이름은 “a12345” 무조건 고정(알카텔 지정)

Snmp community map mode on ▶ 필히

User “a12345” read-write all password “a1234567” no auth ▶ 넣지 않아도 기본 NMS에서 정보 가지고 옴

 

 

9. Port Mirroring 설정

-> port mirroring 6 source 2/3 destination 6/4

: source 2/3 port를 destination 6/4 port로 선언, 6은 session ID

-> port mirroring 6 enable

: port mirroring session ID 6 enable

-> port mirroring 8 source 4/5 destination 8/6 inport(or outport)

: incoming 혹은 outgoing unidirectional(단방향) port mirroring, 지정하지 않으면 bidirectional(양방향) port mirroring

-> port mirroring 8 disable

: port mirroring 8 status disable

-> port mirroring 7 no source 3/4

: port mirroring session에서 3/4 source port 제거

-> no port mirroring 6

: 시스템에서 port mirroring 6 제거

 

 

10. DHCP Relay 설정 방법

- IP helper standard mode : 스위치의 모든 DHCP 요청에 대해 처리

-> ip helper address 10.10.10.10

- IP helper per VLAN mode : 지정한 특정 VLAN에서의 DHCP 요청만 처리

-> ip helper per-vlan only

-> ip helper address 10.10.20.20 vlan 10

 

 

11. VLAN 생성

- 새로운 vlan 생성

-> vlan 2

-> vlan 2 port default slot/port

-> vlan 2 no port default slot/port (vlan에 port assign 된 port 삭제)

 

 

12. Interface 설정

- vlan에 ip 할당

-> ip interface vlan-10 address 10.10.10.1/24 vlan 10 13. 802.1q 설정

-> vlan 4 802.1q 3/4 : vlan 4를 3/4에 설정

-> vlan 50 no 802.1q 3/1 : 802.1q 삭제

-> show vlan port : type이 qtagged인지 확인

 

 

 

14. STP 설정

-> bridge mode 1x1 : Multiple STP

-> bridge mode FLAT : Single STP

-> bridge 101 priority 1 : root bridge로 지정

-> bridge 101 protocol 1d : Default 상태

-> bridge 101 protocol 1w : 802.1w 설정

-> bridge 101 1/1 path cost 100 : path cost 수정

-> show spantree

 

 

15. LACP 설정 두 가지

Link Aggregation – Static ( 알카텔 벤더끼리 연결할 때 사용)

-> static linkagg 1 size 2 admin state enable : linkagg ID는 1이고 port 2개를 Aggregation 한다.

-> static agg 1/1 agg num 1 : 1/1과 1/2를 Aggregation 한다.

Switch상에서는 0/1으로 한 개의 Port로 인식한다.

-> static agg 1/2 agg num 1

-> vlan 2 port default 1 : Linkagg port를 vlan에 할당

-> show linkagg

 

 

Link Aggregation – Dynamic( 알카텔과 이기종 장비 연결할 때 사용)

-> lacp linkagg 1 size 2 actor admin key 1

-> lacp agg 1/1 actor admin key 1

-> lacp agg 1/2 actor admin key 1

-> vlan 2 port default 1

 

 

16. Static Routing 설정

- Static Routing은 다음과 같이 설정한다.

-> ip static-route 192.168.10.0 mask 255.255.255.0 gateway 10.10.10.1

 

 

17. VRRP 설정

- Active switch에서 다음과 같이 설정한다.

-> vrrp 1 200 : Vrrp ID, Van ID 설정

-> vrrp 1 200 ip 200.200.200.1 : Virtual IP 설정

-> vrrp 1 200 priority 200 : Priority가 높으면 VRRP Master가 된다.

-> vrrp 1 200 enable : VRRP enable

-> show vrrp 1 : VRRP 상태 확인

-> show vrrp statistics - Backup switch에서 다음과 같이 설정한다.

-> vrrp 1 200 : Vrrp ID,Van ID 설정

-> vrrp 1 200 ip 200.200.200.1 : Virtual IP 설정

-> vrrp 1 200 priority 100 : Priority가 낮으면 VRRP Backup이 된다.

-> vrrp 1 200 enable : VRRP enable

 

 

알카텔 스위치 명령어를 알아봤는데요. 생각보다 어렵지 않습니다. 모든 벤더들이 명령어가 조금 다를 뿐이지 표준 프로토콜은 똑같기 때문에 기본 지식만 정확하게 이해하고 계시면 장비가 바뀌어도 기본적으로 세팅하시는 데는 아주 큰 어려움은 없을 거예요. 그리고 우리에겐 "?" 가 있잖아요.

 

2021.03.13 - [IT스터디] - 알카텔 스위치 - 자주 사용하는 명령어 모음

 

알카텔 스위치 - 자주 사용하는 명령어 모음

이번 시간에는 알카텔 스위치 설정하는 방법에 대해서 알아보도록 하겠습니다.알카텔 스위치는 CLI에서 sh run 처럼 명령어를 치시면 안되고 Full name을 다 쳐주셔야 명령어가 적용이 되니 꼭 명심

ja-gamma.tistory.com

2021.03.09 - [IT스터디] - 익스트림 스위치 - 자주 사용하는 Config 모음

 

익스트림 스위치 - 자주 사용하는 Config 모음

이번시간에는 익스트림 스위치에서 기본적으로 사용하는 명령어들에 대해서 알아보도록 하겠습니다. 1. 익스트림 스위치 config 1. 익스트림 스위치 콘솔접속 ▶ Console을 이용한 Access    • Baud R

ja-gamma.tistory.com

저의 글을 읽어 주셔서 감사합니다. 오늘도 즐거운 하루 보내세요.

 

반응형

댓글