468 CHAPTER 16: INTERNET PROTOCOL (IP)
RIP Export Policy Conditions for Specified InterfacesExample of Import Policy
Select menu option (ip/ rip/policy): define
Enter policy type (impo rt,export) [import]: import
Enter source address [0.0.0.0] :
Enter route address [0. 0.0.0]: 158.101.135.40
Enter route subnet mask [255.255.0.0]:
Select IP interfaces (1 ,2|all|?) [1]: 1
Enter policy action (ac cept,reject) [accept]:
Enter metric adjustment ([+,-,*,/,%]0-16) [0]:
Enter administrative we ight (1-16) [1]:
Example of Export Policy
Select menu option (ip/ rip/policy): define
Enter policy type (impo rt,export) [import]: export
Enter origin protocols (dir,sta,rip,ospf|all|?) : rip
Enter source address [0.0.0.0] :
Enter route address [0. 0.0.0]:
Select IP interfaces (1 ,2|all|?) [1]: all
Enter policy action (ac cept,reject) [accept]:
Enter metric adjustment ([+,-,*,/,%] 0-16) [0]:
Enter administrative we ight (1-16) [1]:
Protocol
Source
Router Route Action Description
RIP, OSPF,
static
Specified
router or
all routers
Specified
route/mask
accept Advertise RIP/OSPF/s tatic
specified route from
specified source router on
specified interfaces wit h or
without metric
adjustments (+, -, *, /, %).
RIP, OSPF,
static
Specified
router or
all routers
all (0.0.0.0) accept Ad vertise all
RIP/OSPF/static r outes from
specified router on
specified interfaces wit h or
without metric
adjustments (+, -, *, /, %).
RIP, OSPF,
static
Specified
router or
all routers
Specified
route/mask
reject Do not advertise the
RIP/OSPF/static spe cified
route on specified
interfaces.
RIP, OSPF,
static
Specified
routers or
all routers
all reject Do not advertise all
RIP/OSPF/static routes on
specified interfaces.