Junos OS

 View Only
last person joined: 7 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  DHCP and in Band Management

    Posted 10-29-2018 13:38

    Is it possible to use in band management (not using the dedicated nic) and have it be setup for DHCP?

    If so how do I set that up on an ex3400?



  • 2.  RE: DHCP and in Band Management

    Posted 10-29-2018 23:47

    You just assign a vlan for management, give it a layer3 interface at have it receive it's IP via dhcp.


    Example:

    user@EX3400-VC# show vlans
    mgmt {
        vlan-id 10;
        l3-interface irb.10;
    }
    
    user@EX3400-VC# show interfaces irb.10
    family inet {
        dhcp;
    }
    


  • 3.  RE: DHCP and in Band Management

    Posted 10-31-2018 14:38

    As I am trying to make this as simple as possible. Is it also possible to make the mgmt vlan the default vlan for all ports? As in all ports are on VLAN 1 and it is also the mgmt VLAN?

     



  • 4.  RE: DHCP and in Band Management
    Best Answer

     
    Posted 11-01-2018 02:13

    Hi Matt,

     

    Just a quickie for you.

     

    I know you want to make it as simple as possible, but from a security perspective, VLAN 1 should always be disabled and a different VLAN configured.

     

    The reason: As you have just stated, all ports are on VLAN 1. Most switches straight from the box are VLAN 1 by default.

     

    As for the the DHCP issue, just complete what has already been mentioned.



  • 5.  RE: DHCP and in Band Management

    Posted 11-01-2018 09:00

    I understand the VLAN 1 issue. This is just a lab switch. Thank you for your help.

     



  • 6.  RE: DHCP and in Band Management

    Posted 11-01-2018 12:31

    one more question. Once the switch pulls an IP. Is there a command to show what IP it pulled?

     



  • 7.  RE: DHCP and in Band Management

    Posted 11-02-2018 17:21

    show interface terse irb

     

    Will show the active ip address on the interface.