Configuration Example

The following example show how to set up a controlling bridge (CB) with two attached bridge port extenders (BPEs) with the topology shown in CB with two BPEs Topology.
Click to expand in new window
CB with two BPEs Topology
GUID-2CF0AA6E-A919-4C3F-9EDE-526523738DBF-low.png
  1. On the CB, enable VPEX mode:
    X670G2-48x-4q.1 # enable vpex
    X670G2-48x-4q.1 # reboot
    Are you sure you want to reboot the switch? (y/N) Yes
    Slot-1 VPEX X670G2-48x-4q.1 #
    Note

    Note

    After reboot, command prompt changes to show that you are in VPEX mode.
  2. Create LAGs between CB and BPEs:
    Slot-1 VPEX X670G2-48x-4q.1 # enable sharing 1:10 group 1:10-1:11
    Slot-1 VPEX X670G2-48x-4q.2 # enable sharing 1:20 group 1:20-1:21
  3. Configure slot identifiers associated with BPEs:
    Slot-1 VPEX X670G2-48x-4q.1 # configure vpex port 1:10 slot 33
    WARNING: This command will remove VLAN membership from the
             port 1:10.
             Do you want to continue? (y/N)Yes
    
    Slot-1 VPEX X670G2-48x-4q.2 # configure vpex port 1:20 slot 34
    WARNING: This command will remove VLAN membership from the
             port 1:20.
             Do you want to continue? (y/N)Yes
    
    Slot-1 VPEX X670G2-48x-4q.3 # show slot
    Slots    Type                 Configured           State       Ports   Flags
    --------------------------------------------------------------------------------
    Slot-1   X670G2-48x-4q        X670G2-48x-4q        Operational   64    M
    Slot-33  V400-48p-10GE4                            Operational   52
    Slot-34  V400-48p-10GE4                            Operational   52
    Flags : M - Backplane link to Master is Active
            B - Backplane link to Backup is also Active
            D - Slot Disabled
            I - Insufficient Power (refer to "show power budget")
    
    Slot-1 VPEX X670G2-48x-4q.9 # show vpex
    Virtual Port Extender: Enabled
    Cascade
    Port     Slot
    =============
    1:10     33
    1:20     34
    Note

    Note

    Observe that the show slot command shows the CB as slot 1 with the two BPEs as slots 33 and 34.
    Note

    Note

    Observe that the show vpex command shows that ports 1:10 and 1:20 are the cascade ports connecting to the BPEs.
  4. Apply Layer 2 configuration:
    Slot-1 VPEX X670G2-48x-4q.1 # configure vlan Default delete port all
    Slot-1 VPEX X670G2-48x-4q.2 # create vlan v100 tag 100
    Slot-1 VPEX X670G2-48x-4q.3 # configure vlan v100 add port 33:1-2, 34:1-2, 1:7 tagged
  5. If required, you can use standard show commands to troubleshoot the network from the CB using the counters:
    Slot-1 VPEX X670G2-48x-4q.3 # show port 33:1-2, 34:1-2, 1:7 statistics no-refresh
    Port  Link   Tx Pkt  Tx Byte  Rx Pkt  Rx Byte  Rx Pkt  Rx Pkt  Tx Pkt  Tx Pkt
          State  Count   Count    Count   Count    Bcast   Mcast   Bcast   Mcast
    ========= ===== =========== =========== =========== =========== =========== 
    33:1  R      0       0         0       0        0       0       0       0
    33:2  R      0       0         0       0        0       0       0       0
    34:1  R      0       0         0       0        0       0       0       0
    34:2  R      0       0         0       0        0       0       0       0
    1:7   R      0       0         0       0        0       0       0       0
    ========= ===== =========== =========== =========== =========== ===========
    Slot-1 VPEX X670G2-48x-4q.13 # show port 33:1-2, 34:1-2, 1:7 qosmonitor no-refresh
    Port Qos Monitor
    Port         QP1      QP2      QP3      QP4      QP5      QP6      QP7      QP8
                 Pkt      Pkt      Pkt      Pkt      Pkt      Pkt      Pkt      Pkt
                Xmts     Xmts     Xmts     Xmts     Xmts     Xmts     Xmts     Xmts
    ================================================================================
    33:1           0        0        0        0        0        0        0        0
    33:2           0        0        0        0        0        0        0        0
    34:1           0        0        0        0        0        0        0        0
    34:2           0        0        0        0        0        0        0        0
    1:7            0        0        0        0        0        0        0        0