beautypg.com

5 distribute-list, Distribute, List – PLANET XGS3-24040 User Manual

Page 436

background image


32-149

is the local link address or its prefix.

specifies the access-list number or name applied.

Default:

The default managing distance of RIP is 120.

Command Mode:

Router mode and address-family mode.

Usage Guide:

In case there are routes from two different routing protocols to the same destination, the managing

distance is then used for selecting routes. The less the managing distance of the route protocol is ,

the more reliable will be the route acquired from the protocol.

Example:

Switch#config terminal

Switch(config)#router rip

Switch(config-router)#distance 8 fe80:1111::4200:21ff:fe00:11 mylist

32.5 distribute-list

Command:

distribute-list

{access-list-name> |prefix<prefix-list-name>} {in|out} [>|vlan

]

no distribute-list {access-list-name> |prefix<prefix-list-name>} {in|out} [>|vlan

]

Function:

This command uses access-list or prefix-list to filter the route renews messages sent and received.

The “no distribute-list {access-list-name> |prefix<prefix-list-name>} {in|out} [>|vlan

]” command cancels this filter function.

Parameter:

is the name or access-list number to be applied.

is the name of the prefix-list to be applied.

specifies the name of interface to be applied with route filtering.

Default:

Function disabled by RIPng by default.

Command Mode:

Router mode

Usage Guide:

The filter will be applied to all interfaces if no specific interface is set.

Example:

Switch#config terminal

Switch(config)#router ipv6 rip