test import

Categories

Ad Home

Responsive Ads Here

Labels

642-813 SWITCH (2) 642-902 ROUTE (2) 643-832 TSHOOT (1) Access Based Enumeration (1) access list (2) AIX (1) Anti Malware (16) AutoIT (1) backtrack (4) Basic Networking (3) Blogspot (2) bootable USB (1) can not download attach file from gmail (1) ccna (9) CCNA Lab (19) centos (3) Check (1) Check_MK (3) cisco (51) Dell (1) DHCP (1) Download (2) Dynamic Host Configuration Protocol (1) ebook (2) Ebooks (18) eigrp (1) encapsulation (3) esxi5 (2) exam (13) exchange server 2010 (3) facebook (2) firewall-cmd (1) firewall-config (1) firewalld (1) Frame Relay (4) Free Router Simulator Softwares (1) FreeNAS (1) GhostSurf (1) gns3 (1) Hacking Security (5) hardware (1) hotspot (1) How to Change Windows 2008 R2 SID (1) How to create VPN network on Linux (1) How to install openSSH on AIX 5.3 (1) How to Install the Microsoft Core Fonts on Fedora 19 (1) HP (1) IBM (1) Infrastructure Monitoring (3) InterVLAN (1) ip routing (3) IPSec (2) ipv6 (1) IT (122) joomla (1) Kiến thức (278) LAN Technology (3) life skills for (1) lifeskills (2) linux (13) Linux-Unix (24) mac address (1) Magazine (9) Mail (2) mail server (1) MCSA (7) Microsoft (28) mikrotik (3) Multipoint (1) Nagios (3) NAT (1) nested (1) Network (1) Network Load Balancing (1) News (1) Nghệ thuật sống (1) O365 (4) Office 365 (4) OSPF (1) Packet tracer (19) Pass4sure (1) Point to Point (1) Point-to-Point Protocol (PPP) – CHAP (1) Point-to-Point Protocol (PPP) – PAP (1) Policy (3) Port Security (1) Practice Labs (19) Prerequisites (1) proxy (1) relax (7) rhel7 (1) RIP (1) routerOS (3) Routing (1) SAN (1) SAN Storage (1) Scripts (6) Server (1) server room (1) Sharepoint Server 2007 (1) Sharepoint Server 2010 (1) Spanning Tree Protocol (1) SSH login without password (1) Static Default Route (1) Storage (1) subnet (1) switch (1) System Requirements for Windows Server 2012 (1) Tản mạn (2) tcp-ip (1) telnet (1) TestInside (1) Thư giãn (4) Thủ thuật (2) tip (3) Tips + Tricks (29) trick (1) Tutorial (29) Tutorialvirtual server HighAvailability (1) ubuntu (4) unix (3) Unix-Linux (8) usb (1) Virtual Private Network (VPN) - IPsec (Site-to-Site) (1) Virtual Trunking Protocol (1) Virtualization (2) Virtualization HighAvailability (1) virus (5) vmware (6) vpn (4) vpn client (1) vpn client to site (2) vpn site to site (2) vSphere 5 (6) vSphere 5.1 (1) WAN Technology (13) Warranty (1) wildcard mask (1) windows 7 (1) windows 8 (1) windows server 2008 (3) Windows Server 8 (1)

Facebook

Ethereum

Subscribe for New Post Notifications

Ripple

Ethereum Price

Monday Tuesday Wednesday
$402.89 $384.06 $396.34

Contact Form

Name

Email *

Message *

Bitcoin

Litecoin

"Mẹo" tăng tốc chép dữ liệu giữa máy tính và USB

"Mẹo" tăng tốc chép dữ liệu giữa máy tính và USB
On IT

Đầu tiên bạn tải gói tin mang tên KB2581464 tại địa chỉ: http://support.microsoft.com/kb/2581464. Và tiến hành cài đặt bình thường. Sau đó khởi động lại máy tính. Bạn mở chương trình Registry bằng cách mở hộp thoại Run gõ regedit rồi bấm Enter


Tại Registry bạn tìm đến địa chỉ theo đường dẫnHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbstor.


Bạn tạo thêm giá trị VVVVPPPP.


Tại khung bên phải bạn nhấp phải và chọn New > DWORD Value và đặt tên là MaximumTransferLength.


Sau khi tạo xong bạn nhấp chuột vào MaximumTransferLength và điền giá trị như hình ở dưới



Sau bạn khởi động lại máy tính một lần nữa và thử chép dữ liệu vào USB để kiểm tra sự khác biệt.
Trước khi điều chỉnh


Sau khi điều chỉnh
Chú ý là cách này chỉ áp dụng trên Windows 7, Windows Server 2008 R2


Huỳnh Mai Anh Kiệt
Copyright by http://www.lecuong.info

CCNA LAB - 2.2 Virtual Trunking Protocol (VTP)

CCNA LAB - 2.2 Virtual Trunking Protocol (VTP)

Download

LAB 2-2: Virtual Trunking Protocol (VTP) 


You are the Network Administration at Ranet, and have to config to let Ranet-SW3 seperate VLAN
according to the VLAN database from Ranet-SW1 via VTP (use Console for each switch) as below:

1. Gather information about VTP configuration in Ranet-SW1 by using "show" command in
USER mode only. (You do not have right to config anything on this switch.)

2. On switch Ranet-SW2, you have to config to let the VTP information send from Ranet-SW1
via itself to Ranet-SW3 without any change in VLAN database of Ranet-SW2

3. On switch Ranet-SW3, you have to config to receive VTP information from Ranet-SW1 and
use the received VLAN database to set members of each VLAN as:
VLAN 10: Fa0/1
VLAN 20: Fa0/2

-------------- The End --------------
Solution

Ranet SW1  :

Ranet-SW1>sh vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 7
VTP Operating Mode : Server
VTP Domain Name : Ranet
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x30 0x94 0xC2 0x6A 0x32 0xCF 0x82 0xFF
Configuration last modified by 0.0.0.0 at 3-1-93 00:41:24
Local updater ID is 0.0.0.0 (no valid interface found)
Ranet-SW1>sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig1/1, Gig1/2
10 Ranet-01 active Fa0/1
20 Ranet-02 active Fa0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Ranet-SW1>

Ranet SW2:

Ranet-SW2>en
Ranet-SW2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-SW2(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Ranet-SW2(config)#vtp domain Ranet
Changing VTP domain name from NULL to Ranet
Ranet-SW2(config)#vtp version 2
Ranet-SW2(config)#int gig1/1
Ranet-SW2(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to up
Ranet-SW2(config-if)#
Ranet-SW2#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-SW2#sh vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 7
VTP Operating Mode : Transparent
VTP Domain Name : Ranet
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x39 0x70 0x66 0x32 0x4F 0x8F 0x84 0x33
Configuration last modified by 0.0.0.0 at 3-1-93 00:14:20
Ranet-SW2#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig1/2
30 Ranet-03 active Fa0/1
40 Ranet-04 active Fa0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
30 enet 100030 1500 - - - - - 0 0
40 enet 100040 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0 4
Ranet-SW2#sh interfaces trunk
Port Mode Encapsulation Status Native vlan
Gig1/1 on 802.1q trunking 1
Port Vlans allowed on trunk
Gig1/1 1-1005
Port Vlans allowed and active in management domain
Gig1/1 1,30,40
Port Vlans in spanning tree forwarding state and not pruned
Gig1/1 none
Ranet-SW2#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-SW2#

 Ranet SW3  :

Ranet-SW3>en
Ranet-SW3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-SW3(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Ranet-SW3(config)#vtp domain Ranet
Changing VTP domain name from NULL to Ranet
Ranet-SW3(config)#vtp mode client
Setting device to VTP CLIENT mode.
Ranet-SW3(config)#int gig1/1
Ranet-SW3(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to up
Ranet-SW3(config-if)#
Ranet-SW3#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-SW3#sh vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 7
VTP Operating Mode : Client
VTP Domain Name : Ranet
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x30 0x94 0xC2 0x6A 0x32 0xCF 0x82 0xFF
Configuration last modified by 0.0.0.0 at 3-1-93 00:41:24
Ranet-SW3#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gig1/2
10 Ranet-01 active
20 Ranet-02 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0 6
Ranet-SW3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-SW3(config)#int fa0/1
Ranet-SW3(config-if)#switchport mode access
Ranet-SW3(config-if)#switchport access vlan 10
Ranet-SW3(config-if)#int fa0/2
Ranet-SW3(config-if)#switchport mode access
Ranet-SW3(config-if)#switchport access vlan 20
Ranet-SW3(config-if)#
Ranet-SW3#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-SW3#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig1/2
10 Ranet-01 active Fa0/1
20 Ranet-02 active Fa0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
Ranet-SW3#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-SW3#

---------------- End  --------------------

You can download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 2.1 InterVLAN Routing

CCNA LAB - 2.1 InterVLAN Routing

                                                                       Download

LAB 2-1: InterVLAN Routing 

You are the Network Administrator at Ranet, and have to config both switch "Ranet-SW" and router 
"Ranet-GW" via its console terminal as below: 


1. Set Ranet-SW to seperate VLAN to be VLAN 10 and VLAN 20 and set its member as: 
VLAN 10: Fa0/1, Fa0/2 
VLAN 20: Fa0/3, Fa0/4 


2. Enable feature "Portfast" on all access ports. 

3. Set both Ranet-SW and Ranet-GW to route between VLAN 10 and VLAN 20: 

- Use interface Fa0/0.1 and Fa0/0.2 on Ranet-GW as sub-interface for VLAN 10 and 
VLAN 20 respectively.
- Please note that all hosts in each VLAN set IP Default Gateway to be the last IP of its 
own subnet. 

If everything is correct, All hosts will be able to connect with each other.

--------------  End -------------------

Solution

Ranet SW config

Ranet-SW>en
Ranet-SW#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-SW(config)#vlan 10
Ranet-SW(config-vlan)#vlan 20
Ranet-SW(config-vlan)#int ran fa0/1 -2
Ranet-SW(config-if-range)#switchport mode access
Ranet-SW(config-if-range)#switchport access vlan 10
Ranet-SW(config-if-range)#spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%Portfast will be configured in 2 interfaces due to the range command
but will only have effect when the interfaces are in a non-trunking mode.
Ranet-SW(config-if-range)#int ran fa0/3 -4
Ranet-SW(config-if-range)#switchport mode access
Ranet-SW(config-if-range)#switchport access vlan 20
Ranet-SW(config-if-range)#spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%Portfast will be configured in 2 interfaces due to the range command
but will only have effect when the interfaces are in a non-trunking mode.
Ranet-SW(config-if-range)#int gig1/1 2
Ranet-SW(config-if)#switchport mode trunk
Ranet-SW(config-if)#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-SW#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-SW#

Ranet GW config

Ranet-GW>en
Ranet-GW#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-GW(config)#int fa0/0
Ranet-GW(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Ranet-GW(config-if)#int fa0/0.1
Ranet-GW(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to up
Ranet-GW(config-subif)#encapsulation dot1Q 10
Ranet-GW(config-subif)#ip add 192.168.0.142 255.255.255.240
Ranet-GW(config-subif)#int fa0/0.2
%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to up
Ranet-GW(config-subif)#encapsulation dot1Q 20
Ranet-GW(config-subif)#ip add 192.168.0.158 255.255.255.240
Ranet-GW(config-subif)#
%SYS-5-CONFIG_I: Configured from console by consoleRanet-GW#
Ranet-GW#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
192.168.0.0/28 is subnetted, 2 subnets
C 192.168.0.128 is directly connected, FastEthernet0/0.1
C 192.168.0.144 is directly connected, FastEthernet0/0.2

Ranet-GW#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-GW#

------------------- End --------------------

Now, all host will be able to connect with each other.

You can download this solution here.
Copyright by http://www.lecuong.info

CCNA Lab -1.3 IPv6 addressing

CCNA Lab -1.3 IPv6 addressing

Download

LAB 1-3: IPv6 Addressing 

You are the network administrator at Ranet, and 
have to config Ranet-HQ (via Console Terminal) for 
connection t use IPv6 as below: 
    1. set IPv6 address on interface Se0/0/0 to be 
       FEC0:78:0:1::2/64 
    2. set IPv6 address on interface Se0/1/0 to be 
       2001:21::2/48 
    3. Set IPv6 address on interface Fa0/0 to be the 
       gateway for Hosts in LAN as: 
          3.1 Set IPv6 Local address in EUI-64 that 
             has prefix to be FEC0:78:0:2::/64 
          3.2 Set IPv6 Global address in EUI-64 that 
             has prefix to be 2001:22::/48 

If the configuration above is done, 
    - Host1 will be able to connect with Ranet-BR. 
    - Host2 will be able to connect with ISP-Router.

Solution:

Ranet-HQ router config:

Ranet-HQ>en
Ranet-HQ#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-HQ(config)#ipv6 unicast-routing
Ranet-HQ(config)#int s0/0/0
Ranet-HQ(config-if)#ipv6 add FEC0:78:0:1::2/64
Ranet-HQ(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Ranet-HQ(config-if)#int s0/1/0
Ranet-HQ(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
Ranet-HQ(config-if)#ipv6 add 2001:21::2/48
Ranet-HQ(config-if)#int fa0/0
Ranet-HQ(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Ranet-HQ(config-if)#ipv6 add FEC0:78:0:2::/64 eui-64
Ranet-HQ(config-if)#ipv6 add 2001:22::/48 eui-64
Ranet-HQ(config-if)#
%SYS-5-CONFIG_I: Configured from console by consoleRanet-HQ#
Ranet-HQ#copy run start
Destination filename [startup-config]? 2

Building configuration...
[OK]
Ranet-HQ#

----------------- End------------------

Now, Ping from Host1 to Ranet-BR and Host2 to ISP-Router is OK.

You can download this solution here

Nice day.
Copyright by http://www.lecuong.info

Create a bootable USB flash drive to install Windows 8/7

Create a bootable USB flash drive to install Windows 8/7
Tạo USB boot cài đặt Windows 8/Windows 7

 


 

1.Yêu cầu:


# Windows 8 ISO f hoặc DVD

# USB 4GB trở lên

# 1 PC đang chạy XP, Vista, Windows 7 hoặc Windows 8.


Lưu ý:  Sao lưu dữ liệu trong USB của bạn trước khi làm nhé.

 

2.Các bước thực hiện:


-  Cắm USB vào máy tính


-  Nhấp chuột vào Start  -- All Programs --Accessories  -- Command Prompt

(Nếu đang dùng Windows Vista, Windows 7 thì nhấp chuột phải vào Command Prompt, sau đó chọn Run as administrator--Yes.)

 

- Tại cửa sổ Command Promt:

 

DISKPART , nhấn Enter


gõ list disk , nhấn Enter




 

 

SELECT DISK 1 để chọn USB.

 

Sau đó gõ lần lượt các lệnh sau:


CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ACTIVE

FORMAT FS=FAT32 quick       ( thêm quick phía sau cho nhanh nhé! )

 


 

Chờ cho USB được format 100% thì gõ tiếp các lệnh sau:

 

ASSIGN

EXIT





Chép tất cả các files từ Windows 8 ISO  sang USB:

 


 



Xong rồi đấy! Khởi động lại máy & boot từ USb để bắt đầu cài đặt Windows 8 ^^!


 

Copyright by http://www.lecuong.info

CCNA Lab -1.2 IPv4 addressing

CCNA Lab -1.2 IPv4 addressing



LAB 1-2: IPv4 Addressing

You are the network administrator at Ranet, and
have to config the router “Ranet-BR” via Console
Terminal as below:

1. enable interface Se0/0/0 and set IP address
/Subnet Mask that can connect with router
“Ranter-HQ” at 192.168.0.254/30

2. enable interface Se0/1/0 and set IP address
/Subnet Mask that can connect with router
“Ranter-BR1-1″ at 192.168.0.30/30

3. The Headquater has given IP address
range 192.168.0.0/27 for the network
behind our router, then you have to:

3.1 enable interface Fa0/0 and set
IP address/Subnet Mask to be the
last IP of this subnet that has
10 host as members.
    3.2 enable interface Fa0/1 and set
IP address/Subnet Mask to be the
last IP of this subnet that has
5 host as members.

   3.3 Set IP address/Subnet Mark of Host1
in each LAN to be the first IP of its
own subnet, and set IP of gateway also

If the configuration is correct, Host1 in each subnet
must be able to ping to Ranet Server at 192.168.0.33

============= The End ===================

Solution:


192.168.0.0/27
*10 host:
int fa0/0 : 192.168.0.0/28  --- use last ip
*5 host:
int fa0/1 : 192.168.0.16/29 -- use last ip
------------------------------
int se0/0/0 : 192.168.0.254/30 -- use first ip
int se0/1/0: 192.168.0.30/30 -- use first ip

Ranet-BR router config:
Ranet-BR>en
Ranet-BR#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-BR(config)#int s0/0/0
Ranet-BR(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Ranet-BR(config-if)#ip add 192.168.0.253 255.255.255.252
Ranet-BR(config-if)#int s0/1/0
Ranet-BR(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
Ranet-BR(config-if)#ip add 192.168.0.29 255.255.255.252
Ranet-BR(config-if)#int fa0/0
Ranet-BR(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Ranet-BR(config-if)#ip add 192.168.0.14 255.255.255.240
Ranet-BR(config-if)#int fa0/1
Ranet-BR(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up 2

Ranet-BR(config-if)#ip add 192.168.0.22 255.255.255.248
Ranet-BR(config-if)#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-BR#
Ranet-BR#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-BR#ping 192.168.0.254
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.254, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/6 ms
Ranet-BR#ping 192.168.0.30
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.30, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/3/5 ms

 Host1 in LAN1 :
IP Configuration

IP Address: 192.168.0.1
Subnet Mask: 255.255.255.240
Default Gateway: 192.168.0.14

click Desktop >  Command Prompt

Packet Tracer PC Command Line 1.0
PC>ping 192.168.0.33
Pinging 192.168.0.33 with 32 bytes of data:
Reply from 192.168.0.33: bytes=32 time=12ms TTL=254
Reply from 192.168.0.33: bytes=32 time=13ms TTL=254 3
Reply from 192.168.0.33: bytes=32 time=7ms TTL=254
Reply from 192.168.0.33: bytes=32 time=9ms TTL=254
Ping statistics for 192.168.0.33:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 7ms, Maximum = 13ms, Average = 10ms
PC>

Host1 in LAN2 :
IP Configuration

IP Address: 192.168.0.17
Subnet Mask: 255.255.255.248
Default Gateway: 192.168.0.22

click Desktop >  Command Prompt

Packet Tracer PC Command Line 1.0
PC>ping 192.168.0.33
Pinging 192.168.0.33 with 32 bytes of data:
Reply from 192.168.0.33: bytes=32 time=16ms TTL=254
Reply from 192.168.0.33: bytes=32 time=8ms TTL=254
Reply from 192.168.0.33: bytes=32 time=11ms TTL=254
Reply from 192.168.0.33: bytes=32 time=7ms TTL=254
Ping statistics for 192.168.0.33:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 7ms, Maximum = 16ms, Average = 10ms
PC>

download

Good luck.
Copyright by http://www.lecuong.info

CCNA Lab – 1.1- Basic Config

CCNA Lab – 1.1- Basic Config

                                                  


                                                 

 

LAB 1-1: Basic Configuration You are the Network Administrator at Ranet. 
We have just installed new router to be our gateway. 
You have to do the basic configuration via Console Terminal 
(PC-PT) as below: 
1. Set hostname to be "RanetA" 
2. Set enable secret to be "ranetenablepass" 
3. Set console password to be "ranetconsolepass" 
4. Set telnet password to be "ranettelnetpass" 
5. Set IP address of interface Fastethernet 0/0 to 
be the first address of network 10.0.0.0/30 
6. Set IP address of interface Fastethernet 0/1 to 
be 192.168.0.254/26 
7. Both interface Fastethernet 0/0 and 0/1 must 
be enable. After these configuration, you should be able to 
1. Ping to 10.0.0.2 from Ranet A 
2. Telnet from Ranet PC to Ranet A by using IP 
address 192.168.0.254 and telnet password 
as above.



=========== The End ===================Solution:  


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname RanetA
RanetA(config)#enable secret ranetenablepass
RanetA(config)#line con 0
RanetA(config-line)#password ranetconsolepass
RanetA(config-line)#login
RanetA(config-line)#line vty 0 4
RanetA(config-line)#password ranettelnetpass
RanetA(config-line)#login
RanetA(config-line)#int fa0/0
RanetA(config-if)#no sh

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
RanetA(config-if)#ip add 10.0.0.1 255.255.255.252
RanetA(config-if)#int fa0/1
RanetA(config-if)#no sh

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
RanetA(config-if)#ip add 192.168.0.254 255.255.255.192
RanetA(config-if)#
RanetA#
%SYS-5-CONFIG_I: Configured from console by console
RanetA#copy run start
Building configuration...
RT-CNA-003-L11
[OK]
RanetA#ping 10.0.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 2/3/5 ms

RanetA#
Telnet from Ranet PC to Ranet A router:
(Click to Ranet PC  ---> Desktop Tab -->Command Prompt)

Packet Tracer PC Command Line 1.0
PC>telnet 192.168.0.254
Trying 192.168.0.254 ...Open

User Access Verification

Password: ranettelnetpass

RanetA>

 

download




 

 
Copyright by http://www.lecuong.info

Basic Switch Configurations Command

On ccna

Basic Switch Configurations Command

In this article I will introduce the Cisco Internetwork Operating System (IOS) command line interface (CLI) for the 2960 series switch. You will need to logon to a switch and become familiar with the different levels of access on the switch. You will also become familiar with the commands available to you in each mode (user or privileged) and the switch help facility, history, and editing features.

User vs. Privileged Mode

User mode is indicated with the > next to the switch name. You can look at settings but can not make changes from user mode. In Privilege mode, indicated by the #, you can do anything. To get into privilege mode the keyword is enable.

HELP

To view all commands available from this mode type:?This will give you the list of all available commands for the switch in your current mode. You can also use the question mark after you have started typing a command. For example if you want to use a show command but you do not remember which one it is, use the ? as this will output all commands that you can use with the show command.

Configuration Mode

From privilege mode you can enter configuration mode by typing config term command you can exit configuration mode type type end or +z

Configuration of Cisco 2960 Switch

To practically implement these command either create a simple topology on packet tracer or download this topology.
Example topology for basic switch commands
basic switch configuration

Now click on any switch and configure it as given below
To know all available command on user exec mode type ? and press enter

Switch>?
Exec commands:
[1-99] Session number to resume
connect Open a terminal connection
disconnect Disconnect an existing network connection
enable Turn on privileged commands
exit Exit from the EXEC
logout Exit from the EXEC
ping Send echo messages

[Output is omitted]
Three command can be used to logout from terminal use any one

Switch>enable
Switch#disable
Switch>exit

Switch con0 is now available

Press RETURN to get started.
Show version command will tell about the device platform and detected interface and ios name

Switch>enable
Switch#show version
Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version
12.2(25)FX, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team
ROM: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX,
RELEASE SOFTWARE (fc4)
System returned to ROM by power-on
Cisco WS-C2960-24TT (RC32300) processor (revision C0) with
21039K bytes of memory.
24 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)

[Output is omitted]
show mac address command will show all detected mac address dynamically and manually

Switch#show mac-address-table
Mac Address Table
-------------------------------------------

Vlan Mac Address Type Ports
---- ----------- -------- -----

1 0001.643a.5501 DYNAMIC Gig1/1
Run time configuration of ram can be any time by simple show run commands

Switch#show running-config
Building configuration...
Current configuration : 925 bytes
version 12.2
no service password-encryption
!
hostname Switch

[Output is omitted]
To view startup configuration [ Stored in NVRAM] use show start command

Switch#show startup-config
Current configuration : 925 bytes
version 12.2
no service password-encryption
!
hostname Switch

[Output is omitted]
show vlan command will give the detail overview of all vlan configured on switch

Switch#show vlan

VLAN Name Status Ports
---- -------------------------------- --------- -----------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
[Output is omitted]
show interface command will show all detected interface with their hardware description and configuration

Switch#show interfaces
FastEthernet0/1 is up, line protocol is up (connected)
Hardware is Lance, address is 0060.2f9d.9101 (bia 0060.2f9d.9101)
MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
[Output is omitted]
interface vlan 1 is used to assign ip address and default gateway to switch. Show interface vlan 1 will give a over view of vlan1.

Switch#show interface vlan1
Vlan1 is administratively down, line protocol is down
Hardware is CPU Interface, address is 0060.5c23.82ae
(bia 0060.5c23.82ae)
MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00

[Output is omitted]
delete command is used to delete all vlan configuration from switch Don’t add space between flash and vlan.dat Run this exactly shown here adding a space could erase flash entirely leaving switch blank

Switch#delete flash:vlan.dat
Delete filename [vlan.dat]?
Delete flash:/vlan.dat? [confirm]
%deleting flash:/vlan.dat
Startup configuration can be removed by erase commands

Switch#erase startup-config
Erasing the nvram filesystem will remove all configuration files!
Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
use configure terminal command to go in global configuration mode

Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Now change default switch name to switch 1

Switch(config)#hostname Switch1
Set enable password to vinita and secret to nikki

Switch1(config)#enable password vinita
Switch1(config)#enable secret nikki
Set console password to vinita and enable it by login command, order of command is important set password before you enable it

Switch1(config)#line console 0
Switch1(config-line)#password vinita
Switch1(config-line)#login
Switch1(config-line)#exit
Enable 5 telnet session [ vty0 - vty4] for router and set their password to vinita

Switch1(config)#line vty 0 4
Switch1(config-line)#password vinita
Switch1(config-line)#login
Switch1(config-line)#exit
Now set switch ip address to 192.168.0.10 255.255.255.0 and default gateway to 192.168.0.5

Switch1(config)#interface vlan1
Switch1(config-if)#ip address 192.168.0.10 255.255.255.0
Switch1(config-if)#exit
Switch1(config)#ip default-gateway 192.168.0.5
Set a description finance VLAN to interface fast Ethernet 1

Switch1(config)#interface fastEthernet 0/1
Switch1(config-if)#description finance VLAN
By default switch automatically negotiate speed and duplex but you can adjust it manually

Switch1(config-if)#duplex full
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1,
changed state to downSwitch1
(config-if)#duplex auto
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
Switch1(config-if)#duplex half
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1,
changed state to down
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
Switch1(config-if)#duplex auto
Switch1(config-if)#speed 10
Switch1(config-if)#speed 100
Switch1(config-if)#speed auto
Switch1(config-if)#exit
Switch1(config)#exit
mac address table can be wiped out by clear commands

Switch1#show
Switch1#show mac-address-table
Mac Address Table
-------------------------------------------

Vlan Mac Address Type Ports
---- ----------- -------- -----

1 0001.643a.5501 DYNAMIC Gig1/1
Switch1#clear mac-address-table
Switch1#clear mac-address-table ?
dynamic dynamic entry type
Switch1#clear mac-address-table dynamic
To restart switch use reload command [ running configuration will be erased so copy it first to startup configuration ]

Switch1#reload
Proceed with reload? [confirm]
Switch con0 is now available
Press RETURN to get started.

CCNA basic switch configuration commands sheet



Command descriptions
switch>? The ? works here the same as in a router Used to get the list of all available commands
switch>enable User mode, same as a router
switch# Privileged mode
switch#disable Leaves privileged mode
switch>exit Leaves user mode
switch#show version Displays information about software and hardware.
switch#show flash: Displays information about flash memory (will work only for the 2900/2950 series).
switch#show mac-address-table Displays the current MAC address forwarding table
.
switch#show running-config Displays the current configuration in DRAM.
switch#show startup-config Displays the current configuration in NVRAM.
switch#show vlan Displays the current VLAN configuration.
switch#show interfaces Displays the interface configuration and status of line: up/up, up/down, admin down.
switch#show interface vlan1 Displays setting of virtual interface VLAN 1, the default VLAN on the switch.
To Reset Switch Configuration
Switch#delete flash:vlan.dat Removes the VLAN database from flash memory.
Delete filename [vlan.dat]? Press Enter
Delete flash:vlan.dat? [confirm] Press Enter
Switch#erase startup-config Erases the file from NVRAM.
Switch#reload Restarts the switch.
To Set Host Names
Switch#configure terminal Moves to global configuration mode
Switch(config)#hostname Switch1 Creates a locally significant host name of the switch. This is the same command as the router.
Switch1(config)#
To Set Passwords
Switch(config)#enable password vinita Sets the enable password to vinita
Switch(config)#enable secret nikki Sets the encrypted secret password to nikki
Switch(config)#line console 0 Enters line console mode
Switch(config-line)#login Enables password checking
Switch(config-line)#password vinita Sets the password to vinita
Switch(config-line)#exit Exits line console mode
Switch(config-line)#line vty 0 4 Enters line vty mode for all five virtual ports
Switch(config-line)#login Enables password checking
Switch(config-line)#password vinita Sets the password to vinita
Switch(config-line)#exit Exits line vty mode
Switch(config)#
To Set IP Addresses and Default Gateways
Switch(config)#interface vlan1 Enters the virtual interface for VLAN 1, the default VLAN on the switch
Switch(config-if)#ip address 192.168.0.10 255.255.255.0 Sets the IP address and netmask to allow for remote access to the switch
Switch(config-if)#exit
Switch(config)#ip default-gateway 192.168.0.5 Allows IP information an exit past the local network
To Set Interface Descriptions
Switch(config)#interface fastethernet 0/1 Enters interface configuration mode
Switch(config-if)#description Finance VLAN Adds a description of the interface
To Set Duplex Operation
Switch(config)#interface fastethernet 0/1 Moves to interface configuration mode
Switch(config-if)#duplex full Forces full-duplex operation
Switch(config-if)#duplex auto Enables auto-duplex config
Switch(config-if)#duplex half Forces half-duplex operation
To Set Operation Speed
Switch(config)#interface fastethernet 0/1
Switch(config-if)#speed 10 Forces 10-Mbps operation
Switch(config-if)#speed 100 Forces 100-Mbps operation
Switch(config-if)#speed auto Enables autospeed configuration
MAC Address Table
switch#show mac address-table Displays current MAC address forwarding table
switch#clear mac address-table Deletes all entries from current MAC address forwarding table
switch#clear mac address-table dynamic Deletes only dynamic entries from table





Copy from computernetworkingnotes.com.
Copyright by http://www.lecuong.info