??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó àUdac@`s¥ddlmZmZmZeZidd6dgd6dd6ZdZd Zd Z dd l m Z dd l m Z dd lmZd„Zedkr¡eƒndS(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatustnetworkt supported_bysò --- module: eos_bgp version_added: "2.8" author: "Nilashish Chakraborty (@NilashishC)" short_description: Configure global BGP protocol settings on Arista EOS. description: - This module provides configuration management of global BGP parameters on Arista EOS devices. notes: - Tested against Arista vEOS Version 4.15.9M. options: config: description: - Specifies the BGP related configuration. suboptions: bgp_as: description: - Specifies the BGP Autonomous System (AS) number to configure on the device. type: int required: true router_id: description: - Configures the BGP routing process router-id value. default: null log_neighbor_changes: description: - Enable/disable logging neighbor up/down and reset reason. type: bool neighbors: description: - Specifies BGP neighbor related configurations. suboptions: neighbor: description: - Neighbor router address. required: True remote_as: description: - Remote AS of the BGP neighbor to configure. type: int required: True update_source: description: - Source of the routing updates. password: description: - Password to authenticate the BGP peer connection. description: description: - Neighbor specific description. ebgp_multihop: description: - Specifies the maximum hop count for EBGP neighbors not on directly connected networks. - The range is from 1 to 255. type: int peer_group: description: - Name of the peer group that the neighbor is a member of. timers: description: - Specifies BGP neighbor timer related configurations. suboptions: keepalive: description: - Frequency (in seconds) with which the device sends keepalive messages to its peer. - The range is from 0 to 3600. type: int required: True holdtime: description: - Interval (in seconds) after not receiving a keepalive message that device declares a peer dead. - The range is from 3 to 7200. - Setting this value to 0 will not send keep-alives (hold forever). type: int required: True route_reflector_client: description: - Specify a neighbor as a route reflector client. type: bool remove_private_as: description: - Remove the private AS number from outbound updates. type: bool enabled: description: - Administratively shutdown or enable a neighbor. maximum_prefix: description: - Maximum number of prefixes to accept from this peer. - The range is from 0 to 4294967294. type: int redistribute: description: - Specifies the redistribute information from another routing protocol. suboptions: protocol: description: - Specifies the protocol for configuring redistribute information. required: True route_map: description: - Specifies the route map reference. networks: description: - Specify Networks to announce via BGP. - For operation replace, this option is mutually exclusive with networks option under address_family. - For operation replace, if the device already has an address family activated, this option is not allowed. suboptions: prefix: description: - Network ID to announce via BGP. required: True masklen: description: - Subnet mask length for the Network to announce(e.g, 8, 16, 24, etc.). route_map: description: - Route map to modify the attributes. address_family: description: - Specifies BGP address family related configurations. suboptions: afi: description: - Type of address family to configure. choices: - ipv4 - ipv6 required: True redistribute: description: - Specifies the redistribute information from another routing protocol. suboptions: protocol: description: - Specifies the protocol for configuring redistribute information. required: True route_map: description: - Specifies the route map reference. networks: description: - Specify Networks to announce via BGP. - For operation replace, this option is mutually exclusive with root level networks option. suboptions: prefix: description: - Network ID to announce via BGP. required: True masklen: description: - Subnet mask length for the Network to announce(e.g, 8, 16, 24, etc.). route_map: description: - Route map to modify the attributes. neighbors: description: - Specifies BGP neighbor related configurations in Address Family configuration mode. suboptions: neighbor: description: - Neighbor router address. required: True activate: description: - Enable the Address Family for this Neighbor. type: bool default_originate: description: - Originate default route to this neighbor. type: bool graceful_restart: description: - Enable/disable graceful restart mode for this neighbor. type: bool weight: description: - Assign weight for routes learnt from this neighbor. - The range is from 0 to 65535 type: int operation: description: - Specifies the operation to be performed on the BGP process configured on the device. - In case of merge, the input configuration will be merged with the existing BGP configuration on the device. - In case of replace, if there is a diff between the existing configuration and the input configuration, the existing configuration will be replaced by the input configuration for every option that has the diff. - In case of override, all the existing BGP configuration will be removed from the device and replaced with the input configuration. - In case of delete the existing BGP configuration will be removed from the device. default: merge choices: ['merge', 'replace', 'override', 'delete'] sC - name: configure global bgp as 64496 eos_bgp: config: bgp_as: 64496 router_id: 192.0.2.1 log_neighbor_changes: True neighbors: - neighbor: 203.0.113.5 remote_as: 64511 timers: keepalive: 300 holdtime: 360 - neighbor: 198.51.100.2 remote_as: 64498 networks: - prefix: 198.51.100.0 route_map: RMAP_1 - prefix: 192.0.2.0 masklen: 23 address_family: - afi: ipv4 safi: unicast redistribute: - protocol: isis route_map: RMAP_1 operation: merge - name: Configure BGP neighbors eos_bgp: config: bgp_as: 64496 neighbors: - neighbor: 192.0.2.10 remote_as: 64496 description: IBGP_NBR_1 ebgp_multihop: 100 timers: keepalive: 300 holdtime: 360 - neighbor: 192.0.2.15 remote_as: 64496 description: IBGP_NBR_2 ebgp_multihop: 150 operation: merge - name: Configure root-level networks for BGP eos_bgp: config: bgp_as: 64496 networks: - prefix: 203.0.113.0 masklen: 27 route_map: RMAP_1 - prefix: 203.0.113.32 masklen: 27 route_map: RMAP_2 operation: merge - name: Configure BGP neighbors under address family mode eos_bgp: config: bgp_as: 64496 address_family: - afi: ipv4 neighbors: - neighbor: 203.0.113.10 activate: yes default_originate: True - neighbor: 192.0.2.15 activate: yes graceful_restart: True operation: merge - name: remove bgp as 64496 from config eos_bgp: config: bgp_as: 64496 operation: delete s  commands: description: The list of configuration mode commands to send to the device returned: always type: list sample: - router bgp 64496 - bgp router-id 192.0.2.1 - bgp log-neighbor-changes - neighbor 203.0.113.5 remote-as 64511 - neighbor 203.0.113.5 timers 300 360 - neighbor 198.51.100.2 remote-as 64498 - network 198.51.100.0 route-map RMAP_1 - network 192.0.2.0 mask 255.255.254.0 - address-family ipv4 - redistribute isis route-map RMAP_1 - exit-address-family (tto_text(t NetworkModule(tREDISTRIBUTE_PROTOCOLSc C`s`itdtƒd6tddƒd6tƒd6}itdtdtƒd6tƒd6}itdddtƒd 6tdddtƒd 6}i tdtƒd 6tdddtƒd 6tƒd 6tdtƒd6tddƒd6tƒd6tddƒd6tddd|ƒd6tƒd6tddƒd6tddƒd6tddƒd6}itdtƒd 6tddƒd6tddƒd6tddƒd6tddƒd6}itddd gdtƒd!6tdd"d#dd|ƒd$6tdd"d#dd|ƒd%6tdd"d#dd|ƒd&6}itdddtƒd'6tƒd(6tddƒd)6tdd"d#dd|ƒd&6tdd"d#dd|ƒd*6tdd"d#dd|ƒd%6tdd"d#dd|ƒd$6}itddd|ƒd+6td,d-dd-d.d/d0gƒd16}td2|d3tƒ}y|jd4d5ƒ} Wn)tk rN} |jd6t| ƒƒnX|j| d7S(8s+ main entry point for module execution trequiredtprefixttypetinttmasklent route_maptchoicestprotocolt keepalivetholdtimetneighbort remote_ast update_sourcetno_logtpasswordtbooltenabledt descriptiont ebgp_multihoptdicttoptionsttimerst peer_grouptmaximum_prefixtroute_reflector_clienttremove_private_astactivatetdefault_originatetgraceful_restarttweighttipv4tipv6tafitlisttelementstnetworkst redistributet neighborstbgp_ast router_idtlog_neighbor_changestaddress_familytconfigtdefaulttmergetreplacetoverridetdeletet operationt argument_spectsupports_check_modet config_filters | section bgptmsgN( RtTrueR R t edit_configt Exceptiont fail_jsonRt exit_json( t network_spectredistribute_spect timer_spect neighbor_spectaf_neighbor_spectaddress_family_spect config_specR<tmoduletresulttexc((sG/usr/lib/python2.7/site-packages/ansible/modules/network/eos/eos_bgp.pytmain>sh      %  t__main__N(t __future__RRRR t __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils._textRt1ansible.module_utils.network.eos.providers.moduleR tAansible.module_utils.network.eos.providers.cli.config.bgp.processR ROt__name__(((sG/usr/lib/python2.7/site-packages/ansible/modules/network/eos/eos_bgp.pyts   ÃT K