Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
2 VLAN0002 active Fa0/5
4 VLAN0004 active
5 VLAN0005 active
Switch#show vlan id 2
VLAN Name Status Ports
---- -------------------------------- --------- -------------
2 VLAN0002 active Fa0/5
5、创建SVI(交换虚拟接口)
步骤1 configure terminal 进入全局配置模式
步骤2 interface vlan vlan-id 输入想要为vlan vlan-id创建SVI 步骤3 no shutdown 打开SVI口