- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2019 11:52 PM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2019 12:41 AM
Hi,
Where you want to block the PC? Is it a Layer 2 or Layer 3 network where you are looking this solution? This is very little information for understanding the issue but you can use Access list as below:
ip access-list extended Block_PC
deny ip host x.x.x.x any
permit ip any any
!
Here x.x.x.x is the PC ip address.
Now, apply this Access-list near to the source (host) as:
!
ip interface xxx\x
ip access-group Block_PC in
Above example is for the router or Layer 3 device where you want to block the single host.
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2019 12:41 AM
Hi,
Where you want to block the PC? Is it a Layer 2 or Layer 3 network where you are looking this solution? This is very little information for understanding the issue but you can use Access list as below:
ip access-list extended Block_PC
deny ip host x.x.x.x any
permit ip any any
!
Here x.x.x.x is the PC ip address.
Now, apply this Access-list near to the source (host) as:
!
ip interface xxx\x
ip access-group Block_PC in
Above example is for the router or Layer 3 device where you want to block the single host.
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2019 01:47 AM
