Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

access-list Summit24

Status
Not open for further replies.

radar7

Technical User
Jun 17, 2003
8
DK
Summit24

<PORTNR> = port no on the switch

create access-mask allowpublicmaskp<PORTNR> dest-ip/0 source-ip/32 ports precedence 16000
create access-mask denypublicmaskp<PORTNR> dest-ip/0 source-ip/0 ports precedence 16010
create access-list allowpublic1p<PORTNR>-1 allowpublicmaskp<PORTNR> dest-ip 0.0.0.0/0 source-ip 195.184.104.62/32 port <PORTNR> permit
create access-list denypublic1p<PORTNR> denypublicmaskp<PORTNR> dest-ip any source-ip any ports <PORTNR> deny

Block all source ip <> 195.184.104.62 but also block access to 195.184.104.x (destination) why ??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top