์žฅ๋น„ ์„ธํŒ… ๋ฐ ์ ‘์†
Network

์žฅ๋น„ ์„ธํŒ… ๋ฐ ์ ‘์†

1. ์žฅ๋น„ ์„ธํŒ…

- Setup Mode

๋ถˆํ•„์š”ํ•œ ์‚ฌํ•ญ๋“ค์— ๋Œ€ํ•œ ์„ธํŒ…์ด ๋งŽ์•„ ์ผ๋ฐ˜์ ์œผ๋กœ๋Š” ๊ฑฐ์˜ ์‚ฌ์šฉํ•˜์ง€ ์•Š์Œ

์ดˆ๊ธฐ ์ ‘์†ํ•  ๋•Œ ์ž๋™์œผ๋กœ Setup Mode๋กœ ๋“ค์–ด๊ฐ

         --- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: 

2. ์žฅ๋น„ ์ ‘์†

- ์ด์šฉ์ž Mode

Router>
Router>?
Exec commands:
  access-enable    Create a temporary Access-List entry
  access-profile   Apply user-profile to interface
  clear            Reset functions
  connect          Open a terminal connection
  crypto           Encryption related commands.
  disable          Turn off privileged commands
  disconnect       Disconnect an existing network connection
  enable           Turn on privileged commands
  ethernet         Ethernet parameters
  exit             Exit from the EXEC
  help             Description of the interactive help system
  lock             Lock the terminal
  login            Log in as a particular user
  logout           Exit from the EXEC
  mrinfo           Request neighbor and version information from a multicast
                   router
  mstat            Show statistics after multiple multicast traceroutes
  mtrace           Trace reverse multicast path from destination to source
  name-connection  Name an existing network connection
  pad              Open a X.29 PAD connection
  ping             Send echo messages
  ppp              Start IETF Point-to-Point Protocol (PPP)
  release          Release a resource
  renew            Renew a resource
  resume           Resume an active network connection
  rlogin           Open an rlogin connection
  set              Set system parameter (not config)
  show             Show running system information
  slip             Start Serial-line IP (SLIP)
  ssh              Open a secure shell client connection
  systat           Display information about terminal lines
  tclquit          Quit Tool Command Language shell
  tdm              TDM
  telnet           Open a telnet connection
  terminal         Set terminal line parameters
  traceroute       Trace route to destination
  tunnel           Open a tunnel connection
  udptn            Open an udptn connection
  webvpn           WebVPN exec command
  where            List active connections
  x28              Become an X.28 PAD
  x3               Set X.3 parameters on PAD
  
#์‚ฌ์šฉ์ž Mode์—์„œ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ช…๋ น์–ด

- ๊ด€๋ฆฌ์ž Mode

Router>enable
Router#
Router#?
Exec commands:
  access-enable    Create a temporary Access-List entry
  access-profile   Apply user-profile to interface
  access-template  Create a temporary Access-List entry
  archive          manage archive files
  audio-prompt     load ivr prompt
  auto             Exec level Automation
  beep             Blocks Extensible Exchange Protocol commands
  bfe              For manual emergency modes setting
  calendar         Manage the hardware calendar
  call             Voice call
  call-home        Call-Home commands
  cd               Change current directory
  clear            Reset functions
  clock            Manage the system clock
  cns              CNS agents
  configure        Enter configuration mode
  connect          Open a terminal connection
  copy             Copy from one file to another
  crypto           Encryption related commands.
  debug            Debugging functions (see also 'undebug')
  delete           Delete a file
  dir              List files on a filesystem
  disable          Turn off privileged commands
  disconnect       Disconnect an existing network connection
  enable           Turn on privileged commands
  eou              EAPoUDP
  ephone-hunt      ephone hunt exec command
  erase            Erase a filesystem
  ethernet         Ethernet parameters
  event            Event related commands
  exit             Exit from the EXEC
  file-acct        File mode accounting exec command
  flush            File mode accounting flush options
  format           Format a filesystem
  fpm              fpm configuration:
  fsck             Fsck a filesystem
  help             Description of the interactive help system
  hw-module        Slot level commands
  if-mgr           IF-MGR operations
  isdn             Run an ISDN EXEC command on an ISDN interface
  lock             Lock the terminal
  login            Log in as a particular user
  logout           Exit from the EXEC
  microcode        microcode commands
  mkdir            Create new directory
  monitor          Monitoring different system events
  more             Display the contents of a file
  mpls             MPLS commands
  mrinfo           Request neighbor and version information from a multicast
                   router
  mrm              IP Multicast Routing Monitor Test
  mstat            Show statistics after multiple multicast traceroutes
  mtrace           Trace reverse multicast path from destination to source
  name-connection  Name an existing network connection
  no               Disable debugging functions
  pad              Open a X.29 PAD connection
  partition        Partition disk
  ping             Send echo messages
  ppp              Start IETF Point-to-Point Protocol (PPP)
  pwd              Display current working directory
  redundancy       Redundancy Facility (RF) exec commands
  release          Release a resource
  reload           Halt and perform a cold restart
  rename           Rename a file
  renew            Renew a resource
  restart          Restart Connection
  resume           Resume an active network connection
  rlogin           Open an rlogin connection
  rmdir            Remove existing directory
  rsh              Execute a remote command
  send             Send a message to other tty lines
  set              Set system parameter (not config)
  setup            Run the SETUP command facility
  show             Show running system information
  slip             Start Serial-line IP (SLIP)
  spec-file        format spec file commands
  squeeze          Squeeze a filesystem
  ssh              Open a secure shell client connection
  start-chat       Start a chat-script on a line
  systat           Display information about terminal lines
  tarp             TARP (Target ID Resolution Protocol) commands
  tclquit          Quit Tool Command Language shell
  tclsh            Tool Command Language shell
  tdm              TDM
  telnet           Open a telnet connection
  terminal         Set terminal line parameters
  test             Test subsystems, memory, and interfaces
  traceroute       Trace route to destination
  tunnel           Open a tunnel connection
  udptn            Open an udptn connection
  undebug          Disable debugging functions (see also 'debug')
  undelete         Undelete a file
  upgrade          Upgrade commands
  verify           Verify a file
  voice            Voice Commands
  webvpn           WebVPN exec command
  where            List active connections
  which-route      Do OSI route table lookup and display results
  write            Write running configuration to memory, network, or terminal
  x28              Become an X.28 PAD
  x3               Set X.3 parameters on PAD
  xconnect         Xconnect EXEC commands
  
#๊ด€๋ฆฌ์ž Mode์—์„œ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ช…๋ น์–ด

- ์ „์ฒด ์„ค์ • Mode

Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#

- ๋ถ€๋ถ„ ์„ค์ • Mode

Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface fa0/0 #interface, line, router ๋“ฑ
Router(config-if)#

- Mode ๋ณ€๊ฒฝ

outer#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#exit #์ „ Mode๋กœ ๋Œ์•„๊ฐ
Router(config)#interface fa0/0
Router(config-if)#end #๊ด€๋ฆฌ์ž Mode๋กœ ๋Œ์•„๊ฐ
Router#

 

3. ๊ธฐ๋ณธ ์„ธํŒ…

Router(config)#hostname R #hostname ์„ค์ •
R(config)#no ip domain-lookup #์ž˜๋ชป๋œ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜๋ฉด DNS Server์—์„œ Lookupํ•˜์ง€ ์•Š๋„๋ก ํ•ด์ฃผ๋Š” ์„ค์ •
R(config)#enable secret cisco #์•”ํ˜ธ ์„ค์ •

R(config)#line console 0 #console(๊ด€๋ฆฌ์ž ์ ‘์†์šฉ) ์„ค์ •
R(config-line)#logging synchronous #input message ๋™๊ธฐํ™” ์„ค์ •
R(config-line)#exec-timeout 0 #session time ์„ค์ •
R(config-line)#exit

R(config)#line vty 0 15 #vty(telent, ์›๊ฒฉ ์ ‘์†์šฉ) ์„ค์ •
R(config-line)#password cisco #์•”ํ˜ธ ์„ค์ • ํ•„์ˆ˜
R(config-line)#end
R(config)#interface fastEthernet 0/0 #๊ฐ interface IP ์„ค์ •
R(config-if)#ip address 10.0.0.5 255.255.255.0 #IP ์„ค์ •
R(config-if)#no shutdown #interface ํ™œ์„ฑํ™” ์„ค์ •
R(config-if)#exit

R#show ip interface brief  #interface ์„ค์ • ํ™•์ธ
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            10.0.0.5        YES manual up                    up    

'Network' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

์™€์ด์–ด์ƒคํฌ(Wireshark) ์‚ฌ์šฉ๋ฒ•2  (0) 2021.05.25
์™€์ด์–ด์ƒคํฌ(Wireshark) ์‚ฌ์šฉ๋ฒ•1  (0) 2021.05.25
EtherChannel  (1) 2021.05.17
NTP(Network Time Protocol)  (0) 2021.05.16
FHRP(First Hot Routing Protocol, HSRP, VRRP, GLBP)  (0) 2021.05.09