Cisco Systems N5KC5596TFA manual Configuring a Subinterface, broadcast p2p, running-config command

Models: N5KC5596TFA

1 122
Download 122 pages 34.07 Kb
Page 49
Image 49
{broadcast p2p}

Configuring Layer 3 Interfaces

Configuring a Subinterface

 

Command or Action

Purpose

 

 

 

Note

To convert a Layer 3 interface back into a Layer

 

 

 

2 interface, use the switchport command.

Step 4

switch(config-if)# [ip ipv6

Configures an IP address for this interface.

 

]ip-address/length

 

 

Step 5

switch(config-if)# medium

(Optional)

 

{broadcast p2p}

Configures the interface medium as either point to point

 

 

or broadcast.

 

 

Note

The default setting is broadcast, and this setting

 

 

 

does not appear in any of the show commands.

 

 

 

However, if you do change the setting to p2p, you

 

 

 

will see this setting when you enter the show

 

 

 

running-config command.

Step 6

switch(config-if)# show interfaces

(Optional)

 

 

Displays the Layer 3 interface statistics.

Step 7

switch(config-if)# copy

(Optional)

 

running-config startup-config

Saves the change persistently through reboots and restarts

 

 

by copying the running configuration to the startup

 

 

configuration.

This example shows how to configure an IPv4 routed Layer 3 interface:

switch# configure terminal switch(config)# interface ethernet 2/1 switch(config-if)# no switchport switch(config-if)# ip address 192.0.2.1/8 switch(config-if)# copy running-configstartup-config

Configuring a Subinterface

Before You Begin

Configure the parent interface as a routed interface.

Create the port-channel interface if you want to create a subinterface on that port channel.

Procedure

 

Command or Action

Purpose

Step 1

switch(config-if)# copy running-config

(Optional)

 

startup-config

Saves the change persistently through reboots and

 

 

restarts by copying the running configuration to the

 

 

startup configuration.

Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)

78-26881-OL

37

Page 49
Image 49
Cisco Systems N5KC5596TFA Configuring a Subinterface, broadcast p2p, running-config command, startup-config, Procedure