Carrier Ethernet Configuration Guide, Cisco IOS Release 15SY
Per Port Location Configuration
Downloads: This chapterpdf (PDF - 144.0KB) The complete bookPDF (PDF - 1.93MB) | Feedback

Per Port Location Configuration

Per Port Location Configuration

Last Updated: October 15, 2012

The Per Port Location Configuration feature provides a mechanism for configuring the location attributes for specific ports. This feature provides the ability to configure Link Layer Discovery Protocol (LLDP) location information per port, overriding the global switch configuration. Thus, devices attached remotely to the switch can be given specific location information.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.

Information About Per Port Location Configuration

IEEE 802.1ab LLDP

IEEE 802.1ab Link Layer Discovery Protocol (LLDP) is an optional link layer protocol for network topology discovery in multivendor networks. Discovery information includes device identifiers, port identifiers, versions, and other details. As a protocol that aids network management, LLDP provides accurate network mapping, inventory data, and network troubleshooting information.

LLDP is unidirectional, operating only in an advertising mode. LLDP does not solicit information or monitor state changes between LLDP nodes. LLDP periodically sends advertisements to a constrained multicast address. Devices supporting LLDP can send information about themselves while they receive and record information about their neighbors. Additionally, devices can choose to turn off the send or receive functions independently. Advertisements are sent out and received on every active and enabled interface, allowing any device in a network to learn about all devices to which it is connected. Applications that use this information include network topology discovery, inventory management, emergency services, VLAN assignment, and inline power supply.


Note


LLDP and Cisco Discovery Protocol (CDP) can operate on the same interface.

The figure below shows a high-level view of LLDP operating in a network node.

When you configure LLDP or CDP location information on a per-port basis, remote devices can send Cisco medianet location information to the switch. For more information, refer to the Using Cisco Discovery Protocol module.

How to Configure Per Port Location Configuration

Configuring Per Port Location Configuration

SUMMARY STEPS

1.    enable

2.    configure terminal

3.    interface type number

4.    location {additional-location-information word | civic-location-id id [port-location]| elin-location-id id}

5.    end


DETAILED STEPS
  Command or Action Purpose
Step 1
enable


Example:

Device> enable

 

Enables privileged EXEC mode.

  • Enter your password if prompted.
 
Step 2
configure terminal


Example:

Device# configure terminal

 

Enters global configuration mode.

 
Step 3
interface type number


Example:

Device(config)# interface fastethernet 0

 

Specifies the interface on which you are configuring the location information, and enters interface configuration mode.

 
Step 4
location {additional-location-information word | civic-location-id id [port-location]| elin-location-id id}


Example:

Device(config-if)# location civic-location-id 1 port-location

 

Specifies location information for an interface, and enters civic location port configuration mode.

  • You can configure port-specific information in civic location port configuration mode.
 
Step 5
end


Example:

Device(config-if-port)# end

 

Returns to privileged EXEC mode.

 

Configuration Examples for Per Port Location Configuration

Configuring Per Port Location Configuration

SUMMARY STEPS

1.    enable

2.    configure terminal

3.    interface type number

4.    location {additional-location-information word | civic-location-id id [port-location]| elin-location-id id}

5.    end


DETAILED STEPS
  Command or Action Purpose
Step 1
enable


Example:

Device> enable

 

Enables privileged EXEC mode.

  • Enter your password if prompted.
 
Step 2
configure terminal


Example:

Device# configure terminal

 

Enters global configuration mode.

 
Step 3
interface type number


Example:

Device(config)# interface fastethernet 0

 

Specifies the interface on which you are configuring the location information, and enters interface configuration mode.

 
Step 4
location {additional-location-information word | civic-location-id id [port-location]| elin-location-id id}


Example:

Device(config-if)# location civic-location-id 1 port-location

 

Specifies location information for an interface, and enters civic location port configuration mode.

  • You can configure port-specific information in civic location port configuration mode.
 
Step 5
end


Example:

Device(config-if-port)# end

 

Returns to privileged EXEC mode.

 

Additional References for Using Link Layer Discovery Protocol in Multivendor Networks

Related Documents

Related Topic

Document Title

Cisco IOS commands: master list of commands with complete command syntax, command mode, command history, defaults, usage guidelines, and examples

Cisco IOS Master Command List, All Releases

Carrier Ethernet commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples

Cisco IOS Carrier Ethernet Command Reference

LLDP

Link Layer Discovery Protocol

Per Port Location configurations

Per Port Location Configuration

Comparison of LLDP Media Endpoint Discovery (MED) and Cisco Discovery Protocol

LLDP-MED and Cisco Discovery Protocol

Standards

Standard

Title

IEEE 802.1ab

Station and Media Access Control Connectivity Discovery

MIBs

MIB

MIBs Link

PTOPO MIB

To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://www.cisco.com/go/mibs

RFCs

RFC

Title

RFC 2922

Physical Topology MIB

Technical Assistance

Description

Link

The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.

http://www.cisco.com/cisco/web/support/index.html

Feature Information for Per Port Location Configuration

The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.

Table 1 Feature Information for Per Port Location Configuration

Feature Name

Releases

Feature Information

Per Port Location Configuration

12.2(55)SE

15.1(1)SY

The Per Port Location Configuration feature provides a mechanism for configuring the location attributes for specific ports.

In Cisco IOS Release 12.2(55)SE, this feature was introduced.

In Cisco IOS Release 15.1(1)SY, this feature was integrated.

The following commands were introduced or modified: location, location (interface), location civic-location identifier, location civic-location-id, location custom-location identifier, location custom-location-id, location geo-location, identifier, location geo-location-id , location prefer, show location, show nmsp.

Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)

Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.

© 2012 Cisco Systems, Inc. All rights reserved.