Difference between revisions of "Cisco: Konfigurasi Dasar"

From OnnoWiki
Jump to navigation Jump to search
(New page: Sumber: http://www.cisco.com/c/en/us/td/docs/routers/access/1800/1801/software/configuration/guide/scg/routconf.html#65645 ==Configure Global Parameters== Perform these steps to configu...)
 
Line 3: Line 3:
  
 
==Configure Global Parameters==
 
==Configure Global Parameters==
 
Perform these steps to configure selected global parameters for your router:
 
 
 
Command
 
 
Purpose
 
 
Step 1
 
 
 
configure terminal
 
 
Example:
 
  
 
  Router> enable
 
  Router> enable
 
  Router# configure terminal
 
  Router# configure terminal
 
  Router(config)#
 
  Router(config)#
 
 
Enters global configuration mode, when using the console port.
 
 
If you are connecting to the router using a remote terminal, use the following:
 
 
telnet router name or address
 
 
Login: login id
 
Password: *********
 
Router> enable
 
 
Step 2
 
 
 
hostname name
 
 
Example:
 
  
 
  Router(config)# hostname Router
 
  Router(config)# hostname Router
 
  Router(config)#
 
  Router(config)#
 
 
Specifies the name for the router.
 
 
Step 3
 
 
 
enable secret password
 
 
Example:
 
 
Router(config)# enable secret cr1ny5ho
 
Router(config)#
 
 
 
Specifies an encrypted password to prevent unauthorized access to the router.
 
 
Step 4
 
 
no ip domain-lookup
 
 
Example:
 
 
Router(config)# no ip domain-lookup Router(config)#
 
 
  
  
Line 72: Line 15:
 
==Configure the Fast Ethernet WAN Interface==
 
==Configure the Fast Ethernet WAN Interface==
  
This procedure applies only to the Cisco 1811 and Cisco 1812 router models. Perform these steps to configure the Fast Ethernet interfaces, beginning in global configuration mode.
 
 
 
 
Command
 
 
Purpose
 
 
Step 1
 
 
 
interface type number
 
 
Example:
 
  
 
  Router(config)# interface fastethernet 0
 
  Router(config)# interface fastethernet 0
 
  Router(config-int)#
 
  Router(config-int)#
 
   
 
   
 
 
Enters the configuration mode for a Fast Ethernet WAN interface on the router.
 
Note Fast Ethernet WAN ports are numbered 0–1 on the Cisco 1800 series routers.
 
 
Step 2
 
 
 
ip address ip-address mask
 
 
Example:
 
 
 
  Router(config-int)# ip address 192.1.12.2 255.255.255.0
 
  Router(config-int)# ip address 192.1.12.2 255.255.255.0
 
  Router(config-int)#
 
  Router(config-int)#
 
   
 
   
 
 
Sets the IP address and subnet mask for the specified Fast Ethernet interface.
 
 
Step 3
 
 
 
no shutdown
 
 
Example:
 
  
 
  Router(config-int)# no shutdown
 
  Router(config-int)# no shutdown
 
  Router(config-int)#
 
  Router(config-int)#
 
   
 
   
+
Router(config-int)# exit
 +
Router(config)#
  
Enables the Ethernet interface, changing its state from administratively down to administratively up.
 
  
Step 4
+
==Menyimpan Konfigurasi
 
  
exit
+
copy running-config startup-config
 +
write memory
  
Example:
 
Router(config-int)# exit
 
Router(config)#
 
  
  

Revision as of 10:16, 21 September 2015

Sumber: http://www.cisco.com/c/en/us/td/docs/routers/access/1800/1801/software/configuration/guide/scg/routconf.html#65645


Configure Global Parameters

Router> enable
Router# configure terminal
Router(config)#
Router(config)# hostname Router
Router(config)#


Configure the Fast Ethernet WAN Interface

Router(config)# interface fastethernet 0
Router(config-int)#

Router(config-int)# ip address 192.1.12.2 255.255.255.0
Router(config-int)#

Router(config-int)# no shutdown
Router(config-int)#

Router(config-int)# exit
Router(config)# 


==Menyimpan Konfigurasi

copy running-config startup-config
write memory


Referensi