• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Lỗi do đâu?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lỗi do đâu?

    Em đã gán Ip và subnet mask cho 4 vlan:
    vlan 1 192.168.1.1 255.255.255.0
    vlan 2 192.168.2.1 255.255.255.0
    vlan 3 192.168.3.1 255.255.255.0
    vlan 4 192.168.4.1 255.255.255.0
    Sau khi gán xong đã ghi bằng lệnh write mem đã báo ok nhưng khi gõ lệnh show run thì vẫn báo là zero:
    Current configuration : 1966 bytes
    !
    version 12.1
    no service pad
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname Switch
    !
    !
    ip subnet-zero
    !
    !
    spanning-tree mode pvst
    no spanning-tree optimize bpdu transmission
    spanning-tree extend system-id
    !
    !
    !
    !
    interface FastEthernet0/1
    --More--
    :mad:

  • #2
    Lệnh show run không cho biết có những vlan nào được cấu hình. Muốn xem trên switch có những vlan nào được cấu hình, anh nên dùng lệnh

    #show vlan

    Comment


    • #3
      show vlan thì nó báo dúng như những gì mình cấu hình là gán cho các port cho mỗi vlan. Ở đây mình muốn xem mình đã gán IP và subnet mask cho các vlan, nhưng không được, cũng không hiểu vì sao?

      Comment


      • #4
        bạn thử dùng lệnh:
        #show ip int brief

        Comment

        Working...
        X