Date post: | 30-May-2018 |
Category: |
Documents |
Upload: | magetoader8802 |
View: | 215 times |
Download: | 0 times |
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 1/19
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 2/19
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 3/19
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 4/19
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 5/19
A
R
SW
B
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 6/19
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 7/19
A
R
SW
B
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 8/19
A
SW
B
•
•
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 9/19
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastEthernet 0/0Router(config-if)#ip address 172.20.1.1 255.255.255.0
Router(config-if)#no shutdown
00:01:03: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed
state to up
Router(config-if)#interface fastEthernet 1/0
Router(config-if)#ip address 172.20.2.1 255.255.255.0
Router(config-if)#no shutdown00:01:52: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed
state to up
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 10/19
Router#show 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 2E1 - 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
172.20.0.0/24 is subnetted, 2 subnets
C 172.20.1.0 is directly connected, FastEthernet0/0
C 172.20.2.0 is directly connected, FastEthernet1/0
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 11/19
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 12/19
Router(config)#interface fastEthernet 0/0.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 172.20.1.1 255.255.255.0
Router(config-subif)#interface fastEthernet 0/0.20
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 172.20.2.1 255.255.255.0
Router(config-subif)#interface fastEthernet 0/0
Router(config-if)#no shutdown
Router(config-if)#̂ Z
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES manual up up
FastEthernet0/0.10 172.20.1.1 YES manual up up
FastEthernet0/0.20 172.20.2.1 YES manual up up
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 13/19
Router#show 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 2E1 - 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
172.20.0.0/24 is subnetted, 2 subnets
C 172.20.1.0 is directly connected, FastEthernet0/0.10
C 172.20.2.0 is directly connected, FastEthernet0/0.20
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 14/19
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 15/19
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 16/19
A
R
SW
B
Switch#configure terminal
Enter configuration commands, one per
line. End with CNTL/Z.
S1(config)# vlan 10
S1(config-vlan)# vlan 30
S1(config-vlan)#exit
S1(config)#interface fas0/11
S1(config-if)#switchport access vlan 20
S1(config-if)#interface fas0/4
S1(config-if)#switchport access vlan 20
S1(config-if)#interface fas0/6
S1(config-if)#switchport access vlan 10
S1(config-if)#interface fas0/5
S1(config-if)#switchport access vlan 10
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 17/19
A
R
SW
B
Switch#configure terminal
Enter configuration commands, one per line.
End with CNTL/Z.
S1(config)# vlan 10
S1(config-vlan)# vlan 30
S1(config-vlan)#exit
S1(config)#interface fas0/5
S1(config-if)#switchport mode trunk
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 18/19
8/14/2019 ccna3_06expl
http://slidepdf.com/reader/full/ccna306expl 19/19