Supermicro Enterprise Advanced SONiC v4.5.0 — 3.2 Management Interface and Hostname Configuration

Enterprise Advanced SONiC: Login and Configuration 3291 packets, 765626 octets 0 error, 0 discarded Time since last interface status change: 12:56:27 3. If you plan to place the Management0 interface in the management VRF, you must create the management (mgmt) VRF. By default, the Management0 interface is in the default VRF. However, after the management VRF is created, the Management0 interface is automatically moved from the default VRF to this management VRF. sonic(config)# do show ip interfaces Flags:

U-Unnumbered interface, A-Anycast IP - - - - - - - - - - - - - - - Interface IP address/mask VRF Admin/ Oper Flags - - - - - - - - - - - - - - - Management0 100.94.189.13/24 up/down sonic(config)# exit sonic(config)# ip vrf mgmt sonic(config)# do show ip interfaces Flags: U-Unnumbered interface, A-Anycast IP - - - - - - - - - - - - - - - Interface IP address/mask VRF Admin/ Oper Flags - - - - - - - - - - - - - - - Management0 100.94.189.13/24 mgmt up/down 4. Configure the hostname the switch should be identified with. sonic(config)# hostname 5. After changing the hostname, you must exit to the Linux shell and reenter sonic-cli as prompted for the change to take full effect. 18