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.
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 shutdownThen 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)#exitCreate 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)#exitApply 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.255Verify 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))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.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.