Sunteți pe pagina 1din 4

EPG 2012A-M / 2013A-M Command Guide

W ARNING: BE AWARE THAT APPLYING THE COMMANDS MARKED IN RED WILL CAUSE SERVICE INTERRUPTION
OR DISTURBANCE ON THE NORMAL NODE OPERATION (CHECK OFFICIAL DOCUMENTATION IN ALEX).

Check alarms:

user@EPG> show chassis alarms


user@EPG> show snmp mib walk 1.3.6.1.4.1.10923.1.1.1.1.5.7.1.8
user@EPG> show snmp mib walk 1.3.6.1.4.1.10923.1.1.1.1.5.8

Check HW status:

user@EPG> show chassis hardware


user@EPG> show chassis environment
user@EPG> show chassis craft-interface
user@EPG> show chassis fpc pic-status
user@EPG> show chassis routing-engine

Check NTP Status:

user@EPG> show system uptime


user@EPG> show ntp status
user@EPG> show ntp associations

Check system storage:

user@EPG> show system storage

Check system logs:

user@EPG> show log isplog.log


user@EPG> show log messages

Check configuration changes:

user@EPG> show system commit


user@EPG> show configuration | compare rollback 1
user@EPG> show system rollback <x> <y>

Check CPU Load on PICs

user@EPG> show services epg pgw status | no-more


user@EPG> show services epg pgw status | match "Interface|Function|CPU" |
no-more
Check DIAMETER peers status on EPG

user@EPG> request services epg pgw execute "show istats dbp"


user@EPG> show services epg pgw status diameter-path

Check CDRs status (queue)

user@EPG> start shell


% cd /var/log/ggsn/
% ls -ltrh
% exit

Check statistics

user@EPG> show services epg pgw statistics


user@EPG> show services epg sgw statistics
user@EPG> show services epg pgw statistics | match "Active"
user@EPG> show services epg pgw statistics | match "error|fail"
user@EPG> show services epg pgw statistics apn <apn>
user@EPG> show services epg pgw statistics charging
user@EPG> show services epg pgw statistics radius
user@EPG> show services epg pgw statistics gtp | no-more
user@EPG> show services epg pgw statistics gtp | match "error|fail"
user@EPG> show services epg pgw statistics apn | no-more
user@EPG> show services epg pgw statistics | match DT

Subscriber level statistics

user@EPG> show services epg pgw statistics msisdn <msisdn>


user@EPG> show services epg pgw statistics msisdn <msisdn> sacc
user@EPG> show services epg pgw statistics imsi <imsi>
user@EPG> show services epg sgw user imsi <imsi>

Get EPG node fingerprint:

user@EPG> show snmp mib get jnxBoxSerialNo.0

Show EPG SW version:

user@EPG> show services epg version

Subscriber trace activation and checking of related log messages:

user@EPG> request services ggsn trace start msisdn <msisdn>


user@EPG> show services epg pgw trace all
user@EPG> start shell
% tail –f /var/log/messages | grep <msisdn>
% [CTRL]+C
% exit
user@EPG> request services ggsn trace stop msisdn <msisdn>
Licenses verification:

user@EPG> request services epg pgw licenses list


user@EPG> show services epg pgw licenses

Interface monitoring:

user@EPG> monitor interface traffic detail


user@EPG> [CTRL]+C
user@EPG> show interfaces terse | no-more
user@EPG> show interfaces detail | no-more
user@EPG> show interfaces gc-fpc/pic/port <brief | detail | extensive>
user@EPG> show interfaces gu-fpc/pic/port <brief | detail | extensive>

Login to backup Routing-Engine:

user@EPG-re0> request routing-engine login other-routing-engine


user@EPG-re1> exit
user@EPG-re0>

EPG routing basic commands

user@EPG> ping <ip-address-dst> routing-instance <routing-instance>


user@EPG> show ospf neighbor
user@EPG> show ospf neighbor instance <routing-instance>
user@EPG> show ospf interface
user@EPG> show ospf route
user@EPG> show route table
user@EPG> show route table <routing-instance>
user@EPG> show route table <routing-instance> <ip-address-dst>
user@EPG> show route forwarding-table
user@EPG> show route forwarding-table destination <ip-address-dst>

Graceful stop and start of EPG application (SGW/PGW Combined):

user@EPG> edit
user@EPG# set services epg pgw control-plane session block node
user@EPG# set services epg sgw control-plane session block node
user@EPG# commit check
user@EPG# commit synchronize
user@EPG# run request services epg pgw control-plane session terminate
user@EPG# run request services epg sgw control-plane session terminate
user@EPG# set services epg pgw stop node
user@EPG# set services epg sgw stop node
user@EPG# commit check
user@EPG# commit synchronize
###### NODE STOPPED ######
user@EPG# delete services epg pgw stop node
user@EPG# delete services epg sgw stop node
user@EPG# commit check
user@EPG# commit synchronize
user@EPG# delete services epg pgw control-plane session block node
user@EPG# delete services epg sgw control-plane session block node
user@EPG# commit check
user@EPG# commit synchronize
user@EPG# exit
user@EPG>
###### NODE STARTED ######

Node restart from master RE (both routing-engines restart):

user@EPG> request system reboot other-routing-engine


user@EPG> request system reboot

Restart PIC in specific slot:

user@EPG> request chassis pic offline fpc-slot X pic-slot Y


user@EPG> request chassis pic online fpc-slot X pic-slot Y

PDP/Bearer deletion per subscriber or APN:

user@EPG> request services epg pgw pdp terminate context msisdn <msisdn>
user@EPG> request services epg pgw pdp terminate apn <apn>

Block/Unblock PDP/Bearer creation:

user@EPG> set services ggsn apn <apn> pdp-context creation blocked


user@EPG> set services ggsn apn <apn> pdp-context creation unblocked

S-ar putea să vă placă și