Pages

Monday, January 14, 2008

Cisco 3725

telnet router.domain
give passwd
en
give enable passwd
Get #
# sh runn ;To show the running config
# sh conf ;To show the config

To add acl to Internet ( here Internet is access list name for inbond traffic)

# conf t
ip access-list extended internet
permit tcp any host 192.16.1.200 eq 25


permit ssh from 159.133.12 net to 49 subnet

permit tcp 159.133.12.0 255.255.255.0 192.16.49.0 255.255.255.0 eq 22
no deny ip any any
deny ip any any
ctrl z



to write the config to flash
# wr mem


To add acl to Externet ( Externet is access list name for outbond traffic)

# conf t
ip access-list extended externet
deny tcp host 192.16.1.200 any eq port no


deny port 422 to 159.133.12 net from 49 subnet of tifr

deny tcp 192.16.49.0 255.255.255.0 159.133.12.0 255.255.255.0 eq 422
no permit ip any any
permit ip any any

ctrl z



to write the config to flash
# wr mem
# sh int fastethernet 0/1

to see tx load and rx load and crc

No comments: