User`s guide
Reviewing and Configuring Router Interfaces
Matrix DFE Series and N-SA User’s Guide 7-9
**Set the inbound PVID associations for untagged frames**
Matrix(rw)->set port vlan fe.1.1-20 10
Matrix(rw)->set port vlan fe.1.21-40 20
Matrix(rw)->set port vlan fe.2.1-20 30
Matrix(rw)->set port vlan fe.2.21-40 40
Matrix(rw)->set port vlan fe.3.1-20 50
Matrix(rw)->set port vlan fe.3.21-40 60
Matrix(rw)->set port vlan fe.4.1-20 70
Matrix(rw)->set port vlan fe.4.21-40 80
Matrix(rw)->set port vlan fe.5.1-20 90
Matrix(rw)->set port vlan fe.5.21-40 100
**Set the list of egress ports and tagging for the VLANs**
Matrix(rw)->set vlan egress 10 fe.1.1-20 untagged
Matrix(rw)->set vlan egress 20 fe.1.21-20 untagged
Matrix(rw)->set vlan egress 30 fe.2.1-20 untagged
Matrix(rw)->set vlan egress 40 fe.2.21-20 untagged
Matrix(rw)->set vlan egress 50 fe.3.1-20 untagged
Matrix(rw)->set vlan egress 60 fe.3.21-20 untagged
Matrix(rw)->set vlan egress 70 fe.4.1-20 untagged
Matrix(rw)->set vlan egress 80 fe.4.21-20 untagged
Matrix(rw)->set vlan egress 90 fe.5.1-20 untagged
Matrix(rw)->set vlan egress 100 fe.5.21-20 untagged
**Configure the router**
Matrix(rw)->set router 1
Matrix(rw)->router 1
Matrix>Router1>enable
Matrix>Router1#configure terminal
**Assign and enable the routing interfaces**
Matrix>Router1(config)#interface vlan 20
Matrix>Router1(config-if(Vlan 20))#ip address 100.20.20.1 255.255.255.0
Matrix>Router1(config-if(Vlan 20))#no shutdown
Matrix>Router1(config-if(Vlan 20))#exit
Matrix>Router1(config)#interface vlan 30
Matrix>Router1(config-if(Vlan 30))#ip address 100.30.30.1 255.255.255.0
Matrix>Router1(config-if(Vlan 30))#no shutdown
Matrix>Router1(config-if(Vlan 30))#exit
Matrix>Router1(config)#interface vlan 40
Matrix>Router1(config-if(Vlan 40))#ip address 100.40.40.1 255.255.255.0
Matrix>Router1(config-if(Vlan 40))#no shutdown
Matrix>Router1(config-if(Vlan 40))#exit
Matrix>Router1(config)#interface vlan 50
Matrix>Router1(config-if(Vlan 50))#ip address 100.50.50.1 255.255.255.0
Matrix>Router1(config-if(Vlan 50))#no shutdown
Matrix>Router1(config-if(Vlan 50))#exit
Matrix>Router1(config)#interface vlan 60
Matrix>Router1(config-if(Vlan 60))#ip address 100.20.20.1 255.255.255.0
Matrix>Router1(config-if(Vlan 60))#no shutdown
SinceIProutingisenabledbydefaultwhentherouteris“set”,theusersonthesefivelocally
connectedVLANscannowtalktoeachother,butnottotheotherfiveinthenetowork.Iftheusers
inthesefivenetworkswanttotalktousersinothernetworkson
otherrouters,thenarouting
protocolmustbeconfigured,suchasOSPF.
ForinformationonconfiguringtheOSPFroutingprotocol,refertoChapter 8.