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.
Configuration step |
Cisco IE 2000 IOS CLI command |
Cisco IE 3100 IOS XE CLI command |
|
---|---|---|---|
1 |
Enter global configuration mode. |
|
|
2 |
Create an SVI for a VLAN. In this example, an SVI is created for VLAN 10. |
|
|
3 |
Add a description to the SVI. |
|
|
4 |
Assign an IP address to the SVI. In this example the SVI is assigned the first address in a /24 subnetwork. |
|
|
5 |
Exit global configuration mode. |
|
Configuration step |
Cisco IE 2000 IOS CLI command |
Cisco IE 3100 IOS XE CLI command |
|
---|---|---|---|
1 |
Enter global configuration mode. |
|
|
2 |
Configure the interface for a port on the switch. In this example, Fast Ethernet port 1 is configured. |
|
|
3 |
Add a description to the port. |
|
|
4 |
Define the port as assigned only to a single VLAN. |
|
|
5 |
Assign the port to a VLAN. In this example, the port is assigned to VLAN 10. |
|
|
6 |
Turn off Dynamic Trunking Protocol (DTP) since this port is dedicated to VLAN 10. |
|
|
7 |
Exit global configuration mode. |
|