Junos OS

last person joined: 11 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  set interface

    Posted 09-02-2015 19:07

     

    set interfaces ge-0/0/0 unit 0 family inet address 1.1.2.31/24

     

    The command will assign 1.1.2.31/24 to interface ge-0/0/0

     

    The keyword "family" has to be created first on address book?

     

    Or the command itself will automatically  create "family" on address book with the IP Address of 1.1.2.31/24?

     

    Please help. Thanks.



  • 2.  RE: set interface

     
    Posted 09-02-2015 20:36

    Hello,

     

    family is the keyword. It is not an address. You can configure family inet(ipv4), inet6(ipv6), ethernet-switching etc. as a family for the interface.

     

    So there is no need to create address book entry named family.

     

    Regards,

     

    Rushi



  • 3.  RE: set interface

    Posted 09-02-2015 21:15

    Hi Rushi, please let me know if I understand wrongly.

     

    So when creating an interface the keyword "family" has to be specified?

     

    I was thinking that the keyword "family" can be change to something else like "email_interface_family", something like that.

     

    Basically the keyword "family" is part of the command syntax?

     

    Thanks.



  • 4.  RE: set interface
    Best Answer

     
    Posted 09-02-2015 21:23

    Hello,

     

    Keyword family has to be specified followed by whichever protocol family you want to configure on the interface.

     

    After this keyword, you will get multiple options like inet for ipv4, inet6 for ipv6, ethernet-switching for L2 config etc.

     

    Below is the output from my lab firewall:

     

    root# set interfaces ge-0/0/1.0 family ?
    Possible completions:
    + apply-groups         Groups from which to inherit configuration data
    + apply-groups-except  Don't inherit configuration data from these groups
    > ccc                  Circuit cross-connect parameters
    > ethernet-switching   Ethernet switching parameters
    > inet                 IPv4 parameters
    > inet6                IPv6 protocol parameters
    > iso                  OSI ISO protocol parameters
    > mpls                 MPLS protocol parameters
    > tcc                  Translational cross-connect parameters
    > vpls                 Virtual private LAN service parameters

     

    Regards,

     

    Rushi