JWK - Jackall's IT Wiki

Sécurité, Système, Réseau

Outils pour utilisateurs

Outils du site


f5_bigip_trunk_configuration_tmsh

Configuration d'un trunk d'interface sur un BIGIP en TMSH

When configuring interface on F5, you have to follow the following tasks :

  • configure physical interface
  • add a vlan
  • Configure IP address
  • Optionnally, add a route

Here is how to perform these configuration on BIG IP (LTM) en version 11.2.1 using TMSH.

Create an interface trunk

(tmos)# create net trunk trk1 description trunk_data interfaces add { 1.1 1.2}
(tmos)# list net trunk 
net trunk trk1 {
    bandwidth 1000
    cfg-mbr-count 2
    description trunk_data
    id 0
    interfaces {
        1.1
        1.2
    }
    mac-address 0:23:e9:65:7:f8
    working-mbr-count 1
}

Add a vlan

create net vlan external interfaces add { trk1} description Uplink_interface
list net vlan
net vlan external {
    description Uplink_interface
    if-index 928
    interfaces {
        trk1 { }
    }
    tag 4094
}

Add an IP address on interface

create net self EXT_IP address 192.168.10.246/24 vlan external allow-service default 
list net self 
net self EXT_IP {
    address 192.168.10.246/24
    allow-service {
        default
    }
    traffic-group traffic-group-local-only
    vlan external
}

Add a route

create net route default gw 192.168.10.254 
f5_bigip_trunk_configuration_tmsh.txt · Dernière modification: 2018/02/18 16:01 (modification externe)