Which two commands may be used when configuring an IP address for a Gigabit Ethernet interface?

Which two commands may be used when configuring an IP address for a Gigabit Ethernet interface? (Choose two)

Which two commands may be used when configuring an IP address for a Gigabit Ethernet interface? (Choose two)

A.
set interfaces ge-0/0/0.0 address 10.1.1.1/24

B.
set interfaces ge-0/0/0.0 family inet address 10.1.1.1/24

C.
set interfaces ge-0/0/0 unit 0 family inet address 10.1.1.1/24

D.
set interfaces ge-0/0/0 address 10.1.1.1/24



Leave a Reply 0

Your email address will not be published. Required fields are marked *


Flavio

Flavio

Correct:

B.
set interfaces ge-0/0/0.0 family inet address 10.1.1.1/24

C.
set interfaces ge-0/0/0 unit 0 family inet address 10.1.1.1/24

How we can see below, if we type “set interface interface number”, there isn’t the address option :

root@host# set interfaces em0 ?
Possible completions:
accounting-profile Accounting profile name
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don’t inherit configuration data from these groups
description Text description of interface
disable Disable this interface
encapsulation Physical link-layer encapsulation
gratuitous-arp-reply Enable gratuitous ARP reply
> hold-time Hold time for link up and link down
> layer2-policer Layer2 policing for interface
link-mode Link operational mode
mac Hardware MAC address
mtu Maximum transmit packet size (256..9192)
no-gratuitous-arp-reply Don’t enable gratuitous ARP reply
no-gratuitous-arp-request Ignore gratuitous ARP request
no-traps Don’t enable SNMP notifications on state changes
> traceoptions Interface trace options
traps Enable SNMP notifications on state changes
> unit Logical interface
vlan-tagging 802.1q VLAN tagging support