Switching

last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  best practice for switch lockdown?

    Posted 10-30-2016 01:12

    I have some ex2200 switches running 12.3. What is recommended practice for securing the switch such that unauthorised switches, WAPs, routers will be locked out if connected? ie; only permit end user devices.



  • 2.  RE: best practice for switch lockdown?

    Posted 10-30-2016 04:35

    Best resource for this is the free Day One book Hardening Junos Devices.  The quick fix would be to concentrate on the firewall filter section that locks down access and ports on the switches for management.

     

    http://forums.juniper.net/t5/Day-One-Books/NEW-This-Week-Hardening-Junos-Devices-Second-Edition/ba-p/117366



  • 3.  RE: best practice for switch lockdown?
    Best Answer

     
    Posted 10-31-2016 02:17

    Hi, 

     

    I believe there could be a couple of options:

    1. Basic port security 

    https://www.juniper.net/documentation/en_US/junos12.3/topics/example/port-security-configuring.html

     

    2. Network Access Control [802.1x]

     

    3. To protect against connection of switches on access ports - STP BPDU protection.

     

    Cheers,

    Ashvin



  • 4.  RE: best practice for switch lockdown?

    Posted 10-31-2016 22:35

    Thank you that was most helpful. One question regarding the use of mac count limiting - ie; set interface ge-0/0/2 mac-limit 4 - if i use this on an interface range rather than a single port, does it apply the specified limit to each port in the range? Or does the limit apply to all ports combined in the range?



  • 5.  RE: best practice for switch lockdown?

    Posted 11-01-2016 03:13

    Groups are a short cut to apply configuration to each interface via the single group section.  So each interface will behave as if you configured them separately.



  • 6.  RE: best practice for switch lockdown?

     
    Posted 11-04-2016 06:20

    Hi,

     

    As Steve says each interface will inherit the config from the interface-range.

    You could check this using:

    > show configuration interfaces x/x/x | display inheritance

    Cheers,

    Ashvin