HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 447
ip extcommunity-list, route-policy
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 447 highlights
ip extcommunity-list Use ip extcommunity-list to define an extended community list entry. Use undo ip extcommunity-list to remove an extended community list. Syntax ip extcommunity-list ext-comm-list-number { deny | permit } { rt route-target }& undo ip extcommunity-list ext-comm-list-number [ { deny | permit } [ rt route-target ]& ] Default No extended community list is defined. Views System view Predefined user roles network-admin Parameters ext-comm-list-number: Specifies a number for the extended community list, in the range of 1 to 199. deny: Specifies the match mode for the extended community list as deny. permit: Specifies the match mode for the extended community list as permit. { rt route-target }&: Specifies the RT extended community attribute, a string of 3 to 21 characters. & indicates that the argument before it can be entered up to 32 times. A route-target has the following forms: • A 16-bit AS number-A 32-bit self-defined number, for example, 101:3. The AS number is in the range of 0 to 65535, and the self-defined number is in the range of 0 to 4294967295. • A 32-bit IP address-A 16-bit self-defined number, for example, 192.168.122.15:1. The self-defined number is in the range of 0 to 65535. • A 32-bit AS number-A 16-bit self-defined number, for example, 70000:3. The AS number is in the range of 65536 to 4294967295, and the self-defined number is in the range of 0 to 65535. Examples # Define extended community list 1 to permit routes with RT 200:200 to pass. system-view [Sysname] ip extcommunity-list 1 permit rt 200:200 Related commands • apply extcommunity • display ip extcommunity-list • if-match extcommunity route-policy Use route-policy to create a routing policy and a node, and enter routing policy node view. Use undo route-policy to remove a routing policy or a node of it. 436