Chào, Khách!
  1. trungqn1
    Offline
    trungqn1   [390/162]
    Đề bài:
    - Mở cổng fa0/0 và fa0/1 trên router.
    - Đặt IP cho các cổng vừa mở.
    - Cấu hình dịch vụ telnet trên router.
    - Telnet vào Router đã được chỉ định.
    Mình đã test thành công.
    Lời giải:
    1.Mở cổng fa0/0 và fa0/1 trên router và đặt IP cho các cổng vừa mở.

    Router>ena
    Router>enable
    Router#conf t
    Router#conf terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#en
    Router(config)#ena
    Router(config)#enable pas
    Router(config)#enable password 123456
    Router(config)#int
    Router(config)#interface fa0/0
    Router(config-if)#ip ad
    Router(config-if)#ip address 192.168.1.1 255.255.255.0
    Router(config-if)#no sh
    Router(config-if)#no shutdown

    Router(config-if)#
    %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

    %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

    Router(config-if)#exit
    Router(config)#int
    Router(config)#interface fa0/1
    Router(config-if)#ip add
    Router(config-if)#ip address 10.21.11.1 255.255.255.0
    Router(config-if)#no shu
    Router(config-if)#no shutdown

    %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

    %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

    Router(config-if)#exit
    Router(config)#exit
    Router#
    %SYS-5-CONFIG_I: Configured from console by console

    Router#exit

    Router con0 is now available

    Press RETURN to get started.

    Router>

    2. Cấu hình dịch vụ telnet trên router.
    Router>ena
    Router>enable
    Password:
    Router#conf t
    Router#conf terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#line vt
    Router(config)#line vty 0 15
    Router(config-line)#pass
    Router(config-line)#password 123456
    Router(config-line)#login
    Router(config-line)#exit
    Router(config)#exit
    Router#
    %SYS-5-CONFIG_I: Configured from console by console

    Router#

    3.Telnet vào Router đã được chỉ định.

    PC>telnet 192.168.1.1
    Trying 192.168.1.1 ...Open


    User Access Verification

    Password:
    Router>ena
    Router>enable
    Password:
    Router#conf t
    Router#conf terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#exit
    Router#exit

    [Connection to 192.168.1.1 closed by foreign host]
    PC>OK

    creadit by trungqn1

    Chúc các bạn thành công.
    thân!
    integer, Gynnysunboy thích bài này.
  2. sunboy
    Offline
    sunboy   [1.616/1.340]
    Đề có telnet vô Switch không nhỉ.... :040:
  3. trungqn1
    Offline
    trungqn1   [390/162]
    phần này có thời gian là 5 phút nên e nghĩ chỉ telnet vào router thôi a ah.Hi vọng a sunboy sẽ nhường cho đội e nha.E còn gà lắm.hihi
  4. xwongsmen
    Offline
    xwongsmen   [2/0]
    mình muốn hỏi là bước này sẽ giải quyết như thế nào trên soft GNS3

    "PC>telnet 192.168.1.1
    Trying 192.168.1.1 ...Open


    User Access Verification

    Password:
    Router>ena
    Router>enable
    Password:
    Router#conf t
    Router#conf terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#exit
    Router#exit

    [Connection to 192.168.1.1 closed by foreign host]
    PC>OK"

    Cảm ơn
  5. metan0112
    Offline
    metan0112   [53/9]
    con nai già ngơ ngác kìa @@
  6. takechij
    Offline
    takechij   [386/165]
    trên soft GNS3 thì bạn có thể dùng máy ảo trên vmware hoặc dùng máy ảo của GNS3 (chạy linux) để connect đến
    thực ra việc bạn mở cửa sổ console trên GNS3 để cấu hình, đó chính là telnet rồi