Clish


Command Line Shell (Linha de Comando Shell)

Clish é uma interface de linha de comando para sistemas Linux, na verdade não sei muito a respeito porém uso bastante essa interface para editar / adicionar comandos em dispositivos checkpoint.

Meus Comandos mais usados

Configurando uma rota default:

#adicionar
set static-route default nexthop gateway address 192.168.29.2 priority 1 on

#remover
set static-route default nexthop gateway address 192.168.29.2 priority 1 off

Adicionando rotas estáticas

#adicionar
set static-route 172.23.124.150/32 nexthop gateway address 192.168.29.50 on

#remover 
set static-route 172.23.124.150/32 nexthop gateway address 192.168.29.50 off

Adicionando um proxy arp

add arpproxy address 192.168.29.56 macaddress 0:a0:8e:7d:13:d0
add arpproxy address 192.168.29.57 macaddress 0:a0:8e:7d:13:d0

Adicionar uma interface

#subir a interface
set interface eth1 speed 100M duplex full active on

#configurar ip
add interface eth1c0 address 192.168.29.54/24 enable

Configurar o VRRP

set vrrp accept-connections on
set vrrp coldstart-delay 60
set vrrp interface eth1c0 monitored-circuit vrid 54 monitored-interface eth2c0 on
set vrrp interface eth1c0 monitored-circuit vrid 54 monitored-interface eth2c0 priority-delta 10
set vrrp interface eth1c0 monitored-circuit vrid 54 monitored-interface eth3c0 on
set vrrp interface eth1c0 monitored-circuit vrid 54 monitored-interface eth3c0 priority-delta 10
set vrrp interface eth1c0 monitored-circuit vrid 54 priority 100
set vrrp interface eth1c0 monitored-circuit vrid 54 hello-interval 1
set vrrp interface eth1c0 monitored-circuit vrid 54 vmac-mode default-vmac
set vrrp interface eth1c0 monitored-circuit vrid 54 backup-address 192.168.29.1 on

Configurar um NTP server

add ntp server 10.1.1.2 version 3 prefer yes
add ntp server 10.1.1.1 version 3 prefer yes

Configurar uma time-zone

set date timezone-city "Greenwich (GMT)"

Configurar um hostname

set hostname testbox

—Add Host address assignments

add host name testbox ipv4 192.168.29.54

Verificar a tabela de roteamento

show route 
show route destination 4.2.2.2

Salvando a configuração

save config

Referencias