Interfaces | 481VLAN InterfacesVLANs are logical interfaces and are, by default, in Layer 2 mode. Physical interfaces and port channelscan be members of VLANs. For more information on VLANs and Layer 2, refer to Layer 2 and VirtualLANs (VLAN)FTOS supports Inter-VLAN routing (Layer 3 routing in VLANs). You can add IP addresses to VLANs anduse them in routing protocols in the same manner that physical interfaces are used. For more informationon configuring different routing protocols, refer to the chapters on the specific protocol.A consideration for including VLANs in routing protocols is that the no shutdown command must beconfigured. (For routing traffic to flow, the VLAN must be enabled.)Assign an IP address to an interface with the following command the INTERFACE mode:The following example shows a sample configuration of a VLAN participating in an OSPF process.interface Vlan 10ip address 1.1.1.2/24tagged GigabitEthernet 2/2-13tagged TenGigabitEthernet 5/0ip ospf authentication-key force10ip ospf cost 1ip ospf dead-interval 60ip ospf hello-interval 15no shutdown!Note: To monitor VLAN interfaces, use the Management Information Base for Network Management ofTCP/IP-based internets: MIB-II (RFC 1213). Monitoring VLAN interfaces via SNMP is supported only onE-Series.Note: Egress rate shaping and ingress rate policing cannot be simultaneously used on the same VLAN.Note: An IP address cannot be assigned to the Default VLAN, which, by default, is VLAN 1. To assignanother VLAN ID to the Default VLAN, use the default vlan-id vlan-id command.Command Syntax Command Mode Purposeip address ip-address mask [secondary] INTERFACE Configure an IP address and mask on the interface.• ip-address mask: enter an address indotted-decimal format (A.B.C.D) and the maskmust be in slash format (/24).• secondary: the IP address is the interface’sbackup IP address. You can configure up to eightsecondary IP addresses.