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.
Commands
default router bgp <bgp_as>
269 270 271 272 273 |
# File 'lib/rbeapi/api/bgp.rb', line 269 def default config = get return true unless config configure("default router bgp #{config[:bgp_as]}") end |