Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c1f01d4e1 | ||
|
|
b1a0620d82 | ||
|
|
22acaa9d45 | ||
|
|
652fd209c9 | ||
|
|
8cace53779 | ||
|
|
bdfbf8ba26 | ||
|
|
9ce9af6e37 | ||
|
|
ecf350e2c9 | ||
|
|
f0b360aa25 | ||
|
|
a431aaa8a8 | ||
|
|
90f47dd86f | ||
|
|
0cb3cbb9ea | ||
|
|
e3f760faf9 | ||
|
|
3e97500230 | ||
|
|
cccc6c6f0b | ||
|
|
115922a3f8 | ||
|
|
ff7528594a | ||
|
|
664a7c52dd | ||
|
|
fe95e2e949 | ||
|
|
9ec57bf16b | ||
|
|
20bfb454bf | ||
|
|
e3a650a0ed | ||
|
|
2643f57219 | ||
|
|
e9d5398eaa | ||
|
|
b6f723bbfa | ||
|
|
31f5ea8737 | ||
|
|
9716b24907 | ||
|
|
22c02e3924 | ||
|
|
b14ab1d134 | ||
|
|
31392339e2 | ||
|
|
ae846f4132 | ||
|
|
6fe205de6f | ||
|
|
9524433f35 | ||
|
|
95f12151aa | ||
|
|
3a37f845e4 | ||
|
|
e4eb128151 | ||
|
|
18eaf8423a | ||
|
|
daeb208fe7 | ||
|
|
3f7a26fd7a | ||
|
|
cf22f58baf | ||
|
|
550b0dd026 | ||
|
|
ed117140cd | ||
|
|
8c7c4e5a9b | ||
|
|
fd19da1966 | ||
|
|
cfcb69a7ca | ||
|
|
7111ebac20 | ||
|
|
94ad15b919 | ||
|
|
38325735c3 | ||
|
|
fe2eff45f3 | ||
|
|
04b3aabacb | ||
|
|
394adfbe8f | ||
|
|
563ddeb822 | ||
|
|
6068f692a2 | ||
|
|
a90fe86d45 | ||
|
|
f3c13514b5 | ||
|
|
186e507379 | ||
|
|
aadfe73b5d | ||
|
|
d628f22d81 | ||
|
|
bc9cb759fd | ||
|
|
efc48421d4 | ||
|
|
0703a071ef | ||
|
|
9b12ae976b | ||
|
|
019970ecae | ||
|
|
cf02548619 | ||
|
|
1c4040325e | ||
|
|
abff3b3d1d | ||
|
|
c6bbd125ea | ||
|
|
e15b56f4d8 | ||
|
|
a5e18517e3 | ||
|
|
4d083d1e6e | ||
|
|
b4b3bd5eaf | ||
|
|
494729e3d0 | ||
|
|
1fe394769a | ||
|
|
e0c0ffe3f9 | ||
|
|
81403c2ec9 | ||
|
|
ff523969da | ||
|
|
ce825d9e55 | ||
|
|
d1de442390 | ||
|
|
5c7229fa14 | ||
|
|
1ea7fbd241 | ||
|
|
a4b07287d3 | ||
|
|
657bcc570d | ||
|
|
fa989927d5 | ||
|
|
baf4531929 | ||
|
|
e74495ffb9 | ||
|
|
711bfbc1ba | ||
|
|
f8b1c1830f | ||
|
|
f5cca91c99 | ||
|
|
561c5159d6 | ||
|
|
1bf89eb82f | ||
|
|
17be10cd6a | ||
|
|
0cb23fa5de | ||
|
|
89c020d1d4 | ||
|
|
231574090e | ||
|
|
dc7f82cc15 | ||
|
|
858636bf73 | ||
|
|
e232ad1ae9 | ||
|
|
a10ff36f79 | ||
|
|
41632d6625 | ||
|
|
b1bf846e30 | ||
|
|
e3f7ecba33 | ||
|
|
81eb9a0cc5 | ||
|
|
92fbc7b22e | ||
|
|
0cbaa0a71f | ||
|
|
4868566736 | ||
|
|
288baa3724 | ||
|
|
c7d6577a2c | ||
|
|
5a2d22302a | ||
|
|
8d5316b276 | ||
|
|
5aef5c5b3e | ||
|
|
7a1f027cdb | ||
|
|
d6bc004e28 | ||
|
|
5bc1bce26f | ||
|
|
ae33f4cc40 | ||
|
|
2d471af056 | ||
|
|
34ac2e5d4c | ||
|
|
1ff7c2a090 | ||
|
|
04134f24d1 | ||
|
|
987fa7f121 | ||
|
|
9d0995b3aa | ||
|
|
9ffa4b058c | ||
|
|
55a7d13531 | ||
|
|
bf489713a1 | ||
|
|
289b3bb184 | ||
|
|
dce581347c | ||
|
|
30490d89f5 | ||
|
|
906d22da3d | ||
|
|
04ad218156 | ||
|
|
e462abcc99 | ||
|
|
92634bfc16 | ||
|
|
b641ca5359 |
No files matched your search
@@ -0,0 +1,40 @@
|
||||
---
|
||||
name: 🐛 Bug Report
|
||||
about: Report a reproducible bug in the current release of 'napalm-s350'
|
||||
---
|
||||
|
||||
<!--
|
||||
NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED.
|
||||
|
||||
This form is only for reproducible bugs.
|
||||
|
||||
Please describe the environment in which you are running napalm-s350. Be sure
|
||||
that you are running an unmodified instance of the latest stable release.
|
||||
-->
|
||||
### Environment
|
||||
Python version ('python3 --version'):
|
||||
* Napalm version ('pip show napalm') :
|
||||
* Napalm-s350 version ('pip show napalm-s350':
|
||||
* Cisco SMB switch model (for example 'SG500-28-K9' or 'SG350X-48P-K9':
|
||||
* Napalm diagnostic output ('napalm --vendor s350 --user USER --debug HOSTNAME':
|
||||
paste full output here
|
||||
'''
|
||||
|
||||
'''
|
||||
|
||||
<!--
|
||||
Describe in detail the exact steps that someone else can take to reproduce
|
||||
this bug using the current stable release of napalm.
|
||||
-->
|
||||
### Steps to Reproduce
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
<!-- What did you expect to happen? -->
|
||||
### Expected Behavior
|
||||
|
||||
|
||||
<!-- What happened instead? -->
|
||||
### Observed Behavior
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Reference: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
|
||||
blank_issues_enabled: false
|
||||
@@ -0,0 +1,63 @@
|
||||
# This workflows will upload a Python Package using Twine when a release is created
|
||||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
||||
|
||||
name: Test before push
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
- master
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.x
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
|
||||
- name: Test with tox
|
||||
run: |
|
||||
tox
|
||||
|
||||
deploy:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install setuptools wheel twine
|
||||
- name: Build
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel
|
||||
- name: Check
|
||||
run: |
|
||||
twine check dist/*
|
||||
- name: Publish
|
||||
env:
|
||||
TWINE_USERNAME: ${{ secrets.TWINE_TEST_USERNAME }}
|
||||
TWINE_PASSWORD: ${{ secrets.TWINE_TEST_PASSWORD }}
|
||||
TWINE_REPOSITORY: ${{ secrets.TWINE_TEST_REPOSITORY }}
|
||||
run: |
|
||||
twine upload --repository testpypi --verbose --non-interactive --disable-progress-bar --skip-existing dist/*
|
||||
@@ -0,0 +1,37 @@
|
||||
# This workflows will upload a Python Package using Twine when a release is created
|
||||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
||||
|
||||
name: Upload Python Package to PyPi.org
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install setuptools wheel twine
|
||||
- name: Build
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel
|
||||
- name: Check
|
||||
run: |
|
||||
twine check dist/*
|
||||
- name: Publish
|
||||
env:
|
||||
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
|
||||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
||||
TWINE_REPOSITORY: ${{ secrets.TWINE_REPOSITORY }}
|
||||
run: |
|
||||
twine upload --verbose --non-interactive --disable-progress-bar dist/*
|
||||
@@ -1,8 +0,0 @@
|
||||
language: python
|
||||
python:
|
||||
- 3.6
|
||||
- 3.7
|
||||
install:
|
||||
- pip install -r requirements-dev.txt
|
||||
script:
|
||||
- pip install .
|
||||
@@ -1 +1,3 @@
|
||||
Jasper Lievisse Adriaanse <j@jasper.la>
|
||||
Petr Klíma <qaxi@seznam.cz>
|
||||
Daniel Bacher <mail@phill93.de>
|
||||
@@ -1,12 +1,84 @@
|
||||
# napalm-s350
|
||||
# Napalm-s350
|
||||
|
||||
NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx).
|
||||
NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx).
|
||||
|
||||
## Status
|
||||
Main: [](https://travis-ci.com/napalm-automation-community/napalm-s350)
|
||||
Develop: [](https://travis-ci.com/napalm-automation-community/napalm-s350)
|
||||
Master: 
|
||||
|
||||
Develop: 
|
||||
|
||||
PyPi: [](https://github.com/napalm-automation-community/napalm-s350/actions?query=workflow%3A%22Upload+Python+Package+to+PyPi.org%22)
|
||||
|
||||
## Requirements
|
||||
|
||||
Python 3.6+, napalm 3+
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip3 install napalm_s350
|
||||
```
|
||||
## CLI test
|
||||
|
||||
Default information (the same as `call get_facts`
|
||||
```bash
|
||||
napalm --user USER --password PASSWORD --vendor s350 HOSTNAME
|
||||
```
|
||||
|
||||
Get interfaces
|
||||
```bash
|
||||
napalm --user USER --password PASSWORD --vendor s350 HOSTNAME call get_interfaces
|
||||
```
|
||||
|
||||
Get configuration file
|
||||
```bash
|
||||
napalm --user USER --password PASSWORD --vendor s350 HOSTNAME call get_config
|
||||
```
|
||||
|
||||
Debug
|
||||
```bash
|
||||
napalm --user USER --password PASSWORD --vendor s350 --debug HOSTNAME
|
||||
```
|
||||
|
||||
## Supported devices
|
||||
|
||||
This driver initially targets the Cisco SG350 device though other, similar, devices may
|
||||
be supported.
|
||||
|
||||
| function | SG300 | SG500 | SG350 | SG550 | stack SG500 | stack SG550 |
|
||||
| :--- | :---: | :---: | :---: | :---: | :---: | :---: |
|
||||
|get_arp_table | x | x | x | x | | |
|
||||
|get_arp_table (with vrf) | NI | NI | NI | NI | | |
|
||||
|get_bgp_config | | | | | | |
|
||||
|get_bgp_neighbors | | | | | | |
|
||||
|get_bgp_neighbors_detail | | | | | | |
|
||||
|get_config | x | x | x | x | | |
|
||||
|get_config (filtered) | x | x | x | x | | |
|
||||
|get_config (sanitized) | x | x | x | x | | |
|
||||
|get_environment | | | | | | |
|
||||
|get_facts | x | x | x | x | | |
|
||||
|get_firewall_policies | | | | | | |
|
||||
|get_interfaces | x | x | x | x | | |
|
||||
|get_interfaces_counters | | | | | | |
|
||||
|get_interfaces_ip | x | x | x | x | | |
|
||||
|get_ipv6_neighbors_table | | | | | | |
|
||||
|get_lldp_neighbors | x | x | x | x | | |
|
||||
|get_lldp_neighbors_detail | x | x | x | x | | |
|
||||
|get_mac_address_table | | | | | | |
|
||||
|get_network_instances | | | | | | |
|
||||
|get_ntp_peers | | | | | | |
|
||||
|get_ntp_servers | x | x | x | x | | |
|
||||
|get_ntp_stats | | | | | | |
|
||||
|get_optics | | | | | | |
|
||||
|get_probes_config | | | | | | |
|
||||
|get_probes_results | | | | | | |
|
||||
|get_route_to | | | | | | |
|
||||
|get_snmp_information | | | | | | |
|
||||
|get_users | | | | | | |
|
||||
|get_vlans | x | x | x | x | | |
|
||||
|is_alive | | | | | | |
|
||||
|ping | | | | | | |
|
||||
|traceroute | | | | | | |
|
||||
|
||||
|
||||
NS - devices do not have support for that feature
|
||||
+389
-155
@@ -29,13 +29,10 @@ import socket
|
||||
from netmiko import ConnectHandler
|
||||
from napalm.base import NetworkDriver
|
||||
from napalm.base.exceptions import (
|
||||
ConnectionException,
|
||||
SessionLockedException,
|
||||
MergeConfigException,
|
||||
ReplaceConfigException,
|
||||
CommandErrorException,
|
||||
ConnectionClosedException,
|
||||
)
|
||||
|
||||
import napalm.base.constants as C
|
||||
import napalm.base.helpers
|
||||
|
||||
|
||||
@@ -92,7 +89,6 @@ class S350Driver(NetworkDriver):
|
||||
**self.netmiko_optional_args)
|
||||
self.device.enable()
|
||||
|
||||
|
||||
def _discover_file_system(self):
|
||||
try:
|
||||
return self.device._autodetect_fs()
|
||||
@@ -101,7 +97,6 @@ class S350Driver(NetworkDriver):
|
||||
"dest_file_system in optional_args)."
|
||||
raise CommandErrorException(msg)
|
||||
|
||||
|
||||
def close(self):
|
||||
"""Close the connection to the device."""
|
||||
self.device.disconnect()
|
||||
@@ -123,7 +118,6 @@ class S350Driver(NetworkDriver):
|
||||
except (socket.error, EOFError) as e:
|
||||
raise ConnectionClosedException(str(e))
|
||||
|
||||
|
||||
def _parse_uptime(self, uptime_str):
|
||||
"""Parse an uptime string into number of seconds"""
|
||||
uptime_str = uptime_str.strip()
|
||||
@@ -134,21 +128,28 @@ class S350Driver(NetworkDriver):
|
||||
uptime_sec = (int(days) * 86400) + (int(hours) * 3600) + (int(minutes) * 60) + int(seconds)
|
||||
return uptime_sec
|
||||
|
||||
|
||||
def get_arp_table(self):
|
||||
def get_arp_table(self, vrf=""):
|
||||
"""
|
||||
Get the ARP table, the age isn't readily available so we leave that out for now.
|
||||
|
||||
vrf is needed for test - no support on s350
|
||||
"""
|
||||
|
||||
arp_table = []
|
||||
|
||||
output = self._send_command('show arp | include (static|dynamic)')
|
||||
output = self._send_command('show arp')
|
||||
|
||||
for line in output.splitlines():
|
||||
# A VLAN may not be set for the entry
|
||||
if 'vlan' not in line:
|
||||
continue
|
||||
if len(line.split()) == 4:
|
||||
interface, ip, mac, _ = line.split()
|
||||
elif len(line.split()) == 5:
|
||||
_, interface, mac, _ = line.split()
|
||||
if1, if2, ip, mac, _ = line.split()
|
||||
interface = "{} {}".format(if1, if2)
|
||||
elif len(line.split()) == 6:
|
||||
_, _, interface, ip, mac, _ = line.split()
|
||||
else:
|
||||
raise ValueError('Unexpected output: {}'.format(line.split()))
|
||||
|
||||
@@ -156,15 +157,14 @@ class S350Driver(NetworkDriver):
|
||||
'interface': interface,
|
||||
'mac': napalm.base.helpers.mac(mac),
|
||||
'ip': ip,
|
||||
'age': 0,
|
||||
'age': 0.0,
|
||||
}
|
||||
|
||||
arp_table.append(entry)
|
||||
|
||||
return arp_table
|
||||
|
||||
|
||||
def get_config(self, retrieve='all'):
|
||||
def get_config(self, retrieve='all', full=False, sanitized=False):
|
||||
"""
|
||||
get_config for S350. Since this firmware doesn't support a candidate
|
||||
configuration we leave it empty.
|
||||
@@ -177,18 +177,52 @@ class S350Driver(NetworkDriver):
|
||||
}
|
||||
|
||||
if retrieve in ('all', 'startup'):
|
||||
output = self._send_command('show startup-config')
|
||||
configs['startup'] = output
|
||||
startup = self._send_command('show startup-config')
|
||||
configs['startup'] = self._get_config_filter(startup)
|
||||
|
||||
if retrieve in ('all', 'running'):
|
||||
output = self._send_command('show running-config')
|
||||
configs['running'] = output
|
||||
# IOS supports "full" only on "show running-config"
|
||||
run_full = " detailed" if full else ""
|
||||
running = self._send_command('show running-config' + run_full)
|
||||
configs['running'] = self._get_config_filter(running)
|
||||
|
||||
if sanitized:
|
||||
configs = self._get_config_sanitized(configs)
|
||||
|
||||
return configs
|
||||
|
||||
def _get_config_filter(self, config):
|
||||
# The output of get_config should be directly usable by load_replace_candidate()
|
||||
|
||||
# remove header
|
||||
filter_strings = [
|
||||
r"(?sm)^config-file-header.*^@$",
|
||||
]
|
||||
|
||||
for ft in filter_strings:
|
||||
config = re.sub(ft, "", config)
|
||||
|
||||
return config
|
||||
|
||||
def _get_config_sanitized(self, configs):
|
||||
# Do not output sensitive information
|
||||
|
||||
# use Cisco IOS filters
|
||||
configs = napalm.base.helpers.sanitize_configs(configs, C.CISCO_SANITIZE_FILTERS)
|
||||
|
||||
# defina my own filters
|
||||
s350_filters = {
|
||||
r"^(.* password) (\S+) (\S+) (.*)$": r"\1 \2 <removed> \4",
|
||||
r"^(snmp-server location) (\S+).*$": r"\1 <removed>",
|
||||
}
|
||||
|
||||
configs = napalm.base.helpers.sanitize_configs(configs, s350_filters)
|
||||
|
||||
return configs
|
||||
|
||||
def get_facts(self):
|
||||
"""Return a set of facts from the device."""
|
||||
serial_number, fqdn, os_version, hostname, domain_name = ('Unknown',) * 5
|
||||
serial_number, fqdn, os_version, hostname, domainname = ('Unknown',) * 5
|
||||
|
||||
# Submit commands to the device.
|
||||
show_ver = self._send_command('show version')
|
||||
@@ -197,40 +231,33 @@ class S350Driver(NetworkDriver):
|
||||
show_hosts = self._send_command('show hosts')
|
||||
show_int_st = self._send_command('show interface status')
|
||||
|
||||
# os_version
|
||||
for line in show_ver.splitlines():
|
||||
# First version line is the active version
|
||||
if 'Version' in line:
|
||||
_, os_version = line.split('Version: ')
|
||||
break
|
||||
os_version = self._get_facts_parse_os_version(show_ver)
|
||||
|
||||
# hostname, uptime
|
||||
for line in show_sys.splitlines():
|
||||
if line.startswith('System Name:'):
|
||||
_, hostname = line.split('System Name:')
|
||||
hostname = hostname.strip()
|
||||
continue
|
||||
elif line.startswith('System Description:'):
|
||||
_, model = line.split('System Description:')
|
||||
model = model.strip()
|
||||
continue
|
||||
elif line.startswith('System Up Time (days,hour:min:sec):'):
|
||||
_, uptime_str = line.split('System Up Time (days,hour:min:sec):')
|
||||
uptime = self._parse_uptime(uptime_str)
|
||||
# hostname
|
||||
hostname = self._get_facts_hostname(show_sys)
|
||||
# special case for SG500 fw v1.4.x
|
||||
if hostname == 'Unknown':
|
||||
hostname = self._get_facts_hostname_from_config(
|
||||
self._send_command('show running-config')
|
||||
)
|
||||
|
||||
# serial_number
|
||||
for line in show_inv.splitlines():
|
||||
if 'SN:' in line:
|
||||
serial_number = line.split('SN: ')[-1]
|
||||
break
|
||||
# uptime
|
||||
uptime_str = self._get_facts_uptime(show_sys)
|
||||
uptime = self._parse_uptime(uptime_str)
|
||||
|
||||
# serial_number and model
|
||||
inventory = self._get_facts_parse_inventory(show_inv)['1']
|
||||
serial_number = inventory['sn']
|
||||
model = inventory['pid']
|
||||
|
||||
# fqdn
|
||||
domainname = napalm.base.helpers.textfsm_extractor(self, 'hosts',
|
||||
show_hosts)[0]
|
||||
domainname = domainname['domain_name']
|
||||
if domainname == 'Domain':
|
||||
domainname = ''
|
||||
fqdn = '{0}.{1}'.format(hostname, domainname)
|
||||
domainname = 'Unknown'
|
||||
if domainname != "Unknown" and hostname != "Unknown":
|
||||
fqdn = '{0}.{1}'.format(hostname, domainname)
|
||||
|
||||
# interface_list
|
||||
interfaces = []
|
||||
@@ -244,19 +271,121 @@ class S350Driver(NetworkDriver):
|
||||
if not line:
|
||||
continue
|
||||
interface = line.split()[0]
|
||||
interfaces.append(py23_compat.text_type(interface))
|
||||
interfaces.append(str(interface))
|
||||
|
||||
return {
|
||||
'fqdn': py23_compat.text_type(fqdn),
|
||||
'hostname': py23_compat.text_type(hostname),
|
||||
'fqdn': str(fqdn),
|
||||
'hostname': str(hostname),
|
||||
'interface_list': interfaces,
|
||||
'model': py23_compat.text_type(model),
|
||||
'os_version': py23_compat.text_type(os_version),
|
||||
'serial_number': py23_compat.text_type(serial_number),
|
||||
'model': str(model),
|
||||
'os_version': str(os_version),
|
||||
'serial_number': str(serial_number),
|
||||
'uptime': uptime,
|
||||
'vendor': u'Cisco',
|
||||
}
|
||||
|
||||
def _get_facts_hostname_from_config(self, show_running):
|
||||
# special case for SG500 fw v1.4.x
|
||||
hostname = 'Unknown'
|
||||
for line in show_running.splitlines():
|
||||
if line.startswith('hostname '):
|
||||
_, hostname = line.split('hostname')
|
||||
hostname = hostname.strip()
|
||||
break
|
||||
|
||||
return hostname
|
||||
|
||||
def _get_facts_hostname(self, show_sys):
|
||||
hostname = 'Unknown'
|
||||
for line in show_sys.splitlines():
|
||||
if line.startswith('System Name:'):
|
||||
_, hostname = line.split('System Name:')
|
||||
hostname = hostname.strip()
|
||||
break
|
||||
|
||||
return hostname
|
||||
|
||||
def _get_facts_uptime(self, show_sys):
|
||||
i = 0
|
||||
syslines = []
|
||||
fields = []
|
||||
uptime_header_lineNo = None
|
||||
uptime_str = None
|
||||
for line in show_sys.splitlines():
|
||||
# All models except SG500 fw 1.4.x
|
||||
if line.startswith('System Up Time (days,hour:min:sec):'):
|
||||
_, uptime_str = line.split('System Up Time (days,hour:min:sec):')
|
||||
break
|
||||
|
||||
line = re.sub(r' *', ' ', line, re.M)
|
||||
line = line.strip()
|
||||
|
||||
fields = line.split(' ')
|
||||
syslines.append(fields)
|
||||
|
||||
if 'Unit' in syslines[i] and 'time' in syslines[i]:
|
||||
uptime_header_lineNo = i
|
||||
|
||||
i += 1
|
||||
|
||||
# SG500 fw 1.4.x
|
||||
if not uptime_str:
|
||||
uptime_str = syslines[uptime_header_lineNo+2][1]
|
||||
|
||||
return uptime_str
|
||||
|
||||
def _get_facts_parse_inventory(self, show_inventory):
|
||||
""" inventory can list more modules/devices """
|
||||
# make 1 module 1 line
|
||||
show_inventory = re.sub(r'\nPID', ' PID', show_inventory, re.M)
|
||||
# delete empty lines
|
||||
show_inventory = re.sub(r'^\n', '', show_inventory, re.M)
|
||||
show_inventory = re.sub(r'\n\n', '', show_inventory, re.M)
|
||||
show_inventory = re.sub(r'\n\s*\n', r'\n', show_inventory, re.M)
|
||||
lines = show_inventory.splitlines()
|
||||
|
||||
modules = {}
|
||||
for line in lines:
|
||||
match = re.search(r"""
|
||||
^
|
||||
NAME:\s"(?P<name>\S+)"\s*
|
||||
DESCR:\s"(?P<descr>[^"]+)"\s*
|
||||
PID:\s(?P<pid>\S+)\s*
|
||||
VID:\s(?P<vid>.+\S)\s*
|
||||
SN:\s(?P<sn>\S+)\s*
|
||||
""", line, re.X)
|
||||
module = match.groupdict()
|
||||
modules[module['name']] = module
|
||||
|
||||
if modules:
|
||||
return modules
|
||||
|
||||
def _get_facts_parse_os_version(self, show_ver):
|
||||
# os_version
|
||||
# detect os ver > 2
|
||||
if re.search(r"^Active-image", show_ver):
|
||||
for line in show_ver.splitlines():
|
||||
# First version line is the active version
|
||||
if re.search(r"Version:", line):
|
||||
_, os_version = line.split('Version: ')
|
||||
break
|
||||
elif re.search(r"^SW version", show_ver):
|
||||
for line in show_ver.splitlines():
|
||||
if re.search(r"^SW version", line):
|
||||
_, ver = line.split(' ')
|
||||
os_version, _ = ver.split(' (')
|
||||
break
|
||||
else:
|
||||
# show_ver = re.sub(r'^\n', '', show_ver, re.M)
|
||||
for line in show_ver.splitlines():
|
||||
line = re.sub(r' *', ' ', line, re.M)
|
||||
line = line.strip()
|
||||
line_comps = line.split(' ')
|
||||
if line_comps[0] == '1':
|
||||
os_version = line_comps[1]
|
||||
break
|
||||
|
||||
return os_version
|
||||
|
||||
def get_interfaces(self):
|
||||
"""
|
||||
@@ -264,67 +393,97 @@ class S350Driver(NetworkDriver):
|
||||
"""
|
||||
interfaces = {}
|
||||
|
||||
show_status_output = self._send_command('show interfaces status | include (Up|Down)')
|
||||
show_status_output = self._send_command('show interfaces status')
|
||||
show_description_output = self._send_command('show interfaces description')
|
||||
# Since the MAC address for all the local ports are equal, get the address
|
||||
# from the first port and use it everywhere.
|
||||
show_system_output = self._send_command('show lldp local GigabitEthernet1 | begin Device\ ID')
|
||||
|
||||
try:
|
||||
mac = show_system_output.splitlines()[0].split(':', maxsplit=1)[1].strip()
|
||||
except:
|
||||
mac = '0'
|
||||
# by documentation SG350
|
||||
show_jumbo_frame = self._send_command('show ports jumbo-frame')
|
||||
match = re.search(r'Jumbo frames are enabled', show_jumbo_frame, re.M)
|
||||
if match:
|
||||
mtu = 9000
|
||||
else:
|
||||
mtu = 1518
|
||||
|
||||
mac = '0'
|
||||
|
||||
for status_line in show_status_output.splitlines():
|
||||
interface, _, _, speed, _, _, link_state, _, _ = status_line.split()
|
||||
if 'Up' in status_line or 'Down' in status_line:
|
||||
if "Po" in status_line:
|
||||
interface, _, _, speed, _, _, link_state = status_line.split()
|
||||
else:
|
||||
interface, _, _, speed, _, _, link_state, _, _ = status_line.split()
|
||||
|
||||
if speed == '--':
|
||||
is_enabled = False
|
||||
speed = 0
|
||||
else:
|
||||
is_enabled = True
|
||||
speed = int(speed)
|
||||
# Since the MAC address for all the local ports are equal, get the address
|
||||
# from the first port and use it everywhere.
|
||||
if mac == '0':
|
||||
show_system_output = self._send_command('show lldp local ' + interface)
|
||||
mac = show_system_output.splitlines()[0].split(':', maxsplit=1)[1].strip()
|
||||
|
||||
is_up = (link_state == 'Up')
|
||||
if speed == '--':
|
||||
is_enabled = False
|
||||
speed = 0
|
||||
else:
|
||||
is_enabled = True
|
||||
speed = int(speed)
|
||||
|
||||
for descr_line in show_description_output.splitlines():
|
||||
description = 0
|
||||
if descr_line.startswith(interface):
|
||||
description = ' '.join(descr_line.split()[1:])
|
||||
break
|
||||
is_up = (link_state == 'Up')
|
||||
|
||||
entry = {
|
||||
'is_up': is_up,
|
||||
'is_enabled': is_enabled,
|
||||
'speed': speed,
|
||||
'last_flapped': -1,
|
||||
'description': description,
|
||||
'mac_address': napalm.base.helpers.mac(mac)
|
||||
}
|
||||
for descr_line in show_description_output.splitlines():
|
||||
description = 0
|
||||
if descr_line.startswith(interface):
|
||||
description = ' '.join(descr_line.split()[1:])
|
||||
break
|
||||
|
||||
interfaces[interface] = entry
|
||||
# last_flapped can not be get - setting to default
|
||||
entry = {
|
||||
'is_up': is_up,
|
||||
'is_enabled': is_enabled,
|
||||
'speed': speed,
|
||||
'mtu': mtu,
|
||||
'last_flapped': -1.0,
|
||||
'description': description,
|
||||
'mac_address': napalm.base.helpers.mac(mac)
|
||||
}
|
||||
|
||||
interfaces[interface] = entry
|
||||
|
||||
return interfaces
|
||||
|
||||
|
||||
def get_interfaces_ip(self):
|
||||
"""Returns all configured interface IP addresses."""
|
||||
interfaces = {}
|
||||
show_ip_int = self._send_command('show ip int | include (UP|DOWN)')
|
||||
show_ip_int = self._send_command('show ip int')
|
||||
|
||||
# Limit to valid interfaces (i.e. ignore vlan 1)
|
||||
valid_interfaces = [i for i in show_ip_int.splitlines() if i.split()[-1] == 'Valid']
|
||||
header = True # cycle trought header
|
||||
for line in show_ip_int.splitlines():
|
||||
if header:
|
||||
# last line of first header
|
||||
match = re.match(r'^---+ -+ .*$', line)
|
||||
if match:
|
||||
header = False
|
||||
fields_end = self._get_ip_int_fields_end(line)
|
||||
continue
|
||||
|
||||
for interface in valid_interfaces:
|
||||
network, name = interface.split()[:2]
|
||||
# next header, stop processing text
|
||||
if re.match(r'^---+ -+ .*$', line):
|
||||
break
|
||||
|
||||
ip = netaddr.IPNetwork(network)
|
||||
line_elems = self._get_ip_int_line_to_fields(line, fields_end)
|
||||
|
||||
# only valid interfaces
|
||||
# in diferent firmwares there is 'Status' field allwais on last place
|
||||
if line_elems[len(line_elems) - 1] != 'Valid':
|
||||
continue
|
||||
|
||||
cidr = line_elems[0]
|
||||
interface = line_elems[1]
|
||||
|
||||
ip = netaddr.IPNetwork(cidr)
|
||||
family = 'ipv{0}'.format(ip.version)
|
||||
|
||||
interfaces[name] = {
|
||||
interfaces[interface] = {
|
||||
family: {
|
||||
str(ip.ip): {
|
||||
str(ip.ip): {
|
||||
'prefix_length': ip.prefixlen
|
||||
}
|
||||
}
|
||||
@@ -332,37 +491,98 @@ class S350Driver(NetworkDriver):
|
||||
|
||||
return interfaces
|
||||
|
||||
def _get_ip_int_line_to_fields(self, line, fields_end):
|
||||
""" dynamic fields lenghts """
|
||||
line_elems = {}
|
||||
index = 0
|
||||
f_start = 0
|
||||
for f_end in fields_end:
|
||||
line_elems[index] = line[f_start:f_end].strip()
|
||||
index += 1
|
||||
f_start = f_end
|
||||
return line_elems
|
||||
|
||||
def _get_ip_int_fields_end(self, dashline):
|
||||
""" fields length are diferent device to device, detect them on horizontal lin """
|
||||
|
||||
fields_end = [m.start() for m in re.finditer(' ', dashline.strip())]
|
||||
# fields_position.insert(0,0)
|
||||
fields_end.append(len(dashline))
|
||||
|
||||
return fields_end
|
||||
|
||||
def get_lldp_neighbors(self):
|
||||
"""get_lldp_neighbors implementation for s350"""
|
||||
neighbors = {}
|
||||
output = self._send_command('show lldp neighbors | begin \ \ Port')
|
||||
output = self._send_command('show lldp neighbors')
|
||||
|
||||
for line in output.splitlines()[2:]:
|
||||
line_elems = line.split()
|
||||
local_port = line_elems[0]
|
||||
remote_port = line_elems[2]
|
||||
remote_name = line_elems[3]
|
||||
header = True # cycle trought header
|
||||
local_port = '' # keep previous context - multiline syname
|
||||
remote_port = ''
|
||||
remote_name = ''
|
||||
for line in output.splitlines():
|
||||
if header:
|
||||
# last line of header
|
||||
match = re.match(r'^--------- -+ .*$', line)
|
||||
if match:
|
||||
header = False
|
||||
fields_end = self._get_lldp_neighbors_fields_end(line)
|
||||
continue
|
||||
|
||||
neighbors[local_port] = {
|
||||
line_elems = self._get_lldp_neighbors_line_to_fields(line, fields_end)
|
||||
|
||||
# info owerflow to the other line
|
||||
if line_elems[0] == '' or line_elems[4] == '' or line_elems[5] == '' :
|
||||
# complete owerflown fields
|
||||
local_port = local_port + line_elems[0]
|
||||
remote_port = remote_port + line_elems[2]
|
||||
remote_name = remote_name + line_elems[3]
|
||||
# then reuse old values na rewrite previous entry
|
||||
else:
|
||||
local_port = line_elems[0]
|
||||
remote_port = line_elems[2]
|
||||
remote_name = line_elems[3]
|
||||
|
||||
neighbor = {
|
||||
'hostname': remote_name,
|
||||
'port': remote_port,
|
||||
}
|
||||
neighbor_list = [neighbor, ]
|
||||
neighbors[local_port] = neighbor_list
|
||||
|
||||
return neighbors
|
||||
|
||||
def _get_lldp_neighbors_line_to_fields(self, line, fields_end):
|
||||
""" dynamic fields lenghts """
|
||||
line_elems = {}
|
||||
index = 0
|
||||
f_start = 0
|
||||
for f_end in fields_end:
|
||||
line_elems[index] = line[f_start:f_end].strip()
|
||||
index += 1
|
||||
f_start = f_end
|
||||
return line_elems
|
||||
|
||||
def _get_lldp_neighbors_fields_end(self, dashline):
|
||||
""" fields length are diferent device to device, detect them on horizontal lin """
|
||||
|
||||
fields_end = [m.start() for m in re.finditer(' ', dashline)]
|
||||
fields_end.append(len(dashline))
|
||||
|
||||
return fields_end
|
||||
|
||||
def _get_lldp_line_value(self, line):
|
||||
"""
|
||||
Safe-ish method to get the value from an 'lldp neighbors $IF' line.
|
||||
"""
|
||||
try:
|
||||
value = line.split(':')[1:][0].strip()
|
||||
except:
|
||||
except KeyError:
|
||||
value = u'N/A'
|
||||
|
||||
return value
|
||||
|
||||
|
||||
def get_lldp_neighbors_detail(self):
|
||||
def get_lldp_neighbors_detail(self, interface=""):
|
||||
"""
|
||||
get_lldp_neighbors_detail() implementation for s350
|
||||
"""
|
||||
@@ -370,66 +590,81 @@ class S350Driver(NetworkDriver):
|
||||
|
||||
# First determine all interfaces with valid LLDP neighbors
|
||||
for local_port in self.get_lldp_neighbors().keys():
|
||||
# Set defaults, just in case the remote fails to provide a field.
|
||||
remote_port_id, remote_port_description, remote_chassis_id, \
|
||||
remote_system_name, remote_system_description, \
|
||||
remote_system_capab, remote_system_enable_capab = (u'N/A',) * 7
|
||||
|
||||
output = self._send_command('show lldp neighbor {}'.format(local_port))
|
||||
|
||||
for line in output.splitlines():
|
||||
if line.startswith('Port ID'):
|
||||
remote_port_id = line.split()[-1]
|
||||
elif line.startswith('Device ID'):
|
||||
remote_chassis_id = line.split()[-1]
|
||||
elif line.startswith('Port description'):
|
||||
remote_port_description = self._get_lldp_line_value(line)
|
||||
elif line.startswith('System Name'):
|
||||
remote_system_name = self._get_lldp_line_value(line)
|
||||
elif line.startswith('System description'):
|
||||
remote_system_description = self._get_lldp_line_value(line)
|
||||
elif line.startswith('Capabilities'):
|
||||
# Only the enabled capabilities are displayed.
|
||||
try:
|
||||
# Split a line like 'Capabilities: Bridge, Router, Wlan-Access-Point'
|
||||
capabilities = line.split(':')[1:][0].split(',')
|
||||
except:
|
||||
capabilities = []
|
||||
|
||||
caps = []
|
||||
# For all capabilities, except 'Repeater', the shorthand
|
||||
# is the first character.
|
||||
for cap in capabilities:
|
||||
cap = cap.strip()
|
||||
if cap == 'Repeater':
|
||||
caps.append('r')
|
||||
else:
|
||||
caps.append(cap[0])
|
||||
|
||||
entry = {
|
||||
'parent_interface': u'N/A',
|
||||
'remote_port': remote_port_id,
|
||||
'remote_port_description': remote_port_description,
|
||||
'remote_chassis_id': remote_chassis_id,
|
||||
'remote_system_name': remote_system_name,
|
||||
'remote_system_description': remote_system_description,
|
||||
'remote_system_capab': u', '.join(caps),
|
||||
'remote_system_enable_capab': u', '.join(caps),
|
||||
}
|
||||
|
||||
details[local_port] = entry
|
||||
if interface:
|
||||
if interface == local_port:
|
||||
entry = self._get_lldp_neighbors_detail_parse(local_port)
|
||||
details[local_port] = [entry, ]
|
||||
|
||||
else:
|
||||
entry = self._get_lldp_neighbors_detail_parse(local_port)
|
||||
details[local_port] = [entry, ]
|
||||
|
||||
return details
|
||||
|
||||
def _get_lldp_neighbors_detail_parse(self, local_port):
|
||||
# Set defaults, just in case the remote fails to provide a field.
|
||||
remote_port_id, remote_port_description, remote_chassis_id, \
|
||||
remote_system_name, remote_system_description, \
|
||||
remote_system_capab, remote_system_enable_capab = (u'N/A',) * 7
|
||||
|
||||
def get_ntp_servers(self):
|
||||
"""get_ntp_servers implementation for S350"""
|
||||
ntp_servers = {}
|
||||
output = self._send_command('show sntp status | include Server')
|
||||
output = self._send_command('show lldp neighbors {}'.format(local_port))
|
||||
|
||||
for line in output.splitlines():
|
||||
ntp_servers[line.split()[2]] = {}
|
||||
if line.startswith('Port ID'):
|
||||
remote_port_id = line.split()[-1]
|
||||
elif line.startswith('Device ID'):
|
||||
remote_chassis_id = line.split()[-1]
|
||||
elif line.startswith('Port description'):
|
||||
remote_port_description = self._get_lldp_line_value(line)
|
||||
elif line.startswith('System Name'):
|
||||
remote_system_name = self._get_lldp_line_value(line)
|
||||
elif line.startswith('System description'):
|
||||
remote_system_description = self._get_lldp_line_value(line)
|
||||
elif line.startswith('Capabilities'):
|
||||
caps = self._get_lldp_neighbors_detail_capabilities_parse(line)
|
||||
|
||||
entry = {
|
||||
'parent_interface': u'N/A',
|
||||
'remote_port': remote_port_id,
|
||||
'remote_port_description': remote_port_description,
|
||||
'remote_chassis_id': remote_chassis_id,
|
||||
'remote_system_name': remote_system_name,
|
||||
'remote_system_description': remote_system_description,
|
||||
'remote_system_capab': caps,
|
||||
'remote_system_enable_capab': caps,
|
||||
}
|
||||
|
||||
return entry
|
||||
|
||||
def _get_lldp_neighbors_detail_capabilities_parse(self, line):
|
||||
# Only the enabled capabilities are displayed.
|
||||
try:
|
||||
# Split a line like 'Capabilities: Bridge, Router, Wlan-Access-Point'
|
||||
capabilities = line.split(':')[1:][0].split(',')
|
||||
except KeyError:
|
||||
capabilities = []
|
||||
|
||||
caps = []
|
||||
# For all capabilities, except 'Repeater', the shorthand
|
||||
# is the first character.
|
||||
for cap in capabilities:
|
||||
cap = cap.strip()
|
||||
if cap == 'Repeater':
|
||||
caps.append('r')
|
||||
else:
|
||||
caps.append(cap[0])
|
||||
|
||||
return caps
|
||||
|
||||
def get_ntp_servers(self):
|
||||
"""Returns NTP servers."""
|
||||
ntp_servers = {}
|
||||
output = self._send_command('show sntp status')
|
||||
|
||||
servers = re.findall(r'^Server\s*:\s*(\S+)\s*.*$', output, re.M)
|
||||
|
||||
for server in servers:
|
||||
ntp_servers[server] = {}
|
||||
|
||||
return ntp_servers
|
||||
|
||||
@@ -451,7 +686,6 @@ class S350Driver(NetworkDriver):
|
||||
# If we made it here, assume the worst.
|
||||
return {'is_alive': False}
|
||||
|
||||
|
||||
@property
|
||||
def dest_file_system(self):
|
||||
# First ensure we have an open connection.
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
[pylama]
|
||||
linters = mccabe,pep257,pep8,pyflakes
|
||||
ignore = D203,
|
||||
|
||||
[pylama:pep8]
|
||||
max_line_length = 120
|
||||
+11
-10
@@ -1,10 +1,11 @@
|
||||
coveralls
|
||||
ddt
|
||||
flake8-import-order
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-json
|
||||
pytest-pythonpath
|
||||
pylama
|
||||
mock
|
||||
tox
|
||||
black==20.8b1
|
||||
coveralls==2.1.2
|
||||
ddt==1.4.1
|
||||
flake8-import-order==0.18.1
|
||||
pytest==5.4.3
|
||||
pytest-cov==2.10.1
|
||||
pytest-json==0.4.0
|
||||
pytest-pythonpath==0.7.3
|
||||
pylama==7.7.1
|
||||
mock==4.0.2
|
||||
tox==3.20.1
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
napalm>=2.0.0
|
||||
netmiko>=1.4.3
|
||||
napalm>=3.0.0
|
||||
netmiko>=3.1.0
|
||||
netaddr
|
||||
@@ -1,6 +1,12 @@
|
||||
[bdist_wheel]
|
||||
universal=1
|
||||
|
||||
[metadata]
|
||||
license_file = LICENSE
|
||||
|
||||
[pylama]
|
||||
linters = mccabe,pep8,pyflakes
|
||||
ignore = D203,C901
|
||||
ignore = D203,C901,E203
|
||||
skip = .tox/*
|
||||
|
||||
[pylama:pep8]
|
||||
@@ -15,18 +21,10 @@ norecursedirs =
|
||||
build
|
||||
south_migraitons
|
||||
migrations
|
||||
napalm/base/test
|
||||
python_files =
|
||||
test_*.py
|
||||
*_test.py
|
||||
tests.py
|
||||
addopts =
|
||||
--cov=napalm
|
||||
--cov-report term-missing
|
||||
-vs
|
||||
--pylama
|
||||
json_report = report.json
|
||||
jsonapi = true
|
||||
|
||||
[coverage:run]
|
||||
include =
|
||||
@@ -34,4 +32,3 @@ include =
|
||||
|
||||
[coverage:report]
|
||||
omit =
|
||||
napalm_s350/test/*
|
||||
@@ -12,10 +12,10 @@ with open("README.md", "r") as fs:
|
||||
|
||||
setup(
|
||||
name="napalm-s350",
|
||||
version="0.2.1",
|
||||
version="0.3.0",
|
||||
packages=find_packages(exclude=("test*",)),
|
||||
author="Jasper Lievisse Adriaanse, Petr Klíma",
|
||||
author_email="j@jasper.la, qaxi@seznam.cz",
|
||||
author="Jasper Lievisse Adriaanse, Petr Klíma, Daniel Bacher",
|
||||
author_email="j@jasper.la, qaxi@seznam.cz, mail@phill93.de",
|
||||
description="NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx)",
|
||||
license="Apache 2.0",
|
||||
long_description=long_description,
|
||||
@@ -27,6 +27,7 @@ setup(
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Operating System :: POSIX :: Linux',
|
||||
'Operating System :: MacOS',
|
||||
],
|
||||
@@ -34,4 +35,3 @@ setup(
|
||||
include_package_data=True,
|
||||
install_requires=reqs,
|
||||
)
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
# Copyright 2018 Jasper Lievisse Adriaanse. All rights reserved.
|
||||
#
|
||||
# The contents of this file are licensed under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with the
|
||||
# License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
|
||||
"""Tests."""
|
||||
|
||||
import unittest
|
||||
|
||||
from napalm_s350 import s350
|
||||
from napalm.base.test.base import TestConfigNetworkDriver, TestGettersNetworkDriver
|
||||
import json
|
||||
|
||||
|
||||
class TestConfigDriver(unittest.TestCase, TestConfigNetworkDriver):
|
||||
"""Group of tests that test Configuration related methods."""
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
"""Run before starting the tests."""
|
||||
hostname = '127.0.0.1'
|
||||
username = 'vagrant'
|
||||
password = 'vagrant'
|
||||
cls.vendor = 's350'
|
||||
|
||||
optional_args = {'port': 12443, }
|
||||
cls.device = s350.S350Driver(hostname, username, password, timeout=60,
|
||||
optional_args=optional_args)
|
||||
cls.device.open()
|
||||
|
||||
cls.device.load_replace_candidate(filename='%s/initial.conf' % cls.vendor)
|
||||
cls.device.commit_config()
|
||||
|
||||
|
||||
class TestGetterDriver(unittest.TestCase, TestGettersNetworkDriver):
|
||||
"""Group of tests that test getters."""
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
"""Run before starting the tests."""
|
||||
cls.mock = True
|
||||
|
||||
hostname = '127.0.0.1'
|
||||
username = 'vagrant'
|
||||
password = 'vagrant'
|
||||
cls.vendor = 's350'
|
||||
|
||||
optional_args = {'port': 12443, }
|
||||
cls.device = s350.S350Driver(hostname, username, password, timeout=60,
|
||||
optional_args=optional_args)
|
||||
|
||||
if cls.mock:
|
||||
cls.device.device = FakeDevice()
|
||||
else:
|
||||
cls.device.open()
|
||||
|
||||
|
||||
class FakeDevice:
|
||||
"""Test double."""
|
||||
|
||||
@staticmethod
|
||||
def read_json_file(filename):
|
||||
"""Return the content of a file with content formatted as json."""
|
||||
with open(filename) as data_file:
|
||||
return json.load(data_file)
|
||||
|
||||
@staticmethod
|
||||
def read_txt_file(filename):
|
||||
"""Return the content of a file."""
|
||||
with open(filename) as data_file:
|
||||
return data_file.read()
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 2018 Jasper Lievisse Adriaanse. All rights reserved.
|
||||
#
|
||||
# The contents of this file are licensed under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with the
|
||||
# License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
|
||||
"""Tests."""
|
||||
|
||||
import unittest
|
||||
|
||||
from napalm_s350 import s350
|
||||
from napalm.base.test.base import TestConfigNetworkDriver
|
||||
|
||||
|
||||
class TestConfigS350Driver(unittest.TestCase, TestConfigNetworkDriver):
|
||||
"""Group of tests that test Configuration related methods."""
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
"""Run before starting the tests."""
|
||||
hostname = '127.0.0.1'
|
||||
username = 'vagrant'
|
||||
password = 'vagrant'
|
||||
cls.vendor = 's350'
|
||||
|
||||
optional_args = {'port': 12443, }
|
||||
cls.device = s350.S350Driver(hostname, username, password, timeout=60,
|
||||
optional_args=optional_args)
|
||||
cls.device.open()
|
||||
|
||||
cls.device.load_replace_candidate(filename='%s/initial.conf' % cls.vendor)
|
||||
cls.device.commit_config()
|
||||
+24
-20
@@ -5,20 +5,21 @@ import pytest
|
||||
from napalm.base.test import conftest as parent_conftest
|
||||
|
||||
from napalm.base.test.double import BaseTestDouble
|
||||
|
||||
from napalm_s350 import s350
|
||||
|
||||
|
||||
@pytest.fixture(scope='class')
|
||||
@pytest.fixture(scope="class")
|
||||
def set_device_parameters(request):
|
||||
"""Set up the class."""
|
||||
|
||||
def fin():
|
||||
request.cls.device.close()
|
||||
|
||||
request.addfinalizer(fin)
|
||||
|
||||
request.cls.driver = s350.S350Driver
|
||||
request.cls.patched_driver = PatchedS350Driver
|
||||
request.cls.vendor = 's350'
|
||||
request.cls.vendor = "s350"
|
||||
parent_conftest.set_device_parameters(request)
|
||||
|
||||
|
||||
@@ -28,30 +29,33 @@ def pytest_generate_tests(metafunc):
|
||||
|
||||
|
||||
class PatchedS350Driver(s350.S350Driver):
|
||||
"""Patched S350 Driver."""
|
||||
"""Patched IOS Driver."""
|
||||
|
||||
def __init__(self, hostname, username, password, timeout=60, optional_args=None):
|
||||
"""Patched S350 Driver constructor."""
|
||||
|
||||
super().__init__(hostname, username, password, timeout, optional_args)
|
||||
|
||||
self.patched_attrs = ['device']
|
||||
self.patched_attrs = ["device"]
|
||||
self.device = FakeS350Device()
|
||||
|
||||
def disconnect(self):
|
||||
pass
|
||||
|
||||
def is_alive(self):
|
||||
return {"is_alive": True} # In testing everything works..
|
||||
|
||||
def open(self):
|
||||
pass
|
||||
|
||||
|
||||
class FakeS350Device(BaseTestDouble):
|
||||
"""S350 device test double."""
|
||||
"""IOS device test double."""
|
||||
|
||||
def run_commands(self, command_list, encoding='json'):
|
||||
"""Fake run_commands."""
|
||||
result = list()
|
||||
def send_command(self, command, **kwargs):
|
||||
filename = "{}.txt".format(self.sanitize_text(command))
|
||||
full_path = self.find_file(filename)
|
||||
result = self.read_txt_file(full_path)
|
||||
return str(result)
|
||||
|
||||
for command in command_list:
|
||||
filename = '{}.{}'.format(self.sanitize_text(command), encoding)
|
||||
full_path = self.find_file(filename)
|
||||
|
||||
if encoding == 'json':
|
||||
result.append(self.read_json_file(full_path))
|
||||
else:
|
||||
result.append({'output': self.read_txt_file(full_path)})
|
||||
|
||||
return result
|
||||
def disconnect(self):
|
||||
pass
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
Total number of entries: 1
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 1 192.168.1.1 9c:eb:e8:aa:bb:cc dynamic
|
||||
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
|
||||
Name/address lookup is enabled
|
||||
Domain Timeout: 2 seconds
|
||||
Domain Retry: 1 times
|
||||
Domain Polling Interval: 8 seconds
|
||||
|
||||
|
||||
Default Domain Table
|
||||
|
||||
Domain Source Interface Preference
|
||||
-------------------------------------------- ------- --------- ----------
|
||||
Domain name is not configured
|
||||
|
||||
|
||||
Name Server Table
|
||||
|
||||
IP Address Source Interface Preference
|
||||
-------------------------------------------- ------- --------- ----------
|
||||
Name server is not configured
|
||||
|
||||
|
||||
Cache Table
|
||||
Flags: (STA/DYN, OK/NE/??)
|
||||
STA - Static, DYN - Dynamic
|
||||
OK - Okay, NE - Negative Cache, ?? - No Response
|
||||
|
||||
Remaining
|
||||
Host Addresses Type State TTL
|
||||
------------------------- ------------------------ ---- ------ ----------
|
||||
No hostname is mapped to an IP address
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
Port Description
|
||||
------- -----------
|
||||
gi1 test1
|
||||
gi2 test2
|
||||
gi3
|
||||
gi4
|
||||
gi5 test5
|
||||
gi6
|
||||
gi7
|
||||
gi8
|
||||
gi9
|
||||
gi10
|
||||
|
||||
Ch Description
|
||||
------- -----------
|
||||
Po1
|
||||
Po2
|
||||
Po3
|
||||
Po4
|
||||
Po5
|
||||
Po6
|
||||
Po7
|
||||
Po8
|
||||
@@ -0,0 +1,25 @@
|
||||
Flow Link Back Mdix
|
||||
Port Type Duplex Speed Neg ctrl State Pressure Mode
|
||||
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
|
||||
gi1 1G-Copper -- -- -- -- Down -- --
|
||||
gi2 1G-Copper -- -- -- -- Down -- --
|
||||
gi3 1G-Copper -- -- -- -- Down -- --
|
||||
gi4 1G-Copper -- -- -- -- Down -- --
|
||||
gi5 1G-Copper -- -- -- -- Down -- --
|
||||
gi6 1G-Copper -- -- -- -- Down -- --
|
||||
gi7 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi8 1G-Copper Full 1000 Enabled Off Up Disabled On
|
||||
gi9 1G-Combo-C -- -- -- -- Down -- --
|
||||
gi10 1G-Combo-C -- -- -- -- Down -- --
|
||||
|
||||
Flow Link
|
||||
Ch Type Duplex Speed Neg control State
|
||||
-------- ------- ------ ----- -------- ------- -----------
|
||||
Po1 -- -- -- -- -- Not Present
|
||||
Po2 -- -- -- -- -- Not Present
|
||||
Po3 -- -- -- -- -- Not Present
|
||||
Po4 -- -- -- -- -- Not Present
|
||||
Po5 -- -- -- -- -- Not Present
|
||||
Po6 -- -- -- -- -- Not Present
|
||||
Po7 -- -- -- -- -- Not Present
|
||||
Po8 -- -- -- -- -- Not Present
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
NAME: "1" DESCR: "SG300-10 10-Port Gigabit Managed Switch"
|
||||
PID: SRW2008-K9 VID: V05 SN: AAAABBBBCCC
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
IP Address I/F I/F Status Type Redirect Status
|
||||
admin/oper
|
||||
------------------ --------- ---------- ------- -------- ------
|
||||
0.0.0.0/32 vlan 1 UP/UP DHCP enable Not
|
||||
receiv
|
||||
ed
|
||||
192.168.1.254/24 vlan 1 UP/UP Default enable Valid
|
||||
|
||||
|
||||
Gateway IP Address Activity status Type
|
||||
----------------------- ----------------------- --------
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
Maximum Parallel Paths: 1 (1 after reset)
|
||||
IP Forwarding: disabled
|
||||
Codes: > - best, C - connected, S - static
|
||||
|
||||
|
||||
C 192.168.1.0/24 is directly connected, vlan 1
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
|
||||
Device ID: 00:a5:bf:ff:ee:dd
|
||||
Port ID: gi8
|
||||
Capabilities: Bridge, Router
|
||||
System Name: switchcffeedd
|
||||
System description:
|
||||
Port description:
|
||||
Management Address: 192.168.1.253
|
||||
Management Address: 254.128.0.0.0.0
|
||||
Time To Live: 118
|
||||
|
||||
|
||||
802.3 EEE:
|
||||
|
||||
17
|
||||
17
|
||||
17
|
||||
17
|
||||
|
||||
|
||||
802.1 PVID: 1
|
||||
802.1 PPVID:
|
||||
802.1 VLAN:
|
||||
802.1 Protocol:
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
|
||||
Device ID: 50:f7:22:aa:bb:cc
|
||||
Port ID: gi7
|
||||
Capabilities: Bridge
|
||||
System Name: switchaabbcc
|
||||
|
||||
802.3 EEE:
|
||||
|
||||
17
|
||||
17
|
||||
17
|
||||
17
|
||||
|
||||
|
||||
802.1 PVID: 1
|
||||
802.1 PPVID:
|
||||
802.1 VLAN:
|
||||
802.1 Protocol:
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
System capability legend:
|
||||
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
|
||||
D - DOCSIS Cable Device; H - Host; r - Repeater;
|
||||
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
|
||||
|
||||
Port Device ID Port ID System Name Capabilities TTL
|
||||
--------- ----------------- ------------- ----------------- ------------ -----
|
||||
gi7 00:a5:bf:ff:ee:dd gi8 switchcffeedd B, R 96
|
||||
gi8 f2:18:98:aa:bb:cc 9c:eb:e8:c3:b test-pc1 B, W 118
|
||||
2:a1
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
Jumbo frames are disabled
|
||||
Jumbo frames will be disabled after reset
|
||||
@@ -0,0 +1,40 @@
|
||||
config-file-header
|
||||
switchf5bcdb
|
||||
v1.4.11.5 / R800_NIK_1_4_220_026
|
||||
CLI v1.0
|
||||
set system mode switch
|
||||
|
||||
file SSD indicator encrypted
|
||||
@
|
||||
ssd-control-start
|
||||
ssd config
|
||||
ssd file passphrase control unrestricted
|
||||
no ssd file integrity control
|
||||
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
|
||||
!
|
||||
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||
voice vlan oui-table add 00096e Avaya___________________
|
||||
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||
hostname switchf5bcdb
|
||||
username root password encrypted dddd5d7b474d2c78ebbb833789c4bfd721edf4bf privilege 15
|
||||
ip ssh server
|
||||
ip ssh password-auth
|
||||
sntp unicast client enable
|
||||
sntp unicast client poll
|
||||
sntp server 1.2.3.4
|
||||
!
|
||||
interface gigabitethernet1
|
||||
description test1
|
||||
!
|
||||
interface gigabitethernet2
|
||||
description test2
|
||||
!
|
||||
interface gigabitethernet5
|
||||
description test5
|
||||
!
|
||||
exit
|
||||
@@ -0,0 +1,22 @@
|
||||
|
||||
Clock is unsynchronized
|
||||
|
||||
Unicast servers:
|
||||
|
||||
Server : 1.2.3.4
|
||||
Source : Static
|
||||
Stratum : 255
|
||||
Status : unknown
|
||||
Last Response : 00:00:00.0 Jan 1 1900
|
||||
Offset : 0.0000000 mSec
|
||||
Delay : 0 mSec
|
||||
|
||||
|
||||
|
||||
Anycast server:
|
||||
|
||||
|
||||
|
||||
Broadcast:
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
config-file-header
|
||||
switchaabbcc
|
||||
v1.4.11.5 / R800_NIK_1_4_220_026
|
||||
CLI v1.0
|
||||
set system mode switch
|
||||
|
||||
file SSD indicator encrypted
|
||||
@
|
||||
ssd-control-start
|
||||
ssd config
|
||||
ssd file passphrase control unrestricted
|
||||
no ssd file integrity control
|
||||
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
|
||||
!
|
||||
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||
voice vlan oui-table add 00096e Avaya___________________
|
||||
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||
hostname switchf5bcdb
|
||||
username root password encrypted dddd5d7b474d2c78ebbb833789c4bfd721edf4bf privilege 15
|
||||
ip ssh server
|
||||
ip ssh password-auth
|
||||
!
|
||||
@@ -0,0 +1,10 @@
|
||||
System Description: SG300-10 10-Port Gigabit Managed Switch
|
||||
System Up Time (days,hour:min:sec): 07,00:53:10
|
||||
System Contact:
|
||||
System Name: switchaabbcc
|
||||
System Location:
|
||||
System MAC Address: 50:f7:22:aa:bb:cc
|
||||
System Object ID: 1.3.6.1.4.1.9.6.1.83.10.1
|
||||
|
||||
Fans Status: N/A
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
SW version 1.4.11.5 ( date 08-Apr-2020 time 13:49:34 )
|
||||
Boot version 1.3.5.06 ( date 21-Jul-2013 time 15:12:10 )
|
||||
HW version V05
|
||||
@@ -0,0 +1,18 @@
|
||||
|
||||
Total number of entries: 10
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 852 te1/0/1 19.51.0.1 00:00:0c:07:ac:01 dynamic
|
||||
vlan 852 te1/0/1 19.51.0.2 e4:c7:22:fe:e0:43 dynamic
|
||||
vlan 852 te1/0/1 19.51.0.5 bc:ea:fa:b4:15:aa dynamic
|
||||
vlan 852 te1/0/1 19.51.0.3 bc:ea:fa:b4:14:6f dynamic
|
||||
vlan 852 te1/0/1 19.51.0.1 5c:8a:38:2e:bd:c0 dynamic
|
||||
vlan 852 te1/0/1 19.51.0.8 5c:8a:38:2e:fd:e0 dynamic
|
||||
vlan 852 te1/0/1 19.51.1.4 00:50:56:93:19:b7 dynamic
|
||||
vlan 852 te1/0/1 19.51.1.5 00:50:56:92:2f:cb dynamic
|
||||
vlan 852 19.51.1.2 00:50:56:9e:51:f3 dynamic
|
||||
vlan 852 19.51.14.5 a4:4c:c8:7d:37:03 dynamic
|
||||
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
|
||||
Name/address lookup is enabled
|
||||
Domain Timeout: 2 seconds
|
||||
Domain Retry: 1 times
|
||||
Domain Polling Interval: 8 seconds
|
||||
|
||||
|
||||
Default Domain Table
|
||||
|
||||
Domain Source Interface Preference
|
||||
-------------------------------------------- ------- --------- ----------
|
||||
Domain name is not configured
|
||||
|
||||
|
||||
Name Server Table
|
||||
|
||||
IP Address Source Interface Preference
|
||||
-------------------------------------------- ------- --------- ----------
|
||||
Name server is not configured
|
||||
|
||||
|
||||
Cache Table
|
||||
Flags: (STA/DYN, OK/NE/??)
|
||||
STA - Static, DYN - Dynamic
|
||||
OK - Okay, NE - Negative Cache, ?? - No Response
|
||||
|
||||
Remaining
|
||||
Host Addresses Type State TTL
|
||||
------------------------- ------------------------ ---- ------ ----------
|
||||
No hostname is mapped to an IP address
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
Port Description
|
||||
------- -----------
|
||||
gi1/0/1 3B10
|
||||
gi1/0/2 3A9
|
||||
gi1/0/3 3E2
|
||||
gi1/0/4 3F1
|
||||
gi1/0/5 2A2
|
||||
gi1/0/6 Lobby
|
||||
gi1/0/7
|
||||
gi1/0/8
|
||||
gi1/0/9
|
||||
gi1/0/10
|
||||
gi1/0/11
|
||||
gi1/0/12
|
||||
gi1/0/13
|
||||
gi1/0/14
|
||||
gi1/0/15 Dk
|
||||
gi1/0/16 Dc
|
||||
gi1/0/17 Dct
|
||||
gi1/0/18 DPC
|
||||
gi1/0/19 Dr
|
||||
gi1/0/20 Dr
|
||||
gi1/0/21 Dr
|
||||
gi1/0/22
|
||||
gi1/0/23
|
||||
gi1/0/24
|
||||
gi1/0/25 2B2
|
||||
gi1/0/26 2E2
|
||||
gi1/0/27 2F2
|
||||
gi1/0/28 1A2
|
||||
gi1/0/29 1B2
|
||||
gi1/0/30
|
||||
gi1/0/31
|
||||
gi1/0/32
|
||||
gi1/0/33
|
||||
gi1/0/34
|
||||
gi1/0/35 MV
|
||||
gi1/0/36 MV
|
||||
gi1/0/37 MP
|
||||
gi1/0/38 MV + P
|
||||
gi1/0/39 MV
|
||||
gi1/0/40
|
||||
gi1/0/41
|
||||
gi1/0/42
|
||||
gi1/0/43
|
||||
gi1/0/44
|
||||
gi1/0/45 S2
|
||||
gi1/0/46 Ce
|
||||
gi1/0/47
|
||||
gi1/0/48
|
||||
te1/0/1 T1
|
||||
te1/0/2
|
||||
te1/0/3 T2
|
||||
te1/0/4 T3
|
||||
|
||||
Ch Description
|
||||
------- -----------
|
||||
Po1
|
||||
Po2
|
||||
Po3
|
||||
Po4
|
||||
Po5
|
||||
Po6
|
||||
Po7
|
||||
Po8
|
||||
@@ -0,0 +1,67 @@
|
||||
Flow Link Back Mdix
|
||||
Port Type Duplex Speed Neg ctrl State Pressure Mode
|
||||
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
|
||||
gi1/0/1 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/2 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/3 1G-Copper Full 1000 Enabled Off Up Disabled On
|
||||
gi1/0/4 1G-Copper Full 1000 Enabled Off Up Disabled On
|
||||
gi1/0/5 1G-Copper Full 1000 Enabled Off Up Disabled On
|
||||
gi1/0/6 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/7 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/8 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/9 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/10 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/11 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/12 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/13 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/14 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/15 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/16 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||
gi1/0/17 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/18 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/19 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/20 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/21 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/22 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/23 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/24 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/25 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/26 1G-Copper Full 1000 Enabled Off Up Disabled On
|
||||
gi1/0/27 1G-Copper Full 1000 Enabled Off Up Disabled On
|
||||
gi1/0/28 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/29 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/30 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/31 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/32 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/33 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/34 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/35 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/36 1G-Copper Full 100 Enabled Off Up Disabled Off
|
||||
gi1/0/37 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/38 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/39 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||
gi1/0/40 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/41 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/42 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/43 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/44 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/45 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/46 1G-Copper Full 100 Enabled Off Up Disabled Off
|
||||
gi1/0/47 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/48 1G-Copper -- -- -- -- Down -- --
|
||||
te1/0/1 10G-Combo-F Full 1000 Disabled Off Up Disabled Off
|
||||
te1/0/2 10G-Combo-C -- -- -- -- Down -- --
|
||||
te1/0/3 10G-Fiber Full 1000 Disabled Off Up Disabled Off
|
||||
te1/0/4 10G-Fiber Full 10000 Disabled Off Up Disabled Off
|
||||
|
||||
Flow Link
|
||||
Ch Type Duplex Speed Neg control State
|
||||
-------- ------- ------ ----- -------- ------- -----------
|
||||
Po1 -- -- -- -- -- Not Present
|
||||
Po2 -- -- -- -- -- Not Present
|
||||
Po3 -- -- -- -- -- Not Present
|
||||
Po4 -- -- -- -- -- Not Present
|
||||
Po5 -- -- -- -- -- Not Present
|
||||
Po6 -- -- -- -- -- Not Present
|
||||
Po7 -- -- -- -- -- Not Present
|
||||
Po8 -- -- -- -- -- Not Present
|
||||
@@ -0,0 +1,16 @@
|
||||
|
||||
NAME: "1" DESCR: "SG350X-48P 48-Port Gigabit PoE Stackable Managed Switch"
|
||||
PID: SG350X-48P-K9 VID: V04 SN: AAA00000BBB
|
||||
|
||||
|
||||
NAME: "TengigabitEthernet1/0/1" DESCR: "SFP-1000Base-LX"
|
||||
PID: GLC-LH-SMD VID: V01 SN: IAB8888888
|
||||
|
||||
|
||||
NAME: "TengigabitEthernet1/0/3" DESCR: "SFP-1000Base-SX"
|
||||
PID: SFP-1000-SX VID: Information Unavailable SN: A888666
|
||||
|
||||
|
||||
NAME: "TengigabitEthernet1/0/4" DESCR: "SFP-10Gbase-CX1"
|
||||
PID: SFP-H10G-CU1M VID: Information Unavailable SN: AB0B000B0AB000B
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
IP Address I/F I/F Status Type Directed Prec Redirect Status
|
||||
admin/oper Broadcast
|
||||
------------------ --------- ---------- ------- --------- ---- -------- ------
|
||||
198.51.100.1/16 vlan 852 UP/UP Static disable No enable Valid
|
||||
198.51.100.2/24 vlan 1 UP/UP Static disable No enable Valid
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
Maximum Parallel Paths: 1 (1 after reset)
|
||||
IP Forwarding: disabled
|
||||
Codes: > - best, C - connected, S - static
|
||||
|
||||
|
||||
S 198.51.100.1/8 [1/4] via 198.51.100.2, 00:37:12, vlan 852
|
||||
C 198.51.100.0/16 is directly connected, vlan 852
|
||||
C 198.51.100.2/24 is directly connected, vlan 1
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
|
||||
Device ID: 04:eb:40:e3:91:7f
|
||||
Port ID: 04:eb:40:e3:91:80
|
||||
Capabilities: Bridge
|
||||
System Name: sw1
|
||||
Management address: 198.51.100..3
|
||||
Management address: fe80::eb::ff:fee3::7f%vlan1
|
||||
|
||||
802.3 Power Via Mdi:
|
||||
MDI Power support Port Class: PSE
|
||||
PSE MDI Power Support: Supported
|
||||
PSE MDI Power State: Enabled
|
||||
PSE power pair control ability: Not supported
|
||||
PSE Power Pair: Spare
|
||||
PSE Power class: 2
|
||||
Power Type: Type 2 PSE
|
||||
Power Source: Primary Power Source
|
||||
Power Priority: low
|
||||
PSE Allocated Power Value: 3.9
|
||||
|
||||
4-Pair POE supported: Yes
|
||||
Spare Pair Detection/Classification required: No
|
||||
PD Spare Pair Desired State: Disabled
|
||||
|
||||
802.3 EEE:
|
||||
|
||||
Local Tx: 17 uSec
|
||||
Local Rx: 17 uSec
|
||||
Local Tx Echo: 17 uSec
|
||||
Local Rx Echo: 17 uSec
|
||||
|
||||
|
||||
802.1 PVID: 1
|
||||
802.1 PPVID:
|
||||
802.1 VLAN:
|
||||
802.1 Protocol:
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
System capability legend:
|
||||
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
|
||||
D - DOCSIS Cable Device; H - Host; r - Repeater;
|
||||
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
|
||||
|
||||
Port Device ID Port ID System Name Capabilities TTL
|
||||
--------- ----------------- ----------------- ----------------- ------------ -----
|
||||
gi1/0/1 74:ac:aa:ff:1a:5f 74:ac:aa:ff:1a:5f UBNT B, W 90
|
||||
gi1/0/35 34:e6:aa:ff:53:a8 34:e6:aa:ff:53:a8 O 3119
|
||||
te1/0/1 00:16:ff:aa:bb:00 Gi0/23 swzdsadas-vedc B 107
|
||||
te1/0/3 00:8e:ff:aa:bb:e2 gi28 sw1dsafdsfsdfsdd B, R 95
|
||||
te1/0/4 sw2dsdfssddfd te1/0/4 sw2dsdfssddfd B, R 105
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
System capability legend:
|
||||
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
|
||||
D - DOCSIS Cable Device; H - Host; r - Repeater;
|
||||
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
|
||||
|
||||
Port Device ID Port ID System Name Capabilities TTL
|
||||
--------- ----------------- ----------------- ----------------- ------------ -----
|
||||
gi1/0/1 74:ac:aa:ff:1a:5f 74:ac:aa:ff:1a:5f UBNT B, W 90
|
||||
gi1/0/35 34:e6:aa:ff:53:a8 34:e6:aa:ff:53:a8 O 3119
|
||||
te1/0/1 00:16:ff:aa:bb:00 Gi0/23 swzdsadas-vedc B 107
|
||||
te1/0/3 00:8e:ff:aa:bb:e2 gi28 sw1dsafdsfsdf.ex B, R 95
|
||||
ample.net
|
||||
te1/0/4 sw2dsdfssddfd te1/0/4 sw2dsdfssddfd B, R 105
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
|
||||
Device ID: sw2
|
||||
Port ID: te1/0/4
|
||||
Capabilities: Bridge, Router
|
||||
System Name: sw2
|
||||
System description:
|
||||
Port description:
|
||||
Management Address: 198.51.100.1
|
||||
Management Address: fe80::6eb:40ff:fed9:ba7b
|
||||
Time To Live: 100
|
||||
|
||||
|
||||
802.1 PVID: 1
|
||||
802.1 PPVID:
|
||||
802.1 VLAN:
|
||||
802.1 Protocol:
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
|
||||
Device ID: 11:ac:00:66:ff:aa
|
||||
Port ID: 11:ac:00:66:ff:aa
|
||||
Capabilities: Bridge, Wlan-Access-Point
|
||||
System Name: SBC
|
||||
System description: ABC-SC-BM, 1.2.34.11111
|
||||
Port description: br0
|
||||
Management Address: 192.168.1.121
|
||||
Management Address: fe80::76ac:b9ff:fe66:ffaa
|
||||
Time To Live: 90
|
||||
|
||||
|
||||
802.3 MAC/PHY Configuration/Status
|
||||
Auto-negotiation support: Not supported
|
||||
Auto-negotiation status: Disabled
|
||||
Auto-negotiation Advertised Capabilities:
|
||||
Operational MAU type: Unknown
|
||||
|
||||
802.3 Link Aggregation
|
||||
Aggregation capability: Capable of being aggregated
|
||||
Aggregation status: Currently not in aggregation
|
||||
|
||||
|
||||
802.3 EEE:
|
||||
|
||||
Remote Tx: 17 uSec
|
||||
Remote Rx: 17 uSec
|
||||
Remote Tx Echo: 17 uSec
|
||||
Remote Rx Echo: 17 uSec
|
||||
|
||||
|
||||
802.1 PVID: None
|
||||
802.1 PPVID:
|
||||
802.1 VLAN:
|
||||
802.1 Protocol:
|
||||
|
||||
|
||||
LLDP-MED capabilities: Capabilities, Network Policy, Location, POE-PSE, POE-PD, Inventory
|
||||
LLDP-MED Device Type: Network Connectivity
|
||||
|
||||
Hardware revision:
|
||||
Firmware revision:
|
||||
Software revision: 1.2.345
|
||||
Serial number:
|
||||
Manufacturer name:
|
||||
Model name:
|
||||
Asset ID:
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
Jumbo frames are enabled
|
||||
Jumbo frames will be enabled after reset
|
||||
@@ -0,0 +1,264 @@
|
||||
config-file-header
|
||||
switch1
|
||||
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||
CLI v1.0
|
||||
file SSD indicator encrypted
|
||||
@
|
||||
ssd-control-start
|
||||
ssd config
|
||||
ssd file passphrase control unrestricted
|
||||
no ssd file integrity control
|
||||
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
|
||||
!
|
||||
!
|
||||
unit-type-control-start
|
||||
unit-type unit 1 network gi uplink te
|
||||
unit-type unit 2 network gi uplink te
|
||||
unit-type unit 3 network gi uplink te
|
||||
unit-type unit 4 network gi uplink te
|
||||
unit-type-control-end
|
||||
!
|
||||
spanning-tree mode mst
|
||||
port jumbo-frame
|
||||
vlan database
|
||||
vlan 5,7,852
|
||||
exit
|
||||
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||
voice vlan oui-table add 00096e Avaya___________________
|
||||
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||
errdisable recovery cause loopback-detection
|
||||
errdisable recovery cause port-security
|
||||
errdisable recovery cause dot1x-src-address
|
||||
errdisable recovery cause acl-deny
|
||||
errdisable recovery cause stp-bpdu-guard
|
||||
errdisable recovery cause stp-loopback-guard
|
||||
errdisable recovery cause udld
|
||||
errdisable recovery cause storm-control
|
||||
link-flap prevention disable
|
||||
no ip routing
|
||||
system resources vlan-mapping-entries 4
|
||||
bonjour interface range vlan 1
|
||||
hostname switch1
|
||||
line console
|
||||
exec-timeout 120
|
||||
exit
|
||||
line ssh
|
||||
exec-timeout 120
|
||||
exit
|
||||
line telnet
|
||||
exec-timeout 120
|
||||
exit
|
||||
no passwords complexity enable
|
||||
username admin password encrypted 00000000000000000000aaaaaaaaaaaaaaaaaaaa privilege 15
|
||||
username adm02 password encrypted aaaaaaaaaaaaaaaaaaaa00000000000000000000 privilege 15
|
||||
ip ssh server
|
||||
ip ssh password-auth
|
||||
ip ssh pubkey-auth auto-login
|
||||
snmp-server server
|
||||
snmp-server location SW Location
|
||||
snmp-server community SOMe rw view Default
|
||||
ip http timeout-policy 86400
|
||||
clock timezone " " +1
|
||||
clock summer-time web recurring eu
|
||||
sntp server 198.51.100.1
|
||||
sntp server 198.51.100.2
|
||||
no sntp server time-a.timefreq.bldrdoc.gov
|
||||
no sntp server time-b.timefreq.bldrdoc.gov
|
||||
no sntp server time-c.timefreq.bldrdoc.gov
|
||||
ip telnet server
|
||||
!
|
||||
interface vlan 1
|
||||
name Vlan1
|
||||
ip address 198.51.100.3 255.255.255.0
|
||||
no ip address dhcp
|
||||
!
|
||||
interface vlan 5
|
||||
name Vlan5
|
||||
!
|
||||
interface vlan 7
|
||||
name Vlan7
|
||||
!
|
||||
interface vlan 852
|
||||
name Vlan852
|
||||
ip address 198.51.100.4 255.255.128.0
|
||||
!
|
||||
interface GigabitEthernet1/0/1
|
||||
description "3B10"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/2
|
||||
description "3A9"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/3
|
||||
description "3E2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/4
|
||||
description "3F1"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/5
|
||||
description "2A2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/6
|
||||
description "Lobby"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/11
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/12
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/13
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/14
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/15
|
||||
description "Dk"
|
||||
!
|
||||
interface GigabitEthernet1/0/16
|
||||
description "Dc"
|
||||
!
|
||||
interface GigabitEthernet1/0/17
|
||||
description "Dct"
|
||||
!
|
||||
interface GigabitEthernet1/0/18
|
||||
description "DPC"
|
||||
!
|
||||
interface GigabitEthernet1/0/19
|
||||
description "Dr"
|
||||
!
|
||||
interface GigabitEthernet1/0/20
|
||||
description "Dr"
|
||||
!
|
||||
interface GigabitEthernet1/0/21
|
||||
description "Dr"
|
||||
!
|
||||
interface GigabitEthernet1/0/25
|
||||
description "2B2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/26
|
||||
description "2E2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/27
|
||||
description "2F2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/28
|
||||
description "1A2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/29
|
||||
description "1B2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/30
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/31
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/32
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/33
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/34
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/35
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/36
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/37
|
||||
description "MP"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/38
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/39
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/40
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/41
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/42
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/43
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/44
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/45
|
||||
description "S2"
|
||||
!
|
||||
interface GigabitEthernet1/0/46
|
||||
description "Ce"
|
||||
!
|
||||
interface TengigabitEthernet1/0/1
|
||||
description "T1"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface TengigabitEthernet1/0/3
|
||||
description "T1"
|
||||
switchport mode trunk
|
||||
!
|
||||
interface TengigabitEthernet1/0/4
|
||||
description "T2"
|
||||
switchport mode trunk
|
||||
!
|
||||
exit
|
||||
macro auto disabled
|
||||
@@ -0,0 +1,548 @@
|
||||
config-file-header
|
||||
switch1
|
||||
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||
CLI v1.0
|
||||
file SSD indicator encrypted
|
||||
@
|
||||
ssd-control-start
|
||||
ssd config
|
||||
ssd file passphrase control unrestricted
|
||||
no ssd file integrity control
|
||||
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
|
||||
!
|
||||
!
|
||||
unit-type-control-start
|
||||
unit-type unit 1 network gi uplink te
|
||||
unit-type unit 2 network gi uplink te
|
||||
unit-type unit 3 network gi uplink te
|
||||
unit-type unit 4 network gi uplink te
|
||||
unit-type-control-end
|
||||
!
|
||||
spanning-tree mode mst
|
||||
port jumbo-frame
|
||||
vlan database
|
||||
vlan 5,7,852
|
||||
exit
|
||||
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||
voice vlan oui-table add 00096e Avaya___________________
|
||||
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||
errdisable recovery cause loopback-detection
|
||||
errdisable recovery cause port-security
|
||||
errdisable recovery cause dot1x-src-address
|
||||
errdisable recovery cause acl-deny
|
||||
errdisable recovery cause stp-bpdu-guard
|
||||
errdisable recovery cause stp-loopback-guard
|
||||
errdisable recovery cause udld
|
||||
errdisable recovery cause storm-control
|
||||
link-flap prevention disable
|
||||
no ip routing
|
||||
system resources vlan-mapping-entries 4
|
||||
bonjour interface range vlan 1
|
||||
hostname switch1
|
||||
line console
|
||||
exec-timeout 120
|
||||
exit
|
||||
line ssh
|
||||
exec-timeout 120
|
||||
exit
|
||||
line telnet
|
||||
exec-timeout 120
|
||||
exit
|
||||
no passwords complexity enable
|
||||
username admin password encrypted 00000000000000000000aaaaaaaaaaaaaaaaaaaa privilege 15
|
||||
username adm02 password encrypted aaaaaaaaaaaaaaaaaaaa00000000000000000000 privilege 15
|
||||
ip ssh server
|
||||
ip ssh password-auth
|
||||
ip ssh pubkey-auth auto-login
|
||||
snmp-server server
|
||||
snmp-server location SW Location
|
||||
snmp-server community SOMe rw view Default
|
||||
ip http timeout-policy 86400
|
||||
clock timezone " " +1
|
||||
clock summer-time web recurring eu
|
||||
sntp server 198.51.100.1
|
||||
sntp server 198.51.100.2
|
||||
no sntp server time-a.timefreq.bldrdoc.gov
|
||||
no sntp server time-b.timefreq.bldrdoc.gov
|
||||
no sntp server time-c.timefreq.bldrdoc.gov
|
||||
ip telnet server
|
||||
!
|
||||
interface vlan 1
|
||||
name Vlan1
|
||||
ip address 198.51.100.3 255.255.255.0
|
||||
no ip address dhcp
|
||||
!
|
||||
interface vlan 5
|
||||
name Vlan5
|
||||
!
|
||||
interface vlan 7
|
||||
name Vlan7
|
||||
!
|
||||
interface vlan 852
|
||||
name Vlan852
|
||||
ip address 198.51.100.4 255.255.128.0
|
||||
!
|
||||
interface GigabitEthernet1/0/1
|
||||
description "3B10"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/2
|
||||
description "3A9"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/3
|
||||
description "3E2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/4
|
||||
description "3F1"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/5
|
||||
description "2A2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/6
|
||||
description "Lobby"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/11
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/12
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/13
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/14
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/15
|
||||
description "Dk"
|
||||
!
|
||||
interface GigabitEthernet1/0/16
|
||||
description "Dc"
|
||||
!
|
||||
interface GigabitEthernet1/0/17
|
||||
description "Dct"
|
||||
!
|
||||
interface GigabitEthernet1/0/18
|
||||
description "DPC"
|
||||
!
|
||||
interface GigabitEthernet1/0/19
|
||||
description "Dr"
|
||||
!
|
||||
interface GigabitEthernet1/0/20
|
||||
description "Dr"
|
||||
!
|
||||
interface GigabitEthernet1/0/21
|
||||
description "Dr"
|
||||
!
|
||||
interface GigabitEthernet1/0/25
|
||||
description "2B2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/26
|
||||
description "2E2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/27
|
||||
description "2F2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/28
|
||||
description "1A2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/29
|
||||
description "1B2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/30
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/31
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/32
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/33
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/34
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/35
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/36
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/37
|
||||
description "MP"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/38
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/39
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/40
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/41
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/42
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/43
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/44
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/45
|
||||
description "S2"
|
||||
!
|
||||
interface GigabitEthernet1/0/46
|
||||
description "Ce"
|
||||
!
|
||||
interface TengigabitEthernet1/0/1
|
||||
description "T1"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface TengigabitEthernet1/0/3
|
||||
description "T1"
|
||||
switchport mode trunk
|
||||
!
|
||||
interface TengigabitEthernet1/0/4
|
||||
description "T2"
|
||||
switchport mode trunk
|
||||
!
|
||||
exit
|
||||
macro auto disabled
|
||||
encrypted ip ssh-client key rsa key-pair
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: RSA Private Key
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm222222222222222224=
|
||||
---- END SSH2 PRIVATE KEY ----
|
||||
---- BEGIN SSH2 PUBLIC KEY ----
|
||||
Comment: RSA Public Key
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAA
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted ip ssh-client key dsa key-pair
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: DSA Private Key
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAA=
|
||||
---- END SSH2 PRIVATE KEY ----
|
||||
---- BEGIN SSH2 PUBLIC KEY ----
|
||||
Comment: DSA Public Key
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAA=
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted crypto key import rsa
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: RSA Private Key
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAA=
|
||||
---- END SSH2 PRIVATE KEY ----
|
||||
---- BEGIN SSH2 PUBLIC KEY ----
|
||||
Comment: RSA Public Key
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAA=
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted crypto key import dsa
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: DSA Private Key
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAA=
|
||||
---- END SSH2 PRIVATE KEY ----
|
||||
---- BEGIN SSH2 PUBLIC KEY ----
|
||||
Comment: DSA Public Key
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAA=
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted crypto certificate 1 import
|
||||
-----BEGIN RSA ENCRYPTED PRIVATE KEY-----
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAA=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
-----BEGIN RSA PUBLIC KEY-----
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
-----END RSA PUBLIC KEY-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
-----END CERTIFICATE-----
|
||||
.
|
||||
encrypted crypto certificate 2 import
|
||||
-----BEGIN RSA ENCRYPTED PRIVATE KEY-----
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
-----END RSA PRIVATE KEY-----
|
||||
-----BEGIN RSA PUBLIC KEY-----
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
-----END RSA PUBLIC KEY-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
AAAAAAAAAAAAAAAAAAAAAAmmmmmmmmmmmmmmm22222222222222222444444444444eeee
|
||||
-----END CERTIFICATE-----
|
||||
.
|
||||
@@ -0,0 +1,30 @@
|
||||
|
||||
Clock is synchronized, stratum 3, reference is 198.51.100.1, unicast
|
||||
|
||||
Unicast servers:
|
||||
|
||||
Server : 198.51.100.2
|
||||
Source : Static
|
||||
Stratum : 255
|
||||
Status : down
|
||||
Last Response : 00:00:00.0 Jan 1 1900
|
||||
Offset : 0.0000000 mSec
|
||||
Delay : 0 mSec
|
||||
|
||||
Server : 198.51.100.1
|
||||
Source : Static
|
||||
Stratum : 3
|
||||
Status : up
|
||||
Last Response : 08:53:15.0 web Oct 16 2020
|
||||
Offset : 1404.8796860 mSec
|
||||
Delay : 0 mSec
|
||||
|
||||
|
||||
|
||||
Anycast server:
|
||||
|
||||
|
||||
|
||||
Broadcast:
|
||||
|
||||
|
||||
@@ -0,0 +1,264 @@
|
||||
config-file-header
|
||||
switch1
|
||||
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||
CLI v1.0
|
||||
file SSD indicator encrypted
|
||||
@
|
||||
ssd-control-start
|
||||
ssd config
|
||||
ssd file passphrase control unrestricted
|
||||
no ssd file integrity control
|
||||
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
|
||||
!
|
||||
!
|
||||
unit-type-control-start
|
||||
unit-type unit 1 network gi uplink te
|
||||
unit-type unit 2 network gi uplink te
|
||||
unit-type unit 3 network gi uplink te
|
||||
unit-type unit 4 network gi uplink te
|
||||
unit-type-control-end
|
||||
!
|
||||
spanning-tree mode mst
|
||||
port jumbo-frame
|
||||
vlan database
|
||||
vlan 5,7,852
|
||||
exit
|
||||
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||
voice vlan oui-table add 00096e Avaya___________________
|
||||
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||
errdisable recovery cause loopback-detection
|
||||
errdisable recovery cause port-security
|
||||
errdisable recovery cause dot1x-src-address
|
||||
errdisable recovery cause acl-deny
|
||||
errdisable recovery cause stp-bpdu-guard
|
||||
errdisable recovery cause stp-loopback-guard
|
||||
errdisable recovery cause udld
|
||||
errdisable recovery cause storm-control
|
||||
link-flap prevention disable
|
||||
no ip routing
|
||||
system resources vlan-mapping-entries 4
|
||||
bonjour interface range vlan 1
|
||||
hostname switch1
|
||||
line console
|
||||
exec-timeout 120
|
||||
exit
|
||||
line ssh
|
||||
exec-timeout 120
|
||||
exit
|
||||
line telnet
|
||||
exec-timeout 120
|
||||
exit
|
||||
no passwords complexity enable
|
||||
username admin password encrypted 00000000000000000000aaaaaaaaaaaaaaaaaaaa privilege 15
|
||||
username adm02 password encrypted aaaaaaaaaaaaaaaaaaaa00000000000000000000 privilege 15
|
||||
ip ssh server
|
||||
ip ssh password-auth
|
||||
ip ssh pubkey-auth auto-login
|
||||
snmp-server server
|
||||
snmp-server location SW Location
|
||||
snmp-server community SOMe rw view Default
|
||||
ip http timeout-policy 86400
|
||||
clock timezone " " +1
|
||||
clock summer-time web recurring eu
|
||||
sntp server 198.51.100.1
|
||||
sntp server 198.51.100.2
|
||||
no sntp server time-a.timefreq.bldrdoc.gov
|
||||
no sntp server time-b.timefreq.bldrdoc.gov
|
||||
no sntp server time-c.timefreq.bldrdoc.gov
|
||||
ip telnet server
|
||||
!
|
||||
interface vlan 1
|
||||
name Vlan1
|
||||
ip address 198.51.100.3 255.255.255.0
|
||||
no ip address dhcp
|
||||
!
|
||||
interface vlan 5
|
||||
name Vlan5
|
||||
!
|
||||
interface vlan 7
|
||||
name Vlan7
|
||||
!
|
||||
interface vlan 852
|
||||
name Vlan852
|
||||
ip address 198.51.100.4 255.255.128.0
|
||||
!
|
||||
interface GigabitEthernet1/0/1
|
||||
description "3B10"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/2
|
||||
description "3A9"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/3
|
||||
description "3E2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/4
|
||||
description "3F1"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/5
|
||||
description "2A2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/6
|
||||
description "Lobby"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/11
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/12
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/13
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/14
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/15
|
||||
description "Dk"
|
||||
!
|
||||
interface GigabitEthernet1/0/16
|
||||
description "Dc"
|
||||
!
|
||||
interface GigabitEthernet1/0/17
|
||||
description "Dct"
|
||||
!
|
||||
interface GigabitEthernet1/0/18
|
||||
description "DPC"
|
||||
!
|
||||
interface GigabitEthernet1/0/19
|
||||
description "Dr"
|
||||
!
|
||||
interface GigabitEthernet1/0/20
|
||||
description "Dr"
|
||||
!
|
||||
interface GigabitEthernet1/0/21
|
||||
description "Dr"
|
||||
!
|
||||
interface GigabitEthernet1/0/25
|
||||
description "2B2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/26
|
||||
description "2E2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/27
|
||||
description "2F2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/28
|
||||
description "1A2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/29
|
||||
description "1B2"
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/30
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/31
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/32
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/33
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/34
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/35
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/36
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/37
|
||||
description "MP"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk allowed vlan remove 2-4,6-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/38
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/39
|
||||
description "MV"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface GigabitEthernet1/0/40
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/41
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/42
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/43
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/44
|
||||
switchport access vlan 5
|
||||
!
|
||||
interface GigabitEthernet1/0/45
|
||||
description "S2"
|
||||
!
|
||||
interface GigabitEthernet1/0/46
|
||||
description "Ce"
|
||||
!
|
||||
interface TengigabitEthernet1/0/1
|
||||
description "T1"
|
||||
switchport mode trunk
|
||||
switchport access vlan 852
|
||||
switchport trunk native vlan 852
|
||||
switchport trunk allowed vlan remove 1-6,8-851,853-4094
|
||||
!
|
||||
interface TengigabitEthernet1/0/3
|
||||
description "T1"
|
||||
switchport mode trunk
|
||||
!
|
||||
interface TengigabitEthernet1/0/4
|
||||
description "T2"
|
||||
switchport mode trunk
|
||||
!
|
||||
exit
|
||||
macro auto disabled
|
||||
@@ -0,0 +1,21 @@
|
||||
System Description: SG350X-48P 48-Port Gigabit PoE Stackable Managed Switch
|
||||
System Up Time (days,hour:min:sec): 14,06:29:28
|
||||
System Contact:
|
||||
System Name: switch1
|
||||
System Location: SW location
|
||||
System MAC Address: 04:eb:40:e3:91:7f
|
||||
System Object ID: 1.3.6.1.4.1.9.6.1.94.48.5
|
||||
|
||||
Unit Type
|
||||
---- ----------------------
|
||||
1 SG350X-48P
|
||||
|
||||
|
||||
Unit Fans Status
|
||||
---- -------------------------------------
|
||||
1 FANs OK
|
||||
|
||||
Unit Temperature (Celsius) Status
|
||||
---- --------------------- ----------
|
||||
1 30 OK
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
Active-image: flash://system/images/image_tesla_hybrid_2.4.5.71_release_cisco_signed.bin
|
||||
Version: 2.4.5.71
|
||||
MD5 Digest: 2dff89efdb2a0ec2f9a2c414ff7d401c
|
||||
Date: 04-Nov-2018
|
||||
Time: 19:46:16
|
||||
Inactive-image: flash://system/images/image1.bin
|
||||
Version: 2.4.0.94
|
||||
MD5 Digest: 6f5be217100f34929986f2e93dd2d5e9
|
||||
Date: 31-May-2018
|
||||
Time: 02:39:58
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
Total number of entries: 2
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 202 10.0.3.1 00:15:17:27:9c:4d dynamic
|
||||
vlan 202 10.0.3.4 00:50:56:90:23:e8 dynamic
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
Name/address lookup is enabled
|
||||
Domain Timeout: 2 seconds
|
||||
Domain Retry: 1 times
|
||||
Domain Polling Interval: 8 seconds
|
||||
|
||||
|
||||
Default Domain Table
|
||||
|
||||
Domain Source Interface Preference
|
||||
-------------------------------------------- ------- --------- ----------
|
||||
Domain name is not configured
|
||||
|
||||
|
||||
Name Server Table
|
||||
|
||||
IP Address Source Interface Preference
|
||||
-------------------------------------------- ------- --------- ----------
|
||||
Name server is not configured
|
||||
|
||||
|
||||
Cache Table
|
||||
Flags: (STA/DYN, OK/NE/??)
|
||||
STA - Static, DYN - Dynamic
|
||||
OK - Okay, NE - Negative Cache, ?? - No Response
|
||||
|
||||
Remaining
|
||||
Host Addresses Type State TTL
|
||||
------------------------- ------------------------ ---- ------ ----------
|
||||
No hostname is mapped to an IP address
|
||||
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
Port Description
|
||||
------- -----------
|
||||
gi1/1/1
|
||||
gi1/1/2
|
||||
gi1/1/3
|
||||
gi1/1/4
|
||||
gi1/1/5
|
||||
gi1/1/6
|
||||
gi1/1/7
|
||||
gi1/1/8
|
||||
gi1/1/9
|
||||
gi1/1/10
|
||||
gi1/1/11
|
||||
gi1/1/12
|
||||
gi1/1/13
|
||||
gi1/1/14
|
||||
gi1/1/15
|
||||
gi1/1/16
|
||||
gi1/1/17
|
||||
gi1/1/18
|
||||
gi1/1/19
|
||||
gi1/1/20
|
||||
gi1/1/21
|
||||
gi1/1/22
|
||||
gi1/1/23
|
||||
gi1/1/24
|
||||
gi1/1/25
|
||||
gi1/1/26
|
||||
|
||||
Ch Description
|
||||
------- -----------
|
||||
Po1
|
||||
Po2
|
||||
Po3
|
||||
Po4
|
||||
Po5
|
||||
Po6
|
||||
Po7
|
||||
Po8
|
||||
Po9
|
||||
Po10
|
||||
Po11
|
||||
Po12
|
||||
Po13
|
||||
Po14
|
||||
Po15
|
||||
Po16
|
||||
Po17
|
||||
Po18
|
||||
Po19
|
||||
Po20
|
||||
Po21
|
||||
Po22
|
||||
Po23
|
||||
Po24
|
||||
Po25
|
||||
Po26
|
||||
Po27
|
||||
Po28
|
||||
Po29
|
||||
Po30
|
||||
Po31
|
||||
Po32
|
||||
@@ -0,0 +1,65 @@
|
||||
Flow Link Back Mdix
|
||||
Port Type Duplex Speed Neg ctrl State Pressure Mode
|
||||
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
|
||||
gi1/1/1 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/2 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/3 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/1/4 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/5 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/6 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/7 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/8 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/9 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/10 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/11 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/12 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/1/13 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/14 1G-Copper Full 1000 Enabled Off Up Disabled On
|
||||
gi1/1/15 1G-Copper Full 1000 Enabled Off Up Disabled On
|
||||
gi1/1/16 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/17 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/18 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/19 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/20 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/21 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/22 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/23 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/24 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/1/25 1G-Combo-C -- -- -- -- Down -- --
|
||||
gi1/1/26 1G-Combo-F Full 1000 Disabled Off Up Disabled Off
|
||||
|
||||
Flow Link
|
||||
Ch Type Duplex Speed Neg control State
|
||||
-------- ------- ------ ----- -------- ------- -----------
|
||||
Po1 -- -- -- -- -- Not Present
|
||||
Po2 -- -- -- -- -- Not Present
|
||||
Po3 -- -- -- -- -- Not Present
|
||||
Po4 -- -- -- -- -- Not Present
|
||||
Po5 -- -- -- -- -- Not Present
|
||||
Po6 -- -- -- -- -- Not Present
|
||||
Po7 -- -- -- -- -- Not Present
|
||||
Po8 -- -- -- -- -- Not Present
|
||||
Po9 -- -- -- -- -- Not Present
|
||||
Po10 -- -- -- -- -- Not Present
|
||||
Po11 -- -- -- -- -- Not Present
|
||||
Po12 -- -- -- -- -- Not Present
|
||||
Po13 -- -- -- -- -- Not Present
|
||||
Po14 -- -- -- -- -- Not Present
|
||||
Po15 -- -- -- -- -- Not Present
|
||||
Po16 -- -- -- -- -- Not Present
|
||||
Po17 -- -- -- -- -- Not Present
|
||||
Po18 -- -- -- -- -- Not Present
|
||||
Po19 -- -- -- -- -- Not Present
|
||||
Po20 -- -- -- -- -- Not Present
|
||||
Po21 -- -- -- -- -- Not Present
|
||||
Po22 -- -- -- -- -- Not Present
|
||||
Po23 -- -- -- -- -- Not Present
|
||||
Po24 -- -- -- -- -- Not Present
|
||||
Po25 -- -- -- -- -- Not Present
|
||||
Po26 -- -- -- -- -- Not Present
|
||||
Po27 -- -- -- -- -- Not Present
|
||||
Po28 -- -- -- -- -- Not Present
|
||||
Po29 -- -- -- -- -- Not Present
|
||||
Po30 -- -- -- -- -- Not Present
|
||||
Po31 -- -- -- -- -- Not Present
|
||||
Po32 -- -- -- -- -- Not Present
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
NAME: "1" DESCR: "SG500-28 28-Port Gigabit Stackable Managed Switch"
|
||||
PID: SG500-28-K9 VID: V02 SN: A1B2C3F4G5
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
IP Address I/F I/F Status Type Status
|
||||
admin/oper
|
||||
------------------- ---------- ------------- ----------- -----------
|
||||
10.0.3.5/8 vlan 202 UP/UP Static Valid
|
||||
|
||||
|
||||
Gateway IP Address Type
|
||||
----------------------- --------
|
||||
@@ -0,0 +1,6 @@
|
||||
Maximum Parallel Paths: 1 (1 after reset)
|
||||
IP Forwarding: disabled
|
||||
Codes: > - best, C - connected, S - static
|
||||
|
||||
|
||||
C 10.0.0.0/8 is directly connected,
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
Device ID: 0c:68:03:9c:39:c1
|
||||
Port ID: gi1/1/1
|
||||
Capabilities: Bridge
|
||||
System Name: switch1
|
||||
|
||||
|
||||
802.1 PVID: 488
|
||||
802.1 PPVID:
|
||||
802.1 VLAN:
|
||||
802.1 Protocol:
|
||||
@@ -0,0 +1,16 @@
|
||||
|
||||
Device ID: d8:84:66:ab:ba:de
|
||||
Port ID: ge.1.1
|
||||
Capabilities: Other
|
||||
System Name:
|
||||
System description:
|
||||
Port description:
|
||||
Time To Live: 95
|
||||
|
||||
|
||||
802.1 PVID: None
|
||||
802.1 PPVID:
|
||||
802.1 VLAN:
|
||||
802.1 Protocol:
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
|
||||
System capability legend:
|
||||
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
|
||||
D - DOCSIS Cable Device; H - Host; r - Repeater;
|
||||
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
|
||||
|
||||
Port Device ID Port ID System Name Capabilities TTL
|
||||
--------- ----------------- ------------- ----------------- ------------ -----
|
||||
gi1/1/3 00:23:24:02:66:e4 00:23:24:02:6 pc123.cli H 118
|
||||
6:e4 ents.test.net
|
||||
gi1/1/14 dc:4a:3e:53:fd:af dc:4a:3e:53:f O 3255
|
||||
d:af
|
||||
gi1/1/26 d8:84:66:ab:ba:cd ge.1.1 O 114
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
Jumbo frames are disabled
|
||||
Jumbo frames will be disabled after reset
|
||||
@@ -0,0 +1,154 @@
|
||||
config-file-header
|
||||
switch1
|
||||
v1.3.5.58 / R750_NIK_1_35_647_358
|
||||
CLI v1.0
|
||||
set system mode switch queues-mode 4
|
||||
|
||||
file SSD indicator encrypted
|
||||
@
|
||||
ssd-control-start
|
||||
ssd config
|
||||
ssd file passphrase control unrestricted
|
||||
no ssd file integrity control
|
||||
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
|
||||
!
|
||||
vlan database
|
||||
vlan 10,20,30
|
||||
exit
|
||||
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||
voice vlan oui-table add 00096e Avaya___________________
|
||||
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||
hostname switch1
|
||||
username cisco password encrypted dddd5d7b474d2c78ebbb833789c4bfd721edf4bf privilege 15
|
||||
ip ssh server
|
||||
ip ssh password-auth
|
||||
snmp-server server
|
||||
snmp-server community findit ro view Default
|
||||
!
|
||||
interface vlan 10
|
||||
ip address 10.0.3.5 255.0.0.0
|
||||
!
|
||||
interface gigabitethernet1/1/1
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/2
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/3
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/4
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/5
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/6
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/7
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/8
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/9
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/10
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/11
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/12
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/13
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/14
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/15
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/16
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/17
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/18
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/19
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/20
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/21
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/22
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/23
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/24
|
||||
switchport mode access
|
||||
switchport access vlan 30
|
||||
!
|
||||
interface gigabitethernet1/1/25
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/26
|
||||
spanning-tree disable
|
||||
spanning-tree link-type point-to-point
|
||||
switchport trunk allowed vlan add 10,30
|
||||
switchport trunk native vlan 20
|
||||
macro description switch
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type switch
|
||||
!
|
||||
interface gigabitethernet1/1/27
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/28
|
||||
spanning-tree disable
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
exit
|
||||
@@ -0,0 +1,45 @@
|
||||
|
||||
Clock is unsynchronized
|
||||
|
||||
Unicast servers:
|
||||
|
||||
Server : 192.168.186.1
|
||||
Source : Static
|
||||
Stratum : 255
|
||||
Status : unknown
|
||||
Last Response : 00:00:00.0 Jan 1 1900
|
||||
Offset : 0.0000000 mSec
|
||||
Delay : 0 mSec
|
||||
|
||||
Server : 192.168.186.2
|
||||
Source : Static
|
||||
Stratum : 255
|
||||
Status : unknown
|
||||
Last Response : 00:00:00.0 Jan 1 1900
|
||||
Offset : 0.0000000 mSec
|
||||
Delay : 0 mSec
|
||||
|
||||
Server : 192.168.186.3
|
||||
Source : Static
|
||||
Stratum : 255
|
||||
Status : unknown
|
||||
Last Response : 00:00:00.0 Jan 1 1900
|
||||
Offset : 0.0000000 mSec
|
||||
Delay : 0 mSec
|
||||
|
||||
Server : 192.168.186.4
|
||||
Source : Static
|
||||
Stratum : 255
|
||||
Status : unknown
|
||||
Last Response : 00:00:00.0 Jan 1 1900
|
||||
Offset : 0.0000000 mSec
|
||||
Delay : 0 mSec
|
||||
|
||||
|
||||
|
||||
Anycast server:
|
||||
|
||||
|
||||
|
||||
Broadcast:
|
||||
|
||||
@@ -0,0 +1,154 @@
|
||||
config-file-header
|
||||
switch1
|
||||
v1.3.5.58 / R750_NIK_1_35_647_358
|
||||
CLI v1.0
|
||||
set system mode switch queues-mode 4
|
||||
|
||||
file SSD indicator encrypted
|
||||
@
|
||||
ssd-control-start
|
||||
ssd config
|
||||
ssd file passphrase control unrestricted
|
||||
no ssd file integrity control
|
||||
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
|
||||
!
|
||||
vlan database
|
||||
vlan 10,20,30
|
||||
exit
|
||||
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||
voice vlan oui-table add 00096e Avaya___________________
|
||||
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||
hostname switch1
|
||||
username cisco password encrypted dddd5d7b474d2c78ebbb833789c4bfd721edf4bf privilege 15
|
||||
ip ssh server
|
||||
ip ssh password-auth
|
||||
snmp-server server
|
||||
snmp-server community findit ro view Default
|
||||
!
|
||||
interface vlan 10
|
||||
ip address 10.0.3.5 255.0.0.0
|
||||
!
|
||||
interface gigabitethernet1/1/1
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/2
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/3
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/4
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/5
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/6
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/7
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/8
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/9
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/10
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/11
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/12
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/13
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/14
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/15
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/16
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/17
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/18
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/19
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/20
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/21
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/22
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/23
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/24
|
||||
switchport mode access
|
||||
switchport access vlan 30
|
||||
!
|
||||
interface gigabitethernet1/1/25
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/26
|
||||
spanning-tree disable
|
||||
spanning-tree link-type point-to-point
|
||||
switchport trunk allowed vlan add 10,30
|
||||
switchport trunk native vlan 20
|
||||
macro description switch
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type switch
|
||||
!
|
||||
interface gigabitethernet1/1/27
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
interface gigabitethernet1/1/28
|
||||
spanning-tree disable
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
!
|
||||
exit
|
||||
@@ -0,0 +1,18 @@
|
||||
|
||||
Unit Type
|
||||
---- ----------------------
|
||||
1 SG500-28
|
||||
|
||||
Unit FAN
|
||||
Status
|
||||
---- ---------
|
||||
1 N/A
|
||||
|
||||
Unit Temperature (Celsius) Temperature Sensor Status
|
||||
---- ------------------------- -------------------------
|
||||
1 N/A
|
||||
|
||||
|
||||
Unit Up time
|
||||
---- ---------------
|
||||
1 00,00:21:27
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
Unit SW version Boot version HW version
|
||||
------------------- ------------------- ------------------- -------------------
|
||||
1 1.4.11.5 1.3.5.06 V02
|
||||
@@ -0,0 +1,18 @@
|
||||
|
||||
Total number of entries: 10
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 1 te1/0/4 192.168.0.1 ab:00:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.2 ab:c7:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.65 ab:ea:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.73 ab:ea:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.40 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.44 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 192.168.0.4 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.49 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.2 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 192.168.0.142 ab:50:ef:12:34:56 dynamic
|
||||
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
Name/address lookup is enabled
|
||||
Domain Timeout: 2 seconds
|
||||
Domain Retry: 1 times
|
||||
Domain Polling Interval: 8 seconds
|
||||
|
||||
|
||||
Default Domain Table
|
||||
|
||||
Domain Source Interface Preference
|
||||
-------------------------------------------- ------- --------- ----------
|
||||
Domain name is not configured
|
||||
|
||||
|
||||
Name Server Table
|
||||
|
||||
IP Address Source Interface Preference
|
||||
-------------------------------------------- ------- --------- ----------
|
||||
192.168.0.2 static 1
|
||||
192.168.0.40 static 2
|
||||
|
||||
|
||||
Cache Table
|
||||
Flags: (STA/DYN, OK/NE/??)
|
||||
STA - Static, DYN - Dynamic
|
||||
OK - Okay, NE - Negative Cache, ?? - No Response
|
||||
|
||||
Remaining
|
||||
Host Addresses Type State TTL
|
||||
------------------------- ------------------------ ---- ------ ----------
|
||||
tftp 192.168.0.2 IPv4 STA,OK
|
||||
ntp.example.net 192.168.0.2 IPv4 DYN,OK 0022:36:09
|
||||
ntp.example.net no resolution IPv6 DYN,??
|
||||
ntp.example.net 192.168.0.45 IPv4 DYN,OK 0022:36:09
|
||||
ntp.example.net no resolution IPv6 DYN,??
|
||||
pingu.example.net 192.168.0.2 IPv4 DYN,OK 0022:36:09
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
Port Description
|
||||
------- -----------
|
||||
gi1/0/1 AP ap-cb-sklad-x
|
||||
gi1/0/2 AP ap-cb-sklad-x
|
||||
gi1/0/3 AP ap-cb-sklad-x
|
||||
gi1/0/4
|
||||
gi1/0/5
|
||||
gi1/0/6
|
||||
gi1/0/7
|
||||
gi1/0/8
|
||||
gi1/0/9
|
||||
gi1/0/10
|
||||
gi1/0/11
|
||||
gi1/0/12
|
||||
gi1/0/13
|
||||
gi1/0/14
|
||||
gi1/0/15
|
||||
gi1/0/16
|
||||
gi1/0/17
|
||||
gi1/0/18
|
||||
gi1/0/19
|
||||
gi1/0/20
|
||||
gi1/0/21
|
||||
gi1/0/22
|
||||
gi1/0/23
|
||||
gi1/0/24
|
||||
te1/0/1 SW switch-c
|
||||
te1/0/2
|
||||
te1/0/3
|
||||
te1/0/4 SW switch-c
|
||||
|
||||
Ch Description
|
||||
------- -----------
|
||||
Po1
|
||||
Po2
|
||||
Po3
|
||||
Po4
|
||||
Po5
|
||||
Po6
|
||||
Po7
|
||||
Po8
|
||||
Po9
|
||||
Po10
|
||||
Po11
|
||||
Po12
|
||||
Po13
|
||||
Po14
|
||||
Po15
|
||||
Po16
|
||||
Po17
|
||||
Po18
|
||||
Po19
|
||||
Po20
|
||||
Po21
|
||||
Po22
|
||||
Po23
|
||||
Po24
|
||||
Po25
|
||||
Po26
|
||||
Po27
|
||||
Po28
|
||||
Po29
|
||||
Po30
|
||||
Po31
|
||||
Po32
|
||||
@@ -0,0 +1,67 @@
|
||||
Flow Link Back Mdix
|
||||
Port Type Duplex Speed Neg ctrl State Pressure Mode
|
||||
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
|
||||
gi1/0/1 1G-Copper Full 1000 Enabled Off Up Disabled On
|
||||
gi1/0/2 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/3 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/4 1G-Copper Full 1000 Enabled Off Up Disabled On
|
||||
gi1/0/5 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/6 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/7 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/8 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/9 1G-Copper Full 100 Enabled Off Up Disabled Off
|
||||
gi1/0/10 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/11 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/12 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/13 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/14 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/15 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/16 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/17 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/18 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||
gi1/0/19 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/20 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||
gi1/0/21 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/22 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/23 1G-Copper -- -- -- -- Down -- --
|
||||
gi1/0/24 1G-Copper -- -- -- -- Down -- --
|
||||
te1/0/1 10G-Combo-C Full 1000 Enabled Off Up Disabled On
|
||||
te1/0/2 10G-Combo-C -- -- -- -- Down -- --
|
||||
te1/0/3 10G-Fiber -- -- -- -- Down -- --
|
||||
te1/0/4 10G-Fiber Full 1000 Disabled Off Up Disabled Off
|
||||
|
||||
Flow Link
|
||||
Ch Type Duplex Speed Neg control State
|
||||
-------- ------- ------ ----- -------- ------- -----------
|
||||
Po1 -- -- -- -- -- Not Present
|
||||
Po2 -- -- -- -- -- Not Present
|
||||
Po3 -- -- -- -- -- Not Present
|
||||
Po4 -- -- -- -- -- Not Present
|
||||
Po5 -- -- -- -- -- Not Present
|
||||
Po6 -- -- -- -- -- Not Present
|
||||
Po7 -- -- -- -- -- Not Present
|
||||
Po8 -- -- -- -- -- Not Present
|
||||
Po9 -- -- -- -- -- Not Present
|
||||
Po10 -- -- -- -- -- Not Present
|
||||
Po11 -- -- -- -- -- Not Present
|
||||
Po12 -- -- -- -- -- Not Present
|
||||
Po13 -- -- -- -- -- Not Present
|
||||
Po14 -- -- -- -- -- Not Present
|
||||
Po15 -- -- -- -- -- Not Present
|
||||
Po16 -- -- -- -- -- Not Present
|
||||
Po17 -- -- -- -- -- Not Present
|
||||
Po18 -- -- -- -- -- Not Present
|
||||
Po19 -- -- -- -- -- Not Present
|
||||
Po20 -- -- -- -- -- Not Present
|
||||
Po21 -- -- -- -- -- Not Present
|
||||
Po22 -- -- -- -- -- Not Present
|
||||
Po23 -- -- -- -- -- Not Present
|
||||
Po24 -- -- -- -- -- Not Present
|
||||
Po25 -- -- -- -- -- Not Present
|
||||
Po26 -- -- -- -- -- Not Present
|
||||
Po27 -- -- -- -- -- Not Present
|
||||
Po28 -- -- -- -- -- Not Present
|
||||
Po29 -- -- -- -- -- Not Present
|
||||
Po30 -- -- -- -- -- Not Present
|
||||
Po31 -- -- -- -- -- Not Present
|
||||
Po32 -- -- -- -- -- Not Present
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
NAME: "1" DESCR: "SG550X-24MP 24-Port Gigabit PoE Stackable Managed Switch"
|
||||
PID: SG550X-24MP-K9 VID: V02 SN: SOME123456SN
|
||||
|
||||
|
||||
NAME: "TengigabitEthernet1/0/4" DESCR: "SFP-1000Base-SX"
|
||||
PID: SFP-1000-SX VID: Information Unavailable SN: SOME123456SN
|
||||
|
||||
|
||||
NAME: "1" DESCR: "SG550X-24MP 24-Port Gigabit PoE Stackable Managed Switch"
|
||||
PID: SG550X-24MP-K9 VID: V02 SN: SOME123456SN
|
||||
|
||||
|
||||
NAME: "TengigabitEthernet1/0/4" DESCR: "SFP-1000Base-SX"
|
||||
PID: SFP-1000-SX VID: Information Unavailable SN: SOME123456SN
|
||||
|
||||
switch-c#
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
|
||||
IP Address I/F I/F Status Type Directed Prec Redirect Status
|
||||
admin/oper Broadcast
|
||||
------------------ --------- ---------- ------- --------- ---- -------- ------
|
||||
192.168.0.37/17 vlan 1 UP/UP Static disable No enable Valid
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
Maximum Parallel Paths: 1 (1 after reset)
|
||||
IP Forwarding: enabled
|
||||
Codes: > - best, C - connected, S - static,
|
||||
R - RIP
|
||||
|
||||
|
||||
S 192.168.0.0/0 [1/4] via 192.168.0.1, 589:39:52, vlan 1
|
||||
C 192.168.0.0/17 is directly connected, vlan 1
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
|
||||
Device ID: 12:34:56:ab:cb:ef
|
||||
Port ID: gi1/0/1
|
||||
Capabilities: Bridge, Router
|
||||
System Name: switch-c
|
||||
Management address: 192.168.0.37
|
||||
Management address: fe80::abef:e8ff:3456:c2c3%vlan1
|
||||
|
||||
802.3 Power Via Mdi:
|
||||
MDI Power support Port Class: PSE
|
||||
PSE MDI Power Support: Supported
|
||||
PSE MDI Power State: Enabled
|
||||
PSE power pair control ability: Not supported
|
||||
PSE Power Pair: Spare
|
||||
PSE Power class: 4
|
||||
Power Type: Type 2 PSE
|
||||
Power Source: Primary Power Source
|
||||
Power Priority: low
|
||||
PSE Allocated Power Value: 12.3
|
||||
|
||||
4-Pair POE supported: Yes
|
||||
Spare Pair Detection/Classification required: No
|
||||
PD Spare Pair Desired State: Disabled
|
||||
|
||||
802.3 EEE:
|
||||
|
||||
Local Tx: 17 uSec
|
||||
Local Rx: 17 uSec
|
||||
Local Tx Echo: 17 uSec
|
||||
Local Rx Echo: 17 uSec
|
||||
|
||||
|
||||
802.1 PVID: 1
|
||||
802.1 PPVID:
|
||||
802.1 VLAN:
|
||||
802.1 Protocol:
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
|
||||
System capability legend:
|
||||
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
|
||||
D - DOCSIS Cable Device; H - Host; r - Repeater;
|
||||
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
|
||||
|
||||
Port Device ID Port ID System Name Capabilities TTL
|
||||
--------- ----------------- ----------------- ----------------- ------------ -----
|
||||
gi1/0/1 ab:b8:ef:12:34:56 ab:b8:ef:12:34:56 ab:b8:ef:12:34:56 W 94
|
||||
gi1/0/2 ab:48:ef:12:34:56 ab:48:ef:12:34:56 IAP207-staffroom W 113
|
||||
gi1/0/3 ab:b5:ef:12:34:56 ab:b5:ef:12:34:56 ab:b5:ef:12:34:56 W 114
|
||||
gi1/0/4 ab:48:ef:12:34:56 ab:48:ef:12:34:56 ab:48:ef:12:34:56 W 104
|
||||
te1/0/1 12:34:56:ab:cd:ef gi1/0/1 switch-c B, R 99
|
||||
te1/0/4 ab:a5:ef:12:34:56 Gi1/0/26 switch-c.cb.madet B 91
|
||||
a.cz
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
Device ID: ab:a5:ef:12:34:56
|
||||
Port ID: Gi1/0/26
|
||||
Capabilities: Bridge
|
||||
System Name: switch-c.example.net
|
||||
System description: Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(6)E, RELEASE SOFTWARE (fc4)
|
||||
Technical Support: http://www.cisco.com/techsupport
|
||||
Copyrig
|
||||
Port description: SW switch-c
|
||||
Management Address: 192.168.0.38
|
||||
Time To Live: 118
|
||||
|
||||
|
||||
802.1 PVID: 1
|
||||
802.1 PPVID:
|
||||
802.1 VLAN:
|
||||
802.1 Protocol:
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
Jumbo frames are enabled
|
||||
Jumbo frames will be enabled after reset
|
||||
|
||||
@@ -0,0 +1,372 @@
|
||||
config-file-header
|
||||
switch-c
|
||||
v192.168.0.71 / RTESLA2.4.5_930_181_144
|
||||
CLI v1.0
|
||||
file SSD indicator encrypted
|
||||
@
|
||||
ssd-control-start
|
||||
ssd config
|
||||
ssd file passphrase control unrestricted
|
||||
no ssd file integrity control
|
||||
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
|
||||
!
|
||||
!
|
||||
unit-type-control-start
|
||||
unit-type unit 1 network gi uplink te
|
||||
unit-type unit 2 network gi uplink te
|
||||
unit-type unit 3 network gi uplink te
|
||||
unit-type unit 4 network gi uplink te
|
||||
unit-type unit 5 network gi uplink te
|
||||
unit-type unit 6 network gi uplink te
|
||||
unit-type unit 7 network gi uplink te
|
||||
unit-type unit 8 network gi uplink te
|
||||
unit-type-control-end
|
||||
!
|
||||
cdp device-id format hostname
|
||||
spanning-tree mode mst
|
||||
port jumbo-frame
|
||||
vlan database
|
||||
vlan 7-8,30-31,100,910,920,999
|
||||
exit
|
||||
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||
voice vlan oui-table add 00096e Avaya___________________
|
||||
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||
lldp chassis-id host-name
|
||||
errdisable recovery cause loopback-detection
|
||||
errdisable recovery cause port-security
|
||||
errdisable recovery cause stp-bpdu-guard
|
||||
errdisable recovery cause stp-loopback-guard
|
||||
link-flap prevention disable
|
||||
bonjour interface range vlan 1
|
||||
ip access-list extended VTY-IN
|
||||
permit ip 192.168.0.0 192.168.0.255 any ace-priority 20
|
||||
exit
|
||||
hostname switch-c
|
||||
line console
|
||||
exec-timeout 60
|
||||
exit
|
||||
line ssh
|
||||
exec-timeout 60
|
||||
exit
|
||||
line telnet
|
||||
exec-timeout 60
|
||||
exit
|
||||
logging host 192.168.0.2
|
||||
logging host 192.168.0.3
|
||||
logging host 192.168.0.4
|
||||
enable password level 15 encrypted <remove>
|
||||
no passwords complexity enable
|
||||
passwords aging 0
|
||||
username adm1 password encrypted <remove> 15
|
||||
username adm2 password encrypted <remove> 7
|
||||
ip ssh server
|
||||
ip ssh password-auth
|
||||
ip ssh pubkey-auth
|
||||
crypto key pubkey-chain ssh
|
||||
user-key adm2 rsa
|
||||
key-string row 2222B1Nz2C1yc1E2222BIw222QE2rgMdfpc1NU1L
|
||||
key-string row 1gO1hqlcOK2KNviXk1D11Z1dmG+jDwIK1g1BQGlB
|
||||
key-string row 2jfbRWpZEyUBX+ckWb2wgBBBs211bfRQDtU1sg2v
|
||||
key-string row VefEkyDGNlWj+qEIiCm/DSZurzWPgtdS
|
||||
key-string row Og11q1uH/1nKPR12gfJyN11o11nYZjclVSXW+VS1
|
||||
key-string row 1b1cRHP1L+n1lqkKHs1u+T11zwEHWO1yWQ/dirg1
|
||||
key-string row 11kUSOgv11lj1UwqeSxBDGWVb1Qd211+oTfMZRDF
|
||||
key-string row 1NxezpW/yE1CVMNQ/rFu11mcooyXLH1OnMyls1Cv
|
||||
key-string row huhqDjqUgeoGhRKerVkCh1OHrQc11YxIINJVB1mV
|
||||
key-string row SWtO1EiL1pTczbwxGw==
|
||||
exit
|
||||
exit
|
||||
snmp-server server
|
||||
snmp-server location some place
|
||||
snmp-server community example rw view Default
|
||||
snmp-server host 192.168.0.3 traps version 1 example
|
||||
snmp-server host 192.168.0.2 traps version 1 example
|
||||
ip https certificate 2
|
||||
clock timezone CET +1
|
||||
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||
sntp server ntpserver.example.net
|
||||
sntp server ntpserver.example.net
|
||||
no sntp server ntpserver.example.net
|
||||
ip name-server dnsserver.example.net
|
||||
ip host tftp 192.168.0.2
|
||||
ip telnet server
|
||||
!
|
||||
interface vlan 1
|
||||
ip address 192.168.0.27 192.168.0.0
|
||||
no ip address dhcp
|
||||
!
|
||||
interface vlan 7
|
||||
name vlan_example1
|
||||
!
|
||||
interface vlan 8
|
||||
name vlan_example2
|
||||
!
|
||||
interface vlan 30
|
||||
name vlan_example3
|
||||
!
|
||||
interface vlan 31
|
||||
name vlan_example4
|
||||
!
|
||||
interface vlan 100
|
||||
name vlan_example5
|
||||
!
|
||||
interface vlan 910
|
||||
name vlan_example6
|
||||
!
|
||||
interface vlan 920
|
||||
name vlan_example7
|
||||
!
|
||||
interface vlan 999
|
||||
name vlan_example8
|
||||
!
|
||||
interface GigabitEthernet1/0/1
|
||||
description "some description"
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description ap
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type ap
|
||||
!
|
||||
interface GigabitEthernet1/0/2
|
||||
description "some description"
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description ap
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type ap
|
||||
!
|
||||
interface GigabitEthernet1/0/3
|
||||
description "some description"
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description ap
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type ap
|
||||
!
|
||||
interface GigabitEthernet1/0/4
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description ap
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type ap
|
||||
!
|
||||
interface GigabitEthernet1/0/6
|
||||
speed 100
|
||||
!
|
||||
interface GigabitEthernet1/0/24
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description switch
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type switch
|
||||
!
|
||||
interface TengigabitEthernet1/0/1
|
||||
description "some description"
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description switch
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type switch
|
||||
!
|
||||
interface TengigabitEthernet1/0/4
|
||||
description "some description"
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description switch
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type switch
|
||||
!
|
||||
exit
|
||||
ip default-gateway 192.168.0.1
|
||||
encrypted ip ssh-client key rsa key-pair
|
||||
---- BEGIN SSH2 ENCRYPTED PRI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aaaaa1aaaaaaaaaaa11aaaaaaaaa1aa1aaaaa1aa
|
||||
aa1aaaaaa+aaa1aa/a1aaaaaaaaaaaaaaaaa1aaaaaaaaaaaa1aaaa1aaaaa1/aaa1aaaa
|
||||
aaaaaaaaaaaaaaaaaaaaaaa1aaaaaaaaa/a1aaa1aaaaaa1a1aaaaaaaaaa1==
|
||||
---- END SSH2 PRIVATE KEY ----
|
||||
---- BEGIN SSH2 PUBLIC KEY ----
|
||||
Comment: RSA Public Key
|
||||
aaaaa1aaaa1aa1aaaaaaaaaaaaaaaaaaaa/a1aaaaaa+aaaaaaaaaaa/aaaaaa1aaaaaaa
|
||||
aa1a1aaaa1aaaaaaaaaaaaaaa1a1/aaaaaaa1a+1aa1aaaaaaa1a1aa1aaaaa1aaaa1aaa
|
||||
aaaaaaaaaa1aaaaaaaa/a1+1aaaa11aa1aaaaaaaaaaaa1aaa1aaaaaaaaaaaa==
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted ip ssh-client key dsa key-pair
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: DSA Private Key
|
||||
a+aaaaaaaa1aaaaaaaaaaaaaaa1aaaa1aaa1a1aaa1aaaaaaa1a1aaaaaaaa1aa1aaaaaa
|
||||
aaaa1aaaaa11aaaa1aaaaaaaa+aaaa1aaa11aa1aa1aaaaa1aaaaa/a1aaaa1aaaaaaaaa
|
||||
aaaaa1aaaaa1aaaaaaa1aaaa+aaaaaaaaaaaaa11aaaaaaaaa1aaa1a11aaaa1aaaaa1/a
|
||||
aaaaaaaa111111aa/aaaaaa1aaa11aaaa+aaa
|
||||
aaaa1a1aaa1aaaaaaaaaaaaaaa1a1aaaaaa11aaaaaaaaaa/aaa1a111aaaaaaaaaaaaaa
|
||||
aa+aaaaaaa1aaaaa1a/aa1aaa1aaaaaaaa1+aaa+aaaaaa1a+11a1aa1aaaa/aaaaaaaaa
|
||||
aaaaaaaaaaaaaa1aaaaaaaaa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aaaaa1aaaa1aa1aaaaaaaaaaaa111aaaaaaaaaaaa11+a1aaaaaaa1aaaaaa1a
|
||||
aa1aaaaa1a111a/aaa==
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted crypto key import rsa
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: RSA Private Key
|
||||
aaaaaa+aaaaaa1aaa1aaa1aaaaaaaaa+a1aaaa+aaa1+1aaaaaaaaaaa1aaaaaaa1a11aa
|
||||
aaaaaaa/aaa1aaaaaaaaaaaaaaaaa1aaaaaaaaa1aaaaaaa+1aaaaaaaaaaaaaaa/aaaaa
|
||||
1aaa1aaaa1aa1aaaaaa1aaaa1aaaa/aa1aa1aaa1aaaaaa1aaaaaaa11a1aaaaaa1aaa1a
|
||||
a1aaaaaaaaaaaaaaaaaaaaaaaaa+aaaaaaaaaaaaaaa1aaaa1a1a1aaaa111aaaaa1aaa1
|
||||
a+a1a11aaaaaa11/11aaa1a1aaaaaaaaaaaaaaa1aaaaa+a1aaaaaaa/a111aaaaaaaaaa
|
||||
a/aa1aaaaaaaaaaaaaaaa1a1aaaaaaaaaaaaaaaaa1aaaaaaaaaaaaa1aaaa/aa1aaaa1a
|
||||
aa1aa+aaaaa11aaa11a11aaa/aaaaaaaaaaaaa1aaaa1a1aaaaaaaaa+a1aaaa1aa1aaaa
|
||||
aa1aa1aaaaaaaaaa1aaaa+aaaaaaaaaaa1a1aaaaaaaaa1aaa1aaaaaaaaa1aaa1aaaaaa
|
||||
aa1aa1aaa1aaaaaaaaaaaaa1a1aaaaaaa1aa1a1a1aaaaaa1aaaaaaaaaaaa+aaaa1aaaa
|
||||
aa11a1aa/aaaaaaaaaaaaaaaaaaaaaaaaaa11a11aaaaa+aaaa1a1aa+11aaa1aaaa1aaa
|
||||
1aaa1+aaaa/aaaaaa1aaaaaaaaaaa/a111a1aaaaa/aaaaa1a1aaaaa1a11aaa1aaa1aaa
|
||||
a1aaaaaaaaaa1aaaaa1aa/aaaa+aaaa1aaa1aaa1a1a1aa1aaa+aaaaaaaaaaa1aaaaaa1
|
||||
1aaa1aa1aaaaaa1aaaaa1aaaa1+aaaaa1aaaa1aaaaaaaa1aaaaaaa1aaaa//a1aaaaaaa
|
||||
1aaaaaaa1aaa111aa1aaaa1aaaaaaaaaaaaaaaaaa1aaa1aa11aaaa1a/a1aaaa1aaa+aa
|
||||
1+aaa/a/aa+aaaaaaaa1aaaaaaaaaaaaa1aaaaaaaaa+1aaa1aaaaaaaaaa1aaaaaaaaaa
|
||||
aaaaaaaaaaa1aaaaaaaaaaaaa11aaaaaaa1aaaa/aaa1aa1aaaaaaa1a/a1a==
|
||||
---- END SSH2 PRIVATE KEY ----
|
||||
---- BEGIN SSH2 PUBLIC KEY ----
|
||||
Comment: RSA Public Key
|
||||
aaaaa1aaaa1aa1aaaaaaaaaaaaaaaaaaaaaaa1a1aaaaaaaaa111aaaaaaaaaaaaaaaaaa
|
||||
aaaaa1aaaaa/aaaaaaaa1aa1aaa11a/aaaaa1aaaa1aaa1aaaaaa1aa1aaaaaaa1aa+a1a
|
||||
aaa1aaaaaaaaaaa1a1aaaa1a1aaa+aaaaaaa11a1111a1aaa11aaaaa1aa1/aa==
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted crypto key import dsa
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: DSA Private Key
|
||||
aaa1aaaa/aaaaaaaaaaaa+111aaaaaaaaaa1aaaaaaaa1aa+aaaaaaaaaaaaaaaaaa1aaa
|
||||
aaaaaaaaa1aaaaaaa1aaaaaaa1aaaa1aaaaa1a/aaaaaaaaaaaa1aaaaaaaaaaa+a1aaaa
|
||||
aaaaaaaa1a1+a/aaaaaaaaaaaa1a1aaaaaaaaaaaaa1a+a1aaa1aaa111aa1aaaaaa/aaa
|
||||
aa1aaa1aa1aaaaaaaaaa1a1aaa11a/aaaa1+a1aaa+aa1aaa1a1aaaa1aaaa+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aaa1aa1aaaaaa1aa
|
||||
aaa1a1aaaaa1aaaaaaaaaa1aaaaaaaaaaaaa111111aa
|
||||
1aaaaaaaaaaa1a1aaaa1aaa1aaaaaa+aaaaaaaaa1a1aaaaa1aaa1aaaaaaaaaa/1a1aaa
|
||||
aaaaaaaaa1aaaaa1aaa1a1aaaaaaaa1aaaaaaaa1aa11aaaaaaaaaaa1aa+11aaaa1aaaa
|
||||
aaaaa1aaaaaaaa11a1a=
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted crypto certificate 2 import
|
||||
-----BEGIN RSA ENCRYPTED PRIVATE KEY-----
|
||||
aaaaaaaaaaa111aaaaaa1aaa1aaaaaaaaa1aaaa1aaaaa1aa11a11aaa1aaaaaa1aaaaaa
|
||||
1aaaaaaaaaaaa11aaaaa1aaaaaa1aaaaaaaaaaa1aa11aaaaaaaaaaaaaaaaa1aaaaaaa1
|
||||
/aaaaa1aa+a11aaa1aaa/aaaaa1aaaaaaaaaaa1a1aaaaaaaa+a1a1a1a1aaaaaaaaaaaa
|
||||
aaaaaaaaa1aaa1aaaaaa11aaaaaaaa1aaaaaaaaaaaa1+aaa1a1aaaaaaaaaaa1aaa1aaa
|
||||
aa1+aaaaaa1aaa1aaaaaaaaaaa1aaaaa1aaaaaa11aaaaaaaaa1aaaaaaaaaaaaaaaaaaa
|
||||
aaaa1a1aaaaaaaaaaaaaa1aaaaaaaaa1aaaaaaaaaa1aaaaaaaa1+aaaaaa1aa1aaaaaaa
|
||||
+a1a+1aaaaaaaa1aaa1a1a11aaa1aaa1a11aa/a1aaaaaaaaa/1aaaaaaa1111aaaa+aa1
|
||||
aaaaa11aaaaa1aaaa1aaaaaaaaaaaaaaaaaa111aaaaaaaa1a1aaaa1a11aaaa1aaa+a/a
|
||||
aaa1aaaa1a11aaaaaaaaaaaaa11aa1a11aaaaa1aa+aaaaaa1aaaaaaaaa1aaaaaaaaaa1
|
||||
1a11aaaaaaaaaaa1aaa1aaaaaaaa1a111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
.
|
||||
@@ -0,0 +1,30 @@
|
||||
|
||||
Clock is synchronized, stratum 2, reference is ntp.example.net, unicast
|
||||
|
||||
Unicast servers:
|
||||
|
||||
Server : ntp.example.net
|
||||
Source : Static
|
||||
Stratum : 2
|
||||
Status : up
|
||||
Last Response : 08:45:30.0 CEST Aug 17 2020
|
||||
Offset : 400.2312430 mSec
|
||||
Delay : 0 mSec
|
||||
|
||||
Server : ntp.example.net
|
||||
Source : Static
|
||||
Stratum : 3
|
||||
Status : up
|
||||
Last Response : 08:45:30.0 CEST Aug 17 2020
|
||||
Offset : 407.0035473 mSec
|
||||
Delay : 0 mSec
|
||||
|
||||
|
||||
|
||||
Anycast server:
|
||||
|
||||
|
||||
|
||||
Broadcast:
|
||||
|
||||
|
||||
@@ -0,0 +1,383 @@
|
||||
config-file-header
|
||||
switch-c
|
||||
v192.168.0.71 / RTESLA2.4.5_930_181_144
|
||||
CLI v1.0
|
||||
file SSD indicator encrypted
|
||||
@
|
||||
ssd-control-start
|
||||
ssd config
|
||||
ssd file passphrase control unrestricted
|
||||
no ssd file integrity control
|
||||
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
|
||||
!
|
||||
!
|
||||
unit-type-control-start
|
||||
unit-type unit 1 network gi uplink te
|
||||
unit-type unit 2 network gi uplink te
|
||||
unit-type unit 3 network gi uplink te
|
||||
unit-type unit 4 network gi uplink te
|
||||
unit-type unit 5 network gi uplink te
|
||||
unit-type unit 6 network gi uplink te
|
||||
unit-type unit 7 network gi uplink te
|
||||
unit-type unit 8 network gi uplink te
|
||||
unit-type-control-end
|
||||
!
|
||||
cdp device-id format hostname
|
||||
spanning-tree mode mst
|
||||
port jumbo-frame
|
||||
vlan database
|
||||
vlan 7-8,30-31,100,910,920,999
|
||||
exit
|
||||
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||
voice vlan oui-table add 00096e Avaya___________________
|
||||
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||
lldp chassis-id host-name
|
||||
errdisable recovery cause loopback-detection
|
||||
errdisable recovery cause port-security
|
||||
errdisable recovery cause stp-bpdu-guard
|
||||
errdisable recovery cause stp-loopback-guard
|
||||
link-flap prevention disable
|
||||
bonjour interface range vlan 1
|
||||
ip access-list extended VTY-IN
|
||||
permit ip 192.168.0.0 192.168.0.255 any ace-priority 20
|
||||
exit
|
||||
hostname switch-c
|
||||
line console
|
||||
exec-timeout 60
|
||||
exit
|
||||
line ssh
|
||||
exec-timeout 60
|
||||
exit
|
||||
line telnet
|
||||
exec-timeout 60
|
||||
exit
|
||||
logging host 192.168.0.2
|
||||
logging host 192.168.0.3
|
||||
logging host 192.168.0.4
|
||||
enable password level 15 encrypted <remove>
|
||||
no passwords complexity enable
|
||||
passwords aging 0
|
||||
username adm1 password encrypted <remove> 15
|
||||
username adm2 password encrypted <remove> 7
|
||||
ip ssh server
|
||||
ip ssh password-auth
|
||||
ip ssh pubkey-auth
|
||||
crypto key pubkey-chain ssh
|
||||
user-key adm2 rsa
|
||||
key-string row 2222B1Nz2C1yc1E2222BIw222QE2rgMdfpc1NU1L
|
||||
key-string row 1gO1hqlcOK2KNviXk1D11Z1dmG+jDwIK1g1BQGlB
|
||||
key-string row 2jfbRWpZEyUBX+ckWb2wgBBBs211bfRQDtU1sg2v
|
||||
key-string row VefEkyDGNlWj+qEIiCm/DSZurzWPgtdS
|
||||
key-string row Og11q1uH/1nKPR12gfJyN11o11nYZjclVSXW+VS1
|
||||
key-string row 1b1cRHP1L+n1lqkKHs1u+T11zwEHWO1yWQ/dirg1
|
||||
key-string row 11kUSOgv11lj1UwqeSxBDGWVb1Qd211+oTfMZRDF
|
||||
key-string row 1NxezpW/yE1CVMNQ/rFu11mcooyXLH1OnMyls1Cv
|
||||
key-string row huhqDjqUgeoGhRKerVkCh1OHrQc11YxIINJVB1mV
|
||||
key-string row SWtO1EiL1pTczbwxGw==
|
||||
exit
|
||||
user-key adm3 rsa
|
||||
key-string row 2222B3Nz2C1yc2E2222BJQ222IE2puk39oBzb2UN
|
||||
key-string row zmg//U2xO1D642s71k2qpkeZ4uL99cd01ioG3sFo
|
||||
key-string row JUy6jN0SKkxOdK88tI2I5sgs2+KxKWBcop7mKC9r
|
||||
key-string row OOWhD09Xc28i8XO2slMe0yx0mzCoXwPl
|
||||
key-string row 4kDxZf4jK+G2BciCyCdpzZO42VZlZlS+Pw7vjijc
|
||||
key-string row XnxXy+c=
|
||||
exit
|
||||
exit
|
||||
snmp-server server
|
||||
snmp-server location some place
|
||||
snmp-server community example rw view Default
|
||||
snmp-server host 192.168.0.4 traps version 1 example
|
||||
snmp-server host 192.168.0.3 traps version 1 example
|
||||
snmp-server host 192.168.0.2 traps version 1 example
|
||||
ip https certificate 2
|
||||
clock timezone CET +1
|
||||
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||
sntp server ntpserver.example.net
|
||||
sntp server ntpserver.example.net
|
||||
no sntp server ntpserver.example.net
|
||||
no sntp server ntpserver.example.net
|
||||
no sntp server ntpserver.example.net
|
||||
ip name-server dnsserver.example.net
|
||||
ip host tftp 192.168.0.2
|
||||
ip telnet server
|
||||
!
|
||||
interface vlan 1
|
||||
ip address 192.168.0.37 192.168.0.0
|
||||
no ip address dhcp
|
||||
!
|
||||
interface vlan 7
|
||||
name vlan_example1
|
||||
!
|
||||
interface vlan 8
|
||||
name vlan_example2
|
||||
!
|
||||
interface vlan 30
|
||||
name vlan_example3
|
||||
!
|
||||
interface vlan 31
|
||||
name vlan_example4
|
||||
!
|
||||
interface vlan 100
|
||||
name vlan_example5
|
||||
!
|
||||
interface vlan 910
|
||||
name vlan_example6
|
||||
!
|
||||
interface vlan 920
|
||||
name vlan_example7
|
||||
!
|
||||
interface vlan 999
|
||||
name vlan_example8
|
||||
!
|
||||
interface GigabitEthernet1/0/1
|
||||
description "some description"
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description ap
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type ap
|
||||
!
|
||||
interface GigabitEthernet1/0/2
|
||||
description "some description"
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description ap
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type ap
|
||||
!
|
||||
interface GigabitEthernet1/0/3
|
||||
description "some description"
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description ap
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type ap
|
||||
!
|
||||
interface GigabitEthernet1/0/4
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description ap
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type ap
|
||||
!
|
||||
interface GigabitEthernet1/0/6
|
||||
speed 100
|
||||
!
|
||||
interface GigabitEthernet1/0/24
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description switch
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type switch
|
||||
!
|
||||
interface TengigabitEthernet1/0/1
|
||||
description "some description"
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description switch
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type switch
|
||||
!
|
||||
interface TengigabitEthernet1/0/4
|
||||
description "some description"
|
||||
spanning-tree link-type point-to-point
|
||||
switchport mode trunk
|
||||
macro description switch
|
||||
!next command is internal.
|
||||
macro auto smartport dynamic_type switch
|
||||
!
|
||||
exit
|
||||
ip default-gateway 192.168.0.1
|
||||
encrypted ip ssh-client key rsa key-pair
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: RSA Private Key
|
||||
1aaa1aaaa1aaaa/a1aaaaa1aaaa1aaaa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1aaaaaaaaaaaaaaaaa1aaaaaaaaaaaa1aaaa1aaaaa1/aaa1aaaa
|
||||
aaaaaaaaaaaaaaaaaaaaaaa1aaaaaaaaa/a1aaa1aaaaaa1a1aaaaaaaaaa1==
|
||||
---- END SSH2 PRIVATE KEY ----
|
||||
---- BEGIN SSH2 PUBLIC KEY ----
|
||||
Comment: RSA Public Key
|
||||
aaaaa1aaaa1aa1aaaaaaaaaaaaaaaaaaaa/a1aaaaaa+aaaaaaaaaaa/aaaaaa1aaaaaaa
|
||||
aa1a1aaaa1aaaaaaaaaaaaaaa1a1/aaaaaaa1a+1aa1aaaaaaa1a1aa1aaaaa1aaaa1aaa
|
||||
aaaaaaaaaa1aaaaaaaa/a1+1aaaa11aa1aaaaaaaaaaaa1aaa1aaaaaaaaaaaa==
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted ip ssh-client key dsa key-pair
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: DSA Private Key
|
||||
a+aaaaaaaa1aaaaaaaaaaaaaaa1aaaa1aaa1a1aaa1aaaaaaa1a1aaaaaaaa1aa1aaaaaa
|
||||
aaaa1aaaaa11aaaa1aaaaaaaa+aaaa1aaa11aa1aa1aaaaa1aaaaa/a1aaaa1aaaaaaaaa
|
||||
aaaaa1aaaaa1aaaaaaa1aaaa+aaaaaaaaaaaaa11aaaaaaaaa1aaa1a11aaaa1aaaaa1/a
|
||||
aaaaaaaa111111aa/aaaaaa1aaa11aaaa+aaa
|
||||
aaaa1a1aaa1aaaaaaaaaaaaaaa1a1aaaaaa11aaaaaaaaaa/aaa1a111aaaaaaaaaaaaaa
|
||||
aa+aaaaaaa1aaaaa1a/aa1aaa1aaaaaaaa1+aaa+aaaaaa1a+11a1aa1aaaa/aaaaaaaaa
|
||||
aaaaaaaaaaaaaa1aaaaaaaaaaa1aaaa1aaaaa1aaa1aaaaaaa1aaaaaa+aaaa+a1aaa1aa
|
||||
aa1aaa1aaaa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||
aa1aaaaa1a111a/aaa==
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted crypto key import rsa
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: RSA Private Key
|
||||
aaaaaa+aaaaaa1aaa1aaa1aaaaaaaaa+a1aaaa+aaa1+1aaaaaaaaaaa1aaaaaaa1a11aa
|
||||
aaaaaaa/aaa1aaaaaaaaaaaaaaaaa1aaaaaaaaa1aaaaaaa+1aaaaaaaaaaaaaaa/aaaaa
|
||||
1aaa1aaaa1aa1aaaaaa1aaaa1aaaa/aa1aa1aaa1aaaaaa1aaaaaaa11a1aaaaaa1aaa1a
|
||||
a1aaaaaaaaaaaaaaaaaaaaaaaaa+aaaaaaaaaaaaaaa1aaaa1a1a1aaaa111aaaaa1aaa1
|
||||
a+a1a11aaaaaa11/11aaa1a1aaaaaaaaaaaaaaa1aaaaa+a1aaaaaaa/a111aaaaaaaaaa
|
||||
a/aa1aaaaaaaaaaaaaaaa1a1aaaaaaaaaaaaaaaaa1aaaaaaaaaaaaa1aaaa/aa1aaaa1a
|
||||
aa1aa+aaaaa11aaa11a11aaa/aaaaaaaaaaaaa1aaaa1a1aaaaaaaaa+a1aaaa1aa1aaaa
|
||||
aa1aa1aaaaaaaaaa1aaaa+aaaaaaaaaaa1a1aaaaaaaaa1aaa1aaaaaaaaa1aaa1aaaaaa
|
||||
aa1aa1aaa1aaaaaaaaaaaaa1a1aaaaaaa1aa1a1a1aaaaaa1aaaaaaaaaaaa+aaaa1aaaa
|
||||
aa11a1aa/aaaaaaaaaaaaaaaaaaaaaaaaaa11a11aaaaa+aaaa1a1aa+11aaa1aaaa1aaa
|
||||
1aaa1+aaaa/aaaaaa1aaaaaaaaaaa/a111a1aaaaa/aaaaa1a1aaaaa1a11aaa1aaa1aaa
|
||||
a1aaaaaaaaaa1aaaaa1aa/aaaa+aaaa1aaa1aaa1a1a1aa1aaa+aaaaaaaaaaa1aaaaaa1
|
||||
1aaa1aa1aaaaaa1aaaaa1aaaa1+aaaaa1aaaa1aaaaaaaa1aaaaaaa1aaaa//a1aaaaaaa
|
||||
1aaaaaaa1aaa111aa1aaaa1aaaaaaaaaaaaaaaaaa1aaa1aa11aaaa1a/a1aaaa1aaa+aa
|
||||
1+aaa/a/aa+aaaaaaaa1aaaaaaaaaaaaa1aaaaaaaaa+1aaa1aaaaaaaaaa1aaaaaaaaaa
|
||||
aaaaaaaaaaa1aaaaaaaaaaaaa11aaaaaaa1aaaa/aaa1aa1aaaaaaa1a/a1a==
|
||||
---- END SSH2 PRIVATE KEY ----
|
||||
---- BEGIN SSH2 PUBLIC KEY ----
|
||||
Comment: RSA Public Key
|
||||
aaaaa1aaaa1aa1aaaaaaaaaaaaaaaaaaaaaaa1a1aaaaaaaaa111aaaaaaaaaaaaaaaaaa
|
||||
aaaaa1aaaaa/aaaaaaaa1aa1aaa11a/aaaaa1aaaa1aaa1aaaaaa1aa1aaaaaaa1aa+a1a
|
||||
aaa1aaaaaaaaaaa1a1aaaa1a1aaa+aaaaaaa11a1111a1aaa11aaaaa1aa1/aa==
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted crypto key import dsa
|
||||
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||
Comment: DSA Private Key
|
||||
aaa1aaaa/aaaaaaaaaaaa+111aaaaaaaaaa1aaaaaaaa1aa+aaaaaaaaaaaaaaaaaa1aaa
|
||||
aaaaaaaaa1aaaaaaa1aaaaaaa1aaaa1aaaaa1a/aaaaaaaaaaaa1aaaaaaaaaaa+a1aaaa
|
||||
aaaaaaaa1a1+a/aaaaaaaaaaaa1a1aaaaaaaaaaaaa1a+a1aaa1aaa111aa1aaaaaa/aaa
|
||||
aa1aaa1aa1aaaaaaaaaa1a1aaa11a/aaaa1+a1aaa+aa1aaa1a1aaaa1aaaa+aaaaaaaaa
|
||||
a1a1aaa1aa1aaa/aaaaa1aaaaaaaaaaa1aaaaaaaa1a1aaaa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|
||||
1aaaaaaaaaaa1a1aaaa1aaa1aaaaaa+aaaaaaaaa1a1aaaaa1aaa1aaaaaaaaaa/1a1aaa
|
||||
aaaaaaaaa1aaaaa1aaa1a1aaaaaaaa1aaaaaaaa1aa11aaaaaaaaaaa1aa+11aaaa1aaaa
|
||||
aaaaa1aaaaaaaa11a1a=
|
||||
---- END SSH2 PUBLIC KEY ----
|
||||
.
|
||||
encrypted crypto certificate 2 import
|
||||
-----BEGIN RSA ENCRYPTED PRIVATE KEY-----
|
||||
aaaaaaaaaaa111aaaaaa1aaa1aaaaaaaaa1aaaa1aaaaa1aa11a11aaa1aaaaaa1aaaaaa
|
||||
1aaaaaaaaaaaa11aaaaa1aaaaaa1aaaaaaaaaaa1aa11aaaaaaaaaaaaaaaaa1aaaaaaa1
|
||||
/aaaaa1aa+a11aaa1aaa/aaaaa1aaaaaaaaaaa1a1aaaaaaaa+a1a1a1a1aaaaaaaaaaaa
|
||||
aaaaaaaaa1aaa1aaaaaa11aaaaaaaa1aaaaaaaaaaaa1+aaa1a1aaaaaaaaaaa1aaa1aaa
|
||||
aa1+aaaaaa1aaa1aaaaaaaaaaa1aaaaa1aaaaaa11aaaaaaaaa1aaaaaaaaaaaaaaaaaaa
|
||||
aaaa1a1aaaaaaaaaaaaaa1aaaaaaaaa1aaaaaaaaaa1aaaaaaaa1+aaaaaa1aa1aaaaaaa
|
||||
+a1a+1aaaaaaaa1aaa1a1a11aaa1aaa1a11aa/a1aaaaaaaaa/1aaaaaaa1111aaaa+aa1
|
||||
aaaaa11aaaaa1aaaa1aaaaaaaaaaaaaaaaaa111aaaaaaaa1a1aaaa1a11aaaa1aaa+a/a
|
||||
aaa1aaaa1a11aaaaaaaaaaaaa11aa1a11aaaaa1aa+aaaaaa1aaaaaaaaa1aaaaaaaaaa1
|
||||
1a11aaaaaaaaaaa1aaa1aaaaaaaa1a111a/aaaaa1aaa1aaaaaaa1/aaaaa11aaaaa+aaa
|
||||
a1111aaaaaaaaa1aaaaaaaa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ch
|
||||
System Up Time (days,hour:min:sec): 74,06:36:40
|
||||
System Contact:
|
||||
System Name: switch-c
|
||||
System Location: some place
|
||||
lad;1;bunka ve skladu
|
||||
System MAC Address: ab:a6:ef:12:34:56
|
||||
System Object ID: 192.168.0.1.192.168.0.6.192.168.0.6
|
||||
|
||||
Unit Type
|
||||
---- ----------------------
|
||||
1 SG550X-24MP
|
||||
|
||||
|
||||
Unit Main Power Supply Redundant Power Supply
|
||||
---- ----------------- ----------------------
|
||||
1 Active Not Connected
|
||||
|
||||
Unit Fans Status
|
||||
---- -------------------------------------
|
||||
1 FANs OK, redundant fan Ready
|
||||
|
||||
Unit Temperature (Celsius) Status
|
||||
---- --------------------- ----------
|
||||
1 36 OK
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
Active-image: flash://system/images/sx550X_tesla_hybrid_192.168.0.71_release_cisco_signed.bin
|
||||
Version: 2.4.5.71
|
||||
MD5 Digest: 2dff89efdb2a0ec2f9a2c414ff7d401c
|
||||
Date: 04-Nov-2018
|
||||
Time: 19:46:16
|
||||
Inactive-image: flash://system/images/image1.bin
|
||||
Version: 2.3.0.130
|
||||
MD5 Digest: 079b10248b0cc997da651d255ac0ed15
|
||||
Date: 10-May-2017
|
||||
Time: 01:08:28
|
||||
@@ -0,0 +1,33 @@
|
||||
If you want to help with unit test, please take look at tested devices and in case you do not find device type you own, send us output of these commands:
|
||||
|
||||
# setup terminal
|
||||
terminal datadump
|
||||
terminal width 0
|
||||
terminal no prompt
|
||||
|
||||
show inventory
|
||||
show version
|
||||
show system
|
||||
show interfaces status
|
||||
show interfaces description
|
||||
show ports jumbo-frame
|
||||
|
||||
# choose any physical interface on your device
|
||||
show lldp local GigabitEthernet1
|
||||
show lldp local GigabitEthernet1/1
|
||||
show lldp local GigabitEthernet1/0/1
|
||||
|
||||
show ip interface
|
||||
show ip route
|
||||
show lldp neighbors
|
||||
|
||||
# choose any interface with attached neighbor
|
||||
show lldp neighbor GigabitEthernet1
|
||||
|
||||
show sntp status
|
||||
show hosts
|
||||
show arp
|
||||
show startup-config
|
||||
show running-config
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[
|
||||
{"interface": "vlan 1", "mac": "9C:EB:E8:AA:BB:CC", "ip": "192.168.1.1", "age": 0.0}
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
Total number of entries: 1
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 1 192.168.1.1 9c:eb:e8:aa:bb:cc dynamic
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{"interface": "te1/0/1", "mac": "00:00:0C:07:AC:01", "ip": "19.51.0.1", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "E4:C7:22:FE:E0:43", "ip": "19.51.0.2", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "BC:EA:FA:B4:15:AA", "ip": "19.51.0.5", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "BC:EA:FA:B4:14:6F", "ip": "19.51.0.3", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "5C:8A:38:2E:BD:C0", "ip": "19.51.0.1", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "5C:8A:38:2E:FD:E0", "ip": "19.51.0.8", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "00:50:56:93:19:B7", "ip": "19.51.1.4", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "00:50:56:92:2F:CB", "ip": "19.51.1.5", "age": 0.0},
|
||||
{"interface": "vlan 852", "mac": "00:50:56:9E:51:F3", "ip": "19.51.1.2", "age": 0.0},
|
||||
{"interface": "vlan 852", "mac": "A4:4C:C8:7D:37:03", "ip": "19.51.14.5", "age": 0.0}
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
|
||||
Total number of entries: 10
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 852 te1/0/1 19.51.0.1 00:00:0c:07:ac:01 dynamic
|
||||
vlan 852 te1/0/1 19.51.0.2 e4:c7:22:fe:e0:43 dynamic
|
||||
vlan 852 te1/0/1 19.51.0.5 bc:ea:fa:b4:15:aa dynamic
|
||||
vlan 852 te1/0/1 19.51.0.3 bc:ea:fa:b4:14:6f dynamic
|
||||
vlan 852 te1/0/1 19.51.0.1 5c:8a:38:2e:bd:c0 dynamic
|
||||
vlan 852 te1/0/1 19.51.0.8 5c:8a:38:2e:fd:e0 dynamic
|
||||
vlan 852 te1/0/1 19.51.1.4 00:50:56:93:19:b7 dynamic
|
||||
vlan 852 te1/0/1 19.51.1.5 00:50:56:92:2f:cb dynamic
|
||||
vlan 852 19.51.1.2 00:50:56:9e:51:f3 dynamic
|
||||
vlan 852 19.51.14.5 a4:4c:c8:7d:37:03 dynamic
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
[
|
||||
{"interface": "vlan 202", "mac": "00:15:17:27:9C:4D", "ip": "10.0.3.1", "age": 0.0},
|
||||
{"interface": "vlan 202", "mac": "00:50:56:90:23:E8", "ip": "10.0.3.4", "age": 0.0}
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
Total number of entries: 2
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 202 10.0.3.1 00:15:17:27:9c:4d dynamic
|
||||
vlan 202 10.0.3.4 00:50:56:90:23:e8 dynamic
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
[
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.1",
|
||||
"mac" : "AB:00:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.2",
|
||||
"mac" : "AB:C7:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.65",
|
||||
"mac" : "AB:EA:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.73",
|
||||
"mac" : "AB:EA:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.40",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.44",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "vlan 1",
|
||||
"ip" : "192.168.0.4",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.49",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.2",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "vlan 1",
|
||||
"ip" : "192.168.0.142",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
|
||||
Total number of entries: 10
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 1 te1/0/4 192.168.0.1 ab:00:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.2 ab:c7:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.65 ab:ea:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.73 ab:ea:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.40 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.44 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 192.168.0.4 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.49 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.2 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 192.168.0.142 ab:50:ef:12:34:56 dynamic
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[
|
||||
{"interface": "vlan 1", "mac": "9C:EB:E8:AA:BB:CC", "ip": "192.168.1.1", "age": 0.0}
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
Total number of entries: 1
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 1 192.168.1.1 9c:eb:e8:aa:bb:cc dynamic
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{"interface": "te1/0/1", "mac": "00:00:0C:07:AC:01", "ip": "19.51.0.1", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "E4:C7:22:FE:E0:43", "ip": "19.51.0.2", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "BC:EA:FA:B4:15:AA", "ip": "19.51.0.5", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "BC:EA:FA:B4:14:6F", "ip": "19.51.0.3", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "5C:8A:38:2E:BD:C0", "ip": "19.51.0.1", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "5C:8A:38:2E:FD:E0", "ip": "19.51.0.8", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "00:50:56:93:19:B7", "ip": "19.51.1.4", "age": 0.0},
|
||||
{"interface": "te1/0/1", "mac": "00:50:56:92:2F:CB", "ip": "19.51.1.5", "age": 0.0},
|
||||
{"interface": "vlan 852", "mac": "00:50:56:9E:51:F3", "ip": "19.51.1.2", "age": 0.0},
|
||||
{"interface": "vlan 852", "mac": "A4:4C:C8:7D:37:03", "ip": "19.51.14.5", "age": 0.0}
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
|
||||
Total number of entries: 10
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 852 te1/0/1 19.51.0.1 00:00:0c:07:ac:01 dynamic
|
||||
vlan 852 te1/0/1 19.51.0.2 e4:c7:22:fe:e0:43 dynamic
|
||||
vlan 852 te1/0/1 19.51.0.5 bc:ea:fa:b4:15:aa dynamic
|
||||
vlan 852 te1/0/1 19.51.0.3 bc:ea:fa:b4:14:6f dynamic
|
||||
vlan 852 te1/0/1 19.51.0.1 5c:8a:38:2e:bd:c0 dynamic
|
||||
vlan 852 te1/0/1 19.51.0.8 5c:8a:38:2e:fd:e0 dynamic
|
||||
vlan 852 te1/0/1 19.51.1.4 00:50:56:93:19:b7 dynamic
|
||||
vlan 852 te1/0/1 19.51.1.5 00:50:56:92:2f:cb dynamic
|
||||
vlan 852 19.51.1.2 00:50:56:9e:51:f3 dynamic
|
||||
vlan 852 19.51.14.5 a4:4c:c8:7d:37:03 dynamic
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
[
|
||||
{"interface": "vlan 202", "mac": "00:15:17:27:9C:4D", "ip": "10.0.3.1", "age": 0.0},
|
||||
{"interface": "vlan 202", "mac": "00:50:56:90:23:E8", "ip": "10.0.3.4", "age": 0.0}
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
Total number of entries: 2
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 202 10.0.3.1 00:15:17:27:9c:4d dynamic
|
||||
vlan 202 10.0.3.4 00:50:56:90:23:e8 dynamic
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
[
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.1",
|
||||
"mac" : "AB:00:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.2",
|
||||
"mac" : "AB:C7:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.65",
|
||||
"mac" : "AB:EA:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.73",
|
||||
"mac" : "AB:EA:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.40",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.44",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "vlan 1",
|
||||
"ip" : "192.168.0.4",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.49",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "te1/0/4",
|
||||
"ip" : "192.168.0.2",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
},
|
||||
{
|
||||
"age" : 0.0,
|
||||
"interface" : "vlan 1",
|
||||
"ip" : "192.168.0.142",
|
||||
"mac" : "AB:50:EF:12:34:56"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
|
||||
Total number of entries: 10
|
||||
|
||||
|
||||
VLAN Interface IP address HW address status
|
||||
--------------------- --------------- ------------------- ---------------
|
||||
vlan 1 te1/0/4 192.168.0.1 ab:00:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.2 ab:c7:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.65 ab:ea:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.73 ab:ea:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.40 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.44 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 192.168.0.4 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.49 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 te1/0/4 192.168.0.2 ab:50:ef:12:34:56 dynamic
|
||||
vlan 1 192.168.0.142 ab:50:ef:12:34:56 dynamic
|
||||
|
||||
|
||||
Loaded 100 of 269 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user