VLAN

 

VLAN

#en
#conf t
#Vlan <Vlan-ID> exp : vlan 10
#Name <name xxx>
#exit (untuk mengaktifkan vlan, kalau tidak exit maka tidak di save pengaturanya)

untuk menerapkan di interface

#en
#conf t fa/gig (port number) ex fa 0/1 or gig 0/1
#switchport mode access
#switchport access <Vlan-ID> exp : vlan 10
#exit

Delete Vlan

#no vlan  <Vlan-ID> exp : vlan 10

1. Check VLAN Summary


show vlan brief
  • Displays all VLANs configured on the device, their names, status, and associated ports.

2. Verify Interface VLAN Assignment


show interfaces [interface-id] switchport
  • Replace [interface-id] with the specific interface (e.g., GigabitEthernet0/1).
  • This shows:
    • Administrative and operational mode (e.g., access or trunk).
    • VLAN assigned to the interface.

3. Check VLAN Trunking Information

show interfaces trunk
  • Displays:
    • Interfaces in trunk mode.
    • Allowed VLANs on the trunk.
    • Native VLAN for the trunk.

4. View VLAN in the Spanning Tree


show spanning-tree vlan [vlan-id]
  • Replace [vlan-id] with the VLAN you want to check.
  • Displays the spanning-tree topology for the specified VLAN.

5. Verify the Running VLAN Configuration


show running-config
  • Look for the VLAN configuration under the relevant interface or VLAN sections.

6. Check VLAN Status in the Database

show vlan
  • Provides more details, including VLAN IDs, names, and status (active/suspended).

Share:

0 Comments:

Posting Komentar