- 0
Пожелания по улучшению CLI от DarkDiver
-
Recently Browsing 0 members
- No registered users viewing this page.
This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.
Question
DarkDiver
Здравствуйте! Есть несколько пожеланий по улучшению CLI:
1. Добавить комнаду Telnet. Часто бывает необходимость с роутера зателнетиться на какое-то другое устройство в сети (управляемые комутатор, точка доступа, другой роутер)
2. Добавить возможность выводить на экран только нужные части конфига, это очень облегчает работы с большими и сложными конфигами. См. команды в Cisco:
show run | include <LINE>
show run | begin <LINE>
show run | section <LINE>
Полный список доступных комманд в Cisco:
router#sh run | ?
append Append redirected output to URL (URLs supporting append operation only)
begin Begin with the line that matches
count Count number of lines which match regexp
exclude Exclude lines that match
format Format the output using the specified spec file
include Include lines that match
redirect Redirect output to URL
section Filter a section of output
tee Copy output to URL
3. Сделать возможность задавать на Ethernet порту работающем в режиме транка, один из VLAN-ов не тэгированным, так называемый native VLAN, например:
interface GigabitEthernet0/2
switchport mode trunk
switchport trunk vlan 2
switchport trunk vlan 3
switchport trunk vlan 5
switchport native vlan 6
up
Сейчас это возможно сделать несколько иным образом, но конфиг смотрится коряво:
interface GigabitEthernet0/2
switchport mode access
switchport mode trunk
switchport access vlan 6
switchport trunk vlan 2
switchport trunk vlan 3
switchport trunk vlan 5
up
Edited by DarkDiver6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.