Displaying foreign sources information
Use the following procedure to display the Gateway foreign sources database. If executed on a Gateway node, it displays the foreign sources assigned to the Gateway by the Controller. Foreign sources are originally learned from MSDP or statically configured on the Controller.
Procedure
Example
Switch:1>show ip spb-pim-gw foreign-source gateway ============================================================================================ SPB-PIM-GW Gateway Foreign Source ============================================================================================ SOURCE GROUP SPB-PIM-GW VRF PORT VLAN CONTROLLER OWNER -------------------------------------------------------------------------------------------- 10.0.0.1 240.0.0.1 beb-2 GlobalRouter 1/1 200 bcb-2 msdp 10.0.0.2 240.0.0.2 beb-2 GlobalRouter 1/1 200 bcb-2 static 10.0.0.3 240.0.0.3 beb-2 GlobalRouter - - bcb-2 msdp --------------------------------------------------------------------------------------------
Note
The SPB-PIM-GW column displays the node that is selected as the Gateway for the particular source or group stream. The OWNER column displays either msdp or static depending on how the source was originally learned at the assigning Controller. The PORT and VLAN columns represent the port or VLAN toward the source.
Display the foreign sources from a specific VRF:
Switch:1>show ip spb-pim-gw foreign-source gateway vrf green ============================================================================================ SPB-PIM-GW Gateway Foreign Source ============================================================================================ SOURCE GROUP SPB-PIM-GW VRF PORT VLAN CONTROLLER OWNER -------------------------------------------------------------------------------------------- 10.0.0.1 240.0.0.1 beb-2 green 1/1 200 bcb-2 msdp 10.0.0.2 240.0.0.2 beb-2 green 1/1 200 bcb-2 static 10.0.0.3 240.0.0.3 beb-2 green - - bcb-2 msdp --------------------------------------------------------------------------------------------
Display all the foreign sources available at the Gateway with SPB-PIM-GW and Controller as mac:
Switch:1>show ip spb-pim-gw foreign-source gateway vrf green spb-node-as-mac ============================================================================================ SPB-PIM-GW Gateway Foreign Source ============================================================================================ SOURCE GROUP SPB-PIM-GW VRF PORT VLAN CONTROLLER OWNER -------------------------------------------------------------------------------------------- 10.0.0.1 240.0.0.1 00:0b:eb:00:00:a2 green 1/1 200 00:0b:cb:00:00:c2 msdp 10.0.0.2 240.0.0.2 00:0b:eb:00:00:a2 green 1/1 200 00:0b:cb:00:00:c2 static 10.0.0.3 240.0.0.3 00:0b:eb:00:00:a2 green - - 00:0b:cb:00:00:c2 msdp --------------------------------------------------------------------------------------------
Display all the foreign sources available at the Gateway which are statically configured at the Controller:
Switch:1>show ip spb-pim-gw foreign-source gateway vrf green static ============================================================================================ SPB-PIM-GW Gateway Foreign Source ============================================================================================ SOURCE GROUP SPB-PIM-GW VRF PORT VLAN CONTROLLER OWNER -------------------------------------------------------------------------------------------- 10.0.0.2 240.0.0.2 beb-2 green 1/1 200 bcb-2 static --------------------------------------------------------------------------------------------
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 Gateway foreign source database for a specific VRF name. |
vrfids WORD<0-512> |
Displays information from the Gateway 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 Gateway foreign source database. |
group {A.B.C.D} |
Displays information for the specific multicast group IP address from the Gateway foreign source database. |
from-controller 0x00:0x00:0x00:0x00:0x00:0x00 |
Displays information filtering on a specific Controllers assignments, where the Controller is specified as a mac address. |
from-controller preferred |
Displays information from Gateway source database filtering on a preferred Controller or chosen by the Gateway. |
static |
Displays information from the Gateway foreign source database that is configured statically at the assigning Controller. |
msdp |
Displays information from the Gateway foreign source database that is learned through MSDP. |
spb-node-as-mac |
Displays the MAC address for the assigned PIM-GW. |