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.

Step Command Syntax Command Mode Purpose<br />

2<br />

3<br />

seq sequence-number {deny |<br />

permit} {any | ip-prefix [ge | le] }<br />

CONFIG-PREFIX<br />

LIST<br />

exit CONFIG-PREFIX<br />

LIST<br />

As a reminder, below are some rules concerning prefix lists:<br />

• If <strong>the</strong> prefix list contains no filters, all routes are permitted.<br />

Create multiple prefix list filters with a<br />

deny or permit action.<br />

ge: Minimum prefix length to be matched<br />

le: maximum prefix length to me matched<br />

Refer to <strong>for</strong> in<strong>for</strong>mation on configuring<br />

prefix lists.<br />

Return to <strong>the</strong> CONFIGURATION mode.<br />

4 router bgp as-number CONFIGURATION Enter ROUTER BGP mode.<br />

5<br />

neighbor {ip-address |<br />

peer-group-name} distribute-list<br />

prefix-list-name {in | out}<br />

CONFIG-ROUTER-<br />

BGP<br />

Filter routes based on <strong>the</strong> criteria in <strong>the</strong><br />

configured prefix list. Configure <strong>the</strong><br />

following parameters:<br />

• ip-address or peer-group-name: enter<br />

<strong>the</strong> neighbor’s IP address or <strong>the</strong> peer<br />

group’s name.<br />

• prefix-list-name: enter <strong>the</strong> name of a<br />

configured prefix list.<br />

• in: apply <strong>the</strong> prefix list to inbound<br />

routes.<br />

• out: apply <strong>the</strong> prefix list to outbound<br />

routes.<br />

• If none of <strong>the</strong> routes match any of <strong>the</strong> filters in <strong>the</strong> prefix list, <strong>the</strong> route is denied. This action is called<br />

an implicit deny. (If you want to <strong>for</strong>ward all routes that do not match <strong>the</strong> prefix list criteria, you must<br />

configure a prefix list filter to permit all routes. For example, you could have <strong>the</strong> following filter as <strong>the</strong><br />

last filter in your prefix list permit 0.0.0.0/0 le 32).<br />

• Once a route matches a filter, <strong>the</strong> filter’s action is applied. No additional filters are applied to <strong>the</strong> route.<br />

To view <strong>the</strong> BGP configuration, use <strong>the</strong> show config command in <strong>the</strong> ROUTER BGP mode. To view a<br />

prefix list configuration, use <strong>the</strong> show ip prefix-list detail or show ip prefix-list summary<br />

commands in EXEC Privilege mode.<br />

Use <strong>the</strong>se commands in <strong>the</strong> following sequence, starting in <strong>the</strong> CONFIGURATION mode to filter routes<br />

using a route map.<br />

Step Command Syntax Command Mode Purpose<br />

1 route-map map-name<br />

[permit | deny]<br />

[sequence-number]<br />

CONFIGURATION Create a route map and assign it a<br />

name.<br />

504 Border Gateway Protocol (BGP)

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

Saved successfully!

Ooh no, something went wrong!