Policies Commands
208967-B 7-5
Figure 7-3 shows an example of config ip policy ospf accept info
command.
Passport-8610/config/ip/policy/ospf# accept 6003 info
Sub-Context: accept announce
Current Context:
action : accept
create :
delete : N/A
enable : true
exact-net-list : 0
ext-metric-type : any
inject-net-list-id : 0
name : POLICY-6003
precedence : 0
range-net-list-id : 0
Figure 7-3.
config ip policy ospf accept info
Command Output
exact-net-list <netlist id> Sets an OSPF accept policy in which networks
will only match the specific network
advertisement.
• <netlist id> is the netlist id range
0 to 1000.
ext-metric-type <type1|type2> Sets the OSPF accept policy external metric
type to type 1 or type 2.
inject-net-list <netlist id> Sets an OSPF accept policy that will insert
networks into the routing table that differ from
the actual advertised network.
• <netlist id> is the netlist id
range 0 to 1000.
name <string> Assigns the OSPF accept policy name.
precedence <precedence> Sets the precedence for the OSPF accept policy.
• <precedence> is the range 0 to 65535.
If multiple policies apply, the higher
precedence is used.
range-net-list <netlist id> Sets the OSPF accept policy to match any
network number that falls into the indicated
range.
• <netlist id> is the netlist id range
0 to 1000.
config ip policy ospf accept <pid>
followed by:
cli.book Page5 Wednesday,April19, 2000 3:14PM