Method: Rbeapi::Api::Bgp#default
- Defined in:
- lib/rbeapi/api/bgp.rb
#default ⇒ Boolean
default will configure the BGP routing using the default keyword. This command has the same effect as deleting the BGP routine instance from the nodes running configuration.
171 172 173 174 175 |
# File 'lib/rbeapi/api/bgp.rb', line 171 def default config = get return true unless config configure("default router bgp #{config[:bgp_as]}") end |