Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.

EX2300 TCAM Problem (show pfe filter hw)

  • 1.  EX2300 TCAM Problem (show pfe filter hw)

    Posted 12-21-2023 08:25

    Hello

    I'm confused about the fliter on the ex2300, there's a problem with the TCAM utilization. 

     
    I have created my filters so far that according to the output of the "show pfe filter hw" they are not active on Hardware Instance:1 (Programmed: NO) - and active on Hardware Instance:2 (programmed:yes).

    Can anyone explain me please - what is Hardwareinstance 1/2 on a non VC standalone ex2300?

    I know, the Problem is:
     + Total TCAM entries available: 161
      + Total TCAM entries needed   : 472

    But what is Hardwareinstance? Because - this filter is installed only on hardwareinstance 2 - and, it is working.
    I am confused,
    thank you
    greetings
    uwe

    Slot 0
    
    ======================
    Filter index   : 1
    ======================
    
    - Filter name  : MYACL
    
    + Hardware Instance : 1
      + Hardware key (struct brcm_dfw_hw_key_t):
        - Type          : IRACL
        - Vlan id       : 0
        - Direction     : ingress
        - Protocol      : 2 (IPv4)
        - Port class id : 0
        - Class id      : 0
        - Loopback      : 1
        - Port          : 0(xe-1)
        - Vlan tag      : 0
        - Non-overflow  : 1
      + FP usage info (struct brcm_dfw_fp_t):
        - Group                           : IFP iRACL group (33)
        - My Mac                          : 00:00:00:00:00:00
        - Loopback Reference Count        : 00000001
        - IFL Type                        : unknown (0)
        + List of tcam entries            : [ total: 0; ]
            - Pipe: 0; []
        + List of ranges                  : [ total: 0; ]
            - Pipe: 0 []
        + List of interface match entries : [ total: 0; ]
            - Pipe: 0 []
        + List of dot1q-tag match entries : [ total: 0; ]
            - Pipe: 0 []
        - List of l3 ifl index entries    : [ total: 0; ]
        + List of vfp tcam entries        : [ total: 0; ]
            - Pipe: 0 []
      + Misc info (struct brcm_dfw_misc_info_t):
        - List of <anlz_id, entry_id> : [ total: 0; ]
      + Bind point info (union brcm_dfw_bind_point_info_t):
        + Loopback      : CPU Traffic
      + Programmed: NO
      + BD ID     : 205
      + Total TCAM entries available: 161
      + Total TCAM entries needed   : 472
      + Term Expansion:
        - Term    1: will expand to    72 terms: Name "1234-ALLOW"
        - Term    2: will expand to     1 term : Name "1235-ALLOW"
        - Term    3: will expand to     5 terms: Name "1236-LIMIT"
        - Term    4: will expand to     2 terms: Name "1237-ALLOW"
        - Term    5: will expand to     3 terms: Name "1238-ALLOW"
        - Term    6: will expand to    29 terms: Name "1239-ALLOW"
        - Term    7: will expand to     1 term : Name "1240-ALLOW"
        - Term    8: will expand to     1 term : Name "1241-ALLOW"
        - Term    9: will expand to     1 term : Name "1242-ALLOW"
        - Term   10: will expand to     2 terms: Name "1243-ALLOW"
        - Term   11: will expand to     1 term : Name "DENY-OTHER"
      + Term TCAM entry requirements:
        - Term    1: needs   288 TCAM entries: Name "1234-ALLOW"
        - Term    2: needs     4 TCAM entries: Name "1235-ALLOW"
        - Term    3: needs    20 TCAM entries: Name "1236-LIMIT"
        - Term    4: needs     8 TCAM entries: Name "1237-ALLOW"
        - Term    5: needs    12 TCAM entries: Name "1238-ALLOW"
        - Term    6: needs   116 TCAM entries: Name "1239-ALLOW"
        - Term    7: needs     4 TCAM entries: Name "1240-ALLOW"
        - Term    8: needs     4 TCAM entries: Name "1241-ALLOW"
        - Term    9: needs     4 TCAM entries: Name "1242-ALLOW"
        - Term   10: needs     8 TCAM entries: Name "1243-ALLOW"
        - Term   11: needs     4 TCAM entries: Name "DENY-OTHER"
      + Total TCAM entries available: 161
      + Total TCAM entries needed   : 472
    
    + Hardware Instance : 2
      + Hardware key (struct brcm_dfw_hw_key_t):
        - Type          : IRACL
        - Vlan id       : 0
        - Direction     : ingress
        - Protocol      : 2 (IPv4)
        - Port class id : 0
        - Class id      : 4
        - Loopback      : 0
        - Port          : 0(xe-1)
        - Vlan tag      : 0
        - Non-overflow  : 0
      + FP usage info (struct brcm_dfw_fp_t):
        - Group                           : IFP iRACL group (33)
        - My Mac                          : 00:00:00:00:00:00
        - Loopback Reference Count        : 00000000
        - IFL Type                        : unknown (0)
        + List of tcam entries            : [ total: 236; ]
            - Pipe: 0; [102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
     147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 12
    4 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 1
    74 174 175 176 177 178 179 175 176 177 178 179 180 181 180 181 182 183 184 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
    213 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 214 215 215 216 216 217 218 217 218 219 219 ]
        + List of ranges                  : [ total: 0; ]
            - Pipe: 0 []
        + List of interface match entries : [ total: 0; ]
            - Pipe: 0 []
        + List of dot1q-tag match entries : [ total: 0; ]
            - Pipe: 0 []
        - List of l3 ifl index entries    : [ total: 1; 548 (4) ]
        + List of vfp tcam entries        : [ total: 0; ]
            - Pipe: 0 []
      + Misc info (struct brcm_dfw_misc_info_t):
        - List of <anlz_id, entry_id> : [ total: 0; ]
      + Bind point info (union brcm_dfw_bind_point_info_t):
        + Overflow Vlan : 4
      + Programmed: YES
      + BD ID     : 203
      + Total TCAM entries available: 161
      + Total TCAM entries needed   : 118
      + Term Expansion:
        - Term    1: will expand to    72 terms: Name "1234-ALLOW"
        - Term    2: will expand to     1 term : Name "1235-ALLOW"
        - Term    3: will expand to     5 terms: Name "1236-LIMIT"
        - Term    4: will expand to     2 terms: Name "1237-ALLOW"
        - Term    5: will expand to     3 terms: Name "1238-ALLOW"
        - Term    6: will expand to    29 terms: Name "1239-ALLOW"
        - Term    7: will expand to     1 term : Name "1240-ALLOW"
        - Term    8: will expand to     1 term : Name "1241-ALLOW"
        - Term    9: will expand to     1 term : Name "1242-ALLOW"
        - Term   10: will expand to     2 terms: Name "1243-ALLOW"
        - Term   11: will expand to     1 term : Name "DENY-OTHER"
      + Term TCAM entry requirements:
        - Term    1: needs    72 TCAM entries: Name "1234-ALLOW"
        - Term    2: needs     1 TCAM entry  : Name "1235-ALLOW"
        - Term    3: needs     5 TCAM entries: Name "1236-LIMIT"
        - Term    4: needs     2 TCAM entries: Name "1237-ALLOW"
        - Term    5: needs     3 TCAM entries: Name "1238-ALLOW"
        - Term    6: needs    29 TCAM entries: Name "1239-ALLOW"
        - Term    7: needs     1 TCAM entry  : Name "1240-ALLOW"
        - Term    8: needs     1 TCAM entry  : Name "1241-ALLOW"
        - Term    9: needs     1 TCAM entry  : Name "1242-ALLOW"
        - Term   10: needs     2 TCAM entries: Name "1243-ALLOW"
        - Term   11: needs     1 TCAM entry  : Name "DENY-OTHER"
      + Total TCAM entries available: 161
      + Total TCAM entries needed   : 118
    
     Total hardware instances: 2
    


    ------------------------------
    MANUELA SCHWENK
    ------------------------------