Upload
others
View
25
Download
0
Embed Size (px)
Citation preview
Configuring Auto Media Sense on
• Configuring Auto Media Sense, on page 2
Configuring Auto Media Sense on1
Configuring Auto Media SenseCisco ASR 920 Series ( ASR-920-12CZ-A and ASR-920-12CZ-D) supports eight dual media ports. The dualmedia ports can operate either in RJ45 mode or in SFP (fiber) mode. The AMS detects the presence of a linkactivity on any of the media dual ports, and enables the link for communication. By default, if there is no linkconnection, the link state goes down. When media is connected, the AMS detects the connection, establishesthe link, and brings the link state to UP. When for the same port, both RJ45 and fiber links are connected, theport goes UP in the fiber mode.
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest caveats andfeature information, see Bug Search Tool and the release notes for your platform and software release. Tofind information about the features documented in this module, and to see a list of the releases in which eachfeature 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.
Restrictions for Configuring Auto Media Sense• When the media-type is changed from RJ45 to SFP or vice versa with 100% line rate, the port goesDOWN. The workaround is to stop the traffic, and to perform shut/no shut operation on the port.
• By default, the auto negotiation is always enabled when the media-type is selected as auto-select.• For ports 4 to 11, the same port cannot be used as RJ45 or SFP at the same time.
Information About Auto Media SenseDual-media is the support given at the PHY level. The Cisco ASR 920 Series ( ASR-920-12CZ-A andASR-920-12CZ-D) supports eight dual media ports. All the media typemodes are driven through IOS Interfaceconfiguration command:
• Media-type 'auto' is for auto-media sense• Media-type 'rj45' is for rj45 mode• Media-type 'sfp' is for SFP mode.
Port numbers from 4 - 11 can operate either in RJ45 or in Fiber mode.
Table 1: Cisco ASR 920 Series Front Panel Port mapping
10GSFP+
1G AMS Ports1G SFP Only
1311x9x7x5x1197531
1210x8x6x4x1086420
Configuring Auto Media Sense on2
Configuring Auto Media Sense onConfiguring Auto Media Sense
How to Configure Auto Media Sense
Configuring Media-Type
SUMMARY STEPS
1. enable2. configure terminal3. interface interface-id4. media-type {auto-select | rj45 | sfp}5. end
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enableStep 1
Example: • Enter your password if prompted.Router> enable
Enters global configuration mode.configure terminal
Example:
Step 2
Router# configure terminal
Specify the dual-media port to be configured, and enterinterface configuration mode.
interface interface-id
Example:
Step 3
Router(config)# interface gigabitEthernet 0/0/5
Select the interface and type of a dual-media uplink port.The keywords mean the following:
media-type {auto-select | rj45 | sfp}
Example:
Step 4
• auto-select—The switch dynamically selects the type.When both RJ-45 and SFP modules are up, port goes
Router (config-if)# media-type sfp
UP in SFP mode. The port switches over to RJ-45mode, when the link in SFPmodule goes down.Whenthe SFP module link is up, the mode is switched backfrom RJ-45 to SFP. In auto-select mode, the switchconfigures both types with autonegotiation of speedand duplex (the default).This is the default media-typeconfigured on the AMS port.
• rj45—The switch disables the SFP module interface.If you connect an SFP module to this port, it cannotattain a link even if the RJ-45 side is down or is notconnected. In this mode, the dual-purpose port behaveslike a 10/100/1000BASE-TX interface. You canconfigure the speed and duplex settings consistent withthis interface type.
Configuring Auto Media Sense on3
Configuring Auto Media Sense onHow to Configure Auto Media Sense
PurposeCommand or Action
• sfp—The switch disables the RJ-45 interface. If youconnect a cable to the RJ-45 port, it cannot attain alink even if the SFP module side is down or if the SFPmodule is not present. Based on the type of installedSFP module, you can configure the speed and duplexsettings consistent with this interface type.
Return to privileged EXEC mode.end
Example:
Step 5
Router(config-if)# end
Configuration Example
Router> enableRouter# configure terminalRouter(config)# interface gigabitEthernet 0/0/5Router (config-if)# media-type sfpRouter(config-if)# end
Verifying Media-Type
SUMMARY STEPS
1. enable2. show running-config interface interface-id3. show interface interface-id
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enableStep 1
Example: • Enter your password if prompted.Router> enable
This displays the media-type configured on the port.show running-config interface interface-id
Example:
Step 2
Router> show running-config interfacegigabitEthernet 0/0/6
This displays the media-type in which the port is operating.show interface interface-id
Example:
Step 3
Router> show interface gigabitEthernet 0/0/6
Configuring Auto Media Sense on4
Configuring Auto Media Sense onVerifying Media-Type
Example for Verifying Media-Type Configuration
This example shows how to verify the media-type configurationPart I
Router> enableRouter>show running-config interface gigabitEthernet 0/0/5Building configuration...
Current configuration : 95 bytes!interface GigabitEthernet0/0/5no ip addressmedia-type auto-selectnegotiation autoRouter> end
Part II
Router> enableRouter> show interfaces gigabitEthernet 0/0/5GigabitEthernet0/0/5 is up, line protocol is upHardware is 12xGE-2x10GE-FIXED, address is badb.adba.de85 (bia badb.adba.de85)MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setKeepalive set (10 sec)Full Duplex, 1000Mbps, link type is auto, media type is SXoutput flow-control is off, input flow-control is onARP type: ARPA, ARP Timeout 04:00:00Last input never, output never, output hang neverLast clearing of "show interface" counters neverInput queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0Queueing strategy: fifo.
Router> end
The media type is:
• SX—when GLC-SX-SMD is connected.
• ZX—when GLC-ZX-SMD is connected.
• RJ45—when copper mode is connected.
Note
Troubleshooting Media-Type Configuration
The show platform software agent iomd 0/0 phy <port_num> 1 14 command is used to determine themedia-type at the PHY level for a specific port.Router> enableRouter# show platform software agent iomd 0/0 phy 5 1 14
Port Number: 5Device/Page: 0x1
Configuring Auto Media Sense on5
Configuring Auto Media Sense onExample for Verifying Media-Type Configuration
Register : 0x14Value : 0xa084
The value of the register determines the media-type configuration:
• 0xa084—then port is operating in SFP mode.
• 0xa045—then the port is operating in RJ45 mode.
Note
Additional References
Related Documents
Document TitleRelated Topic
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/mcl/allreleasemcl/all-book.htmlCisco IOS commands
Standards and RFCs
TitleStandard/RFC
—No specific Standards and RFCs are supported by the features in this document.
MIBs
MIBs LinkMIB
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use CiscoMIB Locator found at the following URL:
http://www.cisco.com/go/mibs
—
Technical Assistance
LinkDescription
http://www.cisco.com/cisco/web/support/index.html
The Cisco Support website provides extensive online resources, includingdocumentation and tools for troubleshooting and resolving technical issues withCisco products and technologies.
To receive security and technical information about your products, you cansubscribe to various services, such as the Product Alert Tool (accessed from FieldNotices), the Cisco Technical Services Newsletter, and Really Simple Syndication(RSS) Feeds.
Access to most tools on the Cisco Support website requires a Cisco.com user IDand password.
Configuring Auto Media Sense on6
Configuring Auto Media Sense onAdditional References
Feature Information for Auto Media SenseThe following table provides release information about the feature or features described in this module. Thistable lists only the software release that introduced support for a given feature in a given software releasetrain. 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 2: Feature Information for Auto Media Sense
Feature InformationReleasesFeature Name
This feature was introduced on the Cisco ASR 920 SeriesAggregation Services Router (ASR-920-12CZ-A, andASR-920-12CZ-D.
Cisco IOS XE Release3.13.0S
AutoMedia Sense
Configuring Auto Media Sense on7
Configuring Auto Media Sense onFeature Information for Auto Media Sense
Configuring Auto Media Sense on8
Configuring Auto Media Sense onFeature Information for Auto Media Sense