30 show ip prefix-list Page 492: Name
Page 492: Name

31-131
Weight value is adopted to facilitate the best path option and validates only within the local switch.
While there are several route to the same destination the one with higher priority is more preferred.
To use this command, one match clause should at first be defined.
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#set weight 60
31.30 show ip prefix-list
Command:
show ip prefix-list [<list-name> [<ip_addr/len> [first-match | longer] | seq
<sequence-number>]]
Function:
Show by prefix-list names.
Parameter:
<list-name> is the name of prefix-list, <ip_addr/len> is the prefix ip address and the length of mask,
first-match stands for the first route table matched with specified ip address, longer means longer
prefix is required, seq means show by sequence number, <sequence-number> is the sequence
number, ranging between 0~4294967295.
Command Mode:
Admin mode
Usage Guide:
All prefix-list will be listed when no prefix-list name is specified.
Example:
Switch#show ip prefix-list
ip prefix-list 1: 1 entries
deny any
ip prefix-list mylist: 1 entries
deny 1.1.1.1/8
Switch#show ip prefix-list mylist 1.1.1.1/8
seq 5 deny 1.1.1.1/8 (hit count: 0, recount: 0)
Displayed information
Explanation
ip prefix-list mylist: 1 entries
Show a prefix-list named mylist which includes 1
instance.