Full Automation Configuration Example

The following example shows how to use full automation (see Configuring Extended Edge Switching Topology with Full Automation) to set up a controlling bridge (CB) with three attached bridge port extenders (BPEs) in a two-tier structure (see CB with Two-Tier BPEs Topology).
Click to expand in new window
CB with Two-Tier BPEs Topology
  1. Attach BPEs.
  2. Check for the presence default.xsf:
    # ls /usr/local/cfg
    drwxrwxrwx    2 root     root          1024 Apr 10 15:01 cc_logs
    drw-r--r--    2 root     root          1024 Dec  4 17:43 lost+found
    -rw-r--r--    1 admin    admin       442088 Apr 29 18:05 primary.cfg
    -rw-r--r--    1 admin    admin       451011 Mar 14 13:27 primary_nonslotted.cfg
    -rw-r--r--    1 admin    admin      1256747 Feb 26 05:24 primary_slotted.cfg
    drw-r--r--    4 root     root          1024 Feb 26 05:23 ssl
    drwxr-xr-x    2 root     root          1024 May 22 14:58 vmt
  3. Remove CB configuration:
    # unconfigure switch all
    Restore all factory defaults and reboot? (y/N) Y

    When the CB finishes rebooting, connected BPEs, extended slots, and LAGs on cascade ports are automatically configured.

  4. Apply Layer 2 configuration:
    Note

    Note

    Due to unconfiguring the switch, a series of questions appear to apply the desired level of security configuration. Respond to the prompts as desired. For more information, see Using Safe Defaults Mode.

    # configure vlan Default delete port all
    # create vlan v100 tag 100
    # configure vlan v100 add port 130:1-2, 120:1-2, 1:7 tagged
  5. If required, you can use standard show commands to troubleshoot the network from the CB using the counters:
# show port 130:49-50, 120:49-50, 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
====== ===== ======= ========== ========= ========== ======= ====== ======= ======
130:1  A   97045942 6209457963         0          0       0      0       0     35
130:2  R          0          0         0          0       0      0       0      0
120:1  A         36       4715  97001731 6206623104       0      0       0     35
120:2  A   95802538 6897726741  95784987 7279063658       0    512       0    697
1:7     A   97045942       4715  97001731 6206623104       0      0       0      0
====== ===== ======== ========= ========= ========== ====== ====== ======= ======
          > in Port indicates Port Display Name truncated past 8 characters
          > in Count indicates value exceeds column width. Use 'wide' option or '0' to clear.
          Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback

# show port 130:49-50, 120:49-50, 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
========================================================================================
130:49   119682459         0         0         0         0         0         0        45
130:50           0         0         0         0         0         0         0         0
120:49           0         0         0         0         0         0         0        45
120:50   119803233         0         0         0         0         0         0       923
1:7      119803233         0         0         0         0         0         0       923