NOKIA SR7 BASIC COMMANDS
show card
Contextual configuration display. From anywhere in the hierarchy, to show that
sections configuration simply type
info
To ascertain the service ID of a given SAP (service access point)
show service sap-using
Similar to a juniper rollback compare, the SROS environment keeps candidate
configurations and they can by compared, or diff�d to the running configuration.
This is super useful.
admin rollback compare active-cfg to latest-rb
Also similar to juniper, it is possible to monitor the statistics of a given port
in near real time
monitor port 3/2/1 interval 3 repeat 999 rate
SROS is an MPLS powerhouse, knowing how to look at the LSPs is pretty critical
----------------------------------------------------------------
NOKIA BNG VPLS
configure service vpls 6001
info
BNG ESM
configure service vprn 5001
info
NAT VPRN
configure service vprn 5003
info
SUBSCRIBER MANAGEMENT
configure subscriber-mgmt.
TO CHECK RADIUS SERVER POLICY
configure aaa
to CHECK RADIUS SERVER CONFIGURED INFO
configure service vprn 5000
info
TO CHECK SESSION
- show serviced 5001 ipoe session
show serviced 5001 pppoe session
CHECK NAT
show service nat lsn-subscribers
show service nat lsn-subscribers inside-ip <ip> detail
TO CHECK ESM INSTANTIATED SUBSCRIBER
show router 5001 route-table
configure filter ip-filter 50
CHECK AUTO CAPTURED FROM EACH OLT
show service id 5001 msap
- sh srrp 1 detail
-------------------------------------------------------------
admin display-config | match 516 context all
show router 10204 ospf neighbor detail
show router 10559 arp UNI_to_KKON_MAID_BIU
configure service vprn 10204
ping router 10204 172.19.59.170 count 1000 size 1500 rapid
ping router 10559 10.100.50.1 source 197.210.177.57
show router 10077 route-table summary
show router 10077 ospf routes | match 172.20.73 context all
ping router 10559 8.8.8.8 source 197.210.114.137 count 10 size 1400 rapid
admin display-config | match 1759
admin display-config | match 635 context all
pwc-tells you the mode you are
show router 1000 interface
show router 5005 interface | match 10.223.61.130 context all
show router interface | match 5013
show system alarms
admin display-config | match 1997 context all
show router 1809 arp GE-2/1/9:1809
ping router 5018 172.31.24.82 count 1000 size 1500 rapid
TO CHECK GLOBAL ROUTING TABLE
- show router route-table
TO CHECK NEIGHBOR ADJACENCY
- show router isis adjacency detail
SHOW SPECIFIC INFORMATION ABOUT A PORT
- show port 2/1/7
TO CHECK PORT OPTICAL PARAMETERS
- show port 2/2/6 optical
TO CHECK MEMBER OF LAG (EtherChannel)
- show lag 6 port
TO CHECK VPRN ID AND TELNET
show service service-using vprn | match ITMGMT
telnet router 5032 172.24.247.194(ABJ)
telnet router 5032 172.24.247.198(LAG)
telnet router 5032 172.24.247.186(LAG)
ENTERPRISE VAS
- telnet router 5041 172.31.16.50
interface GI0/2/6.902
mtu 9000
 vlan-type dot1q 902
 description Access BANK UGHELLI
 statistic enable
 trust upstream default
 mpls l2vc 10.238.128.225 902
 trust 8021p
TO CHECK BNG ACTIVE SUBSCRIBERS
- show service active-subscribers
----------------------------------------------------------------
SEARCH FOR SERVICE WITH VLAN
admin display-config | match 1780 context all
SHOW PORT STATUS UP/DOWN
- show port
TO LEARN MAC
show router 5018(vrf) arp GE-2/2/3:1780
FOR CHECK SERVICE using VLAN
admin display-config | match 2490 context all
SHOW SPECIFIC SUB-INTERFACE
show service sap-using | match 2211
SHOW INFO ABOUT INTERFACES ON ROUTER
show router interface summary
PING ON NOKIA SR7
ping <ip> router <vprn id> count 1000 si 1500
ping 8.8.8.8 router 50010 source 105.112.139.169 count 1000 si 1500
ping 8.8.8.8 router 50010 source 105.112.139.169 count 1000 si 1500 rapid
TO PING PSEUDO-WIRE e.g GLO SWAP (Abuja-Saka)
oam vccv-ping 131:62 src-ip-address 10.205.101.137 dst-ip-address 10.205.101 131
pw-id 62 count 1000 reply-mode ip-routed
TO SHUTDOWN L3 SERVICE
configure
service vprn 5001
interface "GE-2/1/6:2211" create
shutdown
admin save
SHOW MORE INFORMATION ABOUT PORT
- show port 1/2/3
SHOW ALL ROOT INTERFACES
- show port description
TO CONFIGURE PHYSICAL PORT
-configure port 2/2/8
SHOW QOS POLICY
- show qos sap-ingress 1025
TO HARD CODE PORT
configure port 1/2/11
ethernet
no autonegotiate
TO OPTICAL INFO OF PORTS
- show port 3/2/9 optical
TO CHECK FOR SPECIFIC ROUTE
- show router 5001<vprn id> route-table | match 105.114.4.24
- show router 5001<vprn id> route-table | match 105.114.4.24 context all
TO CHECK STATIC ROUTE
- show router 5012<vprn id> static-route
CHECK OSPF IN VRF 5001(ENT_INTERNET)
configure service vprn 5001 ospf
info
EDIT CONFIGURATION
candidate edit
configure service vprn 50010 interface "TE-3/1/5:1498"
no address 105.112.139.105/30
exit all
candidate commit
TO SEE PREFIX LIST
- configure filter match-list
SAMPLE CONFIG OF ACCESS-LIST FOR NOKIA
configure filter
        ip-filter 120 name "PRTG_RDP_BLOCK_FILTER" create
            default-action forward
            entry 10 create
                 match protocol tcp
                      dst-port eq 445
                      src-ip ip-prefix-list "PRTG_RDP_BLOCK"
                 exit
                 action
                      drop
                 exit
            exit
            entry 20 create
                 match protocol tcp
                      dst-port eq 3389
                      src-ip ip-prefix-list "PRTG_RDP_BLOCK"
                 exit
                 action
                      drop
                 exit
      configure filter match-list
            ip-prefix-list "RDP" create
                 prefix 105.112.4.222/32
                 prefix 105.112.6.10/32
                 prefix 105.112.84.252/32
                 prefix 105.113.7.140/32
                 prefix 105.113.7.141/32
                 prefix 105.113.49.214/32
            exit
            ip-prefix-list "RDP_WEB_BLOCK_1" create
                 prefix 105.112.84.252/32
            exit
            ip-prefix-list "RDP_WEB_BLOCK_2" create
                 prefix 105.112.6.10/32
            exit
TO CONFIGURE OSPF IN VRF 5001(ENT_INTERNET)
configure service vprn 5001 ospf
   export "PHED_INBOUND"
                area 0.0.0.0
                     interface "GE-1/1/7:2489"
                          interface-type broadcast
                          mtu 1500
                          metric 200
                          no shutdown
                     exit
                     interface "GE-2/1/7:2491"
                          interface-type broadcast
                          mtu 1500
                          metric 500
                          no shutdown
                     exit
                exit
                no shutdown
BGP COMMANDS
show router 50010 bgp group detail
TO SEE BGP CONFIG FOR SPECIFIC GROUP
configure service vprn 50010 bgp
info
group "ENT_INTERNET"
                      family ipv6
                      split-horizon
                    neighbor 105.114.4.138
                           description "GARDA"
                           import "GARDA_POLICY"
                           export "DEFAULT_ONLY"
                           peer-as 64519
                      exit
                      neighbor 105.114.6.242
                           description "GARDA"
                           import "GARDA_POLICY"
                           export "DEFAULT_ONLY"
                           peer-as 64519
                      exit
TO LEARN MAC
show router vprn <vprn id> arp GE-2/1/7:2491
172.24.21.108
172.24.21.96
105.112.4.222
TO PING
enviroment time-stamp (This will add timestamp to ping)
ping router 5018(vrf) <ip> count 1000 size 1500 rapid
show router mpls interface
show router mpls status
configure router mpls
info
show   mpls interface "To_IBADAN_MPBN_P2" statistics
show   mpls interface "To_IBADAN_MPBN_P2" detail
show   router mpls lsp terminate
show   router mpls lsp transit
show   router mpls lsp
show   service id <vpls-id> all
show   service id <vpls-id> fdb detail
VPRN   commands
show   port <port> associations
show   service id <vprn-id> all
show   router <vprn-id> interface
show   router <vprn-id> bgp summary
show   router 50010 bgp neighbor 105.114.4.138
show   router <vprn-id> route-table
show   router <vprn-id> route-table protocol bgp-vpn
show   router <vprn-id> route-table <ip-address>
show   router <vprn-id> bgp routes <ip-prefix>/<net-size> detail
show   router <vprn-id> bgp next-hop
show   router <vprn-id> bgp neighbor <ip-address> received-routes
show   router <vprn-id> bgp neighbor <ip-address> advertised-routes
oam vprn-ping <vprn-id> source <ip-address> destination <ip-address>
oam vprn-trace <vprn-id> source <ip-address> destination <ip-address>
Useful BGP commands
show router bgp summary
show router bgp neighbor <neighbor> received-routes <ipv6>
Showing logs
show log log-id <id>
show log log-id 99
show log event-control
Showing environmentals
show chassis environment [power-supply]
show router interface [detail]
show port <port> optical
Showing and saving the configuration
admin display-config
admin save
admin save rollback
OSPF
       policy-options
            prefix-list "PHED_INBOUND"
                prefix 105.112.130.248/29 exact
                prefix 105.112.139.4/30 exact
            policy-statement "PHED_INBOUND"
                entry 10
                     from
                          prefix-list "PHED_INBOUND"
                     exit
                     to
                          protocol ospf
                     exit
                     action accept
                     exit
                exit
                entry 20
                     from
                          prefix-list "DEFAULT_ROUTE"
                     exit
                     to
                          protocol ospf
                     exit
                     action accept
                     exit
                exit
                default-action drop
                exit