Manual - MXK 319 (0050 0122)
Manual - MXK 319 (0050 0122)
Figure 3: IP on a bridge
User
VLAN 100
200
192.168.8.21/24
The uplink card is now reachable from the upstream, and IP 192.168.8.21/
24 can reach other upstream devices on the same VLAN ID.
Follow the same steps to create an IP on a bridge and bridges for
downstream devices.
3 Verify the ipobridge interface:
zSH> interface show
2 interfaces
Interface Status Rd/Address Media/Dest Address IfName
--------------------------------------------------------------------------------
1/a/1/0/ip UP 1 10.51.1.118/24 00:01:47:19:b9:78 ethernet1
1/a/6/0/ip UP 1 192.168.8.21/24 00:01:47:93:74:54 ipobridge-200
--------------------------------------------------------------------------------
The downlink bridge with the same VLAN ID was automatically created.
5 Create the default route.
See Creating a default route on page 57.
The uplink card is now reachable from the upstream, and IP 192.168.8.21/
24 can reach other upstream devices on the same VLAN.
Follow the same steps to create an IP on a bridge and bridges for
downstream devices.
Orig
Type VLAN/SLAN VLAN/SLAN Physical Bridge St Table Data
---------------------------------------------------------------------------------------------------------------------
tls 700 1/a/2/0/eth ethernet2/bridge UP
1 Bridge Interfaces displayed
2 Create a linkagg uplink bridge. The uplink ports are the ports that are in
the link aggregation.
zSH> bridge add 1-a-1-0/linkagg uplink vlan 200 tagged
Adding bridge on 1-a-1-0/linkagg
Created bridge-interface-record linkagg-a-1-200/bridge
Bridge-path added successfully
The uplink card is now reachable from the upstream, and IP 192.168.8.21/
24 can reach other upstream devices on the same VLAN.
Follow the same steps to create an IP on a bridge and bridges for
downstream devices.
3 Enter interface add interface/type with the type as ipobridge.
This command creates the new IP interface as well as a new bridge. The
bridge created will be a downlink tagged bridge.
The uplink card is now reachable from the upstream, and IP 192.168.8.21/
24 can reach other upstream devices on the same VLAN.
Follow the same steps to create an IP on a bridge and bridges for
downstream devices.
4 Verify the interface.
zSH> interface show
2 interfaces
Interface Status Rd/Address Media/Dest Address IfName
--------------------------------------------------------------------------------
1/a/1/0/ip UP 1 10.51.1.118/24 00:01:47:19:b9:78 ethernet1
1/a/6/0/ip UP 1 192.168.8.21/24 00:01:47:93:74:54 ipobridge-200
--------------------------------------------------------------------------------
2 Enable ZMS to manage the device, change the zmsexists parameter from
false to true:
zSH> update system 0
system 0
Please provide the following: [q]uit.
syscontact: -----------> {}:
sysname: --------------> {}:
syslocation: ----------> {}:
enableauthtraps: ------> {disabled}:
setserialno: ----------> {0}:
zmsexists: ------------> {true}: true
zmsconnectionstatus: --> {inactive}:
zmsipaddress: ---------> {0.0.0.0}:
configsyncexists: -----> {false}:
configsyncoverflow: ---> {false}:
configsyncpriority: ---> {high}:
Caution: If you are using a public and not a private IP address for
the Web UI, to protect your management system, Zhone recommends
that the port access profile is configured for the Telnet port (port 23)
and the management subnet is specified. See Port access security on
page 132 for more information on setting up port security.
The MXK enables Web-based configuration using the Zhone SLMS Web
Interface Tool. The Zhone SLMS Web Interface Tool supports configuration
and management of both line and uplink cards.
To launch the Zhone Web User Interface, in a browser URL address space on
a PC with connectivity to the MALC, enter the IP address configured on the
MXK.
The Zhone Web User Interface launches and displays the Login window for
the MXK.
On the Login page, enter the user name and password. The default user name
is admin and the default password is zhone.
Note: Zhone recommends you change the user name and password
to ones suitable to your network.
Click the desired menu to display the management options. For online help,
click the Help icon or product title in any window.
The file is removed from the MXK. The file must be reinstalled in the
card1 directory to run the Web UI.
This section describes the MXK system defaults, monitoring the MXK, and
temporary logging sessions:
• Defaults overview, page 67
• Monitoring the MXK through the serial craft port, page 68
• Enable/disable temporary logging sessions, page 68
Defaults overview
The MXK must have at least one uplink card installed before the MXK will
boot properly. Along with the ability to display cards (both active and
inactive) which are in the MXK, you can also see into the DOS file system
which stores boot code, software images, and configurations. See Navigate
the MXK file system on page 93 for a description of commands which can be
used to access the MXK file system.
Line cards (except the first uplink card in slot a) must be provisioned with a
card-profile before they will boot up.
• Administrative user name is admin, password is zhone.
• A single record for the Ethernet interface on the uplink card in slot a
exists. No other profiles to configure physical interfaces exist.
• The uplink card in slot a is enabled. You must enable all other cards
including the uplink card in slot b in a card-profile before they will boot
up.
• A default system 0 profile exists with the following configuration:
– Authentication traps are not enabled
– ZMS communication is not configured
– Alarm notification and output are enabled for all severity levels
MXK users have access to the CLI and are able to configure and administer
the system.
Add users
Every administrative user on the system must have a user account. The
account specifies their username and password, as well as their privilege
level, which determines their access to commands.
Users with admin privileges have access to all the administrative commands.
Users with user privileges have access to a very limited set of commands. The
highest level of access is useradmin, which allows the creation of user
accounts.
Commands with zhonedebug privilege levels are intended for use by Zhone
development only.
Immediately after activating the user account, you should change the
password something you can remember, as explained in the next section.
Delete users
To delete a user, enter the deleteuser command and specify the username:
zSH> deleteuser jsmith
OK to delete this account? [yes] or [no]: yes
User record deleted.
Note: You cannot delete the admin account (or any other user
account with useradmin privileges) if you are currently logged into
it.
If desired, you can recreate an account named admin after deleting it:
zSH> adduser admin
Please provide the following: [q]uit.
User Name: admin
User Prompt[zSH>]:
Reset passwords
If a user forgets their password, an administrative user can reset the password
and generate a new one using the resetpass command, as in the following
example:
zSH> resetpass jsmith
Password:
user command
The user command enables the command line feature to add, modify, show,
or delete users and user settings.
Options add
Adds a new user profile with the specified settings.
username
Name of the user.
password password
Specifies the password assigned to this user.
prompt
Specifies the system prompt to display for this user. If no password is
entered, the system assigns a random password. Enclosing an argument in
quotes allows the entry of special characters.
access level
Specifies the access levels assigned to the user. The all option sets all
access levels. Individual access levels can be specified by added the
keyword true or false after an access level. For example, manuf false all
true sets all access levels except manuf level access.
Example 1
zSH> user add steve password pass prompt "zSH >" admin voice systems dbase
User record saved.
..................................
User name:(Steve) User prompt:(zSH >)
Access Levels:
(admin)(voice)(system)(dbase)
Example 2
zSH> user modify joe password pass all false admin true
OK to modify this account? [yes] or [no]: yes
User record updated.
..................................
User name:(newaccount2) User prompt:(zSH>)
Access Levels:
(admin)(useradmin)
Example 3
Example 4
zSH> user delete kathy
OK to delete this account? [yes] or [no]: yes
Account kathy deleted
System and Card a will show Critical alarm set when an alarm has been
triggered. Other parameters provide full descriptions such as warning fans A,
B, C, F are stopped or warning all fans are stopped for the Fan alarm.
The Battery A and Battery B voltages are measured relative to battery return
(+). The Battery return voltage measurement is relative to ground (i.e., the
chassis).
Note that earlier versions of the MXK 819/MXK 823 fan tray do not support
all the monitoring functionality shown here. Consult your Zhone sales person
for more information. See MXK built-in alarm input output on page 77 for a
description of the Alarm I/O Board functionality.
Device Status
---------------------------------------------------------
-------------------
System
Card a
Alarm I/O
Board----------------------------------------------------
---------
Supported: Yes
Present: Yes
Alarm input: Ai1 Ai2 Ai3 Ai4 Ai5 Ai6 Ai7 Ai8
Status (Energized/de-energized): d d d d d d d
dNormalOpen/NormalClosed/NotSpec: NS NS NS NS NS NS NS NS
Alarm Active: No No No No No
No No No
Older MXK chassis which do not have the Alarm I/O board running the 2.3 or
newer software will show that the Alarm I/O board is not present
(highlighted).
zSH> shelfctrl monitor
Shelf Status
---------------------------------------------------------
-------------------
Uptime 15 days, 23 hours, 34
minutes
FPGA version 0.5
Firmware version 0.5
Uplink Supervisor CPLD version 1.3
Uplink Glue version 0.2
16 MHz TDM clock Yes
...
Device Status
---------------------------------------------------------
-------------------
SystemNo alarms reported
Card aNo alarms reported
To support the Alarm I/O board, the correct uplink card and firmware needs to
be present. For the 4x1G uplinks, the firmware is automatically upgraded
when the software is upgraded to 2.3 or later.
The 8x1G and 2x10G+8x1G uplink cards do not upgrade automatically. Some
of these uplinks with upgraded firmware are already in the field. To determine
which uplink you have, use the shelfctrl monitor command:
• If the shelfctrl monitor display for Alarm I/O Board shows Supported:
Yes, then Present: Yes then the alarm I/O board is present.
• If the shelfctrl monitor display for Alarm I/O Board shows Supported:
Yes, the firmware is upgraded.
• If the Alarm I/O Board shows Supported: No, the uplink card does not
support the alarm I/O board. Contact Zhone support.
For example, the following example adds a description in the name field, and
specifies normallyclosed in the normal-state field to the sixth alarm contact of
the MXK i/o alarm board.
zSH> update num2str-profile 1/0/282/6
Please provide the following: [q]uit.
name: ---------> {Relay 6}: cabinet open
normal-state: -> {notspecified}: normallyclosed
....................
Save changes? [s]ave, [c]hange or [q]uit: s
Record updated.
The normal-state field has three value options: notspecified,
normallyclosed, normallyopen.
View runtime statistics for the MXK with the card stats command
The card stats command displays runtime statistics for the MXK device.
zSH> card stats
-------------- cpu % utilization ------------ ------ memory (KB)--------- Card
Memory uptime
slot idle usage high services framework low % Used Total Peak Avail
Status ddd:hh:mm:ss s/w version
==== ==== ===== ======= ======== ========= ======= ====== ====== ====== ======
============= ============ =============
1 90 10 3 5 0 0 65.14 87227 56824 30410 1 -
OK 1:04:32:32 MX 2.5.1.113
The card stats all command displays information for all the cards.
zSH> card stats all
-------------- cpu % utilization ------------ ------ memory (KB)--------- Card
Memory uptime
slot idle usage high services framework low % Used Total Peak Avail
Status ddd:hh:mm:ss s/w version
==== ==== ===== ======= ======== ========= ======= ====== ====== ====== ======
============= ============ =============
2 97 3 1 0 0 3 34.71 100770 34987 65793 1 -
OK 6:22:11:51 MXK 2.5.1.113
3 99 1 0 0 0 0 13.85 121685 16854 104832 1 -
OK 6:22:11:57 MXK 2.5.1.113
4 92 8 4 2 0 0 40.05 104662 41923 62749 1 -
OK 6:22:11:10 MXK 2.5.1.113
5 92 8 5 2 0 0 42.54 104596 44507 60100 1 -
OK 6:22:10:17 MXK 2.5.1.113
6 92 8 6 1 0 2 34.01 109718 37320 72407 1 -
OK 6:22:12:29 MXK 2.5.1.113
10 85 15 0 14 0 0 35.33 107438 38064 69476 1 -
OK 6:22:10:25 MXK 2.5.1.113
Section Field
idle
Percentage of time the CPU has spent executing tasks with priority of
200 or less. Tasks with priority of 200 or less (the higher the number,
the lower the priority) are considered idle tasks.
usage
Percentage of time the CPU has spent executing tasks with priority of
199 or higher
high
High priority tasks are primarily related to packet processing and
critical system monitoring.
Percentage of time the CPU has spent executing tasks with priority of
001 to 099. High priority tasks are primarily related to packet
processing and critical system monitoring.
services
Services are primarily line monitoring tasks for line state and alarms.
Percentage of time the CPU has spent executing tasks with priority of
100 to 179. Services tasks are primarily line monitoring tasks for line
state and alarms.
framework
Framework tasks are primarily database and network management
system related activities such as config synch and backup.
Percentage of time the CPU has spent executing tasks with priority of
180 to 199. Framework tasks are primarily database and network
management system related activities such as config synch and backup.
low
Percentage of time the CPU has spent executing tasks with priority of
200 to 250
memory (KB) Used
Percentage of time the CPU has spent executing tasks with priority of
199 or higher.
Total
The amount of physical memory contained by the device/card.
Section Field
Peak
The maximum physical memory that has been allocated at any time by
the device/card.
Avail
The amount of physical memory that is unallocated and not in use by
the device/card.
Card Memory Status Memory status of the card sent with memory trap. A trap is sent when
each condition occurs.
1 - ramMemOK less then 90% of ram is used
2 - ramMemLow more then 90% of ram is used
3 - flashMemOK enough flash for maximum database
4- flashMemLow not enough flash for maximum database
5 - flashMemOut no more flash memory, data no longer persistent
This section provides the following information on how logs work on the
MXK
• Overview, page 82
• Default log store level, page 82
• User login notification, page 82
• Enable/disable temporary logging sessions, page 68
• Log message format, page 83
• Modify logging levels, page 84
• Non-persistent log messages, page 86
• Persistent log messages, page 88
• Example log messages, page 88
• Log filter command, page 88
• Send messages to a syslog server, page 89
• Specify different log formats for system and syslog messages, page 91
Overview
Logging enables administrators to monitor system events by generating
system messages. It sends these messages to:
• A temporary management session (either on the serial craft port or over a
Telnet session)
• Log modules to create permanent log files
• A syslog server (optional)
The type of information sent in these messages can be configured using the
log command. By default, the system sends the same type of information to
all log message destinations. If you want to send different types of messages
to the syslog daemon, use the syslog command.
Enable/disable logging
By default, log messages are enabled on the serial craft port. Use the log
session command and the log serial command to enable/disable logging:
The log session command enables/disables logging messages for that session
only. If the user logs out, the logging setting returns to the default. To enable
logging for the current session only:
zSH> log session on
Logging enabled.
Logging disabled.
The log serial command enables/disables logging messages for all sessions
on the serial craft port. This setting persists across system reboots. To enable/
disable logging for the serial craft port:
zSH> log serial on
Serial port logging enabled.
Option Description
Ticks Current tick count. When the tick option is used, the date and time
fields are not displayed.
Address The shelf and slot and application identifier causing the alarm.
Taskname Name of task that generated the log message. This is generally
useful only for Zhone development engineers. Enabled by default.
Line Line in code that generated the log message. This is generally useful
only for Zhone support staff.
To change the information displayed in the log messages, use the log option
command. First, display the available options:
zSH> log option
Then, turn the option on or off. For example, the following command will
turn the task ID on or off in log messages:
zSH> log option taskid on
time: date: level: address: log: taskid: port: category: system: (0x717)
The following commands will turn on or off the tick count display in log
messages:
zSH> log option ticks on
time: date: level: address: log: port: category: system: ticks: (0xf07)
To display the current levels for all logging modules, use the log show
command:
zSH> log show
MODULE LEVEL STATUS
adslhdlr error enabled
adslprof error enabled
alarm_mgr error enabled
assert error enabled
atm_cc_mib_hdlr error enabled
atmmgragnt error enabled
bds error enabled
bds_client error enabled
bridge error enabled
bridgemib error enabled
bridgerp error enabled
bulkstats error enabled
bulkstatshdlr error enabled
cam error enabled
card error enabled
card_resource error enabled
carddeletehdlr info enabled
cardred error enabled
cardsvchdlr error enabled
ccrp error enabled
ccrr error enabled
cesmibhdlr error enabled
cli error enabled
clkmgr warning enabled
....
Logging levels determine the number of messages that are displayed on the
console. The higher the log level, the more messages are displayed. The MXK
supports the following log levels:
• 1: emergency
• 2: alert
• 3: critical
• 4: error
• 5: warning
• 6: notice
• 7: information
• 8: debug
To change the log level, use the log module level command. For example, the
following command changes the card module logging level to emergency:
To enable or disable log levels for a module, use the log enable or log disable
commands. For example:
zSH> log disable card
Module: card is now disabled
The log cache max length command sets the maximum number of log
messages to store. The maximum log cache size is 2147483647, depending in
the amount of memory available.
log cache max length
The log cache grep pattern command searches through the log cache for the
specified regular expression.
log cache grep pattern
The following example searches through the log cache for the string
“Critical”:
zSH> log cache grep Critical
Searching for: "Critical"
[1]: AUG 02 22:37:19: alert : 1/a/1025: alarm_mgr: 01: a:01 Critical ETHERNET Up -
Ethernet line up
[2]: AUG 02 22:37:34: alert : 1/a/1025: alarm_mgr: 01: a:02 Critical ETHERNET Down -
Ethernet uplink down
[3]: AUG 02 22:37:34: alert : 1/a/1025: alarm_mgr: 01: a:03 Critical ETHERNET Down -
Ethernet line down
The log cache size command sets the maximum amount of memory for the
log cache. Without options, displays the current log size.
zSH> log cache size
Number of log messages in the cache: 20
Total bytes used by the cache: 2052
The log cache help command displays the help information for the log cache
command:
zSH> log cache help
Usage: log cache < max > < length >
< grep > < pattern >
< clear >
< size >
< help >
With no arguments the 'log cache' command prints out all the
log messages currently in the cache.
The 'max' command is used to view/set the maximum number of
log messages that can be cached at one time. If the cache is
full then the oldest log is discarded and the new log is
inserted. If no value is given then the current setting is
displayed
The 'size' command is used to display the amount of memory
currently being used by the log cache.
The 'clear' command is used to erase the log cache.
The 'grep' command is used for searching the log cache for a
specific pattern. Extended regular expressions are supported.
log filter
Restrict the display of log messages to only the log messages for a specified
entity.
port The UDP port to which the syslog messages will be sent.
Default: 514
facility The syslog facility to which the syslog messages will be sent.
Values:
local0
local1
local2
local3
local4
local5
local6
local7
no-map
Default: local0
severity The severity level used to filter messages being set to the syslog
server.
Values:
emergency
alert
critical
error
warning
notice
info
debug
Default: debug
name The name of the module whose logging is controlled by this profile.
Default: logtest
syslog Controls the format of messages sent to the syslog server described
in the syslog-destination profile. This field is similar to the display
field, except for the trackdisplay value.
Values:
emergency
alert
critical
error
warning
notice
info
debug
trackdisplay Messages logged at, and above, the level set in the
display parameter will also be recorded in the syslog server.
Default: trackdisplay
In this case, the log-module 1 will display to the screen, all messages at and
above warning. The variable trackdisplay means that the same messages as
defined in display are also sent to the syslog and storage. If different level of
messages are needed for the different destinations, the variables for display,
syslog, and store can be set at different levels.
2 Copy the new system boot image software to the flash memory using the
image download command.
zSH> image download 192.168.8.21 mxup2tg8g.bin
3 Initialize the flash card’s boot partition with the new image on both the
primary and standby uplink card (if present).
For a single uplink card enter:
zSH> image flash mxup2tg8g.bin 1 1
4 The image command can also verify image files on the flash card. It reads
the contents of the file, verifies the file header, and verifies the file
checksum. For example:
zSH> image verify mxup2tg8g.bin
File: mxup2tg8graw.bin
Size: 688320 bytes
Header Version: 1
Card Type: MX TWO TENGIGE EIGHT GIGE
Load Type: binary
Load Address: 0x00010000
Checksum: 0x2f66bb70
Image verify successful
The command reports any errors it finds in the file. Note that files are also
verified as part of the download process.
5 Reset the system and restore the system configuration with the
systemreboot command:
zSH> systemreboot
A restore file (/card1/onreboot/restore) is present.
A system reboot will result in a database restore.
Continue? (yes or no) [no]: yes
Do you want to reboot the system? (yes or no) [no] yes
Do you want to exit from this request? (yes or no) [yes] no
Are you sure? (yes or no) [no] yes
As shown above, when the restore file is present, the system displays
A restore file (/card1/onreboot/restore) is present.
and uses that file to restore the saved configuration to the MXK system.
new command
The new command can create new GPON traffic profiles.
zSH> new gpon-traffic-profile 1
gpon-traffic-profile 1
Please provide the following: [q]uit.
guaranteed-upstream-bw: -> {0}:
traffic-class: ----------> {ubr}:
compensated: ------------> {false}:
shared: -----------------> {false}:
....................
Save new record? [s]ave, [c]hange or [q]uit: s
New record saved.
list command
The list command displays all the profiles available on the MXK (partial list
shown):
zSH> list
adsl-co-profile: shelf/slot/port
adsl-cpe-profile: shelf/slot/port
adsl-profile: shelf/slot/port
alarm-config: ifIndex
analog-fxo-cfg-profile: ifIndex
analog-fxs-cfg-profile: ifIndex
analog-if-cfg-profile: ifIndex
atm-cc: atmVcCrossConnectIndex
atm-if: ifIndex
atm-if-stats: ifIndex
atm-traf-descr: index
atm-traf-descr-stats: index
atm-vcl: ifIndex/vpi/vci
atm-vcl-param: index
atm-vcl-stats: ifIndex/vpi/vci
atm-vpi: ifIndex/vpi
atm-vpl: ifIndex/vpi
bridge-interface-record: ifIndex
bulk-statistic: index
The list gpon-traffic-profile command lists all GPON traffic profiles on the
system.
zSH> list gpon-traffic-profile
gpon-traffic-profile 1
gpon-traffic-profile 2
gpon-traffic-profile 3
3 entries found.
To view the card profiles existing on the system, enter list card-profile:
zSH> list card-profile
card-profile 1/a/10130
card-profile 1/b/10130
card-profile 1/1/10208
card-profile 1/3/10202
card-profile 1/5/10202
card-profile 1/10/10216
card-profile 1/11/10200
card-profile 1/13/10202
8 entries found.
bridge-interface-record ethernet2-94/bridge
bridge-interface-record 1-1-1-0-eth-94/bridge
bridge-interface-record ethernet2-220/bridge
bridge-interface-record 1-1-1-0-eth-220/bridge
bridge-interface-record ethernet2-998/bridge
bridge-interface-record 1-1-1-0-eth-998/bridge
6 entries found.
show command
Use the show command to view all the options in a profile. For example, if
you need to find which country codes are available on the MXK, use the show
system command.
zSH> show system
syscontact:-----------> {260}
sysname:--------------> {260}
syslocation:----------> {260}
enableauthtraps:------> enabled disabled
setserialno:----------> {0 - 2147483647}
zmsexists:------------> true false
zmsconnectionstatus:--> active inactive
zmsipaddress:---------> {0 - 0}
configsyncexists:-----> true false
configsyncoverflow:---> true false
configsyncpriority:---> none low medium high
configsyncaction:-----> noaction createlist createfulllist
configsyncfilename:---> {68}
configsyncstatus:-----> synccomplete syncpending syncerror syncinitializing
configsyncuser:-------> {36}
configsyncpasswd:-----> {36}
numshelves:-----------> {0 - 0}
shelvesarray:---------> {36}
numcards:-------------> {0 - 0}
ipaddress:------------> {0 - 0}
alternateipaddress:---> {0 - 0}
countryregion:--------> argentina australia belgium china costarica finland
france germany hongkong italy japan korea mexico netherlands newzealand
singapore spain sweden switzerland uk us afghanistan albania algeria
americansamoa andorra angola anguilla antarctica antiguabarbuda armenia aruba
austria azerbaijan bahamas bahrain bangladesh barbados belarus belize benin
bermuda bhutan bolivia bosniaherzegovina botswana bouvetisland brazil
britishindianoceanterritory bruneidarussalam bulgaria burkinafaso burundi
cambodia cameroon canada capeverde caymanislands centralafricanrepublic chad
chile christmasisland cocosislands colombia comoros congo cookislands
cotedivoire croatia cuba cyprus czechrepublic denmark djibouti dominica
dominicanrepublic easttimor ecuador egypt elsalvador equatorialguinea eritrea
estonia ethiopia falklandislands faroeislands fiji frenchguiana frenchpolynesia
frenchsouthernterritories gabon gambia georgia ghana gibraltar greece greenland
grenada guadeloupe guam guatemala guinea guineabissau guyana haiti
heardislandmcdonaldislands holysee honduras hungary iceland india indonesia
iran iraq ireland israel jamaica jordan kazakstan kenya kiribati northkorea
kuwait kyrgyzstan lao latvia lebanon lesotho liberia libyanarabjamahiriya
liechtenstein lithuania luxembourg macau macedonia madagascar malawi malaysia
outgoingCOSValue:--------------------> {0 - 7}
s-tagTPID:---------------------------> {33024 - 37376}
s-tagId:-----------------------------> {0 - 4090}
s-tagStripAndInsert:-----------------> false true
s-tagOutgoingCOSOption:--------------> s-tagdisable s-tagall
s-tagIdCOS:--------------------------> {0 - 7}
s-tagOutgoingCOSValue:---------------> {0 - 7}
mcastControlList:--------------------> {264}
maxVideoStreams:---------------------> {0 - 1024}
isPPPoA:-----------------------------> false true
floodUnknown:------------------------> false true
floodMulticast:----------------------> false true
bridgeIfEgressPacketRuleGroupIndex:--> {0 - 2147483647}
bridgeIfTableBasedFilter:------------> none+mac+ip
bridgeIfDhcpLearn:-------------------> none+mac+ip
mvrVlan:-----------------------------> {0 - 4090}
vlan-xlate-from:---------------------> {0 - 4095}
slan-xlate-from:---------------------> {0 - 4095}
bridge-type:-------------------------> uplink downlink intralink tls rlink
pppoa wire mvr user downlinkvideo downlinkdata downlinkpppoe downlinkp2p
downlinkvoice downlinkupstreammcast ipobtls ipobuplink ipobdownlink
get command
Use the get command to view the current configuration of profiles. The get
system 0 command displays information on the current MXK system
configuration.
zSH> get system 0
system 0
syscontact: -----------> {}
sysname: --------------> {}
syslocation: ----------> {}
enableauthtraps: ------> {disabled}
setserialno: ----------> {0}
zmsexists: ------------> {false}
zmsconnectionstatus: --> {inactive}
zmsipaddress: ---------> {0.0.0.0}
configsyncexists: -----> {false}
configsyncoverflow: ---> {false}
configsyncpriority: ---> {high}
configsyncaction: -----> {noaction}
configsyncfilename: ---> {172.16.160.49_4_1392921484267}
configsyncstatus: -----> {synccomplete}
configsyncuser: -------> {zmsftp}
configsyncpasswd: -----> ** private **
numshelves: -----------> {1}
shelvesarray: ---------> {}
numcards: -------------> {3}
ipaddress: ------------> {172.16.160.49}
alternateipaddress: ---> {0.0.0.0}
countryregion: --------> {us}
primaryclocksource: ---> {0/0/0/0/0}
ringsource: -----------> {internalringsourcelabel}
You can find the syscontact information, or whether the MXK is configured to
communicate with the Zhone Management System (ZMS — zmsexists,
zmsconnectionstatus, zmsipaddress).
update command
To update the system 0 profile and all other profiles, use the update
command.The update system 0 command walks you through the profile to
change specific fields.
For example:
zSH> update system 0
system 0
Please provide the following: [q]uit.
syscontact: -----------> {}:
sysname: --------------> {}:
syslocation: ----------> {}:
enableauthtraps: ------> {disabled}:
setserialno: ----------> {0}:
zmsexists: ------------> {true}: false
...
...
Save changes? [s]ave, [c]hange or [q]uit: s
Record updated.
delete command
Use the delete command to delete profiles.
zSH> delete gpon-traffic-profile 1
gpon-traffic-profile 1
1 entry found.
Delete gpon-traffic-profile 1? [y]es, [n]o, [q]uit : y
gpon-traffic-profile 1 deleted.
Column Description
Interface Shows the interface, the card and the physical port of the IP interface.
Use the bridge show command with a VLAN ID to view all the bridges on a
VLAN.
zSH> bridge show vlan 999
Orig
Type VLAN/SLAN VLAN/SLAN Physical Bridge St
Table Data
-------------------------------------------------------------------------------------
upl Tagged 999 1/a/3/0/eth ethernet3-999/bridge
UP S VLAN 999 default
1 Bridge Interfaces displayed
Use the bridge show <bridge interface> command to view bridge interface
information.
zSH> bridge show 1/7/3/16/gpononu
Orig
Type VLAN/SLAN VLAN/SLAN Physical Bridge St
Table Data
-------------------------------------------------------------------------------------
dwn Tg 101/502 1/7/3/16/gpononu 1-7-3-516-gponport-101/bridge
UP D 00:00:ff:00:00:10
dwn Tg 102/503 1/7/3/16/gpononu 1-7-3-516-gponport-102/bridge
UP
dwn Tagged 500 1/7/3/16/gpononu 1-7-3-516-gponport-500/bridge
UP
tls Tagged 848 1/7/3/16/gpononu 1-7-3-516-gponport-848/bridge
UP
dwn Tagged 998 1/7/3/16/gpononu 1-7-3-916-gponport-998/bridge
UP D 00:21:a1:aa:cd:10
tls Tagged 2001 1/7/3/16/gpononu 1-7-3-516-gponport-2001/bridge
UP
6 Bridge Interfaces displayed
Use port up, down, or bounce to alter the administrative status of a physical or
virtual interface. Bounce performs a down operation followed by an up
operation.
Enter port up <interface> to change the administrative state of an interface
from down to up:
zSH> port up 1-6-2-0/eth
1-6-2-0/eth set to admin state UP
Enter the port status <interface> to get the operational status, speed and
duplex mode of the Ethernet port.
zSH> port status 1-a-1-0/eth
Operational status : Up
Rate in Mbps : 100
Duplex : Full
The dump command saves the system configuration to the console, a local
file, or the network.
SNTP
Record updated.
ntp-client-config 0
Please provide the following: [q]uit.
primary-ntp-server-ip-address: ---> {172.16.1.53}:
secondary-ntp-server-ip-address: -> {0.0.0.0}:
local-timezone: ------------------> {pacific}:
daylight-savings-time: ------------> {true}:
daylight-savings-time-start: -----> {03:10:02:00}:
daylight-savings-time-end: -------> {11:03:02:00}:
....................
Save changes? [s]ave, [c]hange or [q]uit: s
Record updated.
Note: When testing this feature, please ensure that there is at least
two hours time between the start and end times of the cycle for the
feature to operate correctly.
Then, create an access list for the second IP address with the same
access-table-index (1):
zSH> new community-access-profile 3
Please provide the following: [q]uit.
access-table-index: -> {0}: 1
ip-address: ---------> {0.0.0.0}: 192.168.11.12
....................
Save new record? [s]ave, [c]hange or [q]uit: s
New record saved.
Configure traps
The trap-destination profile defines a trap recipient the MXK will send traps
to. To configure a trap destination you need:
• the IP address of the SNMP trap server
The port command has various administrative functions and is used to:
• alter the administrative status of a physical port or virtual interface on the
MXK with the port up, port down, port bounce, or port testing
commands. See Port descriptions on the MXK on page 117.
• verify the administrative status of a physical port or virtual interface on
the MXK with the port show command. See View the administrative and
operational states of ports with the port status and port show command
on page 112.
• View DDM data on Ethernet SFPs with the port show command. See
View DDM data on Ethernet SFPs with the port show command on
page 112.
• view the operational status, speed, and duplex mode of Ethernet ports
with the port status command. See View the administrative and
operational states of ports with the port status and port show command
on page 112.
• associate a text string with a physical interface, including bond groups,
with the port description set of commands. See Port descriptions on the
MXK on page 117.
• display or clear various statistical information on Ethernet ports with the
port stats command. See MX(P)-160/260 enhanced Ethernet port
statistics on page 369.
• set the severity level of alarms on Ethernet ports with the port config
alarm command. See Settable alarm severity for Ethernet ports on
page 1165.
• configure jumbo Ethernet frames with the port config command and
verify the change with the port show command. See Ethernet Jumbo
Frames on page 126
View the administrative and operational states of ports with the port
status and port show command
Note: The port status command is only valid for Ethernet ports.
Use the port show command to view the administrative status of a port or
interface.
zSH> port show 1-2-1-0/vdsl
Interface 1-2-1-0/vdsl
Physical location: 1/2/1/0/vdsl
Administrative status: up
View DDM data on Ethernet SFPs with the port show command
Table 8: port show command output fields for DDM data on Ethernet ports
Field Description
SFP not present on the Ethernet port of the Ethernet line card.
zSH> port show 1-1-10-0/eth
Interface 1-1-10-0/eth
Physical location: 1/1/10/0/eth
Administrative status: down
Port type specific information:
Frame size: 0 bytes
Ingress rate: 0 Kbps burst size: 0 Kbits
Engress rate: 0 Kbps burst size: 0 Kbits
SFP not present
Ethernet port on uplink card with SFP that does not support DDM data.
zSH> port show 1-a-5-0/eth
Interface 1-a-5-0/eth
Physical location: 1/a/5/0/eth
Administrative status: up
Port type specific information:
Frame size: 0 bytes
Ingress rate: 0 Kbps burst size: 0 Kbits
Engress rate: 0 Kbps burst size: 0 Kbits
DDM not supported
Ethernet craft port on uplink card that does not use SFPs.
MXK-23> port show 1-a-1-0/eth
Interface 1-a-1-0/eth
Physical location: 1/a/1/0/eth
Administrative status: up
Port type specific information:
Frame size: 0 bytes
Ingress rate: 0 Kbps burst size: 0 Kbits
Engress rate: 0 Kbps burst size: 0 Kbits
No DDM data available from ethernet port
Change port administrative states with the port testing, up, down, or
bounce commands
Use the port testing command to set the administrative state to testing on an
VDSL2 port.
zSH> port testing 1-1-1-0/vdsl
1-1-1-0/vdsl set to admin state TESTING
port up command
Use the port up command to set the administrative state to up on an Ethernet
port.
zSH> port up 1-6-1-0/eth
1-6-1-0/eth set to admin state UP
In this case, the port description has spaces so quotes are needed.
To verify the port description, enter:
zSH> port show 1-6-1-0/eth
Interface 1-6-1-0/eth
Physical location: 1/6/1/0/eth
Description: 510 555 5555
Administrative status: up
Port type specific information:
Link state mirroring not configured.
Or enter:
zSH> bond show all
Bond Groups
Slot GrpId Type State Name Desc
5 124 efmbond OOS 1-5-124-0 -
5 25 efmbond OOS bond-0025 Mary's Nail Shop
Administrative status: up