beautypg.com

Chapter 29 commands for routing policy, 1 ip prefix-list description, 2 ip prefix-list seq – PLANET XGS3-24040 User Manual

Page 383: Ip prefix, List description, List seq

background image


29-96

Chapter 29 Commands for Routing

Policy

29.1 ip prefix-list description

Command:

ip prefix-list <list_name> description <description>

no ip prefix-list <list_name> description

Function:

Configure the description of the prefix-list. The “no ip prefix-list <list_name> description

command deletes the description contents.

Parameter:

is the name of the prefix-list,

is the description contents.

Default:

None.

Command Mode:

Global Mode

Usage Guide:

This command can be used for explaining and describing a prefix-list, e.g. the application and

attention matters of the prefix-list.

Example:

Switch#config terminal

Switch(config)#ip prefix-list 3 description This list is used by BGP

29.2 ip prefix-list seq

Command:

ip prefix-list <list_name> [seq <sequence_number>] < any |

ip_addr/mask_length [ge <min_prefix_len>] [le <max_prefix_len>]>

no ip prefix-list <list_name> [seq <sequence_number>] [ < any |

ip_addr/mask_length [ge <min_prefix_len>] [le <max_prefix_len>]>]

Function:

Configure the prefix-list. The “no ip prefix-list <list_name> [seq <sequence_number>] [

permit> < any | ip_addr/mask_length [ge <min_prefix_len>] [le <max_prefix_len>]>]

command deletes the prefix-list.

Parameter:

is the name of prefix-list, “seq” shows the following parameters is the sequence

number, <sequence_number> is the sequence number, “deny” means deny this route, “permit”

means permit this route, “any” means adaptive to all packets with any prefix as well as any mask

length, ip_addr/mask_length shows the prefix address (dotted decimal notation) and the length of

mask, “ge” means greater than or equal to, <min_prefix_len> is the minimum length of prefix to