My Blog List

  • Majeshir Anupras Alankar - मराठी भाषा सौंदर्याने नटलेली आहे. तिला अनेक अलंकार प्राप्त आहेत. त्यापैकी अनुप्रास हा एक शब्दालंकार. एखाद्या वाक्यात किंवा कवितेच्या चरणामध्ये जेव्हा एका...
    3 years ago

Friday, October 29, 2010

Understanding Nexus -- Part 10 -- L3 Interface Configs

Its time to have a glance at L3 interfaces now. You will see the configuration is same just like any L3 interface in IOS.

Routed Interface

All Ethernet ports are routed interfaces by default. You can assign an IP address to the port, enable routing, and assign routing protocol characteristics to this routed 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 

Subinterfaces
 
Cisco NX-OS enables subinterfaces when the parent interface is enabled. You can shut down a subinterface independent of shutting down the parent interface. If you shut down the parent interface, Cisco NX-OS shuts down all associated subinterfaces as well.

The subinterface range is from 1 to 4094.

switch# configure terminal 
switch(config)# interface ethernet 2/1.1 
switch(config-if)# ip address 192.0.2.1/8 
switch(config-if)# encapsulation dot1Q 33 

Loopback Interfaces

You can configure up to 1024 loopback interfaces per VDC, numbered from 0 to 1023.

switch# configure terminal 
switch(config)# interface loopback 0 
switch(config-if)# ip address 192.0.2.100/8 

VLAN interface 

You must enable the VLAN network interface feature before you configure it.

switch# configure terminal
switch(config)# feature interface-vlan
switch(config)# interface vlan 10
switch(config-if)# ip address 192.0.2.1/8

No comments:

Post a Comment