차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
cisco_switch_설정 [2022/12/21 08:16] – [VLAN 생성] koov | cisco_switch_설정 [2023/04/12 04:46] (현재) – koov | ||
---|---|---|---|
줄 21: | 줄 21: | ||
</ | </ | ||
</ | </ | ||
- | |||
- | |||
- | |||
===== 스위치 초기화 ===== | ===== 스위치 초기화 ===== | ||
줄 45: | 줄 42: | ||
< | < | ||
switch#> | switch#> | ||
+ | switch#> | ||
switch#> | switch#> | ||
switch#> | switch#> | ||
줄 108: | 줄 106: | ||
- | ===== VLAN ===== | + | ===== CISCO 스위치 사용법 |
- | ==== VLAN 생성 ==== | + | |
- | + | * [[VLAN 구성]] | |
- | <WRAP prewrap> | + | |
- | <code bash> | + | |
- | switch#conf t <- configure terminal 약자 | + | |
- | switch(config)# | + | |
- | switch(config-vlan)# | + | |
- | switch(config-vlan)# | + | |
- | switch(config)# | + | |
- | switch#show vlan | + | |
- | + | ||
- | VLAN Name | + | |
- | ---- -------------------------------- --------- ------------------------------- | + | |
- | 1 default | + | |
- | 2 VLAN_NUM2 | + | |
- | + | ||
- | </ | + | |
- | </ | + | |
- | + | ||
- | VLAN 2번에 '' | + | |
- | + | ||
- | ==== vlan에 인터페이스 추가 ==== | + | |
- | + | ||
- | <WRAP prewrap> | + | |
- | <code bash> | + | |
- | switch#conf t | + | |
- | switch(config)# | + | |
- | switch(config-if)# | + | |
- | switch(config-if)# | + | |
- | switch(config)# | + | |
- | switch#show vlan | + | |
- | + | ||
- | VLAN Name | + | |
- | ---- -------------------------------- --------- ------------------------------- | + | |
- | 1 default | + | |
- | 2 VLAN_NUM2 | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | + | ||
- | ==== vlan에 IP 주소 설정 ==== | + | |
- | <WRAP prewrap> | + | |
- | <code bash> | + | |
- | switch#conf t | + | |
- | switch(config)# | + | |
- | switch(config-if)# | + | |
- | switch(config-if)# | + | |
- | switch(config-if)# | + | |
- | switch(config)# | + | |
- | switch#show interfaces vlan 2 <- vlan2의 정보 조회 | + | |
- | + | ||
- | Vlan2 is up, line protocol is down | + | |
- | Hardware is EtherSVI, address is 1c17.d3e5.c14e (bia 1c17.d3e5.c14e) | + | |
- | Internet address is 10.10.10.2/ | + | |
- | MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, | + | |
- | | + | |
- | .. 이하 생략 .. | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | IP주소가 정상적으로 설정 된것을 볼 수 있습니다. | + | |
- | + | ||
- | + | ||
- | ==== vlan에 설정한 IP 주소 삭제 ==== | + | |
- | <WRAP prewrap> | + | |
- | <code bash> | + | |
- | switch#conf t | + | |
- | switch(config)# | + | |
- | switch(config-if)# | + | |
- | switch(config-if)# | + | |
- | switch(config)# | + | |
- | switch#show interfaces vlan 2 <- vlan2의 정보 조회 | + | |
- | + | ||
- | Vlan2 is up, line protocol is down | + | |
- | Hardware is EtherSVI, address is 1c17.d3e5.c14e (bia 1c17.d3e5.c14e) | + | |
- | MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, | + | |
- | | + | |
- | .. 이하 생략 .. | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | IP주소가 정상적으로 제거 된것을 볼 수 있습니다. | + | |
- | + | ||
- | + | ||
- | ==== vlan 삭제 ==== | + | |
- | <WRAP prewrap> | + | |
- | <code bash> | + | |
- | switch#conf t | + | |
- | switch(config)# | + | |
- | switch(config)# | + | |
- | switch#show interfaces status | + | |
- | + | ||
- | Port Name | + | |
- | Gi0/1 notconnect | + | |
- | Gi0/2 notconnect | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | 이상하게도.. '' | + | |
- | '' | + | |
- | '' | + | |
- | + | ||
- | + | ||
- | ==== vlan에 등록했던 인터페이스 제거 ==== | + | |
- | <WRAP prewrap> | + | |
- | <code bash> | + | |
- | switch#conf t | + | |
- | switch(config)# | + | |
- | switch(config-if)# | + | |
- | switch(config-if)# | + | |
- | switch(config)# | + | |
- | switch#show inter status | + | |
- | + | ||
- | Port Name | + | |
- | Gi0/1 notconnect | + | |
- | Gi0/2 notconnect | + | |
- | </ | + | |
- | </ | + | |
줄 396: | 줄 276: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | |||
+ |