6-7To do... Use the command... RemarksConfigure AS path list ip as-path-acl acl-number { permit |deny } as-regular-expressionOptionalBy default, no AS path list isdefinedCommunity List ConfigurationIn BGP, COMMUNITY attributes are optional transitive. Some COMMUNITY attributes are globallyrecognized and they are called standard COMMUNITY attributes. Some are for special purposes andthey can be customized.A route can have one or more COMMUNITY attributes. The speaker of multiple COMMUNITY attributesof a route can act based on one, multiple or all attributes. A router can decide whether to changeCOMMUNITY attributes before forwarding a route to other peer entity.Community list is used to identify community information. It falls in to two types: basic community listand advanced community list. The former one’s value ranges from 1 to 99, and the latter one’s rangesfrom 100 to 199.Follow these steps to configure a community list:To do... Use the command... RemarksEnter system view system-view —Configure basiccommunity listip community-list basic-comm-list-number{ permit | deny } [ aa:nn &<1-12>| internet |no-export-subconfed | no-advertise |no-export ]*OptionalBy default, no BGP community listis definedConfigure advancedcommunity listip community-list adv-comm-list-number{ permit | deny } comm-regular-expressionOptionalBy default, no BGP community listis definedDisplaying IP Routing PolicyTo do... Use the command... RemarksDisplay routing policyinformationdisplay route-policy[ route-policy-name ]Display IP-prefix information display ip ip-prefix [ ip-prefix-name ]Available in any viewIP Routing Policy Configuration ExampleConfiguring to Filter Received Routing InformationNetwork requirementsSwitch A communicates with Switch B. OSPF protocol is enabled on both switches. The router ID ofSwitch A is 1.1.1.1 and that of Switch B is 2.2.2.2.Configure three static routes and enable OSPF on Switch A.