Configuration Guide Vol. 1


34.2.2 Configuring Interfaces

Points to note

The example below shows how to set an IPv4 address for a VLAN. To do so, switch to interface configuration mode.

Command examples

  1. (config)# interface vlan 100

    Switches to interface configuration mode for VLAN ID 100.

  2. (config-if)# ip address 192.168.1.1 255.255.255.0

    Sets IPv4 address 192.168.1.1 and subnet mask 255.255.255.0 for VLAN ID 100.