Cisco N7K-C7018 Configuration Guide - Page 119
ip address, ipv6 address, Optional show interface, Optional copy running-config startup-config
View all Cisco N7K-C7018 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 119 highlights
Chapter 4 Configuring Layer 3 Interfaces Configuring Layer 3 Interfaces Send document comments to [email protected] 4. ip address ip-address/length or ipv6 address ipv6-address/length 5. (Optional) show interface vlan number 6. (Optional) copy running-config startup-config DETAILED STEPS Step 1 Command configure terminal Step 2 Step 3 Example: switch# configure terminal switch(config)# feature interface-vlan Example: switch(config)# feature interface-vlan interface vlan number Step 4 Example: switch(config)# interface vlan 10 switch(config-if)# ip address ip-address/length Example: switch(config-if)# ip address 192.0.2.1/8 ipv6 address ipv6-address/length Step 5 Example: switch(config-if)# ipv6 address 2001:0DB8::1/8 show interface vlan number Step 6 Example: switch(config-if)# show interface vlan 10 copy running-config startup-config Example: switch(config-if)# copy running-config startup-config Purpose Enters configuration mode. Enables VLAN interface mode. Creates a VLAN interface. The number range is from 1 to 4094. Configures an IP address for this VLAN 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 VLAN 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. This example shows how to create a VLAN interface: switch# configure terminal switch(config)# feature interface-vlan switch(config)# interface vlan 10 switch(config-if)# ip address 192.0.2.1/8 switch(config-if)# copy running-config startup-config OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 4-11