IBM NH2025-10 manual Viewing the Port Configuration, Setting Port Configuration, Get-st-pcfg

Page 45

Configuring, Modifying, and Monitoring the Unit

Hello Time: set-br-hellot

The set-br-hellotcommand sets the Spanning Tree bridge’s hello time.

set-br-hellot <hello_time>

The hello_time is an integer in the range 1..10, displayed in seconds. The default value is 2.

Forward delay: set-br-fwdel

The set-br-fwdelcommand sets the Spanning Tree Bridge Forward Delay, which controls the amount of time between the listening and forwarding states of a port.

set-br-fwdel <forward_delay>

The forward_delay value is an integer displayed in seconds in the range 4..30. The default value is 15.

Viewing the Port Configuration

get-st-pcfg

The set-br-pcfgcommand retrieves Spanning Tree port parameter table. If Spanning Tree is disabled, no parameters are retrieved.

get-st-pcfg {<port-number>all}

opt. [arg#0] port index in format <dport>; default:all

Example

SYS_console>get-st-pcfg

 

 

STP PORT TABLE

 

 

================

 

 

ID Prior State PathCost

DesigRoot

DesigCost DesigBridge DesigPort

--------------------------------------------------------------------------

1

128

FWD

10

8000-0020-1a00-8ca2 20

8000-0020-1a00-a75a 8001 D

2

128

FWD

10

8000-0020-1a00-8ca2 20

8000-0020-1a00-a75a 8002

D

3

128

FWD

10

8000-0020-1a00-8ca2 20

8000-0020-1a00-a75a 8003

D

4

128

FWD

10

8000-0020-1a00-8ca2

20

8000-0020-1a00-a75a

8004

D

5

128

FWD

10

8000-0020-1a00-8ca2

20

8000-0020-1a00-a75a

8005

D

 

 

 

 

 

 

 

 

 

Setting Port Configuration

Port priority: set-prt-prio

The set-prt-priocommand sets the Spanning Tree port priority, and gives ports priorities for blocking.

set-prt-prio <dport>

The dport is the decimal port number, port_priority is an integer in the range 1..255. The default value is 128.

37

Image 45
Contents Page Page Standards Compliance FCC NoticeCE Mark Page Contents Configuring, Modifying, and Monitoring the Unit Iii Statistics General View OverviewNetwork Management Systems ApplicationsFeature Summary Performance/ConfigurationManagement Page Installing the Unit Installing and Setting Up the UnitRack Mounting Front PanelRear Panel Installing Modules in the UnitModules for NH EM2003-1GEEM2003-2FO Input Supply Connecting Power to the UnitEM2003-8TP Em2003-2GEConnecting Ethernet Devices Connecting Your NetworkGrounding Page Logging Into the Command Line Interface Connecting to the Management PortSetting the IP Address Getting StartedAccessing the Command Line Interface Remotely Verifying the InstallationSYSconsole set-ip SYSconsole ping 192.1.1.1Command Conventions Using the Command Line InterfaceCommand Line Help Getting Command Parameter HelpGetting Command Group Help Using Command WildcardsSYSconsole ping 129.1.1.7 ? Retrieving Command History Connectivity matrixSYSconsoleget-co Nonexistent Command Command Line ErrorsSYSconsole pin Command ‘pin’ not found Incorrect Number of ParametersConsole Commands Configuring, Modifying, and Monitoring the UnitCompletes command Help-kbdBanner LoginClear LogoutSet-passwd Sys-stat System CommandsCold-reset Warm-resetGet-stst-level Set-stst-levelSet-tftp-srvr Get-tftp-srvrSet-tftp-mode Get-tftp-modeIP Configuration IP CommandsGet-ip Get-ip-cfgSet-ip Setting an IP addressSet-ip-cfg IP broadcast SYSconsoleErasing an IP Configuration Configuring a GatewayBootp Configuration Get-arp-tbl Address Resolution Protocol ARPDel-arp-entry Add-arp-entryDisplaying the Port Configuration Port configurationGet-arp-stats Get-port-cfg dport pipe allSetting the port configuration Set-port-cfgSet-port-state Setting the flow control Get-fctrlSet-fctrl Setting the EtherChannel Configuration Getting the EtherChannel ConfigurationEtherChannel Get-ec-tblDeleting the EtherChannel Configuration del-ec Port PrioritySet Port Priority Get Port Priority Modifying the Switch PolicyVlan Priority Get-priority-port-cfgHow the STP Topology Stabilizes Spanning Tree Protocol STP Spanning Tree Parameters Selecting a Designated Switch/Bridge Root Bridge Manually Designating a Root BridgeSpanning Tree Commands Using STP to Manage Redundant LinksTopology Change Notification Bpdu Spanning Tree and Vlan restrictionsViewing Bridge Parameters Configuring the BridgeGet-st-bcfg Max Age set-br-maxageSetting Port Configuration Viewing the Port ConfigurationHello Time set-br-hellot Get-st-pcfgSet-prt-enb port-number enabledisable Set-prt-prio 4 Priority was changed for port SYSconsoleSet-prt-pcost dport pathcost Aging Configuration Switching CommandsLearning Table Get-lt-ageGet-lt-16 Get-lt-entryFind-lt-addr Adding Static Entries Deleting EntriesSetting the VBC mode Viewing the VBC ModeVirtual Broadcast Domain Creating VBC DomainsViewing VBC Matrix Get-vbc-tblGet-vbc-matrix Deleting a VBC Virtual NetworkingDel-vbc-domain Del-vbc-domain runnvram domainidSetting the Vlan Mode Viewing the Vlan ModeSYSconsoleset-vlan-mode run tag Set run Vlan mode tag OK Important ConsiderationsViewing the Isvlan Mode Inter-Switch Vlan or IsvlanTag Field Format Principles of IsvlanServer Port Setting a Tagged PortRemoving a Tagged Port Creating a Server PortViewing Vlan Configuration Removing a Server PortCreating a Vlan Deleting a Vlan Get-vlan-entryDel-vlan Viewing the Management Tag Vlan ManagementModifying the Management Tag Deleting the Management from a VlanPhysical configuration schema VLAN, Server-port, Example of ConfigurationVlan Server Port ConfigurationApplication Creating a Vlan with Port ManagementPayroll Vlan Configuration Vlan ConfigurationFinance Vlan Configuration Checking the ConfigurationPing Commands Utilities CommandsPort mirroring PingSaving the Configuration Setting the Monitoring PortMonitoring with monitor Stopping MonitoringErasing the Nvram configuration Viewing the Nvram ConfigurationSetting the Frame Generator Frame GeneratorSnmp basic configuration NBase-Xyplex Snmp SupportStopping the Frame Generation Setting the Read or Write Community Snmp Community String CommandsViewing the Community String Get-commViewing the Authentication Trap Status Setting Authentication TrapsSetting the Authentication Trap Snmp TrapsConfiguring the Trap Stations Get-traps ExampleAdd-trap Statistics Clearing the Switch CountersGetting Collisions on a Port Clr-cntRmon Statistics Getting Rmon Statistics Group for a PortGetting the Packet Size Distribution Getting the Management Counters Page Trouble Shooting Mailservice@mrv.com Commands Quick Reference ARP Commands Ping CommandsEtherChannel Commands Snmp CommandsVirtual LAN Commands Switching Database CommandsPort Configuration Commands Switching Statistics CommandsPort Monitoring Spanning Tree Commands Page Snmp System Default ValuesPage Appendix B Firmware Download Using Tftp Download Procedure Client ModeDownload Procedure Server mode ∙ set-tftp-mode client Tftp Recovery Breaking into the BootROMCompatibility Appendix C Technical SpecificationsStandards Compliance