<?= $form->field($model, 'name')->label('Name'); ?>
<?= $form->field($model, 'instance')->dropDownList($inter); ?>
<?= $form->field($model, 'remote_address')->label('Remote Address'); ?>
<?= $form->field($model, 'remote_port')->label('Remote Port'); ?>
<?= $form->field($model, 'remote_as')->label('Remote AS'); ?>
<?= $form->field($model, 'tcp_md5_key')->label('TCP MD5 Key'); ?>
<?=

$form->field($model, 'nexthop_choice')->dropDownList(['default' => 'default',
    'force-self' => 'force-self',
    'propagate' => 'propagate',
]);
?>
<?= $form->field($model, 'multihop')->checkBox(); ?>
<?= $form->field($model, 'route_reflect')->checkBox(); ?>
<?= $form->field($model, 'hold_time')->label('Hold Time'); ?>
<?= $form->field($model, 'keepalive_time')->label('Keepalive Time'); ?>
<?= $form->field($model, 'ttl')->label('TTL'); ?>
<?= $form->field($model, 'max_prefix_limit')->label('Max Prefix List'); ?>
<?= $form->field($model, 'max_prefix_restart_time')->label('Max Prefix Restart Time'); ?>
<?=

$form->field($model, 'in_filter')->dropDownList(['' => '', 'connected-in' => 'connected-in',
    'dynamic-in' => 'dynamic-in',
    'ospf-in' => 'ospf-in',
    'rip-out' => 'rip-out',
    'rip-in' => 'rip-in',
    'ospf-out' => 'ospf-out',]);
?>
<?=

$form->field($model, 'out_filter')->dropDownList(['' => '', 'connected-in' => 'connected-in',
    'dynamic-in' => 'dynamic-in',
    'ospf-in' => 'ospf-in',
    'rip-out' => 'rip-out',
    'rip-in' => 'rip-in',
    'ospf-out' => 'ospf-out',]);
?>
<?= $form->field($model, 'allow_as_in')->label('Allow As In'); ?>
<?= $form->field($model, 'remove_private_as')->checkBox(); ?>
<?= $form->field($model, 'as_override')->checkBox(); ?>
<?=

$form->field($model, 'default_originate')->dropDownList(['never' => 'never',
    'always' => 'always',
    'if-installed' => 'if-installed',
]);
?>
<?= $form->field($model, 'passive')->checkBox(); ?>
<?= $form->field($model, 'use_bfd')->checkBox(); ?>