annotations: []
smart_annotations: []
nodes:
- id: n0
  label: PC-LAB
  node_definition: iol-xe
  image_definition: null
  ram: null
  cpus: null
  cpu_limit: null
  data_volume: null
  boot_disk_size: null
  parameters: {}
  tags: []
  hide_links: false
  x: 0
  y: 0
  configuration:
  - name: ios_config.txt
    content: |
      hostname PC-LAB
      no ip domain lookup
      service timestamps log datetime msec
      logging buffered 16000
      !
      interface Ethernet0/0
       ip address 192.168.10.10 255.255.255.0
       no shutdown
      !
      !
      end
  interfaces:
  - id: i0
    label: Loopback0
    mac_address: null
    type: loopback
  - id: i1
    label: Ethernet0/0
    slot: 0
    type: physical
    mac_address: null
  - id: i2
    label: Ethernet0/1
    slot: 1
    type: physical
    mac_address: null
  - id: i3
    label: Ethernet0/2
    slot: 2
    type: physical
    mac_address: null
  - id: i4
    label: Ethernet0/3
    slot: 3
    type: physical
    mac_address: null
- id: n1
  label: SW1
  node_definition: ioll2-xe
  image_definition: null
  ram: null
  cpus: null
  cpu_limit: null
  data_volume: null
  boot_disk_size: null
  parameters: {}
  tags: []
  hide_links: false
  x: 180
  y: 0
  configuration:
  - name: ios_config.txt
    content: |
      hostname SW1
      no ip domain lookup
      service timestamps log datetime msec
      logging buffered 16000
      !
      vlan 10
       name LAN10
      !
      interface Ethernet0/0
       switchport mode access
       switchport access vlan 10
       switchport port-security
       switchport port-security maximum 1
       switchport port-security violation shutdown
       switchport port-security mac-address 0200.0000.f001
       no shutdown
      !
      interface Ethernet0/1
       switchport mode access
       switchport access vlan 10
       no shutdown
      !
      !
      end
  interfaces:
  - id: i0
    label: Loopback0
    mac_address: null
    type: loopback
  - id: i1
    label: Ethernet0/0
    slot: 0
    type: physical
    mac_address: null
  - id: i2
    label: Ethernet0/1
    slot: 1
    type: physical
    mac_address: null
  - id: i3
    label: Ethernet0/2
    slot: 2
    type: physical
    mac_address: null
  - id: i4
    label: Ethernet0/3
    slot: 3
    type: physical
    mac_address: null
- id: n2
  label: GW
  node_definition: iol-xe
  image_definition: null
  ram: null
  cpus: null
  cpu_limit: null
  data_volume: null
  boot_disk_size: null
  parameters: {}
  tags: []
  hide_links: false
  x: 360
  y: 0
  configuration:
  - name: ios_config.txt
    content: |
      hostname GW
      no ip domain lookup
      service timestamps log datetime msec
      logging buffered 16000
      !
      interface Ethernet0/0
       ip address 192.168.10.1 255.255.255.0
       no shutdown
      !
      !
      end
  interfaces:
  - id: i0
    label: Loopback0
    mac_address: null
    type: loopback
  - id: i1
    label: Ethernet0/0
    slot: 0
    type: physical
    mac_address: null
  - id: i2
    label: Ethernet0/1
    slot: 1
    type: physical
    mac_address: null
  - id: i3
    label: Ethernet0/2
    slot: 2
    type: physical
    mac_address: null
  - id: i4
    label: Ethernet0/3
    slot: 3
    type: physical
    mac_address: null
links:
- id: l0
  n1: n0
  n2: n1
  i1: i1
  i2: i1
  conditioning: {}
  label: PC-LAB-Ethernet0/0<->SW1-Ethernet0/0
- id: l1
  n1: n1
  n2: n2
  i1: i2
  i2: i1
  conditioning: {}
  label: SW1-Ethernet0/1<->GW-Ethernet0/0
lab:
  title: CCNA 07C - port_security
  description: استعادة منفذ بعد Port Security mismatch
  notes: |-
    استعادة منفذ بعد Port Security mismatch

    من PC-LAB احصل على MAC الواجهة باستخدام show interfaces Ethernet0/0 ثم نفّذ Ping. على SW1 افحص show port-security interface Ethernet0/0.

    الإصلاح
    بعد التأكد من MAC الشرعي، احذف switchport port-security mac-address 0200.0000.f001 وأضف MAC الحقيقي بنفس الأمر. استعد المنفذ بـ shutdown ثم no shutdown.

    التحقق
    تأكد من Secure-up وعمل Ping وبقاء Port Security. 0200.0000.f001 هنا قيمة خاطئة تدريبية.
  timestamp: 1795104000.0
  version: 0.3.0
