Displaying foreign sources

Use the following procedure to display the foreign sources learned from MSDP or statically configured at the Controller.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display the foreign source information:

    show ip spb-pim-gw foreign-source [all] [controller | gateway] [vrf WORD<0-16>] [vrfids WORD<0-512>] [source {A.B.C.D}] [group {A.B.C.D}] [static | msdp] [spb-node-as-mac]

Example

Note

Note

The command show ip spb-pim-gw, which specifies the parameter controller, the OWNER column displays the RP address of the MSDP peer from which the foreign source was learned. If the gateway parameter is specified, then the OWNER column displays MSDP rather than the actual RP address.

Switch:1>show ip spb-pim-gw foreign-source controller
============================================================================================
SPB-PIM-GW Controller Foreign Source
============================================================================================
SOURCE   GROUP     SPB-PIM-GW        VRF          OWNER     
--------------------------------------------------------------------------------------------
10.0.0.1 240.0.0.1 beb-1             GlobalRouter 47.17.0.1 
10.0.0.2 240.0.0.2 beb-1             GlobalRouter static    
10.0.0.3 240.0.0.3 -                 GlobalRouter 47.17.0.2 
--------------------------------------------------------------------------------------------


Display the foreign sources from a specific VRF:

Switch:1>show ip spb-pim-gw foreign-source controller vrf green
============================================================================================
SPB-PIM-GW Controller Foreign Source
============================================================================================
SOURCE   GROUP     SPB-PIM-GW        VRF          OWNER     
--------------------------------------------------------------------------------------------
10.0.0.1 240.0.0.1 beb-1             green        47.17.0.1 
10.0.0.2 240.0.0.2 beb-1             green        static    
10.0.0.3 240.0.0.3 -                 green        47.17.0.2 
--------------------------------------------------------------------------------------------

Display all the foreign sources at the Controller with the Gateway in the SPB-PIM-GW shown as a mac address rather than a nickname:

Switch:1>show ip spb-pim-gw foreign-source controller vrf green spb-node-as-mac
============================================================================================
SPB-PIM-GW Controller Foreign Source
============================================================================================
SOURCE   GROUP     SPB-PIM-GW        VRF          OWNER     
--------------------------------------------------------------------------------------------
10.0.0.1 240.0.0.1 00:0b:eb:00:00:a1 green        47.17.0.1 
10.0.0.2 240.0.0.2 00:0b:eb:00:00:a1 green        static    
10.0.0.3 240.0.0.3 -                 green        47.17.0.2 
--------------------------------------------------------------------------------------------

Variable definitions

The following table defines parameters for the show ip spb-pim-gw foreign source command.

Variable

Value

all

Displays information for all the VRF IDs from the Controller and Gateway foreign source database.

controller

Displays information from the Controller foreign source database. Only displays information on nodes configured as Controller.

gateway

Displays information from the Gateway foreign source database. Only displays information on nodes configured as Gateway.

vrf WORD<0-16>

Displays information from the Controller foreign source database for a specific VRF name.

vrfids WORD<0-512>

Displays information from the Controller foreign source database for a range of VRF IDs.
Note:

Enter a single VRF ID or multiple VRF IDs separated by ‘,‘ or enter a range of VRF IDs ‘x-y‘.

source {A.B.C.D}

Displays information for the specific source IP address from the Controller foreign source database.

group {A.B.C.D}

Displays information for the specific multicast group IP address from the Controller foreign source database.

static

Displays information from the Controller foreign source database that is configured statically.

msdp

Displays information from the Controller foreign source database that is learned through MSDP.

spb-node-as-mac

Displays the MAC address for the assigned SPB-PIM Gateway.