
KSwitch D10 MMT Managed Time Sensitive Ethernet Switch - Preliminary User Guide, Rev. 0.99
// 66
Parameter
Description
Default
N.A
Mode
VLAN Interface Configuration mode
Usage
Add VLAN interface and set all IPv4, IPv6 parameters. Use the no version of the command to
disable the selected VLAN interface. To remove it completely use no interface vlan <id> from
Global configuration mode.
Examples
Example#1 ( Set VLAN2 static IP address to 192.168.1.50 mask length 24)
(config)#interface vlan 2
(config-if-vlan)# ip address 192.168.1.50 255.255.255.0
Example#2 ( Add VLAN 3 and set it to get IP address from DHCP using MAC of port 1 as Client ID
with a hostname test)
(config)#interface vlan 3
(config-if-vlan)# ip address dhcp client-id GigabitEthernet 1/1 hostname test
9.5.3.3.
IP Routes (default gateway)
Description- Add new IP route.
ip route
<ipv4_addr> <ipv4_netmask> <ipv4_gw> [ <distance> ]
no ip route
<ipv4_addr> <ipv4_netmask> <ipv4_gw>
Parameter
Description
Parameter
<ipv4_addr>
Network
<ipv4_netmask>
Netmask
<ipv4_gw>
Gateway
<distance>
Distance value for this route
Default
N.A
Mode
Global Configuration mode
Usage
To route all unknown destination IP to default gateway use the following parameters:
Network=0.0.0.0 Netmask=0.0.0.0 and Distance=1 To remove the route use no ip route
command with all parameters for the selected route.
Examples
Example#1 (add IP route to gateway 192.168.1.1)
(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1 1
Example#2 ( remove IP route)
(config)#no ip route 0.0.0.0 0.0.0.0 192.168.1.1