ZyXEL Communications ES-315-F - V3.70 Podręcznik Użytkownika Strona 307

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 363
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 306
GS-4012F/4024 User’s Guide
306 Chapter 44 Configuration Mode Commands
Disable the secure shell RSA1 encryption key.
Remove the remote host with IP address 172.165.1.8 from the list of known hosts.
Remove the remote host with IP address 172.165.1.9 and with an SSH-RSA encryption
key from the list of known hosts.
44.5 Static Route Commands
You can create and configure static routes on the switch by using the ip route command.
Syntax:
ip route <ip> <mask> <next-hop-ip>
ip route <ip> <mask> <next-hop-ip> [metric <metric>][name <name>]
--> [inactive]
where
An example is shown next.
Create a static route with the destination IP address of 172.21.1.104, subnet mask of
255.255.0.0 and the gateway IP address of 192.168.1.2.
Assigns a metric value of 2 to the static route.
sysname(config)# no ssh key rsa1
sysname(config)# no ssh known-hosts 172.165.1.8
sysname(config)# no ssh known-hosts 172.165.1.9 ssh-rsa
<ip>
= Specifies the network IP address of the final destination.
<mask>
= Specifies the subnet mask of this destination.
<next-hop-ip>
= Specifies the IP address of the gateway. The gateway is an
immediate neighbor of your switch that will forward the
packet to the destination. The gateway must be a router on
the same segment as your switch.
[metric <metric>]
= The metric represents the “cost” of transmission for routing
purposes. IP routing uses hop count as the measurement of
cost, with a minimum of 1 for directly connected networks.
Enter a number that approximates the cost for this link. The
number need not be precise, but it must be between 1 and
15. In practice, 2 or 3 is usually a good number.
[name <name>]
= Specifies a descriptive name (up to 32 printable ASCII
characters) for identification purposes.
[inactive]
= Deactivates a static route
Przeglądanie stron 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 362 363

Komentarze do niniejszej Instrukcji

Brak uwag