Example for Configuring Inband Management Interface on N1148T-ON
On N1148T-ON switch, USB type management port eth0 is not supported. Users need to configure inband management interface for switch management. The IP address of the inband management interface includes two types: static and dynamic, the configuration steps are described separately as below.
Configuring Static IP Address for Inband Management Interface
The following steps describe how to configure static IP address for inband management interface.
Procedure
Step1 Configure a VLAN and add port ge-1/1/1 to the VLAN.
admin@XorPlus# set vlans vlan-id 10 admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 10
Step2 Enable the inband interface function for Layer 3 interface.
admin@XorPlus# set vlans vlan-id 10 l3-interface inband
Step3 Configure a static IP address for the inband management interface. Note that only the IPv4 address is supported.
admin@XorPlus# set vlan-interface interface inband vif inband address 20.1.1.1 prefix-length 24
Step4 Configure the gateway of the inband management interface.
admin@XorPlus# set vlan-interface interface inband vif inband gateway 20.1.1.100
Step5 After configurations, use ifconfig command to show the IP address of the inband management interface.
admin@XorPlus:~$ ifconfig vlan.1 Link encap:Ethernet HWaddr cc:37:ab:b6:9c:33 inet addr: 20.1.1.1 Bcast: 20.1.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:746 (746.0 B)
Configuring Dynamic IP Address for Inband Management Interface
You need to complete the following tasks before configuring the dynamic IP address for inband management interface:
- Configure a DHCP server.
- Configure a routing protocol between the device and the DHCP server to ensure that the DHCP server is reachable from the device.
The following steps describe how to configure dynamic IP address for inband management interface.
Procedure
Step1 Configure a VLAN and add port ge-1/1/1 to the VLAN.
admin@XorPlus# set vlans vlan-id 10 admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 10
Step2 Enable inband management interface function for Layer 3 interface.
admin@XorPlus# set vlans vlan-id 10 l3-interface inband
Step3 Enable DHCP function for the VLAN inband management interface.
admin@XorPlus# set vlan-interface interface inband dhcp true
Step4 After the configurations, use ifconfig command to show the IP address of the inband management interface.
admin@XorPlus:~$ ifconfig vlan.1 Link encap:Ethernet HWaddr cc:37:ab:b6:9c:33 inet addr: 172.168.1.1 Bcast: 172.168.1.1 Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:746 (746.0 B)
Copyright © 2025 Pica8 Inc. All Rights Reserved.