
C
HAPTER
46
| IP Interface Commands
IPv4 Interface
– 1424 –
This example assigns an IP address to VLAN 2 using a classless network
mask.
Console(config)#interface vlan 2
Console(config-if)#ip address 10.2.2.1/24
Console(config-if)#
R
ELATED
C
OMMANDS
ip default-gateway
This command specifies the default gateway for destinations not found in
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 Global
configuration 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.
Summary of Contents for ECS4110-28T
Page 2: ......
Page 4: ......
Page 63: ...FIGURES 63 Figure 428 Configuring VLAN Translation 1177...
Page 64: ...FIGURES 64...
Page 72: ...TABLES 72...
Page 74: ...SECTION I Getting Started 74...
Page 102: ...SECTION II Web Configuration 102 General IP Routing on page 679...
Page 154: ...CHAPTER 4 Basic Management Tasks Resetting the System 154...
Page 198: ...CHAPTER 5 Interface Configuration VLAN Trunking 198 Figure 65 Configuring VLAN Trunking...
Page 272: ...CHAPTER 9 Congestion Control Automatic Traffic Control 272...
Page 286: ...CHAPTER 10 Class of Service Layer 3 4 Priority Settings 286...
Page 420: ...CHAPTER 13 Security Measures DHCP Snooping 420...
Page 566: ...CHAPTER 14 Basic Administration Protocols OAM Configuration 566...
Page 638: ...CHAPTER 15 Multicast Filtering Multicast VLAN Registration for IPv6 638...
Page 662: ...CHAPTER 16 IP Configuration Setting the Switch s IP Address IP Version 6 662...
Page 678: ...CHAPTER 17 IP Services Configuring the PPPoE Intermediate Agent 678...
Page 792: ...CHAPTER 21 System Management Commands Switch Clustering 792...
Page 822: ...CHAPTER 23 Remote Monitoring Commands 822...
Page 888: ...CHAPTER 24 Authentication Commands PPPoE Intermediate Agent 888...
Page 968: ...CHAPTER 25 General Security Measures Port based Traffic Segmentation 968...
Page 994: ...CHAPTER 26 Access Control Lists ACL Information 994...
Page 1034: ...CHAPTER 28 Link Aggregation Commands Trunk Status Display Commands 1034...
Page 1044: ...CHAPTER 29 Power over Ethernet Commands 1044...
Page 1084: ...CHAPTER 33 UniDirectional Link Detection Commands 1084...
Page 1090: ...CHAPTER 34 Address Table Commands 1090...
Page 1194: ...CHAPTER 37 VLAN Commands Configuring Voice VLANs 1194...
Page 1388: ...CHAPTER 42 CFM Commands Delay Measure Operations 1388...
Page 1410: ...CHAPTER 44 Domain Name Service Commands 1410...
Page 1420: ...CHAPTER 45 DHCP Commands DHCP Relay 1420...
Page 1472: ...CHAPTER 46 IP Routing Commands IPv4 Commands 1472...
Page 1474: ...SECTION IV Appendices 1474...
Page 1502: ...COMMAND LIST 1502...
Page 1513: ......
Page 1514: ...ECS4110 28T ECS4110 28P ECS4110 52T ECS4110 52P E072014 ST R02 150200000929A...