02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Command Syntax Command Mode Purpose<br />

distribute-list prefix-list-name in<br />

[interface]<br />

distribute-list prefix-list-name out<br />

[interface | connected | static | ospf]<br />

To view <strong>the</strong> configuration, use <strong>the</strong> show config command in <strong>the</strong> ROUTER RIP mode (Figure 240) or <strong>the</strong><br />

show running-config rip command in <strong>the</strong> EXEC mode.<br />

Figure 240 Command Example: show config in <strong>the</strong> ROUTER RIP Mode<br />

<strong>Force10</strong>(conf-router_rip)#show config<br />

!<br />

router rip<br />

distribute-list prefix juba out<br />

network 10.0.0.0<br />

<strong>Force10</strong>(conf-router_rip)#router ospf 34<br />

CONFIG-ROUTER-RIP Apply a configured prefix list to incoming<br />

routes. You can specify an interface.<br />

If you enter <strong>the</strong> name of a nonexistent<br />

prefix list, all routes are <strong>for</strong>warded.<br />

CONFIG-ROUTER-RIP Apply a configured prefix list to outgoing<br />

routes. You can specify an interface or<br />

type of route.<br />

If you enter <strong>the</strong> name of a non-existent<br />

prefix list, all routes are <strong>for</strong>warded.<br />

To apply a filter to routes in OSPF, use ei<strong>the</strong>r of <strong>the</strong> following commands in <strong>the</strong> ROUTER OSPF mode:<br />

Command Syntax Command Mode Purpose<br />

router ospf CONFIGURATION Enter OSPF mode<br />

distribute-list prefix-list-name in<br />

[interface]<br />

distribute-list prefix-list-name<br />

out [connected | rip | static]<br />

CONFIG-ROUTER-OSPF Apply a configured prefix list to incoming<br />

routes. You can specify an interface.<br />

If you enter <strong>the</strong> name of a non-existent<br />

prefix list, all routes are <strong>for</strong>warded.<br />

CONFIG-ROUTER-OSPF Apply a configured prefix list to incoming<br />

routes. You can specify which type of<br />

routes are affected.<br />

If you enter <strong>the</strong> name of a non-existent<br />

prefix list, all routes are <strong>for</strong>warded.<br />

To view <strong>the</strong> configuration, use <strong>the</strong> show config command in <strong>the</strong> ROUTER OSPF mode (Figure 241) or<br />

<strong>the</strong> show running-config ospf command in <strong>the</strong> EXEC mode.<br />

Figure 241 Command Example: show config in ROUTER OSPF Mode<br />

<strong>Force10</strong>(conf-router_ospf)#show config<br />

!<br />

router ospf 34<br />

network 10.2.1.1 255.255.255.255 area 0.0.0.1<br />

distribute-list prefix awe in<br />

<strong>Force10</strong>(conf-router_ospf)#<br />

354 IP Access Control Lists, Prefix Lists, and Route-maps

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!