Configuration Guide Vol. 3


29.2.11 Configuring BGP4+ in VRF

Points to note

The example below shows how to configure the BGP4+ functionality for a VRF in config-router-af (ipv6 vrf) mode.

Command examples

  1. (config)# router bgp 64496

    Specifies the local AS number (64496).

  2. (config-router)# address-family ipv6 vrf 10

    Changes the mode to config-router-af (ipv6 vrf) mode for VRF 10.

  3. (config-router-af)# bgp router-id 192.168.1.100

    Specifies the identifier of the local router (192.168.1.100).

  4. (config-router-af)# neighbor 2001:db8:1::2 remote-as 64511

    Configures an external peer (remote peer address: 2001:db8:1::2; AS number: 64511).

  5. (config-router-af)# neighbor 2001:db8:2::2 remote-as 64496

    Configures an internal peer (remote peer address: 2001:db8:2::2; AS number: 64496).

  6. (config-router-af)# neighbor 2001:db8:1::2 activate

    Enables the IPv6 address family for the external peer (remote peer address: 2001:db8:1::2).

  7. (config-router-af)# neighbor 2001:db8:2::2 activate

    Enables the IPv6 address family for the internal peer (remote peer address: s2001:db8:2::2).