0% found this document useful (0 votes)
28 views1 page

Script Firewall

The document configures two interfaces on a router, applying an access list to one interface that denies a specific host while allowing all other traffic. The interfaces are configured with IP addresses and enabled.

Uploaded by

Anisa Agustin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views1 page

Script Firewall

The document configures two interfaces on a router, applying an access list to one interface that denies a specific host while allowing all other traffic. The interfaces are configured with IP addresses and enabled.

Uploaded by

Anisa Agustin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

access-list 1 deny host 192.168.1.

2
access-list 1 permit any
int fa0/1
ip access-group 1 in
exit

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to


up
ip address 192.168.11.1 255.255.255.0
Router(config-if)#ip address 192.168.11.1 255.255.255.0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet0/1
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to


up
ip address 192.168.1.1 255.255.255.0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet0/0
Router(config-if)#

You might also like