Information Security 3 min read

Configuring Cisco Router Interfaces and Access Lists

This guide demonstrates how to configure FastEthernet interfaces on a Cisco router, assign IP addresses, create and apply a standard access list to block a specific host, and verify the access list entries using show commands.

Practical DevOps Architecture
Practical DevOps Architecture
Practical DevOps Architecture
Configuring Cisco Router Interfaces and Access Lists

To configure FastEthernet interfaces on a Cisco router, enter interface range mode and enable the interfaces:

Router(config)#int range f0/0 - 1
Router(config-if-range)#no shutdown

Then configure each interface with an IP address:

Router(config)#int f0/0
Router(config-if)#ip address 10.0.0.254 255.0.0.0
Router(config)#int f0/1
Router(config-if)#ip address 20.0.0.254 255.0.0.0
Router(config-if)#exit

Create a standard access list that denies traffic from host 10.0.0.1:

Router(config)#access-list 2 deny host 10.0.0.1
Router(config)#exit

Apply the access list to inbound traffic on interface f0/0 and add a permit rule for the desired network:

Router(config)#interface f0/0
Router(config-if)#ip access-group 2 in
Router(config)#access-list 2 permit 10.0.0.2 0.255.255.255

Verify the access list configuration with the show command:

Router#show access-lists
Standard IP access list 2
deny host 10.0.0.1 (8 match(es))
permit 10.0.0.0 0.255.255.255 (4 match(es))
securityRouternetwork configurationCiscoAccess List
Practical DevOps Architecture
Written by

Practical DevOps Architecture

Hands‑on DevOps operations using Docker, K8s, Jenkins, and Ansible—empowering ops professionals to grow together through sharing, discussion, knowledge consolidation, and continuous improvement.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.