2018年1月17日 星期三

ITP4926 Tutorial 1

1. What are the three layers in hierarchical network design? Suggest what kinds of network equipment should be used in each layer.
Layer         Network equipment
1                 Core Layer Router / L3 Switch (High Speed)
2                 Distribution Layer Router / L3 Switch
3                  Access Layer L2 Switch

2. What is a converged network?
Converged network integrates three network, data network, voice network and video network into one single network.

3. Circle all the collision domains and label each collision domain with a “C”. Circle all the broadcast
domains and label them with a “B”.

4. What are the 2 switch packet forwarding methods? Briefly explain each of them.

  •  Cut-Through Switching allows the switch to forward the frame before it is entirely received. At a minimum, the destination address of the frame must be read before the frame can be forwarded.


  •  Store-and- forward switch receives the entire frame, computes the CRC, and checks the frame length, if the CRC and frame length are valid the switch is then forwarded out the correct port.

5. (a) In order to configure a new switch, what kind of cable (straight-through, cross-over, rollover,
coaxial) is needed? State the ports that should be connected.
        A rollover cable is needed to connect the com-port of the PC to the console port of the router.
(b) Give the name of terminal emulation software that can be used as an emulation software to
establish a console session between a PC and a Cisco switch.
          putty / hyper-terminal

6. (a) Identify the different router command modes shown below.
User EXEC mode
Privileged EXEC mode
Global configuration mode
Specific configuration mode

(b) What command you should type in order to bring you from the User EXEC Mode to the Privileged EXEC Mode?
           enable/ en
(c) What command you should type in order to bring you from the Privileged EXEC Mode to the
Global Configuration Mode?
           config terminal / conf t
(d) What command you should type in order to change the name of the switch to SW1? In which
mode should this be typed?
            hostname SW1 , Global Configuration Mode
(e) Briefly describe the usage of the “show running-config” command.
            displays the active settings stored in the RAM

7. (a) In a switch, where is the following configuration files stored?
 running-configuration RAM
 startup-configuration NVRAM

(b) Write down the Cisco command for the following tasks:
(i) Save the running-configuration for use in the next reboot of the router.
        copy run start
(ii) Restore the startup-configuration into memory.
         copy start run
(iii) Set the encrypted enable password as swpasswd.
          enable secret swpasswd
(iv) Set the password for console port as conpasswd. [Only line need login]
          line console 0
           password conpasswd
            login
(v) Set the password for remote connection (telnet) as telpasswd.
             line vty 0 15
             password telpasswd
             login
(vi) Check the hardware configuration of a switch.
             show version
(vii) Display the Content Addressable Memory (CAM) table (i.e. MAC address table) of a switch.
               show mac-address- table // show mac address table
(viii) Reset a switch to factory default configuration
                erase startup-config 
                delete flash:vlan.dat 
                reload

8. Port security is a feature provided in a Cisco switch.
(a) How does port security access control?
Port security limits the number of valid MAC addresses allowed on a port.
The port does not forward packets with source addresses outside the group of defined addresses.

(b) List THREE violation modes that can be configure for port security in a Cisco switch.
Protect
Restrict
Shutdown

(c) Write down the commands to configure port security to all ports of a 24-port Cisco switch with
the following requirements, [access mode  port security]
  •  Each port can only connect to ONE PC
  •  The switch should learn the MAC address automatically when the PC attaches to the switch.
  •  For port security violation, the port should shutdown.
interface range fa0/1 – 24
switchport mode access
switchport port-security

switchport port-security mac-address sticky


沒有留言:

張貼留言