VLAN Interface

The switch also supports classic L3 VLAN interfaces.

Configuration Commands

Configure the VLAN:

vlan VLAN

Create and enable the VLAN interface, and assign it an IP address:

interface vlan VLAN
ip address IP-ADDR/SUBNET
no shutdown

Show commands to validate functionality:

show vlan [VLAN|interface IFACE|summary]

Example Output

vlan 10
exit
int 1/1/1
vlan access 10
int vlan 10
ip address 10.0.0.1/24
no shutdown
end
108 bytes from 10.0.0.101: icmp_seq=4 ttl=64 time=2.07 ms
108 bytes from 10.0.0.101: icmp_seq=5 ttl=64 time=1.79 ms

Expected Results

  1. Administrators can configure the VLAN
  2. Administrators can enable the interface and associate it with the VLAN
  3. Administrators can create an IP-enabled VLAN interface, and it is up
  4. Administrators validate the configuration is correct
  5. Administrators can ping from the switch to the client and from the client to the switch

Back to Index