Configuring virtual local area networks (VLANs) - Metasys - LIT-12012458 - Field Device - 13.0

Metasys IP Networks for BACnet/IP Controllers Technical Bulletin

Brand
Metasys
Document type
Technical Bulletin
Document number
LIT-12012458
Version
13.0
Revision date
2023-10-23
Product status
Active
Language
English

VLANs isolate a broadcast domain in a computer network from the rest of the computer network. For the Metasys BACnet/IP network, when possible, create separate VLANs for each network engine and the IP controllers that the network engine supervises. This approach limits the scope of the BACnet broadcasts and prevents unintended IP controllers from being registered with a network engine . Physical ports on a managed switch must be assigned to a VLAN to switch packets within the VLAN. For each VLAN, an SVI is also configured to route packets between VLANs without the use of a router. With SVIs, the switch recognizes the packet destinations that are local to the sending VLAN and switches those packets while packets destined for different VLANs are routed to the appropriate VLAN. There is one-to-one mapping between a VLAN and SVI, such that only one SVI can be created for each VLAN per managed switch.

Table 1. Configuring an SVI for a VLAN on a Cisco managed switch

Configuration step

Cisco IOS CLI command

1

Enter global configuration mode.

Switch# configure terminal

2

Create an SVI for a VLAN. In this example, an SVI is created for VLAN 10.

Switch(config)# interface vlan 10

3

Add a description to the SVI.

Switch(config-if)# description HVAC_VLAN10

4

Assign an IP address to the SVI. In this example the SVI is assigned the first address in a /24 subnetwork.

Switch(config-if)# ip address 172.16.10.1 255.255.255.0

5

Exit global configuration mode.

Switch(config-if)# end

Table 2. Assigning a VLAN to a physical switch port on a Cisco managed switch

Configuration step

Cisco IOS CLI command

1

Enter global configuration mode.

Switch# configure terminal

2

Configure the interface for a port on the switch. In this example, Fast Ethernet port 1 is configured.

Switch(config)# interface FastEthernet1/1

3

Add a description to the port.

Switch(config-if)# description HVAC_PORT1

4

Define the port as assigned only to a single VLAN.

Switch(config-if)# switchport mode access

5

Assign the port to a VLAN. In this example, the port is assigned to VLAN 10.

Switch(config-if)# switchport access vlan 10

6

Turn off Dynamic Trunking Protocol (DTP) since this port is dedicated to VLAN 10.

Switch(config-if)# switchport nonegotiate

7

Exit global configuration mode.

Switch(config-if)# end