- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Re: Unable to send ip routing table events to ssh ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2015 06:57 AM
01-26-2015 06:57 AM
Unable to send ip routing table events to ssh session in Comware 7.
Hello everybody!
As I read in the manual, the following steps must enable ip routing table events (such as insertion of perfix or deletion prefix) while ssh'ing in the Comware 7 device:
<device> terminal debugging
<device> terminal logging
<device> terminal monitor
<device> debugging ip address event
then to verify:
[device] display debugging
IP address event debugging switch is on
[device ]display info-center
Information Center: Enabled
Console: Enabled
Monitor: Enabled
Log host: Enabled
Log buffer: Enabled
Max buffer size 1024, current buffer size 512
Current messages 169, dropped messages 0, overwritten messages 0
Log file: Enabled
Security log file: Disabled
Information timestamp format:
Log host: Date
Other output destination: Date
But when I manipulate by the routing table (by remotely inserting/deleting routes) I cannot see any messages in the session. Do anybody help me with this?
Thank U in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2015 04:54 AM - edited 01-27-2015 04:55 AM
01-27-2015 04:54 AM - edited 01-27-2015 04:55 AM
Re: Unable to send ip routing table events to ssh session in Comware 7.
Hi,
Several things here.
1:
If its comware 7, the command "terminal logging" needs more options (at least it does on my 5900's)
e.g.
> terminal logging level 7
2:
If you want to debug route changes, you need
> debugging route-<something-relevant> [process/nib]
not
> debugging ip address event
Here is how that looks on a 5900.
HP5900>terminal monitor
HP5900>terminal logging level 7
HP5900>debugging route-static nib
now, if - from another session, ssh or console - I do (don't cut yourself off here :)) :
HP5900] ip route-static 1.1.1.1 32 10.1.1.1
the first session responds:
HP5900>*Jan 7 02:34:23:389 2011 HP5900 USR/7/DEBUG:
Add static route 1.1.1.1/32
*Jan 7 02:34:23:390 2011 HP5900 NIB/7/DEBUG: USR add NIB 0041/0/0/0/0/10.1.1.1, id 11000001 seq 7, errno 0
*Jan 7 02:34:23:440 2011 HP5900 NIB/7/DEBUG:
USR sync NIB 11000001 to RIB, msgtype ADD, bytes 104
*Jan 7 02:34:23:491 2011 HP5900 NIB/7/DEBUG:
USR modify NIB 11000001 with nexthop 10.1.1.1:
blablabla.. lots of info revealing my routing table ...
*Jan 7 02:34:23:592 2011 HP5900 NIB/7/DEBUG:
USR re-rely route under NIB 11000001
and when i remove it again ( HP5900] undo ip ip route-static 1.1.1.1 32)
the session debugging responds:
*Jan 7 02:36:48:251 2011 HP5900 NIB/7/DEBUG: USR delete NIB 11000001 with seq 7
*Jan 7 02:36:48:301 2011 HP5900 NIB/7/DEBUG:
USR sync NIB 11000001 to RIB, msgtype DEL, bytes 36
So - it should work.
Regards
Region Midtjylland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2015 09:23 AM
01-27-2015 09:23 AM
Re: Unable to send ip routing table events to ssh session in Comware 7.
Thank U man for your input.
U right, "terminal logging" I was written by memory :)
But I found "debugging rib unr" was doing stuff I needed. I'll verify your solution tomorrow.
Thank again for your input!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2015 02:16 AM
01-28-2015 02:16 AM
Re: Unable to send ip routing table events to ssh session in Comware 7.
Hello man!
these debug directives:
<HP>debugging route-?
route-direct
route-policy
route-static
only show events regarding directly connected or static routes as well as routes manipulated by route-policies.
U will not see any insertion/deletion route into/from routing table if this route is dinamically learned route and none manipulation by route-policy is done on it.
So really correct directive if someone want to observe events with regard to routing table is "debug rib <whatever-stuff-U-need>
Anyway thank U