본문 바로가기

네트워크

[switch] Cisco 스위치에서 VLAN 및 트렁크 설정하는 방법 Cisco 스위치에서 VLAN 및 트렁크 설정하는 방법 1. VLAN 생성 및 인터페이스 설정 enable configure terminal vlan 200 end 이 명령어는 VLAN 200을 생성합니다. 2. VLAN 인터페이스 설정 및 IP 주소 할당 configure terminal interface vlan 200 ip address 218.234.13.20 255.255.255.0 no shutdown end 이 명령어는 VLAN 200에 IP 주소를 할당하고 인터페이스를 활성화합니다. 3. Access 포트 설정 configure terminal interface fastEthernet 0/4 switchport mode access switchport access vlan 200 end 이.. 더보기
[switch] Vlan 설정 (정적 포트별 나누기) Vlan 설정 (정적 포트별 나누기) Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 100//vlan 100 생성 Switch(config-vlan)#vlan 200//vlan 200 생성 Switch(config-vlan)#end %SYS-5-CONFIG_I: Configured from console by console Switch#show vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1.. 더보기
[switch] Switch 텔넷 암호 설정 Switch 텔넷 암호 설정 Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#line vty 0 4 //텔넷 Switch(config-line)#password 12345 Switch(config-line)#login Switch(config-line)#end %SYS-5-CONFIG_I: Configured from console by console Switch#show running-config Building configuration... Current configuration : 956 bytes ! version 12.1 no servic.. 더보기
[router] Secret 패스워드 Secret 패스워드 Router>enable Router#config terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#enable secret 123456 Router(config)#end %SYS-5-CONFIG_I: Configured from console by console Router#show running-config Building configuration... Current configuration : 260 bytes ! version 12.2 no service password-encryption ! hostname Router ! ! enable secret 5 $1$yEP2$IT.. 더보기
[router] console 모드 패스워드 설정 console 모드 패스워드 설정 Router>en Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#line console 0 Router(config-line)#password 123456 Router(config-line)#login Router(config-line)#end %SYS-5-CONFIG_I: Configured from console by console Router#show running-config Building configuration... Current configuration : 228 bytes ! version 12.2 no service password-en.. 더보기
[router] 라우터 기초 설정 [router] 라우터 기초 설정 ● 라우터 기초 설정 1. 특권 모드로 이동 명령 Router> enable (en) Router# 2. 사용자 모드로 이동 명령 Router# disable (dis) Router> 3. 전역설정 (global configuration mode) Router# configure terminal (conf t) Router(Config)# 설정 모드에서 빠져나오기 Router(Config)# end 4. 패스트 이더넷 포트에 IP 주소 설정하기 Router(Config)# int fa0/1 //설정 할 포트 Router(Config-if)# ip addr 192.168.1.1 255.255.255.0 //아이피 주소 서브넷마스크 Router(Config-if)# end .. 더보기
[switch] 아이피 셋팅 Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface vlan 1 Switch(config-line)#ip address 192.168.20.12 255.255.255.0 //아이피주소 서브넷마스크 Switch(config-line)#no shutdown Switch(config-line)#end %SYS-5-CONFIG_I: Configured from console by console Switch#show running-config Switch#show running-config starup-config 더보기
L3 기능 요약 정리 L3 기능 요약 정리 L3 기능 라우팅 IP Static Routing 정적 경로(static route)는 단독 또는 다이내믹 라우팅 프로토콜과 혼합하여 사용된다. 디폴트 루트(default route)는 라우팅 테이블의 크기를 줄이면서 안정된 네트워크를 운영할 수 있게 해 준다. 정적 경로란 네트워크 관리자가 직접 목적지 별로 지정하는 경로를 말한다. 동적 경로(Dynamic route)와 구분된다. RIP 1/2 설정이 쉽고, 거의 모든 회사의 라우터가 RIP을 지원하기 때문에 가장 많이 사용되는 라우팅 프로토콜 중의 하나이다. RIP은 버전 1과 2가 있는데, RIP1은 서브넷 마스크 정보 없이 라우팅 업데이트를 전송하는 클래스풀 라우팅 프로토콜이고 RIP2는 서브넷 마스크 정보가 포함된 클리스리.. 더보기

반응형