Configuration Guide Vol. 3


13.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 (ipv4 vrf) mode.

Command examples

  1. (config)# router bgp 65531

    Specifies the local AS number (65531).

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

    Switches to config-router-af (ipv4 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 10.1.2.2 remote-as 65531

    Specifies an internal peer (remote peer address: 10.1.2.2).

  5. (config-router-af)# neighbor 172.16.2.2 remote-as 65532

    Specifies an internal peer (remote peer address: 172.16.2.2).