Command Line Reference
Interface Management
Loopback Interface Configuration
4 min
loopback interface configuration loopback interface configuration interface loopback interface loopback loopback id \[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 ip address ip address a b c d/m \[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
