info_i_25x25.png See important information about Ubiquiti Devices and KRACK Vulnerability in this article. We will update this document as more information becomes available.

EdgeMAX - crear interfaces virtuales con VLAN IDs

Resumen


Los lectores aprenderán a configurar VLANs a través de interfaces Ethernet.

Pasos


  1. Los siguientes comandos crean un ID de VLAN de VIF (Virtual Interface) del 1001 en la interfaz eth0:

    configure
    set interfaces ethernet eth0 vif 1001 address 172.16.4.1/24 
    commit
    exit
    

     

  2. Para mostrar las configuraciones de las interfaces Ethernet, utilice el Mostrar interfaces ethernet comandos:

    ubnt@ubnt:~$ show interfaces ethernet 
    Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
    Interface    IP Address                        S/L  Description                 
    ---------    ----------                        ---  -----------                 
    eth0         10.1.0.124/23                     u/u                              
    eth0.1001    172.16.4.1/24                     u/u                              
    eth1         172.16.2.5/24                     u/u                              
    eth2         172.16.3.5/24                     u/u                              
    ubnt@ubnt:~$