Configuring Ipv4 for Gigabit Ethernet Interfaces

Configuring Ipv4 for Gigabit Ethernet Interfaces

Send documentation comments to [email protected] CHAPTER 46 Configuring IPv4 for Gigabit Ethernet Interfaces Cisco MDS 9000 Family supports IP version 4 (IPv4) on Gigabit Ethernet interfaces. This chapter describes how to configure IPv4 addresses and other IPv4 features. This chapter includes the following topics: • About IPv4, page 46-1 • Basic Gigabit Ethernet Configuration for IPv4, page 46-2 • Verifying Gigabit Ethernet Connectivity, page 46-4 • VLANs, page 46-5 • Configuring Static IPv4 Routing, page 46-7 • IPv4-ACLs, page 46-7 • ARP Cache, page 46-8 • Displaying IPv4 Statistics, page 46-9 • Default Settings, page 46-10 About IPv4 Both FCIP and iSCSI rely on TCP/IP for network connectivity. On each IPS module or MPS-14/2 module, connectivity is provided in the form of Gigabit Ethernet interfaces that are appropriately configured. This section covers the steps required to configure IP for subsequent use by FCIP and iSCSI. Note For information about configuring FCIP, see Chapter 41, “Configuring FCIP.” For information about configuring iSCSI, see Chapter 43, “Configuring iSCSI.” A new port mode, called IPS, is defined for Gigabit Ethernet ports on each IPS module or MPS-14/2 module. IP storage ports are implicitly set to IPS mode, so it can only be used to perform iSCSI and FCIP storage functions. IP storage ports do not bridge Ethernet frames or route other IP packets. Each IPS port represents a single virtual Fibre Channel host in the Fibre Channel SAN. All the iSCSI hosts connected to this IPS port are merged and multiplexed through the single Fibre Channel host. In large scale iSCSI deployments where the Fibre Channel storage subsystems require explicit LUN access control for every host device, use of proxy-initiator mode simplifies the configuration. Cisco MDS 9000 Family CLI Configuration Guide OL-16921-01, Cisco MDS SAN-OS Release 3.x 46-1 Chapter 46 Configuring IPv4 for Gigabit Ethernet Interfaces Basic Gigabit Ethernet Configuration for IPv4 Send documentation comments to [email protected] Note The Gigabit Ethernet interfaces on the MPS-14/2 module do not support EtherChannel. Note To configure IPv6 on a Gigabit Ethernet interface, see the “Configuring IPv6 Addressing and Enabling IPv6 Routing” section on page 47-11. Tip Gigabit Ethernet ports on any IPS module or MPS-14/2 module should not be configured in the same Ethernet broadcast domain as the management Ethernet port—they should be configured in a different broadcast domain, either by using separate standalone hubs or switches or by using separate VLANs. Basic Gigabit Ethernet Configuration for IPv4 Figure 46-1 shows an example of a basic Gigabit Ethernet IP version 4 (IPv4) configuration. Figure 46-1 Gigabit Ethernet IPv4 Configuration Example Switch 1 IP router IP host 10.1.1.100/24 10.100.1.1/24 10.1.1.1/24 10.100.1.25/24 91555 Note The port on the Ethernet switch to which the MDS Gigabit Ethernet interface is connected should be configured as a host port (also known as access port) instead of a switch port. Spanning tree configuration for that port (on the Ethernet switch) should disabled. This helps avoid the delay in the management port coming up due to delay from Ethernet spanning tree processing that the Ethernet switch would run if enabled. For Cisco Ethernet switches, use either the switchport host command in IOS is or the set port host in Catalyst OS. Refer to the configuration guide for your Ethernet switch. To configure the Gigabit Ethernet interface for the example in Figure 46-1, follow these steps: Command Purpose Step 1 switch# config terminal Enters configuration mode. switch(config)# Step 2 switch(config)# interface gigabitethernet 2/2 Enters the interface configuration mode on the switch(config-if)# Gigabit Ethernet interface (slot 2, port 2). Step 3 switch(config-if)# ip address 10.1.1.100 Enters the IPv4 address (10.1.1.100) and subnet 255.255.255.0 mask (255.255.255.0) for the Gigabit Ethernet interface. Step 4 switch(config-if)# no shutdown Enables the interface. This section includes the following topics: • Configuring Interface Descriptions, page 46-3 • Configuring Beacon Mode, page 46-3 Cisco MDS 9000 Family CLI Configuration Guide 46-2 OL-16921-01, Cisco MDS SAN-OS Release 3.x Chapter 46 Configuring IPv4 for Gigabit Ethernet Interfaces Basic Gigabit Ethernet Configuration for IPv4 Send documentation comments to [email protected] • Configuring Autonegotiation, page 46-3 • Configuring the MTU Frame Size, page 46-3 • Configuring Promiscuous Mode, page 46-4 Configuring Interface Descriptions See the “About Interface Descriptions” section on page 13-15 for details on configuring the switch port description for any interface. Configuring Beacon Mode See the “About Beacon Mode” section on page 13-17 for details on configuring the beacon mode for any interface. Configuring Autonegotiation By default, autonegotiation is enabled all Gigabit Ethernet interface. You can enable or disable autonegotiation for a specified Gigabit Ethernet interface. When autonegotiation is enabled, the port automatically detects the speed or pause method, and duplex of incoming signals based on the link partner. You can also detect link up conditions using the autonegotiation feature. To configure autonegotiation, follow these steps: Command Purpose Step 1 switch# config terminal Enters configuration mode. switch(config)# Step 2 switch(config)# interface gigabitethernet 2/2 Enters the interface configuration mode on the switch(config-if)# Gigabit Ethernet interface (slot 2, port 2). Step 3 switch(config-if)# switchport auto-negotiate Enables autonegotiation for this Gigabit Ethernet interface (default). switch(config-if)# no switchport Disables autonegotiation for this Gigabit auto-negotiate Ethernet interface. Configuring the MTU Frame Size You can configure the interfaces on a switch to transfer large (or jumbo) frames on a port. The default IP maximum transmission unit (MTU) frame size is 1500 bytes for all Ethernet ports. By configuring jumbo frames on a port, the MTU size can be increased up to 9000 bytes. Note The minimum MTU size is 576 bytes. Tip MTU changes are disruptive, all FCIP links and iSCSI sessions flap when the software detects a change in the MTU size. Cisco MDS 9000 Family CLI Configuration Guide OL-16921-01, Cisco MDS SAN-OS Release 3.x 46-3 Chapter 46 Configuring IPv4 for Gigabit Ethernet Interfaces Verifying Gigabit Ethernet Connectivity Send documentation comments to [email protected] You do not need to explicitly issue the shutdown and no shutdown commands. To configure the MTU frame size, follow these steps: Command Purpose Step 1 switch# config terminal Enters configuration mode. switch(config)# Step 2 switch(config)# interface gigabitethernet 2/2 Enters the interface configuration mode on the switch(config-if)# Gigabit Ethernet interface (slot 2, port 2). Step 3 switch(config-if)# switchport mtu 3000 Changes the MTU size to 3000 bytes. The default is 1500 bytes. Configuring Promiscuous Mode You can enable or disable promiscuous mode on a specific Gigabit Ethernet interface. By enabling the promiscuous mode, the Gigabit Ethernet interface receives all the packets and the software then filters and discards the packets that are not destined for that Gigabit Ethernet interface. To configure the promiscuous mode, follow these steps: Command Purpose Step 1 switch# config terminal Enters configuration mode. switch(config)# Step 2 switch(config)# interface gigabitethernet 2/2 Enters the interface configuration mode on the switch(config-if)# Gigabit Ethernet interface (slot 2, port 2). Step 3 switch(config-if)# switchport promiscuous-mode Enables promiscuous mode for this Gigabit on Ethernet interface. The default is off. switch(config-if)# switchport promiscuous-mode Disables (default) promiscuous mode for this off Gigabit Ethernet interface. switch(config-if)# no switchport Disables (default) the promiscuous mode for promiscuous-mode this Gigabit Ethernet interface. Verifying Gigabit Ethernet Connectivity Once the Gigabit Ethernet interfaces are connected with valid IP addresses, verify the interface connectivity on each switch. Ping the IP host using the IP address of the host to verify that the static IP route is configured correctly. Note If the connection fails, verify the following, and ping the IP host again: - The IP address for the destination (IP host) is correctly configured. - The host is active (powered on). - The IP route is configured correctly. - The IP host has a route to get to the Gigabit Ethernet interface subnet. - The Gigabit Ethernet interface is in the up state. Use the ping command to verify the Gigabit Ethernet connectivity (see Example 46-1). The ping command sends echo request packets out to a remote device at an IP address that you specify (see the “Using the ping and ping ipv6 Commands” section on page 2-15). Cisco MDS 9000 Family CLI Configuration Guide 46-4 OL-16921-01, Cisco MDS SAN-OS Release 3.x Chapter 46 Configuring IPv4 for Gigabit Ethernet Interfaces VLANs Send documentation comments to [email protected] Use the show interface gigabitethernet command to verify if the Gigabit Ethernet interface is up. Example 46-1 Verifying Gigabit Ethernet Connectivity switch# ping 10.100.1.25 PING 10.100.1.25 (10.100.1.25): 56 data bytes 64 bytes from 10.100.1.25: icmp_seq=0 ttl=255 time=0.1 ms 64 bytes from 10.100.1.25: icmp_seq=1 ttl=255 time=0.1 ms 64 bytes from 10.100.1.25: icmp_seq=2 ttl=255 time=0.1 ms --- 10.100.1.25 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.1/0.1/0.1 ms VLANs This section describes virtual LAN (VLAN) support in Cisco MDS SAN-OS and includes the following topics: • About VLANs for Gigabit Ethernet, page 46-5 • Configuring the VLAN Subinterface, page 46-6 • Interface Subnet Requirements, page 46-6 About VLANs for Gigabit Ethernet Virtual LANs (VLANs) create multiple virtual Layer 2 networks over a physical LAN network.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us