C613-50100-01 REV C Command Reference for x930 Series 1239
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
BGP AND BGP4+ COMMANDS
IP
PREFIX-LIST (IPV4 PREFIX LIST)
Example In the below sample configuration, the last ip prefix-list command in the
below list matches all, and the first ip prefix-list command denies the IP
network 76.2.2.0:
awplus(config)# router bgp 100
awplus(config-router)# network 172.1.1.0
awplus(config-router)# network 172.1.2.0
awplus(config-router)# neighbor 10.6.5.3 remote-as 300
awplus(config-router)# neighbor 10.6.5.3 prefix-list mylist out
awplus(config-router)# exit
awplus(config)# ip prefix-list mylist seq 5 deny 76.2.2.0/24
awplus(config)# ip prefix-list mylist seq 100 permit any
To deny the IP addresses between 10.0.0.0/14 (10.0.0.0 255.252.0.0)
and 10.0.0.0/22 (10.0.0.0 255.255.252.0) within the
10.0.0.0/8(10.0.0.0 255.0.0.0) addressing range, enter the following
commands:
awplus# configure terminal
awplus(config)# ip prefix-list mylist seq 12345 deny 10.0.0.0/8
ge 14 le 22
Related
Commands
ipv6 prefix-list (IPv6 Prefix List)
show ip prefix-list (IPv4 Prefix List)