Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Disabling the web interface

Is it possible to disable the web interface on the MDS switches? If so do you know the commands?

Cheers

Richard

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: Disabling the web interface

You can use ACLs. The Cisco cook book has details. The commands will be something like,

mds-11-03# config t

Enter configuration commands, one per line. End with CNTL/Z.

mds-11-03(config)# ip access-list nohttp deny tcp any any eq port 80

mds-11-03(config)# ip access-list nohttp deny tcp any any eq port 443

mds-11-03(config)# ip access-list nohttp permit ip any any

mds-11-03(config)# interface mgmt0

mds-11-03(config-if)# ip access-group nohttp in

mds-11-03(config-if)# end

2 REPLIES

Re: Disabling the web interface

You should be able to apply an access list filtering this traffic to the mgmt interface.

New Member

Re: Disabling the web interface

You can use ACLs. The Cisco cook book has details. The commands will be something like,

mds-11-03# config t

Enter configuration commands, one per line. End with CNTL/Z.

mds-11-03(config)# ip access-list nohttp deny tcp any any eq port 80

mds-11-03(config)# ip access-list nohttp deny tcp any any eq port 443

mds-11-03(config)# ip access-list nohttp permit ip any any

mds-11-03(config)# interface mgmt0

mds-11-03(config-if)# ip access-group nohttp in

mds-11-03(config-if)# end

232
Views
0
Helpful
2
Replies
CreatePlease login to create content