라우터 wr 명령어 - lauteo wr myeonglyeong-eo

명령어를 입력하고 엔터키를 누르면 해당 명령어가 적용됩니다. 그러나 명령어를 저장하지 않고 전원을 끄면 명령어도 사라집니다. 현재 적용되고 있는 설정 내용 확인 시 다음과 같이 show running-config 명령어를 사용하며, 보통은 줄여서 show run이라고 입력합니다.

 

명령어를 저장하면 NVRAM에 기록됩니다. 현재의 DRAM에 있는 설정 내용을 NVRAM에 저장하는 명령어는 #copy running-config startup-config 또는 #write memory 입니다. 이 명령어들도 copy run start 또는 wr과 같이 줄여서 사용하면 됩니다. 이 경우, 기존의 NVRAM에 있는 내용이 지워지고 새로운 것으로 대체됩니다.

 

- 라우터 초기화

R1#erase startup-config //NVRAM에 저장되어 있는 설정을 삭제

Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]

(NVRAM을 지우면 모든 설정 파일이 제거됩니다. 계속하시겠습니까?)라는 메세지가 나오면 엔터키를 누릅니다.

[OK]
Erase of nvram: complete

 

R1#reload //라우팅을 재부팅

System configuration has been modified. Save? [yes,no] //시스템 구성이 수정이 된게 있습니다. 저장하겠습니까? [NO]
Proceed with reload? [confirm] // 재부팅 하시겠습니까? 메세지에서 엔터키를 누르면 장비가 재부팅되고 초기화됩니다.

 

 

참고 : KING-of-NET-WORKING(킹 오브 네트워킹)

 

 

잘못된 부분이 있으면 댓글 남겨주시면 감사하겠습니다.

공유하기

게시글 관리

구독하기Network Engineer

저작자표시 비영리 변경금지

'Network > Cisco IOS' 카테고리의 다른 글

Cisco Telnet, SSH 설정  (0)2022.04.14Cisco 장비 Password 설정  (0)2022.04.14Cisco Ping  (0)2022.04.14Cisco CDP  (0)2022.04.14Cisco IOS 기초 정리  (0)2022.04.14

[권한변경]


Router>enable

Router#


[호스트 이름변경]


Switch_1#conf t

Switch_1(config)#hostname SW1


[Vlan 생성]


Switch_1#conf t

Switch_1(config)#vlan 10

Switch_1(config-vlan)#name PC6


[스위치포트에 Vlan 할당]


Switch(config)#int f0/3

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 10

Switch(config)#


[interface vlan 1 IP생성]


SW1#conf t

SW1(config)#int vlan 1

SW1(config-if)#no shutdown

SW1(config-if)#ip address 172.16.3.100 255.255.255.0


[enable password 설정]


SW1#conf t

SW1(config)#enable password cisco


[콘솔 password 설정]


SW1(config)#line con 0

SW1(config-line)#password cisco

SW1(config-line)#login


[텔넷 password 설정]


SW1(config)#line vty 0 4

SW1(config-line)#password cisco

SW1(config-line)#login


[스위치 하드웨어 확인]


SW1#sh version


[스위치 Vlan 확인]


SW1#show vlan

 

[스위치 포트 전체적으로 확인]


SW1#show ip int brief


[텔넷 세션 확인명령어]


SW1#show tcp brief


[텔넷 사용자 확인명령어]


SW1#show user


Router(config)#int f0/0

Router(config-if)#no shutdown

Router(config-if)#ip address 172.16.0.1 255.255.255.0


Router#conf t

Router(config)#ip route 210.10.10.0 255.255.255.0 210.100.100.2

Router(config)#ip route 210.100.100.0 255.255.255.0 210.100.100.2


[라우터 스태틱 설정]


Router#conf t

Router(config)#ip route 210.10.10.0 255.255.255.0 210.100.100.2

Router(config)#ip route 210.100.100.0 255.255.255.0 210.100.100.2


[스위치 스태틱 설정]


Switch#conf t

Switch(config)#ip route 172.16.0.0 255.255.255.0 210.100.100.1

Switch(config)#ip route 210.100.100.0 255.255.255.0 210.100.100.1


[라우터 스위치 배너설정]


Seoul_R_1#conf t

Seoul_R_1(config)#banner motd ^ -> 특수문자 입력후 문자입력

Enter TEXT message.  End with the character '^'.

###### Seoul_R_1 welcome !! ######

###### nobody No Access !#######

manager sung

mobile-phone 080-666-7777


입력을 다한후에는 ^ 특수문자 입력후 enter 치면 입력완료



[DHCP 설정]


라우터에서 할당


ip dhcp excluded-address 163.180.116.1

ip dhcp excluded-address 163.180.116.255

!

ip dhcp pool ccna

 network 163.180.116.0 255.255.255.0

 default-router 163.180.116.1



다른네트워크에서 DHCP 접속할시에는 DHCP 

helper-address 설정


1.서버에 범위설정후에 


2. 

interface FastEthernet0/1

ip address 200.200.200.1 255.255.255.0

ip helper-address 163.180.116.2


[dhcp ip 할당확인 명령어]


R1#sh ip dhcp binding


[콘솔 텔넷 접속시간 확인명령어]


R1(config)#line vty 0 4

R1(config-line)#exec-timeout 0 0

R1(config-line)#


R1(config)#line con 0

R1(config-line)#logging synchronous 


R1(config)#no ip domain-lookup


[라우터 스위치 NVRAM 저장 명령어]


R1#copy running-config startup-config --> 저장

R1#write memory

R1#wr  


[nvram 지우는 명령어]

switch1#erase startup-config


switch1#reload


공유하기

게시글 관리

구독하기nowknowing

'Network' 카테고리의 다른 글

프록시 서버란?  (0)2016.08.30서브넷 마스크  (0)2016.08.30클래스별 IP 주소  (0)2016.08.30레이어 7계층 (OSI 7계층)  (0)2016.08.30