[네트워크] cisco route setup 하기..
setup command를 이용한 설정(대화형식의 라우터 설정)
예) Router#setup
— System Configuration Dialog —
At any point you may enter a question mark ””?”” for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets ””[]””.
Continue with configuration dialog? [yes]: —— 대화형식의 환경설
정
First, would you like to see the current interface summary? [yes]:
Interface IP-Address OK? Method Status Protocol
Ethernet0 203.255.112.228 YES NVRAM up up
Serial0 203.231.85.138 YES manual down down
Configuring global parameters:
Enter host name [Router]: router —— 라우터의 명칭
The enable secret is a one-way cryptographic secret used
instead of the enable password when it exists.
Enter enable secrect : router – enable password(암호화된 형태)
enable password 보다 우선
The enable password is used when there is no enable secret
and when using older software and some boot images.
Enter enable password [router]: router —— enable password(일반
text 형태)
Enter virtual terminal password [router]: router —— 외부에서 접속
할 때 묻는 password
Configure SNMP Network Management? [yes]: —— NMS를 정의
Community string [public]: —— SNMP community 설정
Configure IP? [yes]: —— ip address 설정
Configure IGRP routing? [no]:—— IGRP 프로토콜 사용 안함
Configure RIP routing? [yes]: —— RIP 프로토콜 사용
Configuring interface parameters:
Configuring interface Ethernet0:
Is this interface in use? [yes]: —— ethnet 인터페이스 사용
Configure IP on this interface? [yes]: —— ip address 설정함
IP address for this interface [203.255.112.228]: —— 사용할 ip
address 기입
Number of bits in subnet field [0]: —— subnet 비트 수(0은 디폴
트)
Class C network is 203.255.112.0, 0 subnet bits; mask is /24
Configuring interface Serial0:
Is this interface in use? [yes]: —— serial 인터페이스 사용
Configure IP on this interface? [yes]: —— ip address 설정함
Configure IP unnumbered on this interface? [no]: —— ip address 설
정함
IP address for this interface [203.231.85.138]: —— 사용 할 ip
address 기입
Number of bits in subnet field [6]: —— 6비트로 subnet
Class C network is 203.231.85.0, 6 subnet bits; mask is /30
The following configuration command script was created:
hostname router
enable secret 5 $1$msJM$TvuEk.ljvlRD98LBHb5ya/
enable password router
line vty 0 4
password router!
ip routing
!
interface Ethernet0
ip address 203.255.112.228 255.255.255.0
!
interface Serial0
ip address 203.231.85.138 255.255.255.252
!
router rip
network 203.255.112.0
network 203.231.85.0
!
end
Use this configuration? [yes/no]: y —— 환경 설정 사용함
The enable secret you have chosen is the same as your enable
password.
This is not recommended. Re-enter the enable secret.
The enable password you have chosen is the same as your enable
secret.
This is not recommended. Re-enter the enable password.
Building configuration… [OK]
Use the enabled mode ””configure”” command to modify this
configuration.
router#