From http://www.kontron.com/downloads/software/fastpath-configuration-guide-v1.2.pdf?product=89439
3.2.1.2
Example 2: Set Up VLAN Routing for the VLANs and the Switch.
The following code sequence shows how to enable routing for the VLANs:
(Ethernet Fabric) #vlan database
(Ethernet Fabric) (Vlan) #vlan routing 10
(Ethernet Fabric) (Vlan) #vlan routing 20
(Ethernet Fabric) (Vlan) #exit
(Ethernet Fabric) #show ip vlan
This returns the logical interface IDs that will be used
instead of slot/port in subsequent routing commands.
Assume that VLAN 10 is assigned ID
2/1 and VLAN 20 is assigned ID 2/2.
Enable routing for the switch:
(Ethernet Fabric) (Config) #config
(Ethernet Fabric) (Config) #ip routing
(Ethernet Fabric) (Config) #exit
The next sequence shows an example of conf iguring the
IP addresses and subnet masks for the virtual router
ports.
(Ethernet Fabric) (Config) #config
(Ethernet Fabric) (Config) #interface 2/1
(Ethernet Fabric) (Config) (Interface 2/1) #ip address 192.150.3.1 255.255.255.0
(Ethernet Fabric) (Config) (Interface 2/1) #exit
(Ethernet Fabric) (Config) #interface 2/2
(Ethernet Fabric) (Config) (Interface 2/2) #ip address 192.150.4.1 255.255.255.0
(Ethernet Fabric) (Config) (Interface 2/2) #exit
(Ethernet Fabric) (Config) #exit
(S2) #ip ssh server enable
(S2) #show spanning-tree mst port summary 0 all
STP STP Port
Interface Mode Type State Role Desc
--------- -------- ------- ----------------- ---------- ----------
0/1 Enabled Disabled Disabled
0/2 Enabled Disabled Disabled
0/3 Enabled Forwarding Root
0/4 Enabled Discarding Alternate
0/5 Enabled Disabled Disabled
0/6 Enabled Disabled Disabled
0/7 Enabled Disabled Disabled
0/8 Enabled Disabled Disabled
0/9 Enabled Disabled Disabled
0/10 Enabled Disabled Disabled
0/11 Enabled Disabled Disabled
0/12 Enabled Disabled Disabled
0/13 Enabled Disabled Disabled
0/14 Enabled Disabled Disabled
0/15 Enabled Disabled Disabled
(S2) #show port all
Admin Physical Physical Link Link LACP Actor
Intf Type Mode Mode Status Status Trap Mode Timeout
--------- ------ --------- ---------- ---------- ------ ------- ------ --------
0/1 Enable 10G Full Down Enable Enable long
0/2 Enable 10G Full Down Enable Enable long
0/3 Enable 10G Full 10G Full Up Enable Enable long
0/4 Enable 10G Full 10G Full Up Enable Enable long
0/5 Enable 10G Full Down Enable Enable long
0/6 Enable 10G Full Down Enable Enable long
0/7 Enable 10G Full Down Enable Enable long
0/8 Enable 10G Full Down Enable Enable long
0/9 Enable 10G Full Down Enable Enable long
0/10 Enable 10G Full Down Enable Enable long
0/11 Enable 10G Full Down Enable Enable long
0/12 Enable 10G Full Down Enable Enable long
0/13 Enable 10G Full Down Enable Enable long
0/14 Enable 10G Full Down Enable Enable long
0/15 Enable 10G Full Down Enable Enable long
0/16 Enable 10G Full Down Enable Enable long
0/17 Enable 10G Full 10G Full Up Enable Enable long
0/18 Enable 10G Full Down Enable Enable long