-
Follow Me
Follow Me On Facebook
Search
4.1.4.5 Packet Tracer - Configuring and Verifying a Small Network
Friday, 21 October 2016
RTA - CLI
Router>en
Router#conf t
Router(config)#hostname RTA
RTA(config)#banner motd #Warning!#
RTA(config)#line con 0
RTA(config-line)#password cisco
RTA(config-line)#login
RTA(config-line)#line vty 0 15
RTA(config-line)#password cisco
RTA(config-line)#login
RTA(config-line)#exit
RTA(config)#enable secret class
RTA(config)#int g0/0
RTA(config-if)#ip address 10.10.10.1 255.255.255.0
RTA(config-if)#no shutdown
RTA(config-if)#description Connetion to SW1
RTA(config-if)#int g0/1
RTA(config-if)#ip address 10.10.20.1 255.255.255.0
RTA(config-if)#description Connetion to SW2
RTA(config-if)#no shutdown
RTA(config-if)#end
RTA#copy run start
-----------------------------------------------------------------------------------
PC1 - Desktop - IP Configuration
IP Address : 10.10.10.10
Subnet Mask : 255.255.255.0
Default Gatewat : 10.10.10.1
PC2 - Desktop - IP Configuration
IP Address : 10.10.20.10
Subnet Mask : 255.255.255.0
Default Gatewat : 10.10.20.1
-------------------------------------------------------------------------------------
SW1 - CLI
Password : cisco
SW1>en
Password : class
SW1#conf t
SW1(config)#int vlan 1
SW1(config-if)#ip address 10.10.10.2 255.255.255.0
SW1(config-if)#no shutdown
SW1(config-if)#exit
SW1(config)#ip default-gateway 10.10.10.1
SW1(config)#end
SW1#copy run start
-------------------------------------------------------------------------------------
RTA - CLI
RTA#show ip int brief
RTA#show interfaces
RTA#show ip interface
RTA#show ip route
RTA#show ip route connected
RTA#conf t
RTA(config)#int g0/0
RTA(config-if)#shutdown
RTA(config-if)#end
RTA#conf t
RTA(config)#int g0/0
RTA(config-if)#no shutdown
RTA(config-if)#end
Terima Kasih,Semoga bermanfaat
0 comments:
Post a Comment