Router security features

4.2.b i IPv6 Traffic Filters

General information on “IPv6 Traffic Filters”:

“IPv6 Traffic Filters” CLI configuration commands:

## Defining an IPv6 ACL
Router(config)# ipv6 access-list [ACL NAME]
Router(config-ipv6-acl)# [permit | deny] [protocol] [source-ipv6-prefix | any | host source-ipv6-address] [dest-ipv6-prefix | any | host dest-ipv6-addr] [operator port]

## Applying an IPv6 ACL to an interface
Router(config)# interface <if>
Router(config-if)# ipv6 traffic-filter [ACL NAME] [in | out]

“IPv6 Traffic Filters” CLI show commands:

## Showing currently configured IPv6 ACLs
Router# show ipv6 access-lists

4.2.b ii IPv4 Access Control Lists

General Information on “IPv4 Access Control Lists”:

“IPv4 Access Control Lists” CLI configuration commands:

## Defining an IPv4 standard ACL
Router(config)# ip access-list standard [1-99 | 1300-1999 | WORD]
Router(config-std-nacl)# [permit | deny] [source-ip | any] [mask] [log]

## Defining an IPv4 extended ACL
Router(config)# ip access-list extended [100-199 | 2000-2699 | WORD]
Router(config-std-nacl)# [permit | deny] [protocol] [source-ip | any] [mask] [dest-ip | any] [mask] [log]

## Defining a time range for ACLs
Router(config)# time-range <tr-name>
Router(config-time-range)# absolute start <hh:mm> [day] [month] [year] end <hh:mm> [day] [month] [year]
Router(config-time-range)# periodic [days] <hh:mm> to <hh:mm>

## Defining an IPv4 extended ACL with a time range
Router(config)# ip access-list extended [100-199 | 2000-2699 | WORD]
Router(config-std-nacl)# [permit | deny] [protocol] [source-ip | any] [mask] [dest-ip | any] [mask] [log] time-range <tr-name>

## Applying an IPv4 ACL to an interface
Router(config)# interface <if>
Router(config-if)# ip access-group [ACL NAME | ACL NUMBER] [in | out]

“IPv4 Access Control Lists” CLI configuration commands:

## Showing currently configured IPv4 ACLs
Router# show ip access-lists

4.2.b iii Unicast Reverse Path Forwarding

General Information on “Unicast Reverse Path Forwarding”:

“Unicast Reverse Path Forwarding” CLI configuration commands:

## Enable uRPF on an interface
Router(config)# interface <if>
Router(config-if)# ip verify unicast source reachable-via [any | rx] <acl-name>

“Unicast Reverse Path Forwarding” CLI show commands:

## Showing how many packets uRPF has dropped
Router# show ip traffic

## Showing if uRPF is enabled on a specific interface
Router# show cef interface <if>