cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
21218
Views
25
Helpful
8
Replies

Interface description in ACI Mode

Felix.Forbes
Level 1
Level 1

Hi There,

I have a new deployment of Nexus 9000 spine and leaf switches in ACI mode, running version 1.2(1i). If I go to Fabric -> Pod1 -> Choose a leaf switch -> Interfaces -> Physical Interfaces -> Choose an interface I see a an empty field for description. I'd like to add a description to this field as I would with an IOS device so I can add a friendly name of the device connected to the interface.

I have looked everywhere throughout the APIC but cannot find a way to edit this field. Does anybody know how to do this?

Regards,

Felix 

1 Accepted Solution

Accepted Solutions

Tomas de Leon
Cisco Employee
Cisco Employee

Yes, you can use the new iNXOS CLI MODE on the APIC Controllers to configure the "interface description"

For Example:

In this example, I want to add a description to one of the uplink interfaces to "rtp1-spine1.cisco.com Eth1/49"


rtp1-leaf1# show lldp neighbors
Device ID Local Intf Hold-time Capability Port ID
rtp1-spine1.cisco.com Eth1/49 120 BR Eth1/1
rtp1-spine2.cisco.com Eth1/50 120 BR Eth1/1

  • SSH to the APIC

  • Use the iNXOS CLI commands to add the desired "description" for interface

rtp1-apic1# configure

rtp1-apic1(config)# leaf 101

rtp1-apic1(config-leaf)# interface ethernet 1/49

rtp1-apic1(config-leaf-if)# description 'uplink to rtp1-spine1.cisco.com'

rtp1-apic1(config-leaf-if)# end

rtp1-apic1#


rtp1-leaf1# show interface eth1/49
Ethernet1/49 is up
admin state is up, Dedicated Interface
Port description is uplink to rtp1-spine1.cisco.com
Hardware: 40000 Ethernet, address: 0000.0000.0000 (bia 7426.aceb.89b6)
MTU 9150 bytes, BW 40000000 Kbit, DLY 1 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, medium is broadcast
Port mode is routed
full-duplex, 40 Gb/s, media type is 40G
Beacon is turned off
Auto-Negotiation is turned on
Input flow-control is off, output flow-control is off
Auto-mdix is turned off
Rate mode is dedicated
Switchport monitor is off
EtherType is 0x8100
EEE (efficient-ethernet) : n/a
Last link flapped 2d06h
Last clearing of "show interface" counters never
1 interface resets
30 seconds input rate 2000 bits/sec, 1 packets/sec
30 seconds output rate 4832 bits/sec, 4 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 45640 bps, 8 pps; output rate 14264 bps, 8 pps
L3 in Switched:
ucast: 0 pkts, 0 bytes - mcast: 0 pkts, 0 bytes
L3 out Switched:
ucast: 0 pkts, 0 bytes - mcast: 0 pkts, 0 bytes
RX
1793020 unicast packets 81713 multicast packets 6 broadcast packets
1874739 input packets 1275286684 bytes
0 jumbo packets 0 storm suppression bytes
0 runts 0 giants 0 CRC 0 no buffer
0 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
1207837 unicast packets 324771 multicast packets 2 broadcast packets
1532610 output packets 327883617 bytes
0 jumbo packets
0 output error 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble 0 output discard
0 Tx pause

 

Using the APIC CLI
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/cli/nx/cfg/b_APIC_NXOS_CLI_User_Guide/b_APIC_NXOS_CLI_User_Guide_chapter_010.html

Cisco APIC NX-OS Style CLI Command Reference
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/cli/nx/cr/b_APIC_NXOS_CLI_Cmd_Reference.html

 

View solution in original post

8 Replies 8

Tomas de Leon
Cisco Employee
Cisco Employee

Yes, you can use the new iNXOS CLI MODE on the APIC Controllers to configure the "interface description"

For Example:

In this example, I want to add a description to one of the uplink interfaces to "rtp1-spine1.cisco.com Eth1/49"


rtp1-leaf1# show lldp neighbors
Device ID Local Intf Hold-time Capability Port ID
rtp1-spine1.cisco.com Eth1/49 120 BR Eth1/1
rtp1-spine2.cisco.com Eth1/50 120 BR Eth1/1

  • SSH to the APIC

  • Use the iNXOS CLI commands to add the desired "description" for interface

rtp1-apic1# configure

rtp1-apic1(config)# leaf 101

rtp1-apic1(config-leaf)# interface ethernet 1/49

rtp1-apic1(config-leaf-if)# description 'uplink to rtp1-spine1.cisco.com'

rtp1-apic1(config-leaf-if)# end

rtp1-apic1#


rtp1-leaf1# show interface eth1/49
Ethernet1/49 is up
admin state is up, Dedicated Interface
Port description is uplink to rtp1-spine1.cisco.com
Hardware: 40000 Ethernet, address: 0000.0000.0000 (bia 7426.aceb.89b6)
MTU 9150 bytes, BW 40000000 Kbit, DLY 1 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, medium is broadcast
Port mode is routed
full-duplex, 40 Gb/s, media type is 40G
Beacon is turned off
Auto-Negotiation is turned on
Input flow-control is off, output flow-control is off
Auto-mdix is turned off
Rate mode is dedicated
Switchport monitor is off
EtherType is 0x8100
EEE (efficient-ethernet) : n/a
Last link flapped 2d06h
Last clearing of "show interface" counters never
1 interface resets
30 seconds input rate 2000 bits/sec, 1 packets/sec
30 seconds output rate 4832 bits/sec, 4 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 45640 bps, 8 pps; output rate 14264 bps, 8 pps
L3 in Switched:
ucast: 0 pkts, 0 bytes - mcast: 0 pkts, 0 bytes
L3 out Switched:
ucast: 0 pkts, 0 bytes - mcast: 0 pkts, 0 bytes
RX
1793020 unicast packets 81713 multicast packets 6 broadcast packets
1874739 input packets 1275286684 bytes
0 jumbo packets 0 storm suppression bytes
0 runts 0 giants 0 CRC 0 no buffer
0 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
1207837 unicast packets 324771 multicast packets 2 broadcast packets
1532610 output packets 327883617 bytes
0 jumbo packets
0 output error 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble 0 output discard
0 Tx pause

 

Using the APIC CLI
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/cli/nx/cfg/b_APIC_NXOS_CLI_User_Guide/b_APIC_NXOS_CLI_User_Guide_chapter_010.html

Cisco APIC NX-OS Style CLI Command Reference
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/cli/nx/cr/b_APIC_NXOS_CLI_Cmd_Reference.html

 

I actually need to do this but from the API method for a collection I am working on. I try to use the same payload the APIC uses but it does not seem to work. Do you know how this can be done from the API method?

Thank you County... That is what I was looking for
Didn´t you tried to add attribute of "Status"? (i don´t want to modify my existing descriptions.

Felix.Forbes
Level 1
Level 1

Thank you so much, Tomas. That was exactly what I was looking for!

I really appreciate your reply.

taoli
Cisco Employee
Cisco Employee

感谢。Thanks a lot.

SJB0095
Level 1
Level 1

you can do this in ACI,

 

Go to: 

Fabric ->Pod ->Leaf-101 -> interfaces -> physical interfaces -> eth1/1

 

from here you can add a description.

 

Hi All,

When updating interface description manually from CLI, there will be a "Override name" generated automatically for the interface. You can see this field is Mandatory when you try update description in GUI mode. Please explain what is this Override name and its Consequence. Is it possible to remove this Override name alone ?

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License