User`s guide
Configuring Routes and Monitoring IP Traffic
Matrix DFE Series and N-SA User’s Guide 7-17
Adding or Removing Static IP Routes
Fromglobalconfigurationmode,usethiscommandtoaddastaticIProute.
ip route prefix mask {forward-addr | vlan vlan-id} [distance] [permanent]
[tag value]
Theforward‐addrorvlan‐idspecifiesthenexthopgateway.
Validdistancevaluesare1 ‐255.Routeswithlowervaluesreceivehigherpreferenceinroute
selection.Ifnotspecified,thedefaultvalueof1willbeapplied.
Ifpermanentandtagarenotspecified,theroutewillbesetas
non‐permanentwithnotag
assigned.
Examples
ThisexampleshowshowtosetIPaddress10.1.2.3asthenexthopgatewaytodestinationaddress
10.0.0.0.Therouteisassignedatagof1:
ThisexampleshowshowtosetIPaddress10.1.2.3asthenexthopgatewaytodestinationaddress
10.0.0.0.Therouteissetaspermanentand
assignedatagof20:
ThisexampleshowshowtosetVLAN100asthenexthopinterfacetodestinationaddress10.0.0.0:
Usethis“no”formofthecommandtoremoveanIProute:
no ip route prefix mask {forward-addr | vlan vlan-id}
Displaying IP Traffic and Performance
Fromanyroutermode,usethecommandslistedinTable 7‐6todisplaytrafficstatisticsandother
IP‐relatedinformation.
Matrix>Router1(config)#ip route 10.0.0.0 255.0.0.0 10.1.2.3 tag 1
Matrix>Router1(config)#ip route 10.0.0.0 255.0.0.0 10.1.2.3 permanent tag 20
Matrix>Router1(config)#ip route 10.0.0.0 255.0.0.0 vlan 100
Table 7-6 Show IP Traffic Commands
Command Output
show ip traffic [softpath] IP traffic statistics, including IP, ICMP, UDP, TCP,
IGMP, and ARP traffic counters. The softpath option
is used for debugging.
show ip route [destination prefix destination prefix
mask longer-prefixes | connected | ospf | rip |
static | summary]
Detailed or summary IP route information related to
all known routes, or to connected routes, static
routes, or those configured for the OSPF or RIP
routing protocols.