You are on page 1of 25

Chng 4:

B nh tuyn v
cu hnh b nh tuyn

Hanoi University of Industry 1 Faculty of Electronics Engineering


Hanoi University of Industry 2 Faculty of Electronics Engineering
Cc thnh phn ca router
CPU - Thc thi cc lnh ca h iu hnh
Random access memory (RAM) - Cha bn copy ca flie cu
hnh, lu tr bng nh tuyn. Thng tin trn RAM s mt khi
mt in
Read-only memory (ROM) - Cha chng trnh khi ng,
kim tra phn cng.
Non-volatile RAM (NVRAM) Lu tr file cu hnh khi khi
ng ( startup configuration)( v d a ch IP, tn router, giao
thc nh tuyn..)
Flash memory - Cha h iu hnh (Cisco IOS)
Interfaces C rt nhiu giao din vt l kt ni mng:
Ethernet / FastEthernet , Serial, cc giao din qun l: AUX,
Console

Hanoi University of Industry 3 Faculty of Electronics Engineering


Cc thnh phn ca router

Hanoi University of Industry 4 Faculty of Electronics Engineering


Cc thnh phn ca router

Hanoi University of Industry 5 Faculty of Electronics Engineering


Kt ni vi cc cng qun l

Hanoi University of Industry 6 Faculty of Electronics Engineering


Kt ni vi cc cng qun l
Cu hnh tham s vi
Hyper terminal

Hanoi University of Industry 7 Faculty of Electronics Engineering


Tin trnh khi ng ca Router

Hanoi University of Industry 8 Faculty of Electronics Engineering


Tin trnh khi ng ca router

Hanoi University of Industry 9 Faculty of Electronics Engineering


Cc cu hnh c bn

Hanoi University of Industry 10 Faculty of Electronics Engineering


Cc ch CLI (Command Line)

chuyn ch dng cp lnh enable, configured


terminal, exit hoc CTRL +Z

Hanoi University of Industry 11 Faculty of Electronics Engineering


Cu hnh tn, Password v Banner

Router(config)# enable password password

Router(config)# enable secret password


Router(config)# service password - encryption

Hanoi University of Industry 12 Faculty of Electronics Engineering


Cu hnh giao din

Hanoi University of Industry 13 Faculty of Electronics Engineering


Cu hnh nh tuyn tnh

Hanoi University of Industry 14 Faculty of Electronics Engineering


Cu hnh nh tuyn ng RIP

Hanoi University of Industry 15 Faculty of Electronics Engineering


ACL ( ACCESS CONTROL LIST)
C hai loi ACL
- ACL s
- ACL kiu t tn
Mi loi c hai kiu: Standard v Extended
Cu hnh ACL:
- Thit lp ACL
- t ACL ln giao din ca Router

Hanoi University of Industry 16 Faculty of Electronics Engineering


Cu hnh ACL standard
Router (config)#
access-list
access-list access-list-number
access-list-number
{deny
{deny || permit} source [source-wildcard]
permit} source [source-wildcard] [log]
[log]

Router (config-if)#
ip
ip access-group access-list-number {{ in
access-group access-list-number in || out
out }}

Hanoi University of Industry 17 Faculty of Electronics Engineering


V d v ACL
Router(config)# access-list 1 permit 0.0.0.0 255.255.255.255
Router(config)# access-list 1 permit any

Router(config)# access-list 1 permit 172.30.16.29 0.0.0.0


Router(config)# access-list 1 permit host 172.30.16.29

Hanoi University of Industry 18 Faculty of Electronics Engineering


ACL Extended

Hanoi University of Industry 19 Faculty of Electronics Engineering


Hanoi University of Industry 20 Faculty of Electronics Engineering
Cu hnh VLAN
Trunk link

Access link Access link

Hanoi University of Industry 21 Faculty of Electronics Engineering


Cu hnh VLAN
Switch#vlan database
Switch(vlan)#vlan vlan_id name vlan_name
Switch(vlan)#exit

a port vo VLAN
Switch(config)#interface fastethernet x/y
Switch(config-if)#switchport access vlan vlan_id
Switch(config-if)#switchport mode access

Hanoi University of Industry 22 Faculty of Electronics Engineering


Cu hnh nh tuyn gia cc VLAN

Hanoi University of Industry 23 Faculty of Electronics Engineering


Cu hnh nh tuyn gia cc VLAN

Router(config)#interface fastethernet port-number.


subinterface-number

Router(config-if)#encapsulation dot1q vlan-number

Router(config-if)#ip address ip-address subnet-mask

Hanoi University of Industry 24 Faculty of Electronics Engineering


Cu hnh VTP
Switch(vlan)#vtp domain domain_name
Switch(vlan)#vtp password password
Switch(vlan)#vtp {client | server | transparent}

Hanoi University of Industry 25 Faculty of Electronics Engineering

You might also like