Configuración de la VLAN y asociación a una interfaz física
Comando | Propósito: |
FTOS#configure | Entrar al modo de configuración. |
FTOS(conf)#interface vlan 20 | Entrar y crear la interfaz de la VLAN. |
FTOS(conf-if-vl-20)#description Finance | Crear una descripción de la VLAN para su identificación. |
FTOS(conf-if-vl-20)#tagged te 0/1 | Asociar un puerto físico con la VLAN. Las opciones están etiquetadas (802.1Q) o sin etiquetar. |
FTOS(conf-if-vl-20)#end | Salir y volver al modo privilegiado. |
FTOS# show vlan | Verificar la configuración de la VLAN. |
FTOS#configure | Entrar al modo de configuración. |
FTOS#(conf) no interface vlan 20 | Comando para eliminar la VLAN después de eliminar todas las asociaciones del puerto. |
Comando | Propósito: |
FTOS#configure | Entrar al modo de configuración. |
FTOS(conf)#interface te 0/1 | Ingresar al nivel de la interfaz física. |
FTOS(conf-if-te-0/1)# switchport | Configurar la interfaz de capa 2. Permite que asociar la VLAN con o sin etiqueta. |
FTOS#show vlan
Códigos Códigos: *: Default VLAN, G: GVRP VLANs, R: Remote Port Mirroring VLANs, P: Primary, C: Community, I: Isolated U: sin etiquetar, x-Dot1x sin etiquetar
, x-Dot1x etiquetada
o-OpenFlow sin etiquetar, o-OpenFlow etiquetada
G-GVRP etiquetada, M-VLAN-Stack, H-VSN etiquetada
i-Internal sin etiquetar, i-Internal etiquetada, v-VLT sin etiquetar, v-VLT etiquetada
Número de NUM Descripción Q puertos
* 1 inactivo U Te 0/0
20 inactivo finanzas T 0/1