|
PART I 交換機管理
Refer:
https://mouse.ee.aeust.edu.tw/Books/Network2/CCNP8/Lab%2009.ppt
作業
(LAN 部分使用 201.11.xxx/24,
WAN 部分使用 181.41.xxx/24,
xxx代表學號末3碼,
學號末3碼超過250,使用末2碼)
(For Switch1)
enable
conf t
hostname xxxxxx-SW1
enable secret xxxxxxx
line con 0
login
password xxxxxxx
line vty 0 15
login
password xxxxxxx
exit
int vlan 1
ip address 211.81.xxx+1.253 255.255.255.0
ip default-gateway 211.81.xxx+1.254
exit
copy run start
(For Switch3)
enable
conf t
hostname xxxxxx-SW3
enable secret xxxxxxx
username shie password xxxxxxx
line con 0
login
password xxxxxxx
line vty 0 15
login local
exit
int vlan 1
ip address 211.81.xxx+2.253 255.255.255.0
ip default-gateway 211.81.xxx+2.254
exit
copy run start
(For Router2)
刪除 Access List
enable
conf t
int f0/1
no ip access-group 101 in
int s0/1
no ip access-group 101 in
作業圖 I (switch1) show start
作業圖 II PC10 telnet switch1
作業圖 III PC10 telnet switch3
安全作業 PC6 tracert PC3
(For Router3)
刪除 Access List
enable
conf t
int f0/0
no ip access-group 101 in
int f0/1
no ip access-group 101 in
int s0/0
no ip access-group 101 in
int s0/2
no ip access-group 101 in
(For PC3)
ipconfig /ip 211.81.xxx+1.2 255.255.255.0
ipconfig /dg 211.81.xxx+1.254
(For PC6)
tracert 211.81.xxx+1.2
(For Switch 1)
en
show mac
conf t
int f0/2
shutdown
exit
exit
clear mac-address-table dynamic interface fastethernet 0/2
show mac
作業圖 IV Switch1 mac table
conf t
int f0/2
switchport mode access
switchport port-security maximum 2
switchport port-security mac-address 000c.4647.1234
switchport port-security mac-address 000c.4647.abcd
switchport port-security violation shutdown
no shut
exit
exit
copy run start
作業圖 V switch 1 show start
PART II VLAN
Refer:
http://mouse.oit.edu.tw/Books/Network2/CCNP8/Lab%2010.ppt
作業
(LAN 部分使用 208.31.xxx/24,
WAN 部分使用 186.41.xxx/24,
xxx代表學號末3碼,
學號末3碼超過250,使用末2碼)
左邊VLAN使用
VLAN1 : 208.31.xxx+4/24
VLAN3 : 208.31.xxx+6/24
VLAN8 : 208.31.xxx+11/24
右邊VLAN使用
VLAN2 : 208.31.xxx+5/24
VLAN4 : 208.31.xxx+7/24
(For Switch_1)
en
conf t
int f0/2
shut
no switchport port-security maximum 2
no switchport port-security mac-address 000c.4647.1234
no switchport port-security mac-address 000c.4647.abcd
no switchport port-security violation shutdown
no shut
exit
vlan 1 name Sales
vlan 3 name Admin
vlan 8 name Engineer
int f0/2
switchport access vlan 3
int range f0/3-5
switchport access vlan 3
int range f0/8-10
switchport access vlan 8
int f0/24
switchport mode trunk
CNTL/Z
show int trunk
show vlan
作業圖 VI
作業圖 VII
(For Router_2)
en
conf t
int f0/0.1
encapsulation dot1q 1
ip address 192.168.5.254 255.255.255.0
int f0/0.3
encapsulation dot1q 3
ip address 192.168.7.254 255.255.255.0
int f0/0.8
encapsulation dot1q 8
ip address 192.168.12.254 255.255.255.0
exit
router ospf 100
network 192.168.5.0 0.0.0.255 area 0
network 192.168.7.0 0.0.0.255 area 0
network 192.168.12.0 0.0.0.255 area 0
CNTL/Z
sh ip int b
sh ip route
(For Router_3)
en
conf t
int f0/0.1
encapsulation dot1q 1
ip address 192.168.6.254 255.255.255.0
int f0/0.2
encapsulation dot1q 2
ip address 192.168.8.254 255.255.255.0
exit
router ospf 100
network 192.168.6.0 0.0.0.255 area 0
network 192.168.8.0 0.0.0.255 area 0
CNTL/Z
sh ip int b
sh ip route
作業圖 VIII
(For Switch_3)
en
conf t
vlan 2 name Finance
int range f0/6-10
switchport access vlan 2
int f0/24
switchport mode trunk
CNTL/Z
show vlan
show int trunk
(For PC_2)
ipconfig /ip 192.168.5.1 255.255.255.0
ipconfig /dg 192.168.5.254
(For PC_3)
ipconfig /ip 192.168.7.1 255.255.255.0
ipconfig /dg 192.168.7.254
(For PC_6)
ipconfig /ip 192.168.6.1 255.255.255.0
ipconfig /dg 192.168.6.254
(For PC_2)
tracert 192.168.4.1 (PC_10)
tracert 192.168.7.1 (PC_3)
tracert 192.168.6.1 (PC_6)
作業圖 IX
|
本帖子中包含更多資源
您需要 登錄 才可以下載或查看,沒有帳號?立即註冊
x
|