Loopback Interface Configuration
4 min
\<font color="#1d50a2">loopback interface configuration\</font> \<font color="#1d50a2">interface loopback \</font> \[command] interface loopback loopback id \[purpose] switch to loopback view \[parameter] parameter description loopback id loopback port id \[view] system configuration view \[use cases] sonic# configure terminal sonic(config)# interface loopback 0 sonic(config loif 0)# show this ! interface loopback 0 \<font color="#1d50a2">ip address \</font> \[command] ip address a b c d/m \[purpose] adding an ip address to the loopback port \[parameter] parameter description a b c d/m ip address with prefix length \[view] system configuration view \[notes] the ipv4 address configured on the loopback port is not allowed to be deleted and can be overwritten by reconfiguration \[use cases] sonic# configure terminal sonic(config)# interface loopback 2 sonic(config loif 2)# ip address 3 3 3 6/24 sonic(config loif 2)# show this ! interface loopback 2 ip address 3 3 3 6/24
