21 ip pim multicast-routing, 22 ip pim neighbor-filter – PLANET XGS3-24040 User Manual

Page 592

Advertising
background image

XGS3 Command Guide

38-21

38.3.21 ip pim multicast-routing

Command: ip pim multicast-routing

no ip pim multicast-routing

Function: Enable PIM-SM globally. The “no ip pim multicast-routing » command disables PIM-SM

globally.

Parameter: None

Default: 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

Switch (config)#

38.3.22 ip pim neighbor-filter

Command: ip pim neighbor-filter <list-number>

no ip pim neighbor-filter <list-number>

Function: Configure the neighbor 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 connection 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” is not configured, deny 10.1.4.10 0.0.0.255 is the same as deny any.

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

Switch (config)#show ip pim neighbor

Advertising