Fortinet white logo
Fortinet white logo

Session-Aware Load Balancing Cluster Guide

5.2.11

Managing the devices in an SLBC cluster with the External Management IP

Managing the devices in an SLBC cluster with the External Management IP

The External Management IP address is used to manage all of the individual devices in a SLBC by adding a special port number. This special port number begins with the standard port number for the protocol you are using and is followed by two digits that identify the chassis number and slot number. The port number can be calculated using the following formula:

service_port x 100 + (chassis_id - 1) x 20 + slot_id

Where:

  • service_port is the normal port number for the management service (80 for HTTP, 443 for HTTPS and so on).
  • chassis_id is the chassis ID specified as part of the FortiController HA configuration and can be 1 or 2.
  • slot_id is the number of the chassis slot.
Note By default, chassis 1 is the primary chassis and chassis 2 is the secondary chassis. But the actual primary chassis is the one with the primary FortiController and the primary FortiController can be changed independently of the chassis number. And the chassis_id depends on the chassis number and not on whether the chassis contains the primary FortiController.

Some examples:

  • HTTPS, chassis 1 slot 2: 443 x 100 + (1 - 1) x 20 + 2 = 44300 + 0 + 2 = 44302:

    browse to: https://172.20.120.100:44302

  • HTTP, chassis 2, slot 4: 80 x 100 + (2 - 1) x 20 + 4 = 8000 + 20 + 4 = 8024:

    browse to http://172.20.120.100/8024

  • HTTPS, chassis 1, slot 10: 443 x 100 + (1 - 1) x 20 + 10 = 44300 + 0 + 10 = 44310,

    browse to https://172.20.120.100/44310

  • HTTPS, chassis 2, slot 10: 443 x 100 + (2 - 1) x 20 + 10 = 44300 + 20 + 10 = 44330:

    browse to https://172.20.120.100/44330

  • SNMP query port, chassis 1, slot 4: 161 x 100 + (1 - 1) x 20 + 4 = 16100 + 0 + 4 = 16104

  • Telnet to connect to the CLI of the worker in chassis 2 slot 4:

    telnet 172.20.120.100 2324

  • To use SSH to connect to the CLI the worker in chassis 1 slot 5:

    ssh admin@172.20.120.100 -p2205

Single chassis or chassis 1 special management port numbers

Slot number HTTP (80) HTTPS (443) Telnet (23) SSH (22) SNMP (161)
Slot 1 8001 44301 2301 2201 16101
Slot 2 8002 44302 2302 2202 16102
Slot 3 8003 44303 2303 2203 16103
Slot 4 8004 44304 2304 2204 16104
Slot 5 8005 44305 2305 2205 16105
Slot 6 8006 44306 2306 2206 16106
Slot 7 8007 44307 2307 2207 16107
Slot 8 8008 44308 2308 2208 16108
Slot 9 8009 44309 2309 2209 16109
Slot 10 8010 44310 2310 2210 16110
Slot 11 8011 44311 2311 2211 16111
Slot 12 8012 44312 2312 2212 16112
Slot 13 8013 44313 2313 2213 16113
Slot 14 8014 44314 2314 2214 16114

Chassis 2 special management port numbers

Slot Number HTTP (80) HTTPS (443) Telnet (23) SSH (22) SNMP (161)
Slot 1 8021 44321 2321 2221 16121
Slot 2 8022 44322 2322 2222 16122
Slot 3 8023 44323 2323 2223 16123
Slot 4 8024 44324 2324 2224 16124
Slot 5 8025 44325 2325 2225 16125
Slot 6 8026 44326 2326 2226 16126
Slot 7 8027 44327 2327 2227 16127
Slot 8 8028 44328 2328 2228 16128
Slot 9 8029 44329 2329 2229 16129
Slot 10 8030 44330 2330 2230 16130
Slot 11 8031 44331 2331 2231 16131
Slot 12 8032 44332 2332 2232 16132
Slot 13 8033 44333 2333 2233 16133
Slot 14 8034 44334 2334 2234 16134

Managing the devices in an SLBC cluster with the External Management IP

Managing the devices in an SLBC cluster with the External Management IP

The External Management IP address is used to manage all of the individual devices in a SLBC by adding a special port number. This special port number begins with the standard port number for the protocol you are using and is followed by two digits that identify the chassis number and slot number. The port number can be calculated using the following formula:

service_port x 100 + (chassis_id - 1) x 20 + slot_id

Where:

  • service_port is the normal port number for the management service (80 for HTTP, 443 for HTTPS and so on).
  • chassis_id is the chassis ID specified as part of the FortiController HA configuration and can be 1 or 2.
  • slot_id is the number of the chassis slot.
Note By default, chassis 1 is the primary chassis and chassis 2 is the secondary chassis. But the actual primary chassis is the one with the primary FortiController and the primary FortiController can be changed independently of the chassis number. And the chassis_id depends on the chassis number and not on whether the chassis contains the primary FortiController.

Some examples:

  • HTTPS, chassis 1 slot 2: 443 x 100 + (1 - 1) x 20 + 2 = 44300 + 0 + 2 = 44302:

    browse to: https://172.20.120.100:44302

  • HTTP, chassis 2, slot 4: 80 x 100 + (2 - 1) x 20 + 4 = 8000 + 20 + 4 = 8024:

    browse to http://172.20.120.100/8024

  • HTTPS, chassis 1, slot 10: 443 x 100 + (1 - 1) x 20 + 10 = 44300 + 0 + 10 = 44310,

    browse to https://172.20.120.100/44310

  • HTTPS, chassis 2, slot 10: 443 x 100 + (2 - 1) x 20 + 10 = 44300 + 20 + 10 = 44330:

    browse to https://172.20.120.100/44330

  • SNMP query port, chassis 1, slot 4: 161 x 100 + (1 - 1) x 20 + 4 = 16100 + 0 + 4 = 16104

  • Telnet to connect to the CLI of the worker in chassis 2 slot 4:

    telnet 172.20.120.100 2324

  • To use SSH to connect to the CLI the worker in chassis 1 slot 5:

    ssh admin@172.20.120.100 -p2205

Single chassis or chassis 1 special management port numbers

Slot number HTTP (80) HTTPS (443) Telnet (23) SSH (22) SNMP (161)
Slot 1 8001 44301 2301 2201 16101
Slot 2 8002 44302 2302 2202 16102
Slot 3 8003 44303 2303 2203 16103
Slot 4 8004 44304 2304 2204 16104
Slot 5 8005 44305 2305 2205 16105
Slot 6 8006 44306 2306 2206 16106
Slot 7 8007 44307 2307 2207 16107
Slot 8 8008 44308 2308 2208 16108
Slot 9 8009 44309 2309 2209 16109
Slot 10 8010 44310 2310 2210 16110
Slot 11 8011 44311 2311 2211 16111
Slot 12 8012 44312 2312 2212 16112
Slot 13 8013 44313 2313 2213 16113
Slot 14 8014 44314 2314 2214 16114

Chassis 2 special management port numbers

Slot Number HTTP (80) HTTPS (443) Telnet (23) SSH (22) SNMP (161)
Slot 1 8021 44321 2321 2221 16121
Slot 2 8022 44322 2322 2222 16122
Slot 3 8023 44323 2323 2223 16123
Slot 4 8024 44324 2324 2224 16124
Slot 5 8025 44325 2325 2225 16125
Slot 6 8026 44326 2326 2226 16126
Slot 7 8027 44327 2327 2227 16127
Slot 8 8028 44328 2328 2228 16128
Slot 9 8029 44329 2329 2229 16129
Slot 10 8030 44330 2330 2230 16130
Slot 11 8031 44331 2331 2231 16131
Slot 12 8032 44332 2332 2232 16132
Slot 13 8033 44333 2333 2233 16133
Slot 14 8034 44334 2334 2234 16134