Skip to content

Latest commit

 

History

History
174 lines (149 loc) · 7.47 KB

comware_bgp_global_module.rst

File metadata and controls

174 lines (149 loc) · 7.47 KB

comware_bgp_global

Added in version 1.8

config bgp configs in the bgp instance view such as routerid

parameter required default choices comments
autonomous_system yes Autonomous system number <1-4294967295>
bgp_instance no Specify a BGP instance by its name
router_id no Router ID in IP address format
advertise_rib_active no false
  • true
  • false
Advertise the best route in IP routing table
timer_connect_retry no Configure the session retry timer for all BGP peers
timer_hold no Hold timer , Value of hold timer in seconds
compare_as_med no Compare the MEDs of routes from different ASs
compare_as_med no false
  • false
Compare the MEDs of routes from different ASs
peer_ip no Specify BGP peers IPv4 address
peer_as_num no Specify BGP peers AS number
peer_ignore no Disable session establishment with the peers
state no present
  • present
  • absent
  • default
Desired state for the interface configuration
hostname yes IP Address or hostname of the Comware v7 device that has NETCONF enabled
username yes Username used to login to the switch
password yes Password used to login to the switch
port no 830 The Comware port used to connect to the switch
look_for_keys no False Whether searching for discoverable private key files in ~/.ssh/


# bgp global views configs
-  comware_bgp_global: autonomous_system=10 bgp_instance=test router_id=192.168.1.185 advertise_rib_active=true timer_connect_retry=100 timer_keepalive=100 timer_hold=301 \
   compare_as_med=true peer_ip=1.1.1.3 peer_as_num=10 peer_ignore=true username={{ username }} password={{ password }} hostname={{ inventory_hostname }}

Note

all the configs except autonomous_system and bgp_instance are set in bgp instance view.timer keepalive and time hold must be set together .timer hold must be greater than 3 times timer keepalive.peer relations are need peer ip first.state default and absent are the same , if you want delete the setting configs , the comwarewill undo the autonomous_system and instance .