To enable multiple view function of bgpd
, you must turn on
multiple instance feature beforehand.
bgp multiple-instance | Command |
Enable BGP multiple instance feature. After this feature is enabled, you can make multiple BGP instances or multiple BGP views. |
no bgp multiple-instance | Command |
Disable BGP multiple instance feature. You can not disable this feature when BGP multiple instances or views exist. |
When you want to make configuration more Cisco like one,
bgp config-type cisco | Command |
Cisco compatible BGP configuration output. |
When bgp config-type cisco is specified,
"no synchronization" is displayed. "no auto-summary" is desplayed.
"network" and "aggregate-address" argument is displayed as "A.B.C.D M.M.M.M"
Zebra: network 10.0.0.0/8 Cisco: network 10.0.0.0
Zebra: aggregate-address 192.168.0.0/24 Cisco: aggregate-address 192.168.0.0 255.255.255.0
Community attribute handling is also different. If there is no configuration is specified community attribute and extended community attribute are sent to neighbor. When user manually disable the feature community attribute is not sent to the neighbor. In case of "bgp config-type cisco" is specified, community attribute is not sent to the neighbor by default. To send community attribute user has to specify "neighbor A.B.C.D send-community" command.
! router bgp 1 neighbor 10.0.0.1 remote-as 1 no neighbor 10.0.0.1 send-community !
! router bgp 1 neighbor 10.0.0.1 remote-as 1 neighbor 10.0.0.1 send-community !
bgp config-type zebra | Command |
Zebra style BGP configuration. This is default. |