Micetro by Men&Mice

Latest versions

Search all documentation

Child pages
  • IOS commands used by the Men & Mice Suite
Skip to end of metadata
Go to start of metadata

Symptom:

You are wondering which commands are used by the Men & Mice Suite to communicate with a Cisco IOS device.
The list can also be used to check if a Cisco device can be managed by the M&M Suite. If the commands are
provided in the IOS version it's very likely that your IOS version works fine with the M&M Suite.

Solution

The following IOS commands (in italic)  are used by the DHCP module.
E.g. for the Login to the IOS device the enable and terminal length 0 commands
are used.

Login
    enable
    terminal length 0

Parse Config
    show running-config

Write Config
    copy system:running-config nvram:startup-config

Get statistics
    show ip dhcp pool

Get server info
    show version

Create scope
    ip dhcp pool <name>
    import all
    network <from addr> <subnet>

Create exclusion
    ip dhcp excluded-address <from addr> <to addr>

Delete exclusion
    no ip dhcp excluded-address <from addr> <to addr>

Create reservation
    ip dhcp pool <name>
    host <addr>
    client-identifier 01 <MAC addr>
    [no] client-name <name>

Delete reservation
    no ip dhcp pool <name>

Get active leases
    show ip dhcp binding

Delete lease
    clear ip dhcp binding <addr>

Set server/scope properties
    hostname
    ip domain name
    ip name-server
    default-router
    dns-server
    domain-name
    netbios-name-server
    netbios-node-type
    lease
    client-name