
Assigning IP Addresses to an Interface
Assign primary and secondary IP addresses to physical or logical (for example, [virtual local area network [VLAN] or port channel)
interfaces to enable IP communication between the system and hosts connected to that interface.
You can assign one primary address and up to 255 secondary IP addresses to each interface.
1.
Enter the keyword
interface
then the type of interface and slot/port[
/subport
] information.
CONFIGURATION mode
interface
slot/port[/subport]
•
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
then the slot/port[/subport] information.
•
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
then the slot/port information.
•
For a Loopback interface, enter the keyword
loopback
then a number from 0 to 16383.
•
For the Management interface on the stack-unit, enter the keyword
ManagementEthernet
then the slot/port
information. The slot range is from 1 to 11. The port range is 1.
•
For a port channel interface, enter the keywords
port-channel
then a number.
•
For a VLAN interface, enter the keyword
vlan
then a number from 1 to 4094.
2.
Enable the interface.
INTERFACE mode
no shutdown
3.
Configure a primary IP address and mask on the interface.
INTERFACE mode
ip address
ip-address mask
[secondary]
•
ip-address mask
: the IP address must be in dotted decimal format (A.B.C.D). The mask must be in slash prefix-length
format (/24).
•
secondary
: add the keyword
secondary
if the IP address is the interface’s backup IP address. You can configure up to
eight secondary IP addresses.
Example the
show config
Command
To view the configuration, use the
show config
command in INTERFACE mode or use the
show ip interface
command in
EXEC privilege mode, as shown in the second example.
Dell(conf-if)#show conf
!
interface TenGigabitEthernet 1/1
ip address 10.11.1.1/24
no shutdown
!
Configuring Static Routes
A static route is an IP address that you manually configure and that the routing protocol does not learn, such as open shortest path
first (OSPF). Often, static routes are used as backup routes in case other dynamically learned routes are unreachable.
You can enter as many static IP addresses as necessary.
To configure a static route, use the following command.
•
Configure a static IP address.
CONFIGURATION mode
ip route [vrf
vrf-name
]
ip-address mask
{
ip-address
|
interface
[
ip-address
]} [
distance
]
[permanent] [tag
tag-value
] [vrf
vrf-name
]
404
IPv4 Routing
Содержание S4048-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 9 0 0 ...
Страница 146: ...Figure 14 BFD Three Way Handshake State Changes 146 Bidirectional Forwarding Detection BFD ...
Страница 477: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 477 ...
Страница 480: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command 480 Link Aggregation Control Protocol LACP ...
Страница 481: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 481 ...
Страница 522: ...Figure 87 Configuring Interfaces for MSDP 522 Multicast Source Discovery Protocol MSDP ...
Страница 523: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 523 ...
Страница 524: ...Figure 89 Configuring PIM in Multiple Routing Domains 524 Multicast Source Discovery Protocol MSDP ...
Страница 528: ...Figure 91 MSDP Default Peer Scenario 1 528 Multicast Source Discovery Protocol MSDP ...
Страница 529: ...Figure 92 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 529 ...
Страница 530: ...Figure 93 MSDP Default Peer Scenario 3 530 Multicast Source Discovery Protocol MSDP ...
Страница 633: ...Policy based Routing PBR 633 ...
Страница 777: ...Figure 119 Single and Double Tag TPID Match Service Provider Bridging 777 ...
Страница 778: ...Figure 120 Single and Double Tag First byte TPID Match 778 Service Provider Bridging ...