Show commands
Use these M4500 CLI commands to display policy routes on interfaces, IPv4 and IPv6 prefix lists, and route maps.
show ip policy
This command lists the route map associated with each interface.
| Default | None |
| Format | show ip policy |
| Mode | Privileged Exec |
Display Message
| Fields | Definition |
|---|---|
| Interface | The interface. |
| Route-map | The route map. |
show ip prefix-list
This command displays configuration and status for a prefix list.
| Default | None |
| Format | show ip prefix-list [[detail | summary] <listname> | <listname> [<prefix/length> [longer | first-match] | seq <1-4294967294>]] |
| Mode | Privileged Exec |
Display Message
| Fields | Definition |
|---|---|
| detail | summary | (Optional) Displays detailed or summarized information about all prefix lists. |
| listname | (Optional) The name of a specific prefix list. |
| prefix/length | (Optional) The network number and length (in bits) of the network mask. |
| Seq | (Optional) Applies the sequence number to the prefix list entry. |
| sequence-number | (Optional) The sequence number of the prefix list entry. |
| longer | (Optional) Displays all entries of a prefix list that are more specific than the given network/length |
| first-match | (Optional) Displays the entry of a prefix list that matches the given network/length. |
show ipv6 prefix-list
This command displays configuration and status for a selected prefix list.
| Default | None |
| Format | show ipv6 prefix-list [[detail | summary] <listname> | <listname> [<ipv6-prefix/length> [longer | first-match] | seq <1-4294967294>]] |
| Mode | Privileged Exec |
Display Message
| Fields | Definition |
|---|---|
| detail | summary | (Optional) Displays detailed or summarized information about all prefix lists. |
| listname | (Optional) The name of a specific prefix list. |
| ipv6-prefix/prefix-length | (Optional) The network number and length (in bits) of the network mask. |
| seq | (Optional) Applies the sequence number to the prefix list entry. |
| sequence-number | (Optional) The sequence number of the prefix list entry. |
| longer | (Optional) Displays all entries of a prefix list that are more specific than the given network/length |
| first-match | (Optional) Displays the entry of a prefix list that matches the given network/length. |
show route-map
To display a route map, use the show route-map command in Privileged EXEC mode.
| Default | None |
| Format | show route-map [routemap] |
| Mode | Privileged Exec |
| Fields | Definition |
|---|---|
| routename | (Optional) Name of a specific route map. |