Updating bridge ports

Note: The procedures in this section describe manual fabric switch configuration, which is only required if you have NPS deployed on your system, and Cloud Pak for Data System version is 1.0.7.3 or earlier. Starting with 1.0.7.4, this step is automated on NPS systems, provided that the NPS nodes are added to the BOM.

Procedure

  1. Add the new house interface/port to the switch's list of bridge ports. Add the VLAN identifier to the list of accepted VIDs.

    The example shows appending the default 4080 VLAN. If the customer defines their own VLAN, the process is identical, only the VLAN is changed.

    The port name h0 should be the same unless there is only a single house facing port in the environment. If there is only a single link to the house, add the swp48 port instead.

    In a situation where there are two switches, an isl port will be also shown. This is the inter-switch link.

    The following example is from a single switch setup, so no isl port is present.

    cumulus@fabsw1a:/etc/network/interfaces.d$ sudo grep -e ports -e vids ./bridge.intf 
     	bridge-ports e1n1 e1n2 e1n3 e1n4 e2n1 e2n2 e2n3 e2n4 
     bridge-vids 4090 
     cumulus@fabsw1a:/etc/network/interfaces.d$ 
     cumulus@fabsw1a:/etc/network/interfaces.d$ sudo sed -i ’/bridge-ports/s/$/ h0/’ bridge.intf 
     cumulus@fabsw1a:/etc/network/interfaces.d$ sudo sed -i ’/bridge-vids/s/$/ 4080/’ bridge.intf 
     cumulus@fabsw1a:/etc/network/interfaces.d$ 
     cumulus@fabsw1a:/etc/network/interfaces.d$ sudo grep -e ports -e vids ./bridge.intf 
     bridge-ports e1n1 e1n2 e1n3 e1n4 e2n1 e2n2 e2n3 e2n4 h0 
     bridge-vids 4090 4080
     cumulus@fabsw1a:/etc/network/interfaces.d$
     
    Note: Ensure that you update both switches in the same way in an HA leaf pair.
  2. Clean up the following configuration:
    cumulus@fabsw1a:/etc/network/interfaces.d$ 
    cumulus@fabsw1a:/etc/network/interfaces.d$ sudo sed -i -e ’/bridge-allow-untagged/s/yes/no/’ bridge.intf
    cumulus@fabsw1a:/etc/network/interfaces.d$ sudo sed -i -e ’/bridge-pvid/d’ bridge.intf 
    cumulus@fabsw1a:/etc/network/interfaces.d$