@@ -117,11 +117,11 @@ will be ignored. For details on how to enable the NTP client, see the
117117
118118![ Switch example (eth0 and lo)] ( img/ip-address-example-switch.svg )
119119
120- <pre class =" cli " ><code >admin@example:/> <b >show interfaces </b >
121- <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
122- eth0 ethernet UP 02:00:00:00:00:00
120+ <pre class =" cli " ><code >admin@example:/> <b >show interface </b >
121+ <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
122+ eth0 ethernet UP 02:00:00:00:00:00
123123 ipv6 fe80::ff:fe00:0/64 (link-layer)
124- lo ethernet UP 00:00:00:00:00:00
124+ lo ethernet UP 00:00:00:00:00:00
125125 ipv4 127.0.0.1/8 (static)
126126 ipv6 ::1/128 (static)
127127admin@example:/>
@@ -153,13 +153,13 @@ admin@example:/config/interface/eth0/ipv4/> <b>diff</b>
153153+ }
154154+}
155155admin@example:/config/interface/eth0/ipv4/> <b >leave</b >
156- admin@example:/> <b >show interfaces </b >
157- <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
158- eth0 ethernet UP 02:00:00:00:00:00
156+ admin@example:/> <b >show interface </b >
157+ <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
158+ eth0 ethernet UP 02:00:00:00:00:00
159159 ipv4 169.254.1.3/16 (random)
160160 ipv4 10.0.1.1/24 (static)
161161 ipv6 fe80::ff:fe00:0/64 (link-layer)
162- lo ethernet UP 00:00:00:00:00:00
162+ lo ethernet UP 00:00:00:00:00:00
163163 ipv4 127.0.0.1/8 (static)
164164 ipv6 ::1/128 (static)
165165admin@example:/>
@@ -188,12 +188,12 @@ admin@example:/config/interface/eth0/ipv4/autoconf/> <b>leave</b>
188188admin@example:/config/> <b >edit interface eth0 ipv4</b >
189189admin@example:/config/interface/eth0/ipv4/> <b >set dhcp</b >
190190admin@example:/config/interface/eth0/ipv4/> <b >leave</b >
191- admin@example:/> <b >show interfaces </b >
192- <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
193- eth0 ethernet UP 02:00:00:00:00:00
191+ admin@example:/> <b >show interface </b >
192+ <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
193+ eth0 ethernet UP 02:00:00:00:00:00
194194 ipv4 10.1.2.100/24 (dhcp)
195195 ipv6 fe80::ff:fe00:0/64 (link-layer)
196- lo ethernet UP 00:00:00:00:00:00
196+ lo ethernet UP 00:00:00:00:00:00
197197 ipv4 127.0.0.1/8 (static)
198198 ipv6 ::1/128 (static)
199199admin@example:/>
@@ -235,11 +235,11 @@ admin@example:/config/> <b>edit interface eth0 ipv6</b>
235235admin@example:/config/interface/eth0/ipv6/> <b >set dhcp</b >
236236admin@example:/config/interface/eth0/ipv6/> <b >leave</b >
237237admin@example:/> <b >show interface</b >
238- <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
239- eth0 ethernet UP 02:00:00:00:00:00
238+ <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
239+ eth0 ethernet UP 02:00:00:00:00:00
240240 ipv6 2001:db8::42/128 (dhcp)
241241 ipv6 fe80::ff:fe00:0/64 (link-layer)
242- lo ethernet UP 00:00:00:00:00:00
242+ lo ethernet UP 00:00:00:00:00:00
243243 ipv4 127.0.0.1/8 (static)
244244 ipv6 ::1/128 (static)
245245admin@example:/>
@@ -291,10 +291,10 @@ on the interface.
291291admin@example:/config/> <b >edit interface eth0 ipv6</b >
292292admin@example:/config/interface/eth0/ipv6/> <b >set enabled false</b >
293293admin@example:/config/interface/eth0/ipv6/> <b >leave</b >
294- admin@example:/> <b >show interfaces </b >
295- <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
296- eth0 ethernet UP 02:00:00:00:00:00
297- lo ethernet UP 00:00:00:00:00:00
294+ admin@example:/> <b >show interface </b >
295+ <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
296+ eth0 ethernet UP 02:00:00:00:00:00
297+ lo ethernet UP 00:00:00:00:00:00
298298 ipv4 127.0.0.1/8 (static)
299299 ipv6 ::1/128 (static)
300300admin@example:/>
@@ -308,12 +308,12 @@ admin@example:/>
308308admin@example:/config/> <b >edit interface eth0 ipv6</b >
309309admin@example:/config/interface/eth0/ipv6/> <b >set address 2001:db8::1 prefix-length 64</b >
310310admin@example:/config/interface/eth0/ipv6/> <b >leave</b >
311- admin@example:/> <b >show interfaces </b >
312- <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
313- eth0 ethernet UP 02:00:00:00:00:00
311+ admin@example:/> <b >show interface </b >
312+ <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
313+ eth0 ethernet UP 02:00:00:00:00:00
314314 ipv6 2001:db8::1/64 (static)
315315 ipv6 fe80::ff:fe00:0/64 (link-layer)
316- lo ethernet UP 00:00:00:00:00:00
316+ lo ethernet UP 00:00:00:00:00:00
317317 ipv4 127.0.0.1/8 (static)
318318 ipv6 ::1/128 (static)
319319admin@example:/>
@@ -330,12 +330,12 @@ advertised by the router (here 2001:db8:0:1::0/64) and the interface
330330identifier. The resulting address is of type * link-layer* , as it is
331331formed based on the interface identifier ([ ietf-ip.yang] [ 2 ] ).
332332
333- <pre class =" cli " ><code >admin@example:/> <b >show interfaces </b >
334- <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
335- eth0 ethernet UP 02:00:00:00:00:00
333+ <pre class =" cli " ><code >admin@example:/> <b >show interface </b >
334+ <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
335+ eth0 ethernet UP 02:00:00:00:00:00
336336 ipv6 2001:db8:0:1:0:ff:fe00:0/64 (link-layer)
337337 ipv6 fe80::ff:fe00:0/64 (link-layer)
338- lo ethernet UP 00:00:00:00:00:00
338+ lo ethernet UP 00:00:00:00:00:00
339339 ipv4 127.0.0.1/8 (static)
340340 ipv6 ::1/128 (static)
341341admin@example:/>
@@ -348,11 +348,11 @@ below.
348348admin@example:/config/> <b >edit interface eth0 ipv6</b >
349349admin@example:/config/interface/eth0/ipv6/> <b >set autoconf create-global-addresses false</b >
350350admin@example:/config/interface/eth0/ipv6/> <b >leave</b >
351- admin@example:/> <b >show interfaces </b >
352- <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
353- eth0 ethernet UP 02:00:00:00:00:00
351+ admin@example:/> <b >show interface </b >
352+ <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
353+ eth0 ethernet UP 02:00:00:00:00:00
354354 ipv6 fe80::ff:fe00:0/64 (link-layer)
355- lo ethernet UP 00:00:00:00:00:00
355+ lo ethernet UP 00:00:00:00:00:00
356356 ipv4 127.0.0.1/8 (static)
357357 ipv6 ::1/128 (static)
358358admin@example:/>
@@ -366,12 +366,12 @@ admin@example:/>
366366By default, the auto-configured link-local and global IPv6 addresses
367367are formed from a link-identifier based on the MAC address.
368368
369- <pre class =" cli " ><code >admin@example:/> <b >show interfaces </b >
370- <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
371- eth0 ethernet UP 02:00:00:00:00:00
369+ <pre class =" cli " ><code >admin@example:/> <b >show interface </b >
370+ <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
371+ eth0 ethernet UP 02:00:00:00:00:00
372372 ipv6 2001:db8:0:1:0:ff:fe00:0/64 (link-layer)
373373 ipv6 fe80::ff:fe00:0/64 (link-layer)
374- lo ethernet UP 00:00:00:00:00:00
374+ lo ethernet UP 00:00:00:00:00:00
375375 ipv4 127.0.0.1/8 (static)
376376 ipv6 ::1/128 (static)
377377admin@example:/>
@@ -385,12 +385,12 @@ possible to specify use of a random identifier ([ietf-ip.yang][2] and
385385admin@example:/config/> <b >edit interface eth0 ipv6</b >
386386admin@example:/config/interface/eth0/ipv6/> <b >set autoconf create-temporary-addresses true</b >
387387admin@example:/config/interface/eth0/ipv6/> <b >leave</b >
388- admin@example:/> <b >show interfaces </b >
389- <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
390- eth0 ethernet UP 02:00:00:00:00:00
388+ admin@example:/> <b >show interface </b >
389+ <span class =" header " >INTERFACE PROTOCOL STATE DATA </span >
390+ eth0 ethernet UP 02:00:00:00:00:00
391391 ipv6 2001:db8:0:1:b705:8374:638e:74a8/64 (random)
392392 ipv6 fe80::ad3d:b274:885a:9ffb/64 (random)
393- lo ethernet UP 00:00:00:00:00:00
393+ lo ethernet UP 00:00:00:00:00:00
394394 ipv4 127.0.0.1/8 (static)
395395 ipv6 ::1/128 (static)
396396admin@example:/>
0 commit comments