Cisco Nexus 3548 Command Reference Manual page 215

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Chapter
Unicast Routing Commands
Tip
For the best performance of your network, you should configure the most frequently processed prefix
list statements with the lowest sequence numbers. The seq number keyword and argument can be used
for resequencing.
The prefix list is applied to inbound or outbound updates for specific peer by entering the prefix-list
command in neighbor address-family mode. Prefix list information and counters are displayed in the
output of the show ip prefix-list command. Prefix-list counters can be reset by entering the clear ip
prefix-list command.
This command does not require a license.
Examples
This example shows how to configure a prefix list and apply it to a Border Gateway Protocol (BGP) peer:
switch# configure terminal
switch(config)# ip prefix-list allowprefix 10 permit 192.0.2.0 eq 24
switch(config)# ip prefix-list allowprefix 20 permit 209.165.201.0 eq 27
switch(config) router bgp 65536:20
switch(config-router)# neighbor 192.0.2.1/16 remote-as 65536:20
switch(config-router-neighbor)# address-family ipv4 unicast
switch(config-router-neighbor-af)# prefix-list allowprefix in
switch(config-router-neighbor-af)#
Related Commands
Command
clear ip prefix-list
prefix-list
show ip prefix-list
OL-27852-01
Description
Clears counters for IP prefix lists.
Applies a prefix list to BGP peer.
Displays information about IP prefix lists.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
ip prefix-list
195

Advertisement

Table of Contents
loading

Table of Contents