Command Reference RIP Commands
Ruijie(config-router)# distance 160
Ruijie(config-router)# distance 123 192.168.12.1 0.0.0.0
Use this command to control route update for route filtering. Use the no form of this command to
restore the default setting.
distribute-list { [ access-list-number | name ] | prefix prefix-list-name [ gateway prefix-list-name ] |
[ gateway prefix-list-name ] } in [ interface-type interface-number ]
no distribute-list { [ access-list-number | name ] | prefix prefix-list-name [ gateway prefix-list-name ]
| [ gateway prefix-list-name ] } in [ interface-type interface-number ]
access-list-number | name
Specifies the ACL. Only the routes that are allowed by the ACL can
be accepted.
Uses the prefix list to filter the routes.
Uses the prefix list to filter the source of the routes.
interface-type
interface-number
(Optional) Applies the distribution list only to a specified interface.
The distribution list is not defined by default.
Routing process configuration mode
To deny receiving some specified routes, you can process all the received route update packets by
configuring the route distribute control list.
Without any interface specified, the system will process the route update packets received on all the
interfaces.
The following example enables RIP to control the routes received from the Fastethernet 0/0, only
permitting the routes starting with 172.16.
Ruijie (config)# router rip
Ruijie (config-router)# network 200.168.23.0
Ruijie (config-router)# distribute-list 10 in fastethernet 0/0
Ruijie (config-router)# no auto-summary