Cisco 7604-RSP720C-R Configuration Manual page 115

Nx-os interfaces
Table of Contents

Advertisement

Chapter 4
Configuring Layer 3 Interfaces
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m
3.
4.
5.
6.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface ethernet slot/port
Example:
switch(config)# interface ethernet 2/1
switch(config-if)#
Step 3
no switchport
Example:
switch(config-if)# no switchport
Step 4
ip address ip-address/length
Example:
switch(config-if)# ip address
192.0.2.1/8
ipv6 address ipv6-address/length
Example:
switch(config-if)# ipv6 address
2001:0DB8::1/8
Step 5
show interfaces
Example:
switch(config-if)# show interfaces
ethernet 2/1
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Use the medium command to set the interface medium to either point to point or broadcast.
Command
medium {broadcast | p2p}
Example:
switch(config-if)# medium p2p
OL-23435-03
no switchport
ip address ip-address/length
or
ipv6 address ipv6-address/length
(Optional) show interfaces
(Optional) copy running-config startup-config
Purpose
Enters configuration mode.
Enters interface configuration mode.
Configures the interface as a Layer 3 interface and
deletes any configuration specific to Layer 2 on this
interface.
Configures an IP address for this interface. See the
Cisco Nexus 7000 Series NX-OS Unicast Routing
Configuration Guide, Release 5.x, for more
information on IP addresses.
Configures an IPv6 address for this interface. See the
Cisco Nexus 7000 Series NX-OS Unicast Routing
Configuration Guide, Release 5.x, for more
information on IPv6 addresses.
(Optional) Displays the Layer 3 interface statistics.
(Optional) Saves this configuration change.
Purpose
Configures the interface medium as either point to
point or broadcast.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
Configuring Layer 3 Interfaces
4-7

Advertisement

Table of Contents
loading

Table of Contents