
Configuring IP Inbound Traffic Filters Using the BCC
308645-15.0 Rev 00
8-21
box#
ip
ip#
filter-template fwd-next-in
filter-template/fwd-next-in#
match
match/template/fwd-next-in#
source-network 192.168.107.44
source-network/template/fwd-next-in/192.168.107.44#
back 2
filter-template/fwd-next-in#
actions
actions/template/fwd-next-in#
fwd-next-hop 192.168.107.64
fwd-next-hop/template/fwd-next-in/192.168.107.64#
info
ipaddress 192.168.107.64
fwd-next-hop/template/fwd-next-in/192.168.107.64#
back
actions/template/fwd-next-in#
action drp-nh-unreach
actions/template/fwd-next-in#
action-log detailed
actions/template/fwd-next-in#
back
filter-template/fwd-next-in#
show config -r
filter-template template-name fwd-next-in
match
source-network range 192.168.107.44
back
back
actions
action drp-nh-unreach
action-log detailed
fwd-next-hop ipaddress 192.168.107.64
back
back
back
Applying the Filter Template to an IP Traffic Filter
This example applies the filter template telnet-in to IP interface 192.168.68.3/32.
box#
ethernet/2/1; ip/192.168.68.3/255.255.255.255
ip/192.168.68.3/255.255.255.255#
traffic-filter filter1 template-name
telnet-in
traffic-filter/filter1/192.168.68.3#
info
filter-name filter1
template-name telnet-in
precedence 1
state enabled
traffic-filter/filter1/192.168.68.3#
back
ip/192.168.68.3/255.255.255.255#
Kommentare zu diesen Handbüchern