Configuration Guide
Page 2
... ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x © 2009-2011 Cisco Systems, Inc. Cisco and the Cisco Logo are not intended to nexus7k-docfeedback@cisco.com HE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. and other company...
... ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x © 2009-2011 Cisco Systems, Inc. Cisco and the Cisco Logo are not intended to nexus7k-docfeedback@cisco.com HE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. and other company...
Configuration Guide
Page 13
... This chapter provides release-specific information for the Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x, and tells you where they are documented. Chapter 3, "Configuring Layer 2 Interfaces" Allows you to clear the existing configuration 5.2(1) of this document is available at the following Cisco website: http://www.cisco.com/en/US/docs/switches/datacenter/sw/5_x/nx...
... This chapter provides release-specific information for the Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x, and tells you where they are documented. Chapter 3, "Configuring Layer 2 Interfaces" Allows you to clear the existing configuration 5.2(1) of this document is available at the following Cisco website: http://www.cisco.com/en/US/docs/switches/datacenter/sw/5_x/nx...
Configuration Guide
Page 25
... the basic interface parameters on Cisco NX-OS devices. To configure parameters that are specifically used for Layer 3 interfaces (routed interfaces, subinterfaces, VLAN interfaces, loopback interfaces, and IP tunnels), see Chapter 3, "Configuring Layer 2 Interfaces." OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide,...; Feature History for Configuring Basic Interface Parameters, page 2-57 Note To configure the parameters that are specifically used for Layer 2 interfaces (access or trunking interfaces), see Chapter 4, "Configuring Layer 3 Interfaces."
... the basic interface parameters on Cisco NX-OS devices. To configure parameters that are specifically used for Layer 3 interfaces (routed interfaces, subinterfaces, VLAN interfaces, loopback interfaces, and IP tunnels), see Chapter 3, "Configuring Layer 2 Interfaces." OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide,...; Feature History for Configuring Basic Interface Parameters, page 2-57 Note To configure the parameters that are specifically used for Layer 2 interfaces (access or trunking interfaces), see Chapter 4, "Configuring Layer 3 Interfaces."
Configuration Guide
Page 32
... is a Layer 2 protocol that works with UDLD enabled. Figure 2-1 Unidirectional Link Device A TX RX TX RX Device B 187781 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 2-8 OL-23435-03 Information About the Basic Interface Parameters Chapter 2 Configuring Basic Interface Parameters ...1, autonegotiation takes care of a unidirectional link condition. If the frames are echoed back within a specific time frame and they lack a specific acknowledgment (echo), the link is flagged as autonegotiation is undetermined, and UDLD does not take any action.
... is a Layer 2 protocol that works with UDLD enabled. Figure 2-1 Unidirectional Link Device A TX RX TX RX Device B 187781 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 2-8 OL-23435-03 Information About the Basic Interface Parameters Chapter 2 Configuring Basic Interface Parameters ...1, autonegotiation takes care of a unidirectional link condition. If the frames are echoed back within a specific time frame and they lack a specific acknowledgment (echo), the link is flagged as autonegotiation is undetermined, and UDLD does not take any action.
Configuration Guide
Page 34
...channel are as follows: • Ethernet • VLAN network interface • Loopback • Port channel • Tunnel 2-10 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03 the choices are applied to each link-up before the carrier delay timer expires... channel is operational. Port Profiles Beginning with Cisco NX-OS Release 4.2(1) for physical ethernet interfaces , port channels and loopback interfaces. A large carrier delay timer results in your outages tend to be applied only to a specific type of the software on VLAN network interfaces...
...channel are as follows: • Ethernet • VLAN network interface • Loopback • Port channel • Tunnel 2-10 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03 the choices are applied to each link-up before the carrier delay timer expires... channel is operational. Port Profiles Beginning with Cisco NX-OS Release 4.2(1) for physical ethernet interfaces , port channels and loopback interfaces. A large carrier delay timer results in your outages tend to be applied only to a specific type of the software on VLAN network interfaces...
Configuration Guide
Page 35
... from a range of the specified ten interfaces. Enter the switchport command to change the port profile to Layer 2 mode. See the Cisco Nexus 7000 Series NX-OS System Management Configuration Guide, Release 5.x, for the configurations to take precedence over the port profile's commands if there is a conflict...port profiles onto an original port profile, only the last inherited port profile must remove the inheritance before you must enable the specific port profile. Also, when you remove a port profile, the system checks the interface configuration and either skips the port-profile...
... from a range of the specified ten interfaces. Enter the switchport command to change the port profile to Layer 2 mode. See the Cisco Nexus 7000 Series NX-OS System Management Configuration Guide, Release 5.x, for the configurations to take precedence over the port profile's commands if there is a conflict...port profiles onto an original port profile, only the last inherited port profile must remove the inheritance before you must enable the specific port profile. Also, when you remove a port profile, the system checks the interface configuration and either skips the port-profile...
Configuration Guide
Page 36
... device, you can enter a configuration for the Cisco Nexus 7000 Series devices and the introduction of the latest generation of line cards, you can independently detect cabling issues and report them to the switch software using the interface configuration mode, that configuration ... specified interfaces. Licensing Requirements Chapter 2 Configuring Basic Interface Parameters Send document comments to nexus7k-docfeedback@cisco.com If you delete a specific configuration for a specified range of interfaces using a new technology called Time Domain Reflectometry (TDR). For example, ...
... device, you can enter a configuration for the Cisco Nexus 7000 Series devices and the introduction of the latest generation of line cards, you can independently detect cabling issues and report them to the switch software using the interface configuration mode, that configuration ... specified interfaces. Licensing Requirements Chapter 2 Configuring Basic Interface Parameters Send document comments to nexus7k-docfeedback@cisco.com If you delete a specific configuration for a specified range of interfaces using a new technology called Time Domain Reflectometry (TDR). For example, ...
Configuration Guide
Page 52
...same speed or set the speed before setting the duplex mode. copy running-config startup-config 2-28 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03 BEFORE YOU BEGIN Make sure that the remote ...switch(config-if)# link debounce time 0 switch(config-if)# Configuring the Interface Speed and Duplex Mode The interface speed and duplex mode are interrelated, so you can specify full-duplex mode instead. To see Table 2-2 on page 2-4. If you can configure together for autonegotiation, the duplex mode is automatically configured to use a specific...
...same speed or set the speed before setting the duplex mode. copy running-config startup-config 2-28 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03 BEFORE YOU BEGIN Make sure that the remote ...switch(config-if)# link debounce time 0 switch(config-if)# Configuring the Interface Speed and Duplex Mode The interface speed and duplex mode are interrelated, so you can specify full-duplex mode instead. To see Table 2-2 on page 2-4. If you can configure together for autonegotiation, the duplex mode is automatically configured to use a specific...
Configuration Guide
Page 58
... of 1 GB, but you specified earlier. switch(config)# copy running-config startup-config This example shows how to configure the system jumbo MTU as 8000 bytes and how to change the MTU specification for an interface that you can configure the bandwidth for Level 3 protocols. 2-34 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release...
... of 1 GB, but you specified earlier. switch(config)# copy running-config startup-config This example shows how to configure the system jumbo MTU as 8000 bytes and how to change the MTU specification for an interface that you can configure the bandwidth for Level 3 protocols. 2-34 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release...
Configuration Guide
Page 67
...Mode and Modifying a Port Profile, page 2-44 • Assigning a Port Profile to a Range of Interfaces, page 2-45 • Enabling a Specific Port Profile, page 2-46 • Inheriting a Port Profile, page 2-47 • Removing a Port Profile from one port profile into another port... for VLAN 5: switch# configure terminal switch(config)# interface vlan 5 switch(config-if)# carrier-delay 20 switch(config-if)# Configuring Port Profiles You can create a port profile on the device. configure terminal 2. copy running-config startup-config OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces ...
...Mode and Modifying a Port Profile, page 2-44 • Assigning a Port Profile to a Range of Interfaces, page 2-45 • Enabling a Specific Port Profile, page 2-46 • Inheriting a Port Profile, page 2-47 • Removing a Port Profile from one port profile into another port... for VLAN 5: switch# configure terminal switch(config)# interface vlan 5 switch(config-if)# carrier-delay 20 switch(config-if)# Configuring Port Profiles You can create a port profile on the device. configure terminal 2. copy running-config startup-config OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces ...
Configuration Guide
Page 70
... to 7/5, 10/2, and 11/20 to 11/25: switch# configure terminal switch(config)# interface ethernet 7/3-5, 10/2, 11/20-25 switch(config-if)# inherit port-profile adam switch(config-if)# Enabling a Specific Port Profile To apply the port-profile configurations to take effect... to nexus7k-docfeedback@cisco.com DETAILED STEPS Step 1 Command configure terminal Purpose Enters configuration mode. Configuring the Basic Interface Parameters Chapter 2 Configuring Basic Interface Parameters Send document comments to enable or disable port profiles. 2-46 Cisco Nexus 7000 Series NX-OS Interfaces ...
... to 7/5, 10/2, and 11/20 to 11/25: switch# configure terminal switch(config)# interface ethernet 7/3-5, 10/2, 11/20-25 switch(config-if)# inherit port-profile adam switch(config-if)# Enabling a Specific Port Profile To apply the port-profile configurations to take effect... to nexus7k-docfeedback@cisco.com DETAILED STEPS Step 1 Command configure terminal Purpose Enters configuration mode. Configuring the Basic Interface Parameters Chapter 2 Configuring Basic Interface Parameters Send document comments to enable or disable port profiles. 2-46 Cisco Nexus 7000 Series NX-OS Interfaces ...
Configuration Guide
Page 75
...perform a TDR test on a specific interface. switch(config)# interface ethernet 3/1-12 switch(config-if-range)# shutdown switch# test cable-diagnostics tdr interface ethernet 3/1 switch# test cable-diagnostics tdr interface ethernet 3/12 switch# show interface ethernet 7/1 cable-diagnostics...-diagnostics tdr interface number Example: switch# test cable-diagnostics tdr interface ethernet 7/1 show interface number cable-diagnostics-tdr Example: switch(config)# show interface ethernet 3/1 cable-diagnostics-tdr OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release...
...perform a TDR test on a specific interface. switch(config)# interface ethernet 3/1-12 switch(config-if-range)# shutdown switch# test cable-diagnostics tdr interface ethernet 3/1 switch# test cable-diagnostics tdr interface ethernet 3/12 switch# show interface ethernet 7/1 cable-diagnostics...-diagnostics tdr interface number Example: switch# test cable-diagnostics tdr interface ethernet 7/1 show interface number cable-diagnostics-tdr Example: switch(config)# show interface ethernet 3/1 cable-diagnostics-tdr OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release...
Configuration Guide
Page 77
...rate limits for packets that reach the supervisor module on a specific interface: switch# rate-limit cpu direction both pps 1000 action log exit Step 4 Example: switch(config-if)# exit switch(config)# show system internal pktmgr interface ethernet slot/port Step 5 Example: switch# show system internal pktmgr interface ethernet 4/9 Ethernet4/9, ordinal:...Average packet rates(1min/5min/15min/EWMA): Packet statistics: Tx: Unicast 0, Multicast 528 Broadcast 0 Rx: Unicast 0, Multicast 0 Broadcast 0 OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 2-53
...rate limits for packets that reach the supervisor module on a specific interface: switch# rate-limit cpu direction both pps 1000 action log exit Step 4 Example: switch(config-if)# exit switch(config)# show system internal pktmgr interface ethernet slot/port Step 5 Example: switch# show system internal pktmgr interface ethernet 4/9 Ethernet4/9, ordinal:...Average packet rates(1min/5min/15min/EWMA): Packet statistics: Tx: Unicast 0, Multicast 528 Broadcast 0 Rx: Unicast 0, Multicast 0 Broadcast 0 OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 2-53
Configuration Guide
Page 78
... the counters listed when you are allocated to the VDC that reach the supervisor module on interfaces. 2-54 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03 show interface interface Displays the configured states of one... the Cisco Nexus 7000 Series NX-OS Interfaces Command Reference, Release 5.x. show vdc Displays the status of interface states. Verifying the Basic Interface Parameters Chapter 2 Configuring Basic Interface Parameters Send document comments to three sampling intervals for statistics collections on a specific interface....
... the counters listed when you are allocated to the VDC that reach the supervisor module on interfaces. 2-54 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03 show interface interface Displays the configured states of one... the Cisco Nexus 7000 Series NX-OS Interfaces Command Reference, Release 5.x. show vdc Displays the status of interface states. Verifying the Basic Interface Parameters Chapter 2 Configuring Basic Interface Parameters Send document comments to three sampling intervals for statistics collections on a specific interface....
Configuration Guide
Page 86
...both port types simultaneously. Trunks carry the traffic of multiple VLANs over a single link and allow you to forward packets. This Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 3-4 OL-23435-03 Only an end station can be set as either an access port.... A trunk is inserted into the frame header (see the Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x. Once the port is disabled. IEEE 802.1Q Encapsulation Note For information about the specific VLAN to configure other than the access VLAN value, that interface...
...both port types simultaneously. Trunks carry the traffic of multiple VLANs over a single link and allow you to forward packets. This Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 3-4 OL-23435-03 Only an end station can be set as either an access port.... A trunk is inserted into the frame header (see the Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x. Once the port is disabled. IEEE 802.1Q Encapsulation Note For information about the specific VLAN to configure other than the access VLAN value, that interface...
Configuration Guide
Page 88
... VLAN1, all packets that enter the device with an 802.1Q tag that is blocked, but the control traffic continues to nexus7k-docfeedback@cisco.com Native VLAN IDs for the native VLAN. To partition the Spanning Tree Protocol (STP) topology for the default VLAN, you do ...the trunk. Note See the Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x, for back to the list. Note You cannot use the default VLAN). all untagged traffic is global; Untagged packets can pass through the trunk ports, you can add any specific VLANs that does not tag any...
... VLAN1, all packets that enter the device with an 802.1Q tag that is blocked, but the control traffic continues to nexus7k-docfeedback@cisco.com Native VLAN IDs for the native VLAN. To partition the Spanning Tree Protocol (STP) topology for the default VLAN, you do ...the trunk. Note See the Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x, for back to the list. Note You cannot use the default VLAN). all untagged traffic is global; Untagged packets can pass through the trunk ports, you can add any specific VLANs that does not tag any...
Configuration Guide
Page 89
... ports in the VLAN go to an unreachable state. See the Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x, for Layer 2 ports. Note See the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide, Release 5.x, for the ...Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 3-7 Note You can be in the VLAN, the SVI will go to clear the configured parameters for internal use the default interface feature to the down . Note A maximum of 8 ports can use the SVI Autostate Exclude feature to exclude specific...
... ports in the VLAN go to an unreachable state. See the Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x, for Layer 2 ports. Note See the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide, Release 5.x, for the ...Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 3-7 Note You can be in the VLAN, the SVI will go to clear the configured parameters for internal use the default interface feature to the down . Note A maximum of 8 ports can use the SVI Autostate Exclude feature to exclude specific...
Configuration Guide
Page 98
...| none | remove vlan-list} 4. Note The switchport trunk allowed vlan vlan-list command replaces the current VLAN list on the specific trunk port. configure terminal 2. exit 5. (Optional) show vlan 6. (Optional) copy running-config startup-config DETAILED STEPS Step 1 Command configure terminal .... BEFORE YOU BEGIN Before you configure the allowed VLANs for more information about changing the reserved VLANs. See the Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x, for the specified trunk ports, ensure that you are configuring the correct interfaces and that ...
...| none | remove vlan-list} 4. Note The switchport trunk allowed vlan vlan-list command replaces the current VLAN list on the specific trunk port. configure terminal 2. exit 5. (Optional) show vlan 6. (Optional) copy running-config startup-config DETAILED STEPS Step 1 Command configure terminal .... BEFORE YOU BEGIN Before you configure the allowed VLANs for more information about changing the reserved VLANs. See the Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x, for the specified trunk ports, ensure that you are configuring the correct interfaces and that ...
Configuration Guide
Page 113
...more information on IP addressing. OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 4-5 See the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 5.x, for this feature: Product Cisco NX-OS License Requirement Layer 3 interfaces require no..., and removes all configuration specific to Layer 3. • If you change a Layer 2 interface to a Layer 3 interface, Cisco NX-OS shuts down the interface, reenables the interface, and deletes all configuration specific to a VRF before you specifically configure another VDC. Chapter ...
...more information on IP addressing. OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 4-5 See the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 5.x, for this feature: Product Cisco NX-OS License Requirement Layer 3 interfaces require no..., and removes all configuration specific to Layer 3. • If you change a Layer 2 interface to a Layer 3 interface, Cisco NX-OS shuts down the interface, reenables the interface, and deletes all configuration specific to a VRF before you specifically configure another VDC. Chapter ...
Configuration Guide
Page 115
...Step 1 Command configure terminal Step 2 Example: switch# configure terminal switch(config)# interface ethernet slot/port Step 3 Example: switch(config)# interface ethernet 2/1 switch(config-if)# no switchport Step 4 Example: switch(config-if)# no switchport 4. OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 4-7 ... to Layer 2 on IP addresses. Command medium {broadcast | p2p} Example: switch(config-if)# medium p2p Purpose Configures the interface medium as a Layer 3 interface and deletes any configuration specific to point or broadcast.
...Step 1 Command configure terminal Step 2 Example: switch# configure terminal switch(config)# interface ethernet slot/port Step 3 Example: switch(config)# interface ethernet 2/1 switch(config-if)# no switchport Step 4 Example: switch(config-if)# no switchport 4. OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 4-7 ... to Layer 2 on IP addresses. Command medium {broadcast | p2p} Example: switch(config-if)# medium p2p Purpose Configures the interface medium as a Layer 3 interface and deletes any configuration specific to point or broadcast.