11 ip pim neighbor-filter, 11 ip pim neighbor-filter -13 – PLANET XGS3-24042 User Manual

Page 738

Advertising
background image

44-13

Disabled PIM-SM

Command Mode:

Global Mode

Usage Guide:

Enable PIM-SM globally. The interface must enable PIM-SM to have PIM-SM work

Example:

Enable PIM-SM globally.

Switch (config)#ip pim multicast-routing

44.2.11 ip pim neighbor-filter

Command:

ip pim neighbor-filter <list-number>

no ip pim neighbor-filter <list-number>

Function:

Configure the neighbore access-list. If filtered by the lists and connections with neighbors are

created, this connections are cut off immediately. If no connection is created, this conncetion can’t

be created.

Parameter:

<list-number>: <list-number> is the simple access-list number, it ranges from 1 to 99

Default:

No neighbor filter configuration.

Command Mode:

Interface Configuration Mode

Usage Guide:

ACL’s default is DENY. If configuring access-list 1,access-list 1’s default is deny. In the following

example, if “permit any-source” is not configured, deny 10.1.4.10 0.0.0.255 is the same as deny

any-source.

Example:

Configure VLAN’s filtering rules of pim neighbors.

Switch #show ip pim neighbor

Neighbor Interface Uptime/Expires Ver DR

Address Priority/Mode

10.1.4.10 Vlan1 02:30:30/00:01:41 v2 4294967294 / DR

Switch (Config-if-Vlan1)#ip pim neighbor-filter 2

Switch (config)#access-list 2 deny 10.1.4.10 0.0.0.255

Switch (config)#access-list 2 permit any-source

Advertising