HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //lib/python3.9/site-packages/ansible_collections/dellemc/os6/playbooks/ibgp/host_vars/switch2.yaml
hostname: switch2
ansible_ssh_user: xxxx
ansible_ssh_pass: xxxx
ansible_become: yes
ansible_become_method: enable
ansible_network_os: dellemc.os6.os6
switch2_hostname: "switch2"

os6_system:
  hostname: "{{ switch2_hostname }}"
  #enable_password: xxxx
  mtu: 2000

os6_vlan:
    vlan 20:
      default_vlan: False
      name: "os6vlan"
      untagged_members:
        - port: Te1/0/48
          state: present
      state: present

os6_interface:
    Te1/0/48:
      desc: "bgp"
      admin: up
      portmode: access

    vlan 20:
      ip_type_dynamic: False
      ip_and_mask: 20.20.20.2 255.255.255.0

os6_bgp:
    asn: 4545
    router_id: 20.20.20.2
    maxpath_ibgp: 3
    ipv4_network:
       - address: 20.20.20.2 255.255.255.255
         state: present
    neighbor:
      - type: ipv4
        ip: 20.20.20.3
        remote_asn: 4545
        timer: 5 10
        default_originate: True
        state: present
    state: present