distribution-list

Last Updated : Nov 06, 2012 |

Applies a distribution access list for incoming or outgoing routing information in route updates. Use no distribution-list to deactivate the list.

Syntax

[no] distribution-list access_list_number type [interface_type interface_number|protocol]

Parameters

Parameter

Description

Possible Values

Default Value

access_list_ number

The number of the access list

1-99

type

The type of the access list

in, out

interface_ type

The interface type

interface_ number

The interface number

protocol

The protocol. This parameter is only relevant for outgoing list entries.

static, ospf

User level

read-write

Context

Router: rip

Examples

To apply distribution access list 10 to incoming router updates on the VLAN 1 interface:

Gxxx-001(router:rip)# distribution-list 10 in Vlan 1

To apply distribution access list 20 to outgoing router updates on the Serial 3/1:1 interface:

Gxxx-001(router:rip)# distribution-list 20 out Serial 3/1:1:

To apply distribution access list 40 to outgoing router updates from OSPF:

Gxxx-001(router:rip)# distribution-list 40 out ospf