如果您喜歡這裡的內容,記得分享到您的Facebook和Twitter上面所有的朋友們吧!

2007年11月30日 星期五

ICND2 Lab 2-1, Task 4步驟說明

[從 Step 2 開始]

SwitchA# conf t
SwitchA(config)# spanning-tree mode rapid-pvst
SwitchA(config)# int fa 0/12
SwitchA(config-if)# duplex full
SwitchA(config-if)# speed 100
SwitchA(config-if)# switchport mode trunk
SwitchA(config-if)# end
SwitchA# show int fa 0/12 switchport


Name: Fa0/12
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled


Voice VLAN: none (Inactive)
Appliance trust: none


SwitchA# conf t
SwitchA(config)# int fa 0/12
SwitchA(config-if)# no shutdown
SwitchA(config-if)# end
SwitchA# show spanning-tree vlan 2


VLAN0002
Spanning tree enabled protocol ieee
Root ID Priority 24578
Address 000b.be96.7700
Cost 19
Port 11 (FastEthernet0/11)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32770 (priority 32768 sys-id-ext 2)
Address 000e.d78d.ac80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/11 Root FWD 19 128.11 P2p
Fa0/12 Desg FWD 19 128.12 P2p


[從 Step 9 開始]

RouterA# telnet 10.1.1.2
Password:
CoreSwitchA>show spanning-tree vlan 2



VLAN0002
Spanning tree enabled protocol rstp
Root ID Priority 24578
Address 000b.be96.7700
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 24578 (priority 24576 sys-id-ext 2)
Address 000b.be96.7700
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Desg FWD 19 128.1 P2p Peer(STP)
Fa0/2 Desg FWD 19 128.2 P2p Peer(STP)
Fa0/3 Desg FWD 19 128.3 P2p Peer(STP)
Fa0/4 Desg FWD 19 128.4 P2p Peer(STP)
Fa0/5 Desg FWD 19 128.5 P2p Peer(STP)
Fa0/6 Desg FWD 19 128.6 P2p
Fa0/7 Desg FWD 19 128.7 P2p Peer(STP)
Fa0/9 Desg FWD 19 128.9 Shr Peer(STP)

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/10 Desg FWD 19 128.10 Shr Peer(STP)
Fa0/23 Desg FWD 19 128.23 P2p


CoreSwitchB>show spanning-tree vlan 2


Spanning tree enabled protocol rstp
Root ID Priority 24578
Address 000b.be96.7700
Cost 19
Port 13 (FastEthernet0/13)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32770 (priority 32768 sys-id-ext 2)
Address 0014.69d1.fa80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/5 Desg FWD 19 128.5 P2p
Fa0/6 Desg FWD 19 128.6 P2p
Fa0/9 Altn BLK 19 128.9 P2p
Fa0/13 Root FWD 19 128.13 P2p
Fa0/14 Altn BLK 19 128.14 P2p



CoreSwitchB>


[從 Step 11 開始]

RouterA# ping


Protocol [ip]:
Target IP address: 10.1.1.3
Repeat count [5]: 200
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 200, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (200/200), round-trip min/avg/max = 1/1/4 ms


RouterA#

ICND2 Lab 2-1, Task 3步驟說明

** 請在 SwitchA 的 VLAN 1 上, 先將 IP位址設好, 不然 Step 11還是會PING不到.

SwitchA# conf t
SwitchA(config)# int vlan 1
SwitchA(config-if)# ip address 10.1.1.20 255.255.255.0
SwitchA(config-if)# no shutdown
SwitchA(config-if)# end
SwitchA#


[從 Step 1 開始]


SwitchA# conf t
SwitchA(config)# vlan 2
SwitchA(config-vlan)# name VLAN0002
SwitchA(config-vlan)# exit
SwitchA(config)# exit

SwitchA# 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/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
Gi0/1, Gi0/2
2 VLAN0002 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

.....


SwitchA# conf t
SwitchA(config)# int
fa 0/2
SwitchA(config-if)# switchport access vlan 2
SwitchA(config-if)# exit
SwtichA(config)# int fa 0/2
SwitchA(config-if)# 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 spanning tree loops.
Use with CAUTION

%Portfast has been configured on FastEthernet0/2 but will only
have effect when the interface is in a non-trunking mode.



SwitchA (config-if)# exit

SwitchA# show vlan brief



VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, 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
Gi0/1, Gi0/2
2 VLAN0002 active Fa0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup



SwitchA#


[從 Step 6 開始]


RouterA>enable
Password:
RouterA#conf t
RouterA(config)# int fa 0/0
RouterA(config-if)# ip address 10.2.2.12 255.255.255.0
RouterA(config-if)# no shutdown
RouterA(config-if)# exit
RouterA(config)# exit
RouterA# ping 10.2.2.3


Sending 5, 100-byte ICMP Echos to 10.2.2.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms


RouterA# ping 10.1.1.10




Sending 5, 100-byte ICMP Echos to 10.1.1.10, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)


RouterA# conf t
RouterA(config)# ip route 0.0.0.0 0.0.0.0 10.2.2.3
RouterA(config)# exit
RouterA# ping 10.1.1.10


Sending 5, 100-byte ICMP Echos to 10.1.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms



RouterA#

ICND2 Lab 2-1, Task 2步驟說明

[從 Step 1 開始]

SwitchA# conf t
SwitchA(config)# int fa0/11
SwitchA(config-if)# switchport mode trunk
SwitchA(config-if)# end
SwitchA# show int fa0/11 switchport

Name: Fa0/11
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none

SwitchA# conf t
SwitchA(config)# int vlan 1
SwitchA(config-if)# ip addr 10.1.1.20 255.255.255.0
SwitchA(config-if)# no shut
SwitchA(config-if)# end
SwitchA# ping 10.1.1.3

Sending 5, 100-byte ICMP Echos to
10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms


SwitchA#

ICND2 Lab 2-1, Task 1步驟說明

[從 Step 4 開始]

SwitchA>enable
Password:
SwitchA# conf t
SwitchA(config)# int fa0/12
SwitchA(config-if)# shutdown
SwitchA(config-if)# exit
SwitchA(config)# vtp domain ICND
SwitchA(config)# vtp mode transparent
SwitchA(config)# end
SwitchA# show vtp status

VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 6
VTP Operating Mode : Transparent
VTP Domain Name : ICND
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x57 0xCD 0x40 0x65 0x63 0x59 0x47 0xBD
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00

SwitchA# show run

! ...

vtp domain ICND
vtp mode transparent

! ...

SwitchA#

經典熱門文章