To disable users with ip-addresses from subnet 192.168.0.0/16
To disable inappropriate DHCP servers. For example on ports 1-10
Protocol : UDP
A DHCP server, listening on port 67; will receive the broadcast and will send back an ethernet frame to the given MAC address
Here is a bash script for automatic login by telnet and config a commutator.
create access_profile ip source_ip_mask 255.255.0.0 profile_id 1 config access_profile profile_id 1 add access_id 1 ip source_ip 192.168.0.0 port 1 deny config access_profile profile_id 1 add access_id 2 ip source_ip 192.168.0.0 port 2 deny
To disable inappropriate DHCP servers. For example on ports 1-10
Protocol : UDP
A DHCP server, listening on port 67; will receive the broadcast and will send back an ethernet frame to the given MAC address
create access_profile ip udp src_port_mask 0xFFFF profile_id 2 config access_profile profile_id 2 add access_id 1 ip udp src_port 67 port 1-10 deny
Here is a bash script for automatic login by telnet and config a commutator.
:~$ cat telnet-script (echo config access_profile profile_id 1 add access_id $i ip source_ip 192.168.0.0 port $i deny #some other commands ) > commands (sleep 1; echo login; echo "password";sleep 1; cat commands; sleep 5; )| telnet switch_address
No comments:
Post a Comment