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...)
 
 
(5 intermediate revisions by the same user not shown)
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)# no ip domain-lookup
 
 
  Router(config)# enable secret cr1ny5ho
 
 
  Router(config)#
 
  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)#
 
 
 
 
  
 
==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
+
==Konfigurasi Routing==
 
  
exit
+
Router(config)# ip route 192.168.1.0 255.255.0.0 10.10.10.2
 +
Router(config)#
  
Example:
+
  Router(config)# end
  Router(config-int)# exit
+
  Router#
  Router(config)#  
+
 
 +
==Menyimpan Konfigurasi==
  
 +
show running-config
 +
copy running-config startup-config
 +
write memory
  
 
==Referensi==
 
==Referensi==
  
 
* http://www.cisco.com/c/en/us/td/docs/routers/access/1800/1801/software/configuration/guide/scg/routconf.html#65645
 
* http://www.cisco.com/c/en/us/td/docs/routers/access/1800/1801/software/configuration/guide/scg/routconf.html#65645
 +
 +
==Pranala Menarik==
 +
 +
* [[TCP/IP: Advanced Routing]]
 +
* [[Quagga]]
 +
* [[Mikrotik]]
 +
* [[Cisco]]
 +
* [[Juniper]]
 +
* [[BIRD: Routing]]
 +
* [[IPv6]]

Latest revision as of 18:01, 28 December 2018

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)#
Router(config)# no ip domain-lookup
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)#


Konfigurasi Routing

Router(config)# ip route 192.168.1.0 255.255.0.0 10.10.10.2
Router(config)#
Router(config)# end
Router#

Menyimpan Konfigurasi

show running-config
copy running-config startup-config
write memory

Referensi

Pranala Menarik