334
SIGNAMAX LLC • www.signamax.eu
need to specify it as the IP address of the next hop; and the protocol configured network
interface for transmitting only fits the point-to-point link (such as PPP, HDLC).
【
【
【
【
Configuration Example
】
】
】
】
Add a static route for the interface vlan1 arriving the network 199.199.199.0
Command
Description
switch1(config)# ip route 199.199.199.0
255.255.255.0 vlan1
To configure the static route passing from interface vlan 1 to network
segment 199.199.199.0/24
View the routing table of the switch and verify the configuration results:
switch#
show ip route
Codes: C - connected, S - static, R - RIP, O - OSPF, OE-OSPF External, M - Management
D - Redirect, E - IRMP, EX - IRMP external, o - SNSP, B - BGP, i-ISIS
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
S 0.0.0.0/0 [1/100] is directly connected, 01:00:25, vlan1
C 127.0.0.0/8 is directly connected, 01:30:22, lo0
C 128.255.60.0/22 is directly connected, 01:30:11, vlan1
S 199.199.199.0/24 [1/100] is directly connected, 00:00:06, vlan1
The route record labeled with underline is the configured static route.
【
【
【
【
Other configuration example
】
】
】
】
Command
Description
ip route 128.255.0.0 255.255.0.0 f0
To configure a direct static route
ip route 128.255.0.0 255.255.0.0 f0 210
To configure a direct static route, and its
administration distance is 210
ip route 128.255.0.0 255.255.0.0 128.255.1.1
To configure a static route which points to the
gateway of the next hop
ip route 128.255.0.0 255.255.0.0 128.255.1.1 210
To configure a static route which points to the
gateway of the next hop, and its administration
distance is 210.
2.
Configure the administration distance of the static route
Содержание 065-7434
Страница 1: ...24 Port 10 100 L3 Switch Model 065 7434 Configuration Guide Revision A1 ...
Страница 245: ...245 SIGNAMAX LLC www signamax eu Application Example Example of configuring DHCP Snooping ...
Страница 302: ...302 SIGNAMAX LLC www signamax eu Default status no switching interface ...
Страница 368: ......
Страница 655: ...287 SIGNAMAX LLC www signamax eu Sub VLAN members in the system ...