Enterasys Enterasys Matrix DFE-Gold Series Podręcznik Użytkownika Strona 103

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 138
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 102
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]
Theforwardaddrorvlanidspecifiesthenexthopgateway.
Validdistancevaluesare1 ‐255.Routeswithlowervaluesreceivehigherpreferenceinroute
selection.Ifnotspecified,thedefaultvalueof1willbeapplied.
Ifpermanentandtagarenotspecified,theroutewillbesetas
nonpermanentwithnotag
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 76todisplaytrafficstatisticsandother
IPrelatedinformation.
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.
Przeglądanie stron 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 137 138

Komentarze do niniejszej Instrukcji

Brak uwag