C
HAPTER
47
| IP Interface Commands
IPv4 Interface
– 1108 –
ES-4500G Series
ip default-gateway
This command specifies the default gateway for destinations not found in
the local routing tables. Use the
no
form to remove a default gateway.
S
YNTAX
ip default-gateway
gateway
no ip default-gateway
gateway
- IP address of the default gateway
D
EFAULT
S
ETTING
No default gateway is established.
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
◆
The default gateway can also be defined using the following command:
ip route 0.0.0.0 0.0.0.0
gateway-address
.
◆
Static routes can also be defined using the
command to ensure
that traffic to the designated address or subnet passes through a
preferred gateway.
◆
A default gateway can only be successfully set when a network
interface that directly connects to the gateway has been configured on
the router.
◆
The same link-local address may be used by different interfaces/nodes
in different zones (RFC 4007). Therefore, when specifying a link-local
address for a default gateway, include zone-id information indicating
the VLAN identifier after the % delimiter. For example, FE80::7272%1
identifies VLAN 1 as the interface from which the ping is sent.
E
XAMPLE
The following example defines a default gateway for this device:
Console(config)#ip default-gateway 10.1.1.254
Console(config)#end
Console#show ip route
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default
S* 0.0.0.0/0 [1/0] via 10.1.1.254, VLAN1
C 127.0.0.0/8 is directly connected, lo0
C 192.168.2.0/24 is directly connected, VLAN1
Содержание iPECS ES-4526G
Страница 1: ...USER GUIDE User Manual ES 4550G ES 4526G Managed Layer 3 Stackable GE Switch ...
Страница 38: ...CONTENTS 38 ES 4500G Series ...
Страница 58: ...SECTION I Getting Started 58 ES 4500G Series ...
Страница 70: ...CHAPTER 1 Introduction System Defaults 70 ES 4500G Series ...
Страница 84: ...CHAPTER 2 Initial Switch Configuration Managing System Files 84 ES 4500G Series Success Console ...
Страница 86: ...SECTION I Web Configuration 86 ES 4500G Series Multicast Filtering on page 413 ...
Страница 196: ...CHAPTER 6 VLAN Configuration Configuring MAC based VLANs 196 ES 4500G Series ...
Страница 204: ...CHAPTER 7 Address Table Settings Clearing the Dynamic Address Table 204 ES 4500G Series ...
Страница 228: ...CHAPTER 8 Spanning Tree Algorithm Configuring Interface Settings for MSTP 228 ES 4500G Series ...
Страница 230: ...CHAPTER 9 Rate Limit Configuration 230 ES 4500G Series Figure 106 Configuring Rate Limits ...
Страница 260: ...CHAPTER 12 Quality of Service Attaching a Policy Map to a Port 260 ES 4500G Series ...
Страница 478: ...CHAPTER 17 IP Configuration Setting the Switch s IP Address IP Version 6 478 ES 4500G Series ...
Страница 528: ...CHAPTER 20 IP Services Forwarding UDP Service Requests 528 ES 4500G Series ...
Страница 584: ...CHAPTER 21 Unicast Routing Configuring the Open Shortest Path First Protocol Version 2 584 ES 4500G Series ...
Страница 614: ...CHAPTER 22 Multicast Routing Configuring PIMv6 for IPv6 614 ES 4500G Series ...
Страница 628: ...CHAPTER 23 Using the Command Line Interface CLI Command Groups 628 ES 4500G Series ...
Страница 702: ...CHAPTER 26 SNMP Commands 702 ES 4500G Series ...
Страница 710: ...CHAPTER 27 Remote Monitoring Commands 710 ES 4500G Series ...
Страница 868: ...CHAPTER 34 Port Mirroring Commands Local Port Mirroring Commands 868 ES 4500G Series ...
Страница 890: ...CHAPTER 37 Address Table Commands 890 ES 4500G Series ...
Страница 1066: ...CHAPTER 43 LLDP Commands 1066 ES 4500G Series ...
Страница 1076: ...CHAPTER 44 Domain Name Service Commands 1076 ES 4500G Series ...
Страница 1286: ...CHAPTER 49 Multicast Routing Commands PIM Multicast Routing 1286 ES 4500G Series ...
Страница 1288: ...SECTION I Appendices 1288 ES 4500G Series ...
Страница 1293: ...APPENDIX A Software Specifications Management Information Bases 1293 ES 4500G Series UDP MIB RFC 2013 ...
Страница 1294: ...APPENDIX A Software Specifications Management Information Bases 1294 ES 4500G Series ...
Страница 1327: ...ES 4526G ES 4550G E042011 ST R01 150200000149A ...
Страница 1328: ...APRIL 2011 ISSUE 1 0 ...