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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To view <strong>the</strong> configuration, use <strong>the</strong> show config command in <strong>the</strong> CONFIGURATION<br />

COMMUNITY-LIST or CONFIGURATION EXTCOMMUNITY LIST mode or <strong>the</strong> show ip<br />

{community-lists | extcommunity-list} command in EXEC Privilege mode (Figure 357).<br />

Figure 357 Command example: show ip community-lists<br />

Use <strong>the</strong>se commands in <strong>the</strong> following sequence, starting in <strong>the</strong> CONFIGURATION mode, To use an IP<br />

Community list or Extended Community List to filter routes, you must apply a match community filter<br />

to a route map and <strong>the</strong>n apply that route map to a BGP neighbor or peer group.<br />

Step Command Syntax Command Mode Purpose<br />

1 route-map map-name [permit<br />

| deny] [sequence-number]<br />

2<br />

match {community<br />

community-list-name [exact] |<br />

extcommunity<br />

extcommunity-list-name [exact]}<br />

CONFIGURATION Enter <strong>the</strong> ROUTE-MAP mode and<br />

assign a name to a route map.<br />

CONFIG-ROUTE-MAP Configure a match filter <strong>for</strong> all routes<br />

meeting <strong>the</strong> criteria in <strong>the</strong> IP<br />

Community or Extended Community<br />

list.<br />

3 exit CONFIG-ROUTE-MAP Return to <strong>the</strong> CONFIGURATION<br />

mode.<br />

4<br />

5<br />

<strong>Force10</strong>#show ip community-lists<br />

ip community-list standard 1<br />

deny 701:20<br />

deny 702:20<br />

deny 703:20<br />

deny 704:20<br />

deny 705:20<br />

deny 14551:20<br />

deny 701:112<br />

deny 702:112<br />

deny 703:112<br />

deny 704:112<br />

deny 705:112<br />

deny 14551:112<br />

deny 701:667<br />

deny 702:667<br />

deny 703:667<br />

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

AS-number: 0-65535 (2-Byte) or<br />

1-4294967295 (4-Byte)<br />

neighbor {ip-address |<br />

peer-group-name} route-map<br />

map-name {in | out}<br />

CONFIG-ROUTER-BGP Apply <strong>the</strong> route map to <strong>the</strong> neighbor or<br />

peer group’s incoming or outgoing<br />

routes.<br />

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

mode. To view a route map configuration, use <strong>the</strong> show route-map command in EXEC Privilege mode.<br />

To view which BGP routes meet an IP Community or Extended Community list’s criteria, use <strong>the</strong> show ip<br />

bgp {community-list | extcommunity-list} command in EXEC Privilege mode.<br />

<strong>FTOS</strong> <strong>Configuration</strong> <strong>Guide</strong>, version 7.7.1.0 497

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

Saved successfully!

Ooh no, something went wrong!