User`s guide

Reviewing and Configuring Router Interfaces
7-8 Configuring IP
Sample Configuration
ThefollowingsampleconfigurationassumestheexamplenetworkscenariodescribedinUsing
theMatrixDFESeriesorNSADeviceasaRouteronpage 71.Theadministratorwantstoallow
fiveoutof10VLANstoexchangetraffic.TheseareVLANs20,30,40,50,and60.Procedure 71
liststhestepsandtheassociatedcommandsnecessarytocompletethisprocess.
ToseehowthisconfigurationwouldlookintheCLI,refertotheexample onpage78.
ForadescriptionofalltherouterconfigurationmodesusedintheMatrixDFESeries/NSACLI,
refer
backtoTable 72.
Example
ThisexampleshowsthecompleteconfigurationdescribedinProcedu r e 71.
**Create the VLANs**
Matrix(rw)->set vlan create 10,20,30,40,50,60,70,80,90,100
Procedure 7-1 Configuring VLANs for Routing
Step Task Command(s)
Complete these steps for each of the network’s 10 VLANs
1. In switch mode:
Create VLANs.
set vlan create vlan-list
2. Set the inbound port/VLAN (PVID) associations for
untagged frames for each VLAN.
set port vlan port-string pvid
3. Add PVID ports to the egress list of each VLAN, and
allow them to transmit untagged frames.
set vlan egress vlan-list port-string
untagged
Complete these steps to configure the Matrix DFE or N-SA module for routing
4. Configure a routing module. set router module
5. Enable router mode. router module
6. In router mode:
Enable router Privileged EXEC mode.
enable
7. In router Privileged EXEC mode:
Enable global router configuration mode.
configure terminal
Complete these steps to assign routing interfaces to each of the five VLANs being configured for routing
8. In Global Configuration mode:
Enable interface configuration mode using the interface
of the routing module.
interface vlan vlan-id
9. In Interface Configuration mode:
Assign an IP address to the routing interface.
ip address {ip-address ip-mask}
10. Enable the interface for IP routing. no shutdown