Switch Ports

Switch ports can be auto-discovered using snmp network discovery. Or you can add switch ports in bulk using switch templates as discussed in next chapter.
Also, REST APIs make it simpler to add these programatically. Some of the enhancements below were added in v4.3.2.

Add/Edit page

The switch port View and Edit pages show connectivity for a switch port:

Switch-port settings 1
Port : Name of the switch port as found in auto-discovery or user generated.
Description: As found in auto-discovery or user generated.
Type : You can add type of port using this. Use + sign to add a new type.
Network Device : This would be a device with network switch value as checked.
Vlans : All the vlans this port belongs to.

Switch-port settings 2
Module : If this port is part of a module in a chassis based switch, the module association can be made here.
Asset : If port is part of FEX or similar asset connected to switch, that association can be made here. You can either assign to module or asset.
Network Switch 2nd : For stacked switches, this is the clustered switch. For paired switches, this is the second switch through which port can be managed.

Module, Asset and Network switch 2nd association can be done effectively using switch templates.

Up : Whether port is up or not.
Up admin : Whether port is administratively up or not.
Count : Count in number of ports.
Discovered type : This is the port type as discovered in auto-discovery. This field is read-only. It can be used to mark certain ports as not counted, delete those or ignore certain port types in auto-discovery.
Remote Port: If the port is connected to another switch port, you can make that association here. This can be auto-discovered as well.
Don’t change via api : If you override remote port connectivity manually, check this so auto-discovery or API doesn’t make this change automatically.
Tags : A comma separated list of tags you would like attributed to the switch port.

Switch-port settings 3
Mac addresses : Any MAC addresses and devices that are connected to the switch port and the VLAN associated with the MAC address.

Switch-port settings 4
Device direct connection : A device can be selected to create a direct connection to the switch port.

Adding a new switch from switch port add/edit page


When adding a new switch from switch port edit/add page, make sure to check “network switch” for the device, otherwise you will see an error message.

Switch port bulk operations


You can filter ports by up/down status, network switch or by discovered type. You can choose selected ports to be not counted or counted in the total as shown in the image.

Switch port count


In the rack layout view, the hover over shows the total “counted” ports and up ports for that switch.
Also, from the switch port list page, you can filter by switch and up/down status and it shows the count of filtered ports.

Switch port visualization


You can click on impact chart for a physical switch device and it will show all the ports, with connectivity to MAC to Device. Even virtual devices are shown as 2nd layer devices (connected to host or ? if host is unknown). You can click “follow remote ports” and it will show all remote port connectivity for switches connected.

How to represent stacked switches?

Add a device type “cluster” for the stack and all physical switches can be added to the cluster. Switch port network switch should be physical switch and “Network Switch 2nd” should be the clustered device. This is easier to add using the switch templates as discussed in next chapter.

How to represent FEX modules?


FEX modules can be added as Asset type “Fabric Extender” and then associated with the switch using asset device relations. Again, this is easier to add using the switch templates as discussed in next chapter.