BGP vs MGP
At present BGP is operating in model 4, which has been revealed in 2006 (RFC 4271). By default, BGPv4 solely helps IPv4 unicast prefixes, However BGP can do far more than carrying IPv4 prefixes solely. RFC 4760 Multiprotocol extensions for BGPv4 has been developed to be able to improve the capability of carrying routing associated data apart from carrying ipv4 solely.
Multiprotocol Extensions for BGPv4 added some new attributes.
- Multiprotocol Reachable NLRI (MP_REACH_NLRI): It carry set of reachable vacation spot with next-hop data.
- Multiprotocol Unreachable NLRI (MP_UNREACH_NLRI): It carry set of unreachable locations.
Observe : – “MP_REACH_NLRI” and “MP_UNREACH_NLRI” are non-obligatory and Non-transitive attribute, due to this if neighbor doesn’t help the multiprotocol capabilities, it would simply ignore data carried in these attributes and won’t cross it to different BGP neighbor.
Each “MP_REACH_NLRI” and “MP_UNREACH_NLRI” incorporates two fields.
- Deal with household identifier (AFI): use for identifies tackle sorts.
R1(config)#router bgp 65001
R1(config-router)# address-family ?
ipv4 Deal with household
ipv6 Deal with household
l2vpn Deal with household
rtfilter Deal with household
vpnv4 Deal with household
vpnv6 Deal with household
- Subsequent tackle household identifier (SAFI): Use for present additional tackle household data.
Instance to verify MBGP SAFI sorts
mdt Deal with Household modifier
multicast Deal with Household modifier
mvpn Deal with Household modifier
unicast Deal with Household modifier
vrf Specify parameters for a VPN Routing/Forwarding occasion
Multiprotocol BGP tackle household sorts
- Unicast: – IPv4, IPv6
- Multicast: – IPv4, IPv6
- Virtualization: – VPNv4, VPNv6, L2VPN, VPLS, MCAST-VPN, MDT, Encapsulation, Tunnel, 4over6, 6over4.
MBGP configuration Instance
Step 1: – First outline tackle household beneath BGP configuration.
R1(config-router)#address-family ipv6 Multicast
Step 2: – Activate neighbor session.
R1(config-router-af)#neighbor IPv6-address activate
Step 3: – Configure insurance policies and networks.
Instance of IPv4 unicast tackle household
R1(config-router-af)#community <IPv4-address> masks <Subnetmask>
Step 4: – exit tackle household configuration.
R1(config-router-af)#exit-address-family