Step 1
|
enable
|
Enables privileged EXEC mode.
|
Step 2
|
configure
terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3
|
vrf
definition
vrf1
Device(config)# vrf definition vrf1
|
Defines a VRF instance and enters VRF configuration mode.
|
Step 4
|
rd
route-distinguisher
Device(config-vrf)# rd 1:1
|
Specifies a route distinguisher (RD) for a VRF instance.
|
Step 5
|
route-target
export
route-target-ext-community
Device(config-vrf)# route-target export 1:1
|
Creates a route target export extended community for a VRF instance.
|
Step 6
|
route-target
import
route-target-ext-community
Device(config-vrf)# route-target import 1:1
|
Creates a route target import extended community for a VRF instance.
|
Step 7
|
address-family
ipv4
Device(config-router)# address-family ipv4
|
Configures a routing session using IPv4 address prefixes and enters address family configuration mode.
|
Step 8
|
mdt
default
group-address
Device(config-vrf)# mdt default 239.0.0.1
|
Configures a default multicast distribution tree (MDT) group for a VRF instance.
|
Step 9
|
exit
|
Exits VRF configuration mode and returns to global configuration mode.
|
Step 10
|
router
bgp
autonomous-system-number
Device(config)# router bgp 50000
|
Configures the BGP routing process and enters router configuration mode.
|
Step 11
|
address-family
vpnv4
multicast
Device(config-router)# address-family vpnv4 multicast
|
Configures a routing session using VPN Version 4 multicast address prefixes and enters address family configuration mode.
|
Step 12
|
neighbor
peer-group-name
send-community
extended
Device(config-router-af)# neighbor client1 send-community extended
|
Specifies that a communities attribute should be sent to a BGP neighbor.
|
Step 13
|
neighbor
peer-group-name
route-reflector-client
Device(config-router-af)# neighbor client1 route-reflector-client
|
(Optional) Configures the router as a BGP route reflector and configures the specified neighbor as its client.
|
Step 14
|
exit-address-family
Device(config-router-af)# exit-address-family
|
Exits address family configuration mode and enters router configuration mode.
|
Step 15
|
address-family
ipv4
vrf
vrf-name
Device(config-router)# address-family ipv4 vrf vrf1
|
Places the router in address family configuration mode and specifies the name of the VRF instance to associate with subsequent
IPv4 address family configuration mode commands.
|
Step 16
|
no
synchronization
Device(config-router-af)# no synchronization
|
Enables the Cisco software to advertise a network route without waiting for the Interior Gateway Protocol (IGP) system.
|
Step 17
|
exit-address-family
Device(config-router-af)# exit-address-family
|
Exits address family configuration mode and enters router configuration mode.
|
Step 18
|
address-family
ipv4
multicast
vrf
vrf-name
Device(config-router)# address-family ipv4 multicast vrf vrf1
|
Configures a routing session using IPv4 multicast address prefixes for a VRF instance and enters address family configuration
mode.
|
Step 19
|
no
synchronization
Device(config-router-af)# no synchronization
|
Enables the Cisco software to advertise a network route without waiting for the IGP system.
|
Step 20
|
exit-address-family
Device(config-router-af)# exit-address-family
|
Exits address family configuration mode and enters router configuration mode.
|
Step 21
|
end
|
Exits router configuration mode and returns to privileged EXEC mode.
|
Step 22
|
show running-config | b router bgp
Device# show running-config | b router bgp
|
(Optional) Displays the running configuration for specified device.
|