PowerConnect B-Series FCX Configuration Guide
1139
53-1002266-01
Restricting remote access to management functions
32
Example
PowerConnect(config)#access-list 10 permit host 209.157.22.32
PowerConnect(config)#access-list 10 permit 209.157.23.0 0.0.0.255
PowerConnect(config)#access-list 10 permit 209.157.24.0 0.0.0.255
PowerConnect(config)#access-list 10 permit 209.157.25.0/24
PowerConnect(config)#telnet access-group 10
PowerConnect(config)#write memory
The ACL in this example permits Telnet access only to the IP addresses in the permit entries and
denies Telnet access from all other IP addresses.
Using an ACL to restrict SSH access
To configure an ACL that restricts SSH access to the device, enter commands such as the following.
Syntax: ssh access-group
<num>
The
<num>
parameter specifies the number of a standard ACL and must be from 1 – 99.
These commands configure ACL 12, then apply the ACL as the access list for SSH access. The
device denies SSH access from the IP addresses listed in ACL 12 and permits SSH access from all
other IP addresses. Without the last ACL entry for permitting all packets, this ACL would deny SSH
access from all IP addresses.
NOTE
In this example, the command ssh access-group 10 could have been used to apply the ACL
configured in the example for Telnet access. You can use the same ACL multiple times.
Using an ACL to restrict Web management access
To configure an ACL that restricts Web management access to the device, enter commands such
as the following.
Syntax: web access-group
<num>
The
<num>
parameter specifies the number of a standard ACL and must be from 1 – 99.
These commands configure ACL 12, then apply the ACL as the access list for Web management
access. The device denies Web management access from the IP addresses listed in ACL 12 and
permits Web management access from all other IP addresses. Without the last ACL entry for
permitting all packets, this ACL would deny Web management access from all IP addresses.
PowerConnect(config)#access-list 12 deny host 209.157.22.98 log
PowerConnect(config)#access-list 12 deny 209.157.23.0 0.0.0.255 log
PowerConnect(config)#access-list 12 deny 209.157.24.0/24 log
PowerConnect(config)#access-list 12 permit any
PowerConnect(config)#ssh access-group 12
PowerConnect(config)#write memory
PowerConnect(config)#access-list 12 deny host 209.157.22.98 log
PowerConnect(config)#access-list 12 deny 209.157.23.0 0.0.0.255 log
PowerConnect(config)#access-list 12 deny 209.157.24.0/24 log
PowerConnect(config)#access-list 12 permit any
PowerConnect(config)#web access-group 12
PowerConnect(config)#write memory
Summary of Contents for PowerConnect B-FCXs
Page 1: ...53 1002266 01 18 March 2011 PowerConnect B Series FCX Configuration Guide ...
Page 248: ...206 PowerConnect B Series FCX Configuration Guide 53 1002266 01 IPv6 management commands 7 ...
Page 374: ...332 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Jumbo frame support 9 ...
Page 568: ...526 PowerConnect B Series FCX Configuration Guide 53 1002266 01 CLI examples 14 ...
Page 588: ...546 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Sample application 15 ...
Page 684: ...642 PowerConnect B Series FCX Configuration Guide 53 1002266 01 VLAN based mirroring 20 ...
Page 724: ...682 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Reading CDP packets 23 ...
Page 930: ...888 PowerConnect B Series FCX Configuration Guide 53 1002266 01 26 ...
Page 948: ...906 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Configuring MLD snooping 27 ...
Page 1348: ...1306 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Example configurations 36 ...
Page 1406: ...1364 PowerConnect B Series FCX Configuration Guide 53 1002266 01 IP source guard 39 ...